From 295493e976535f519972efb01b3b7d822eed54e6 Mon Sep 17 00:00:00 2001 From: Francisco Hodge Date: Wed, 31 Oct 2018 17:56:32 -0400 Subject: [PATCH] Docs update --- docs/ast/source/demo/App.js.json | 2290 +- .../source/lib/components/Keyboard.js.json | 114629 +++++++++------ .../Keyboard.js~SimpleKeyboard.html | 601 +- docs/coverage.json | 8 +- docs/file/src/demo/App.js.html | 2 +- docs/file/src/lib/components/Keyboard.js.html | 105 +- docs/index.json | 345 +- docs/script/search_index.js | 42 + docs/source.html | 14 +- 9 files changed, 69423 insertions(+), 48613 deletions(-) diff --git a/docs/ast/source/demo/App.js.json b/docs/ast/source/demo/App.js.json index 50d728fb..87c5c87c 100644 --- a/docs/ast/source/demo/App.js.json +++ b/docs/ast/source/demo/App.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 1919, + "end": 1921, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 1919, + "end": 1921, "loc": { "start": { "line": 1, @@ -154,7 +154,7 @@ { "type": "Identifier", "start": 94, - "end": 1896, + "end": 1898, "loc": { "start": { "line": 7, @@ -187,7 +187,7 @@ "body": { "type": "ClassBody", "start": 104, - "end": 1896, + "end": 1898, "loc": { "start": { "line": 7, @@ -586,7 +586,7 @@ { "type": "ClassProperty", "start": 407, - "end": 1160, + "end": 1162, "loc": { "start": { "line": 24, @@ -620,7 +620,7 @@ "value": { "type": "ArrowFunctionExpression", "start": 421, - "end": 1160, + "end": 1162, "loc": { "start": { "line": 24, @@ -639,7 +639,7 @@ "body": { "type": "BlockStatement", "start": 427, - "end": 1160, + "end": 1162, "loc": { "start": { "line": 24, @@ -654,7 +654,7 @@ { "type": "ExpressionStatement", "start": 499, - "end": 765, + "end": 767, "loc": { "start": { "line": 28, @@ -668,7 +668,7 @@ "expression": { "type": "AssignmentExpression", "start": 499, - "end": 764, + "end": 766, "loc": { "start": { "line": 28, @@ -733,7 +733,7 @@ "right": { "type": "NewExpression", "start": 515, - "end": 764, + "end": 766, "loc": { "start": { "line": 28, @@ -765,7 +765,7 @@ { "type": "ObjectExpression", "start": 528, - "end": 763, + "end": 765, "loc": { "start": { "line": 28, @@ -779,59 +779,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 537, - "end": 548, - "loc": { - "start": { - "line": 29, - "column": 6 - }, - "end": { - "line": 29, - "column": 17 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 537, - "end": 542, - "loc": { - "start": { - "line": 29, - "column": 6 - }, - "end": { - "line": 29, - "column": 11 - }, - "identifierName": "debug" - }, - "name": "debug" - }, - "value": { - "type": "BooleanLiteral", - "start": 544, - "end": 548, - "loc": { - "start": { - "line": 29, - "column": 13 - }, - "end": { - "line": 29, - "column": 17 - } - }, - "value": true - } - }, - { - "type": "ObjectProperty", - "start": 557, - "end": 584, + "start": 559, + "end": 586, "loc": { "start": { "line": 30, @@ -847,8 +796,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 557, - "end": 567, + "start": 559, + "end": 569, "loc": { "start": { "line": 30, @@ -860,12 +809,13 @@ }, "identifierName": "layoutName" }, - "name": "layoutName" + "name": "layoutName", + "leadingComments": null }, "value": { "type": "MemberExpression", - "start": 569, - "end": 584, + "start": 571, + "end": 586, "loc": { "start": { "line": 30, @@ -878,8 +828,8 @@ }, "object": { "type": "ThisExpression", - "start": 569, - "end": 573, + "start": 571, + "end": 575, "loc": { "start": { "line": 30, @@ -893,8 +843,8 @@ }, "property": { "type": "Identifier", - "start": 574, - "end": 584, + "start": 576, + "end": 586, "loc": { "start": { "line": 30, @@ -909,12 +859,30 @@ "name": "layoutName" }, "computed": false - } + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": "debug: true,", + "start": 537, + "end": 551, + "loc": { + "start": { + "line": 29, + "column": 6 + }, + "end": { + "line": 29, + "column": 20 + } + } + } + ] }, { "type": "ObjectProperty", - "start": 593, - "end": 632, + "start": 595, + "end": 634, "loc": { "start": { "line": 31, @@ -930,8 +898,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 593, - "end": 601, + "start": 595, + "end": 603, "loc": { "start": { "line": 31, @@ -947,8 +915,8 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 603, - "end": 632, + "start": 605, + "end": 634, "loc": { "start": { "line": 31, @@ -966,8 +934,8 @@ "params": [ { "type": "Identifier", - "start": 603, - "end": 608, + "start": 605, + "end": 610, "loc": { "start": { "line": 31, @@ -984,8 +952,8 @@ ], "body": { "type": "CallExpression", - "start": 612, - "end": 632, + "start": 614, + "end": 634, "loc": { "start": { "line": 31, @@ -998,8 +966,8 @@ }, "callee": { "type": "MemberExpression", - "start": 612, - "end": 625, + "start": 614, + "end": 627, "loc": { "start": { "line": 31, @@ -1012,8 +980,8 @@ }, "object": { "type": "ThisExpression", - "start": 612, - "end": 616, + "start": 614, + "end": 618, "loc": { "start": { "line": 31, @@ -1027,8 +995,8 @@ }, "property": { "type": "Identifier", - "start": 617, - "end": 625, + "start": 619, + "end": 627, "loc": { "start": { "line": 31, @@ -1047,8 +1015,8 @@ "arguments": [ { "type": "Identifier", - "start": 626, - "end": 631, + "start": 628, + "end": 633, "loc": { "start": { "line": 31, @@ -1068,8 +1036,8 @@ }, { "type": "ObjectProperty", - "start": 641, - "end": 686, + "start": 643, + "end": 688, "loc": { "start": { "line": 32, @@ -1085,8 +1053,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 641, - "end": 651, + "start": 643, + "end": 653, "loc": { "start": { "line": 32, @@ -1102,8 +1070,8 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 653, - "end": 686, + "start": 655, + "end": 688, "loc": { "start": { "line": 32, @@ -1121,8 +1089,8 @@ "params": [ { "type": "Identifier", - "start": 653, - "end": 659, + "start": 655, + "end": 661, "loc": { "start": { "line": 32, @@ -1139,8 +1107,8 @@ ], "body": { "type": "CallExpression", - "start": 663, - "end": 686, + "start": 665, + "end": 688, "loc": { "start": { "line": 32, @@ -1153,8 +1121,8 @@ }, "callee": { "type": "MemberExpression", - "start": 663, - "end": 678, + "start": 665, + "end": 680, "loc": { "start": { "line": 32, @@ -1167,8 +1135,8 @@ }, "object": { "type": "ThisExpression", - "start": 663, - "end": 667, + "start": 665, + "end": 669, "loc": { "start": { "line": 32, @@ -1182,8 +1150,8 @@ }, "property": { "type": "Identifier", - "start": 668, - "end": 678, + "start": 670, + "end": 680, "loc": { "start": { "line": 32, @@ -1202,8 +1170,8 @@ "arguments": [ { "type": "Identifier", - "start": 679, - "end": 685, + "start": 681, + "end": 687, "loc": { "start": { "line": 32, @@ -1223,8 +1191,8 @@ }, { "type": "ObjectProperty", - "start": 695, - "end": 715, + "start": 697, + "end": 717, "loc": { "start": { "line": 33, @@ -1240,8 +1208,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 695, - "end": 709, + "start": 697, + "end": 711, "loc": { "start": { "line": 33, @@ -1257,8 +1225,8 @@ }, "value": { "type": "BooleanLiteral", - "start": 711, - "end": 715, + "start": 713, + "end": 717, "loc": { "start": { "line": 33, @@ -1274,8 +1242,8 @@ }, { "type": "ObjectProperty", - "start": 724, - "end": 755, + "start": 726, + "end": 757, "loc": { "start": { "line": 34, @@ -1291,8 +1259,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 724, - "end": 749, + "start": 726, + "end": 751, "loc": { "start": { "line": 34, @@ -1308,8 +1276,8 @@ }, "value": { "type": "BooleanLiteral", - "start": 751, - "end": 755, + "start": 753, + "end": 757, "loc": { "start": { "line": 34, @@ -1351,8 +1319,8 @@ { "type": "CommentBlock", "value": "*\r\n * Adding preview (demo only)\r\n ", - "start": 775, - "end": 822, + "start": 777, + "end": 824, "loc": { "start": { "line": 37, @@ -1368,8 +1336,8 @@ }, { "type": "ExpressionStatement", - "start": 828, - "end": 1013, + "start": 830, + "end": 1015, "loc": { "start": { "line": 40, @@ -1382,8 +1350,8 @@ }, "expression": { "type": "CallExpression", - "start": 828, - "end": 1012, + "start": 830, + "end": 1014, "loc": { "start": { "line": 40, @@ -1396,8 +1364,8 @@ }, "callee": { "type": "MemberExpression", - "start": 828, - "end": 889, + "start": 830, + "end": 891, "loc": { "start": { "line": 40, @@ -1410,8 +1378,8 @@ }, "object": { "type": "CallExpression", - "start": 828, - "end": 870, + "start": 830, + "end": 872, "loc": { "start": { "line": 40, @@ -1424,8 +1392,8 @@ }, "callee": { "type": "MemberExpression", - "start": 828, - "end": 850, + "start": 830, + "end": 852, "loc": { "start": { "line": 40, @@ -1438,8 +1406,8 @@ }, "object": { "type": "Identifier", - "start": 828, - "end": 836, + "start": 830, + "end": 838, "loc": { "start": { "line": 40, @@ -1456,8 +1424,8 @@ }, "property": { "type": "Identifier", - "start": 837, - "end": 850, + "start": 839, + "end": 852, "loc": { "start": { "line": 40, @@ -1477,8 +1445,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 851, - "end": 869, + "start": 853, + "end": 871, "loc": { "start": { "line": 40, @@ -1500,8 +1468,8 @@ }, "property": { "type": "Identifier", - "start": 871, - "end": 889, + "start": 873, + "end": 891, "loc": { "start": { "line": 40, @@ -1521,8 +1489,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 890, - "end": 903, + "start": 892, + "end": 905, "loc": { "start": { "line": 40, @@ -1541,8 +1509,8 @@ }, { "type": "TemplateLiteral", - "start": 905, - "end": 1011, + "start": 907, + "end": 1013, "loc": { "start": { "line": 40, @@ -1557,8 +1525,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 906, - "end": 1010, + "start": 908, + "end": 1012, "loc": { "start": { "line": 40, @@ -1584,8 +1552,8 @@ { "type": "CommentBlock", "value": "*\r\n * Adding preview (demo only)\r\n ", - "start": 775, - "end": 822, + "start": 777, + "end": 824, "loc": { "start": { "line": 37, @@ -1601,8 +1569,8 @@ }, { "type": "ExpressionStatement", - "start": 1023, - "end": 1155, + "start": 1025, + "end": 1157, "loc": { "start": { "line": 46, @@ -1615,8 +1583,8 @@ }, "expression": { "type": "CallExpression", - "start": 1023, - "end": 1154, + "start": 1025, + "end": 1156, "loc": { "start": { "line": 46, @@ -1629,8 +1597,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1023, - "end": 1072, + "start": 1025, + "end": 1074, "loc": { "start": { "line": 46, @@ -1643,8 +1611,8 @@ }, "object": { "type": "CallExpression", - "start": 1023, - "end": 1055, + "start": 1025, + "end": 1057, "loc": { "start": { "line": 46, @@ -1657,8 +1625,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1023, - "end": 1045, + "start": 1025, + "end": 1047, "loc": { "start": { "line": 46, @@ -1671,8 +1639,8 @@ }, "object": { "type": "Identifier", - "start": 1023, - "end": 1031, + "start": 1025, + "end": 1033, "loc": { "start": { "line": 46, @@ -1688,8 +1656,8 @@ }, "property": { "type": "Identifier", - "start": 1032, - "end": 1045, + "start": 1034, + "end": 1047, "loc": { "start": { "line": 46, @@ -1708,8 +1676,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 1046, - "end": 1054, + "start": 1048, + "end": 1056, "loc": { "start": { "line": 46, @@ -1730,8 +1698,8 @@ }, "property": { "type": "Identifier", - "start": 1056, - "end": 1072, + "start": 1058, + "end": 1074, "loc": { "start": { "line": 46, @@ -1750,8 +1718,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 1073, - "end": 1081, + "start": 1075, + "end": 1083, "loc": { "start": { "line": 46, @@ -1770,8 +1738,8 @@ }, { "type": "ArrowFunctionExpression", - "start": 1083, - "end": 1153, + "start": 1085, + "end": 1155, "loc": { "start": { "line": 46, @@ -1789,8 +1757,8 @@ "params": [ { "type": "Identifier", - "start": 1084, - "end": 1089, + "start": 1086, + "end": 1091, "loc": { "start": { "line": 46, @@ -1807,8 +1775,8 @@ ], "body": { "type": "BlockStatement", - "start": 1094, - "end": 1153, + "start": 1096, + "end": 1155, "loc": { "start": { "line": 46, @@ -1822,8 +1790,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1103, - "end": 1146, + "start": 1105, + "end": 1148, "loc": { "start": { "line": 47, @@ -1836,8 +1804,8 @@ }, "expression": { "type": "CallExpression", - "start": 1103, - "end": 1145, + "start": 1105, + "end": 1147, "loc": { "start": { "line": 47, @@ -1850,8 +1818,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1103, - "end": 1125, + "start": 1105, + "end": 1127, "loc": { "start": { "line": 47, @@ -1864,8 +1832,8 @@ }, "object": { "type": "MemberExpression", - "start": 1103, - "end": 1116, + "start": 1105, + "end": 1118, "loc": { "start": { "line": 47, @@ -1878,8 +1846,8 @@ }, "object": { "type": "ThisExpression", - "start": 1103, - "end": 1107, + "start": 1105, + "end": 1109, "loc": { "start": { "line": 47, @@ -1893,8 +1861,8 @@ }, "property": { "type": "Identifier", - "start": 1108, - "end": 1116, + "start": 1110, + "end": 1118, "loc": { "start": { "line": 47, @@ -1912,8 +1880,8 @@ }, "property": { "type": "Identifier", - "start": 1117, - "end": 1125, + "start": 1119, + "end": 1127, "loc": { "start": { "line": 47, @@ -1932,8 +1900,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1126, - "end": 1144, + "start": 1128, + "end": 1146, "loc": { "start": { "line": 47, @@ -1946,8 +1914,8 @@ }, "object": { "type": "MemberExpression", - "start": 1126, - "end": 1138, + "start": 1128, + "end": 1140, "loc": { "start": { "line": 47, @@ -1960,8 +1928,8 @@ }, "object": { "type": "Identifier", - "start": 1126, - "end": 1131, + "start": 1128, + "end": 1133, "loc": { "start": { "line": 47, @@ -1977,8 +1945,8 @@ }, "property": { "type": "Identifier", - "start": 1132, - "end": 1138, + "start": 1134, + "end": 1140, "loc": { "start": { "line": 47, @@ -1996,8 +1964,8 @@ }, "property": { "type": "Identifier", - "start": 1139, - "end": 1144, + "start": 1141, + "end": 1146, "loc": { "start": { "line": 47, @@ -2051,8 +2019,8 @@ { "type": "CommentBlock", "value": "*\r\n * Handles shift functionality\r\n ", - "start": 1166, - "end": 1210, + "start": 1168, + "end": 1212, "loc": { "start": { "line": 51, @@ -2068,8 +2036,8 @@ }, { "type": "ClassProperty", - "start": 1214, - "end": 1450, + "start": 1216, + "end": 1452, "loc": { "start": { "line": 54, @@ -2084,8 +2052,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1214, - "end": 1231, + "start": 1216, + "end": 1233, "loc": { "start": { "line": 54, @@ -2102,8 +2070,8 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 1234, - "end": 1450, + "start": 1236, + "end": 1452, "loc": { "start": { "line": 54, @@ -2121,8 +2089,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1240, - "end": 1450, + "start": 1242, + "end": 1452, "loc": { "start": { "line": 54, @@ -2136,8 +2104,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 1247, - "end": 1280, + "start": 1249, + "end": 1282, "loc": { "start": { "line": 55, @@ -2151,8 +2119,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1251, - "end": 1279, + "start": 1253, + "end": 1281, "loc": { "start": { "line": 55, @@ -2165,8 +2133,8 @@ }, "id": { "type": "Identifier", - "start": 1251, - "end": 1261, + "start": 1253, + "end": 1263, "loc": { "start": { "line": 55, @@ -2182,8 +2150,8 @@ }, "init": { "type": "MemberExpression", - "start": 1264, - "end": 1279, + "start": 1266, + "end": 1281, "loc": { "start": { "line": 55, @@ -2196,8 +2164,8 @@ }, "object": { "type": "ThisExpression", - "start": 1264, - "end": 1268, + "start": 1266, + "end": 1270, "loc": { "start": { "line": 55, @@ -2211,8 +2179,8 @@ }, "property": { "type": "Identifier", - "start": 1269, - "end": 1279, + "start": 1271, + "end": 1281, "loc": { "start": { "line": 55, @@ -2234,8 +2202,8 @@ }, { "type": "VariableDeclaration", - "start": 1286, - "end": 1369, + "start": 1288, + "end": 1371, "loc": { "start": { "line": 56, @@ -2249,8 +2217,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1290, - "end": 1368, + "start": 1292, + "end": 1370, "loc": { "start": { "line": 56, @@ -2263,8 +2231,8 @@ }, "id": { "type": "Identifier", - "start": 1290, - "end": 1301, + "start": 1292, + "end": 1303, "loc": { "start": { "line": 56, @@ -2280,8 +2248,8 @@ }, "init": { "type": "AssignmentExpression", - "start": 1304, - "end": 1368, + "start": 1306, + "end": 1370, "loc": { "start": { "line": 56, @@ -2295,8 +2263,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1304, - "end": 1319, + "start": 1306, + "end": 1321, "loc": { "start": { "line": 56, @@ -2309,8 +2277,8 @@ }, "object": { "type": "ThisExpression", - "start": 1304, - "end": 1308, + "start": 1306, + "end": 1310, "loc": { "start": { "line": 56, @@ -2324,8 +2292,8 @@ }, "property": { "type": "Identifier", - "start": 1309, - "end": 1319, + "start": 1311, + "end": 1321, "loc": { "start": { "line": 56, @@ -2343,8 +2311,8 @@ }, "right": { "type": "ConditionalExpression", - "start": 1322, - "end": 1368, + "start": 1324, + "end": 1370, "loc": { "start": { "line": 56, @@ -2357,8 +2325,8 @@ }, "test": { "type": "BinaryExpression", - "start": 1322, - "end": 1346, + "start": 1324, + "end": 1348, "loc": { "start": { "line": 56, @@ -2371,8 +2339,8 @@ }, "left": { "type": "Identifier", - "start": 1322, - "end": 1332, + "start": 1324, + "end": 1334, "loc": { "start": { "line": 56, @@ -2389,8 +2357,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1337, - "end": 1346, + "start": 1339, + "end": 1348, "loc": { "start": { "line": 56, @@ -2410,8 +2378,8 @@ }, "consequent": { "type": "StringLiteral", - "start": 1349, - "end": 1356, + "start": 1351, + "end": 1358, "loc": { "start": { "line": 56, @@ -2430,8 +2398,8 @@ }, "alternate": { "type": "StringLiteral", - "start": 1359, - "end": 1368, + "start": 1361, + "end": 1370, "loc": { "start": { "line": 56, @@ -2456,8 +2424,8 @@ }, { "type": "ExpressionStatement", - "start": 1379, - "end": 1445, + "start": 1381, + "end": 1447, "loc": { "start": { "line": 58, @@ -2470,8 +2438,8 @@ }, "expression": { "type": "CallExpression", - "start": 1379, - "end": 1444, + "start": 1381, + "end": 1446, "loc": { "start": { "line": 58, @@ -2484,8 +2452,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1379, - "end": 1403, + "start": 1381, + "end": 1405, "loc": { "start": { "line": 58, @@ -2498,8 +2466,8 @@ }, "object": { "type": "MemberExpression", - "start": 1379, - "end": 1392, + "start": 1381, + "end": 1394, "loc": { "start": { "line": 58, @@ -2512,8 +2480,8 @@ }, "object": { "type": "ThisExpression", - "start": 1379, - "end": 1383, + "start": 1381, + "end": 1385, "loc": { "start": { "line": 58, @@ -2527,8 +2495,8 @@ }, "property": { "type": "Identifier", - "start": 1384, - "end": 1392, + "start": 1386, + "end": 1394, "loc": { "start": { "line": 58, @@ -2546,8 +2514,8 @@ }, "property": { "type": "Identifier", - "start": 1393, - "end": 1403, + "start": 1395, + "end": 1405, "loc": { "start": { "line": 58, @@ -2566,8 +2534,8 @@ "arguments": [ { "type": "ObjectExpression", - "start": 1404, - "end": 1443, + "start": 1406, + "end": 1445, "loc": { "start": { "line": 58, @@ -2581,8 +2549,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 1413, - "end": 1436, + "start": 1415, + "end": 1438, "loc": { "start": { "line": 59, @@ -2598,8 +2566,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1413, - "end": 1423, + "start": 1415, + "end": 1425, "loc": { "start": { "line": 59, @@ -2615,8 +2583,8 @@ }, "value": { "type": "Identifier", - "start": 1425, - "end": 1436, + "start": 1427, + "end": 1438, "loc": { "start": { "line": 59, @@ -2646,8 +2614,8 @@ { "type": "CommentBlock", "value": "*\r\n * Handles shift functionality\r\n ", - "start": 1166, - "end": 1210, + "start": 1168, + "end": 1212, "loc": { "start": { "line": 51, @@ -2664,8 +2632,8 @@ { "type": "CommentBlock", "value": "*\r\n * Called when simple-keyboard input has changed\r\n ", - "start": 1456, - "end": 1518, + "start": 1458, + "end": 1520, "loc": { "start": { "line": 63, @@ -2681,8 +2649,8 @@ }, { "type": "ClassProperty", - "start": 1522, - "end": 1601, + "start": 1524, + "end": 1603, "loc": { "start": { "line": 66, @@ -2697,8 +2665,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1522, - "end": 1530, + "start": 1524, + "end": 1532, "loc": { "start": { "line": 66, @@ -2715,8 +2683,8 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 1533, - "end": 1601, + "start": 1535, + "end": 1603, "loc": { "start": { "line": 66, @@ -2734,8 +2702,8 @@ "params": [ { "type": "Identifier", - "start": 1533, - "end": 1538, + "start": 1535, + "end": 1540, "loc": { "start": { "line": 66, @@ -2752,8 +2720,8 @@ ], "body": { "type": "BlockStatement", - "start": 1542, - "end": 1601, + "start": 1544, + "end": 1603, "loc": { "start": { "line": 66, @@ -2767,8 +2735,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1549, - "end": 1596, + "start": 1551, + "end": 1598, "loc": { "start": { "line": 67, @@ -2781,8 +2749,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 1549, - "end": 1595, + "start": 1551, + "end": 1597, "loc": { "start": { "line": 67, @@ -2796,8 +2764,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1549, - "end": 1587, + "start": 1551, + "end": 1589, "loc": { "start": { "line": 67, @@ -2810,8 +2778,8 @@ }, "object": { "type": "CallExpression", - "start": 1549, - "end": 1581, + "start": 1551, + "end": 1583, "loc": { "start": { "line": 67, @@ -2824,8 +2792,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1549, - "end": 1571, + "start": 1551, + "end": 1573, "loc": { "start": { "line": 67, @@ -2838,8 +2806,8 @@ }, "object": { "type": "Identifier", - "start": 1549, - "end": 1557, + "start": 1551, + "end": 1559, "loc": { "start": { "line": 67, @@ -2855,8 +2823,8 @@ }, "property": { "type": "Identifier", - "start": 1558, - "end": 1571, + "start": 1560, + "end": 1573, "loc": { "start": { "line": 67, @@ -2875,8 +2843,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 1572, - "end": 1580, + "start": 1574, + "end": 1582, "loc": { "start": { "line": 67, @@ -2897,8 +2865,8 @@ }, "property": { "type": "Identifier", - "start": 1582, - "end": 1587, + "start": 1584, + "end": 1589, "loc": { "start": { "line": 67, @@ -2916,8 +2884,8 @@ }, "right": { "type": "Identifier", - "start": 1590, - "end": 1595, + "start": 1592, + "end": 1597, "loc": { "start": { "line": 67, @@ -2943,8 +2911,8 @@ { "type": "CommentBlock", "value": "*\r\n * Called when simple-keyboard input has changed\r\n ", - "start": 1456, - "end": 1518, + "start": 1458, + "end": 1520, "loc": { "start": { "line": 63, @@ -2961,8 +2929,8 @@ { "type": "CommentBlock", "value": "*\r\n * Called when a simple-keyboard key is pressed\r\n ", - "start": 1607, - "end": 1668, + "start": 1609, + "end": 1670, "loc": { "start": { "line": 70, @@ -2978,8 +2946,8 @@ }, { "type": "ClassProperty", - "start": 1672, - "end": 1891, + "start": 1674, + "end": 1893, "loc": { "start": { "line": 73, @@ -2994,8 +2962,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1672, - "end": 1682, + "start": 1674, + "end": 1684, "loc": { "start": { "line": 73, @@ -3012,8 +2980,8 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 1685, - "end": 1891, + "start": 1687, + "end": 1893, "loc": { "start": { "line": 73, @@ -3031,8 +2999,8 @@ "params": [ { "type": "Identifier", - "start": 1685, - "end": 1691, + "start": 1687, + "end": 1693, "loc": { "start": { "line": 73, @@ -3049,8 +3017,8 @@ ], "body": { "type": "BlockStatement", - "start": 1695, - "end": 1891, + "start": 1697, + "end": 1893, "loc": { "start": { "line": 73, @@ -3064,8 +3032,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1702, - "end": 1740, + "start": 1704, + "end": 1742, "loc": { "start": { "line": 74, @@ -3078,8 +3046,8 @@ }, "expression": { "type": "CallExpression", - "start": 1702, - "end": 1739, + "start": 1704, + "end": 1741, "loc": { "start": { "line": 74, @@ -3092,8 +3060,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1702, - "end": 1713, + "start": 1704, + "end": 1715, "loc": { "start": { "line": 74, @@ -3106,8 +3074,8 @@ }, "object": { "type": "Identifier", - "start": 1702, - "end": 1709, + "start": 1704, + "end": 1711, "loc": { "start": { "line": 74, @@ -3123,8 +3091,8 @@ }, "property": { "type": "Identifier", - "start": 1710, - "end": 1713, + "start": 1712, + "end": 1715, "loc": { "start": { "line": 74, @@ -3143,8 +3111,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 1714, - "end": 1730, + "start": 1716, + "end": 1732, "loc": { "start": { "line": 74, @@ -3163,8 +3131,8 @@ }, { "type": "Identifier", - "start": 1732, - "end": 1738, + "start": 1734, + "end": 1740, "loc": { "start": { "line": 74, @@ -3184,8 +3152,8 @@ { "type": "CommentBlock", "value": "*\r\n * Shift functionality\r\n ", - "start": 1752, - "end": 1796, + "start": 1754, + "end": 1798, "loc": { "start": { "line": 76, @@ -3201,8 +3169,8 @@ }, { "type": "IfStatement", - "start": 1804, - "end": 1886, + "start": 1806, + "end": 1888, "loc": { "start": { "line": 79, @@ -3215,8 +3183,8 @@ }, "test": { "type": "LogicalExpression", - "start": 1807, - "end": 1850, + "start": 1809, + "end": 1852, "loc": { "start": { "line": 79, @@ -3229,8 +3197,8 @@ }, "left": { "type": "BinaryExpression", - "start": 1807, - "end": 1826, + "start": 1809, + "end": 1828, "loc": { "start": { "line": 79, @@ -3243,8 +3211,8 @@ }, "left": { "type": "Identifier", - "start": 1807, - "end": 1813, + "start": 1809, + "end": 1815, "loc": { "start": { "line": 79, @@ -3262,8 +3230,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1818, - "end": 1826, + "start": 1820, + "end": 1828, "loc": { "start": { "line": 79, @@ -3285,8 +3253,8 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 1830, - "end": 1850, + "start": 1832, + "end": 1852, "loc": { "start": { "line": 79, @@ -3299,8 +3267,8 @@ }, "left": { "type": "Identifier", - "start": 1830, - "end": 1836, + "start": 1832, + "end": 1838, "loc": { "start": { "line": 79, @@ -3317,8 +3285,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1841, - "end": 1850, + "start": 1843, + "end": 1852, "loc": { "start": { "line": 79, @@ -3340,8 +3308,8 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 1861, - "end": 1886, + "start": 1863, + "end": 1888, "loc": { "start": { "line": 80, @@ -3354,8 +3322,8 @@ }, "expression": { "type": "CallExpression", - "start": 1861, - "end": 1885, + "start": 1863, + "end": 1887, "loc": { "start": { "line": 80, @@ -3368,8 +3336,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1861, - "end": 1883, + "start": 1863, + "end": 1885, "loc": { "start": { "line": 80, @@ -3382,8 +3350,8 @@ }, "object": { "type": "ThisExpression", - "start": 1861, - "end": 1865, + "start": 1863, + "end": 1867, "loc": { "start": { "line": 80, @@ -3397,8 +3365,8 @@ }, "property": { "type": "Identifier", - "start": 1866, - "end": 1883, + "start": 1868, + "end": 1885, "loc": { "start": { "line": 80, @@ -3422,8 +3390,8 @@ { "type": "CommentBlock", "value": "*\r\n * Shift functionality\r\n ", - "start": 1752, - "end": 1796, + "start": 1754, + "end": 1798, "loc": { "start": { "line": 76, @@ -3445,8 +3413,8 @@ { "type": "CommentBlock", "value": "*\r\n * Called when a simple-keyboard key is pressed\r\n ", - "start": 1607, - "end": 1668, + "start": 1609, + "end": 1670, "loc": { "start": { "line": 70, @@ -3468,8 +3436,8 @@ }, { "type": "Identifier", - "start": 1900, - "end": 1919, + "start": 1902, + "end": 1921, "loc": { "start": { "line": 85, @@ -3482,8 +3450,8 @@ }, "declaration": { "type": "Identifier", - "start": 1915, - "end": 1918, + "start": 1917, + "end": 1920, "loc": { "start": { "line": 85, @@ -3503,8 +3471,8 @@ }, { "type": "ExportDefaultDeclaration", - "start": 1900, - "end": 1919, + "start": 1902, + "end": 1921, "loc": { "start": { "line": 85, @@ -3518,7 +3486,7 @@ "declaration": { "type": "ClassDeclaration", "start": 94, - "end": 1896, + "end": 1898, "loc": { "start": { "line": 7, @@ -3551,7 +3519,7 @@ "body": { "type": "ClassBody", "start": 104, - "end": 1896, + "end": 1898, "loc": { "start": { "line": 7, @@ -3950,7 +3918,7 @@ { "type": "ClassProperty", "start": 407, - "end": 1160, + "end": 1162, "loc": { "start": { "line": 24, @@ -3984,7 +3952,7 @@ "value": { "type": "ArrowFunctionExpression", "start": 421, - "end": 1160, + "end": 1162, "loc": { "start": { "line": 24, @@ -4003,7 +3971,7 @@ "body": { "type": "BlockStatement", "start": 427, - "end": 1160, + "end": 1162, "loc": { "start": { "line": 24, @@ -4018,7 +3986,7 @@ { "type": "ExpressionStatement", "start": 499, - "end": 765, + "end": 767, "loc": { "start": { "line": 28, @@ -4032,7 +4000,7 @@ "expression": { "type": "AssignmentExpression", "start": 499, - "end": 764, + "end": 766, "loc": { "start": { "line": 28, @@ -4097,7 +4065,7 @@ "right": { "type": "NewExpression", "start": 515, - "end": 764, + "end": 766, "loc": { "start": { "line": 28, @@ -4129,7 +4097,7 @@ { "type": "ObjectExpression", "start": 528, - "end": 763, + "end": 765, "loc": { "start": { "line": 28, @@ -4143,59 +4111,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 537, - "end": 548, - "loc": { - "start": { - "line": 29, - "column": 6 - }, - "end": { - "line": 29, - "column": 17 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 537, - "end": 542, - "loc": { - "start": { - "line": 29, - "column": 6 - }, - "end": { - "line": 29, - "column": 11 - }, - "identifierName": "debug" - }, - "name": "debug" - }, - "value": { - "type": "BooleanLiteral", - "start": 544, - "end": 548, - "loc": { - "start": { - "line": 29, - "column": 13 - }, - "end": { - "line": 29, - "column": 17 - } - }, - "value": true - } - }, - { - "type": "ObjectProperty", - "start": 557, - "end": 584, + "start": 559, + "end": 586, "loc": { "start": { "line": 30, @@ -4211,8 +4128,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 557, - "end": 567, + "start": 559, + "end": 569, "loc": { "start": { "line": 30, @@ -4224,12 +4141,13 @@ }, "identifierName": "layoutName" }, - "name": "layoutName" + "name": "layoutName", + "leadingComments": null }, "value": { "type": "MemberExpression", - "start": 569, - "end": 584, + "start": 571, + "end": 586, "loc": { "start": { "line": 30, @@ -4242,8 +4160,8 @@ }, "object": { "type": "ThisExpression", - "start": 569, - "end": 573, + "start": 571, + "end": 575, "loc": { "start": { "line": 30, @@ -4257,8 +4175,8 @@ }, "property": { "type": "Identifier", - "start": 574, - "end": 584, + "start": 576, + "end": 586, "loc": { "start": { "line": 30, @@ -4273,12 +4191,30 @@ "name": "layoutName" }, "computed": false - } + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": "debug: true,", + "start": 537, + "end": 551, + "loc": { + "start": { + "line": 29, + "column": 6 + }, + "end": { + "line": 29, + "column": 20 + } + } + } + ] }, { "type": "ObjectProperty", - "start": 593, - "end": 632, + "start": 595, + "end": 634, "loc": { "start": { "line": 31, @@ -4294,8 +4230,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 593, - "end": 601, + "start": 595, + "end": 603, "loc": { "start": { "line": 31, @@ -4311,8 +4247,8 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 603, - "end": 632, + "start": 605, + "end": 634, "loc": { "start": { "line": 31, @@ -4330,8 +4266,8 @@ "params": [ { "type": "Identifier", - "start": 603, - "end": 608, + "start": 605, + "end": 610, "loc": { "start": { "line": 31, @@ -4348,8 +4284,8 @@ ], "body": { "type": "CallExpression", - "start": 612, - "end": 632, + "start": 614, + "end": 634, "loc": { "start": { "line": 31, @@ -4362,8 +4298,8 @@ }, "callee": { "type": "MemberExpression", - "start": 612, - "end": 625, + "start": 614, + "end": 627, "loc": { "start": { "line": 31, @@ -4376,8 +4312,8 @@ }, "object": { "type": "ThisExpression", - "start": 612, - "end": 616, + "start": 614, + "end": 618, "loc": { "start": { "line": 31, @@ -4391,8 +4327,8 @@ }, "property": { "type": "Identifier", - "start": 617, - "end": 625, + "start": 619, + "end": 627, "loc": { "start": { "line": 31, @@ -4411,8 +4347,8 @@ "arguments": [ { "type": "Identifier", - "start": 626, - "end": 631, + "start": 628, + "end": 633, "loc": { "start": { "line": 31, @@ -4432,8 +4368,8 @@ }, { "type": "ObjectProperty", - "start": 641, - "end": 686, + "start": 643, + "end": 688, "loc": { "start": { "line": 32, @@ -4449,8 +4385,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 641, - "end": 651, + "start": 643, + "end": 653, "loc": { "start": { "line": 32, @@ -4466,8 +4402,8 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 653, - "end": 686, + "start": 655, + "end": 688, "loc": { "start": { "line": 32, @@ -4485,8 +4421,8 @@ "params": [ { "type": "Identifier", - "start": 653, - "end": 659, + "start": 655, + "end": 661, "loc": { "start": { "line": 32, @@ -4503,8 +4439,8 @@ ], "body": { "type": "CallExpression", - "start": 663, - "end": 686, + "start": 665, + "end": 688, "loc": { "start": { "line": 32, @@ -4517,8 +4453,8 @@ }, "callee": { "type": "MemberExpression", - "start": 663, - "end": 678, + "start": 665, + "end": 680, "loc": { "start": { "line": 32, @@ -4531,8 +4467,8 @@ }, "object": { "type": "ThisExpression", - "start": 663, - "end": 667, + "start": 665, + "end": 669, "loc": { "start": { "line": 32, @@ -4546,8 +4482,8 @@ }, "property": { "type": "Identifier", - "start": 668, - "end": 678, + "start": 670, + "end": 680, "loc": { "start": { "line": 32, @@ -4566,8 +4502,8 @@ "arguments": [ { "type": "Identifier", - "start": 679, - "end": 685, + "start": 681, + "end": 687, "loc": { "start": { "line": 32, @@ -4587,8 +4523,8 @@ }, { "type": "ObjectProperty", - "start": 695, - "end": 715, + "start": 697, + "end": 717, "loc": { "start": { "line": 33, @@ -4604,8 +4540,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 695, - "end": 709, + "start": 697, + "end": 711, "loc": { "start": { "line": 33, @@ -4621,8 +4557,8 @@ }, "value": { "type": "BooleanLiteral", - "start": 711, - "end": 715, + "start": 713, + "end": 717, "loc": { "start": { "line": 33, @@ -4638,8 +4574,8 @@ }, { "type": "ObjectProperty", - "start": 724, - "end": 755, + "start": 726, + "end": 757, "loc": { "start": { "line": 34, @@ -4655,8 +4591,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 724, - "end": 749, + "start": 726, + "end": 751, "loc": { "start": { "line": 34, @@ -4672,8 +4608,8 @@ }, "value": { "type": "BooleanLiteral", - "start": 751, - "end": 755, + "start": 753, + "end": 757, "loc": { "start": { "line": 34, @@ -4715,8 +4651,8 @@ { "type": "CommentBlock", "value": "*\r\n * Adding preview (demo only)\r\n ", - "start": 775, - "end": 822, + "start": 777, + "end": 824, "loc": { "start": { "line": 37, @@ -4732,8 +4668,8 @@ }, { "type": "ExpressionStatement", - "start": 828, - "end": 1013, + "start": 830, + "end": 1015, "loc": { "start": { "line": 40, @@ -4746,8 +4682,8 @@ }, "expression": { "type": "CallExpression", - "start": 828, - "end": 1012, + "start": 830, + "end": 1014, "loc": { "start": { "line": 40, @@ -4760,8 +4696,8 @@ }, "callee": { "type": "MemberExpression", - "start": 828, - "end": 889, + "start": 830, + "end": 891, "loc": { "start": { "line": 40, @@ -4774,8 +4710,8 @@ }, "object": { "type": "CallExpression", - "start": 828, - "end": 870, + "start": 830, + "end": 872, "loc": { "start": { "line": 40, @@ -4788,8 +4724,8 @@ }, "callee": { "type": "MemberExpression", - "start": 828, - "end": 850, + "start": 830, + "end": 852, "loc": { "start": { "line": 40, @@ -4802,8 +4738,8 @@ }, "object": { "type": "Identifier", - "start": 828, - "end": 836, + "start": 830, + "end": 838, "loc": { "start": { "line": 40, @@ -4820,8 +4756,8 @@ }, "property": { "type": "Identifier", - "start": 837, - "end": 850, + "start": 839, + "end": 852, "loc": { "start": { "line": 40, @@ -4841,8 +4777,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 851, - "end": 869, + "start": 853, + "end": 871, "loc": { "start": { "line": 40, @@ -4864,8 +4800,8 @@ }, "property": { "type": "Identifier", - "start": 871, - "end": 889, + "start": 873, + "end": 891, "loc": { "start": { "line": 40, @@ -4885,8 +4821,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 890, - "end": 903, + "start": 892, + "end": 905, "loc": { "start": { "line": 40, @@ -4905,8 +4841,8 @@ }, { "type": "TemplateLiteral", - "start": 905, - "end": 1011, + "start": 907, + "end": 1013, "loc": { "start": { "line": 40, @@ -4921,8 +4857,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 906, - "end": 1010, + "start": 908, + "end": 1012, "loc": { "start": { "line": 40, @@ -4948,8 +4884,8 @@ { "type": "CommentBlock", "value": "*\r\n * Adding preview (demo only)\r\n ", - "start": 775, - "end": 822, + "start": 777, + "end": 824, "loc": { "start": { "line": 37, @@ -4965,8 +4901,8 @@ }, { "type": "ExpressionStatement", - "start": 1023, - "end": 1155, + "start": 1025, + "end": 1157, "loc": { "start": { "line": 46, @@ -4979,8 +4915,8 @@ }, "expression": { "type": "CallExpression", - "start": 1023, - "end": 1154, + "start": 1025, + "end": 1156, "loc": { "start": { "line": 46, @@ -4993,8 +4929,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1023, - "end": 1072, + "start": 1025, + "end": 1074, "loc": { "start": { "line": 46, @@ -5007,8 +4943,8 @@ }, "object": { "type": "CallExpression", - "start": 1023, - "end": 1055, + "start": 1025, + "end": 1057, "loc": { "start": { "line": 46, @@ -5021,8 +4957,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1023, - "end": 1045, + "start": 1025, + "end": 1047, "loc": { "start": { "line": 46, @@ -5035,8 +4971,8 @@ }, "object": { "type": "Identifier", - "start": 1023, - "end": 1031, + "start": 1025, + "end": 1033, "loc": { "start": { "line": 46, @@ -5052,8 +4988,8 @@ }, "property": { "type": "Identifier", - "start": 1032, - "end": 1045, + "start": 1034, + "end": 1047, "loc": { "start": { "line": 46, @@ -5072,8 +5008,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 1046, - "end": 1054, + "start": 1048, + "end": 1056, "loc": { "start": { "line": 46, @@ -5094,8 +5030,8 @@ }, "property": { "type": "Identifier", - "start": 1056, - "end": 1072, + "start": 1058, + "end": 1074, "loc": { "start": { "line": 46, @@ -5114,8 +5050,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 1073, - "end": 1081, + "start": 1075, + "end": 1083, "loc": { "start": { "line": 46, @@ -5134,8 +5070,8 @@ }, { "type": "ArrowFunctionExpression", - "start": 1083, - "end": 1153, + "start": 1085, + "end": 1155, "loc": { "start": { "line": 46, @@ -5153,8 +5089,8 @@ "params": [ { "type": "Identifier", - "start": 1084, - "end": 1089, + "start": 1086, + "end": 1091, "loc": { "start": { "line": 46, @@ -5171,8 +5107,8 @@ ], "body": { "type": "BlockStatement", - "start": 1094, - "end": 1153, + "start": 1096, + "end": 1155, "loc": { "start": { "line": 46, @@ -5186,8 +5122,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1103, - "end": 1146, + "start": 1105, + "end": 1148, "loc": { "start": { "line": 47, @@ -5200,8 +5136,8 @@ }, "expression": { "type": "CallExpression", - "start": 1103, - "end": 1145, + "start": 1105, + "end": 1147, "loc": { "start": { "line": 47, @@ -5214,8 +5150,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1103, - "end": 1125, + "start": 1105, + "end": 1127, "loc": { "start": { "line": 47, @@ -5228,8 +5164,8 @@ }, "object": { "type": "MemberExpression", - "start": 1103, - "end": 1116, + "start": 1105, + "end": 1118, "loc": { "start": { "line": 47, @@ -5242,8 +5178,8 @@ }, "object": { "type": "ThisExpression", - "start": 1103, - "end": 1107, + "start": 1105, + "end": 1109, "loc": { "start": { "line": 47, @@ -5257,8 +5193,8 @@ }, "property": { "type": "Identifier", - "start": 1108, - "end": 1116, + "start": 1110, + "end": 1118, "loc": { "start": { "line": 47, @@ -5276,8 +5212,8 @@ }, "property": { "type": "Identifier", - "start": 1117, - "end": 1125, + "start": 1119, + "end": 1127, "loc": { "start": { "line": 47, @@ -5296,8 +5232,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1126, - "end": 1144, + "start": 1128, + "end": 1146, "loc": { "start": { "line": 47, @@ -5310,8 +5246,8 @@ }, "object": { "type": "MemberExpression", - "start": 1126, - "end": 1138, + "start": 1128, + "end": 1140, "loc": { "start": { "line": 47, @@ -5324,8 +5260,8 @@ }, "object": { "type": "Identifier", - "start": 1126, - "end": 1131, + "start": 1128, + "end": 1133, "loc": { "start": { "line": 47, @@ -5341,8 +5277,8 @@ }, "property": { "type": "Identifier", - "start": 1132, - "end": 1138, + "start": 1134, + "end": 1140, "loc": { "start": { "line": 47, @@ -5360,8 +5296,8 @@ }, "property": { "type": "Identifier", - "start": 1139, - "end": 1144, + "start": 1141, + "end": 1146, "loc": { "start": { "line": 47, @@ -5415,8 +5351,8 @@ { "type": "CommentBlock", "value": "*\r\n * Handles shift functionality\r\n ", - "start": 1166, - "end": 1210, + "start": 1168, + "end": 1212, "loc": { "start": { "line": 51, @@ -5432,8 +5368,8 @@ }, { "type": "ClassProperty", - "start": 1214, - "end": 1450, + "start": 1216, + "end": 1452, "loc": { "start": { "line": 54, @@ -5448,8 +5384,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1214, - "end": 1231, + "start": 1216, + "end": 1233, "loc": { "start": { "line": 54, @@ -5466,8 +5402,8 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 1234, - "end": 1450, + "start": 1236, + "end": 1452, "loc": { "start": { "line": 54, @@ -5485,8 +5421,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1240, - "end": 1450, + "start": 1242, + "end": 1452, "loc": { "start": { "line": 54, @@ -5500,8 +5436,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 1247, - "end": 1280, + "start": 1249, + "end": 1282, "loc": { "start": { "line": 55, @@ -5515,8 +5451,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1251, - "end": 1279, + "start": 1253, + "end": 1281, "loc": { "start": { "line": 55, @@ -5529,8 +5465,8 @@ }, "id": { "type": "Identifier", - "start": 1251, - "end": 1261, + "start": 1253, + "end": 1263, "loc": { "start": { "line": 55, @@ -5546,8 +5482,8 @@ }, "init": { "type": "MemberExpression", - "start": 1264, - "end": 1279, + "start": 1266, + "end": 1281, "loc": { "start": { "line": 55, @@ -5560,8 +5496,8 @@ }, "object": { "type": "ThisExpression", - "start": 1264, - "end": 1268, + "start": 1266, + "end": 1270, "loc": { "start": { "line": 55, @@ -5575,8 +5511,8 @@ }, "property": { "type": "Identifier", - "start": 1269, - "end": 1279, + "start": 1271, + "end": 1281, "loc": { "start": { "line": 55, @@ -5598,8 +5534,8 @@ }, { "type": "VariableDeclaration", - "start": 1286, - "end": 1369, + "start": 1288, + "end": 1371, "loc": { "start": { "line": 56, @@ -5613,8 +5549,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1290, - "end": 1368, + "start": 1292, + "end": 1370, "loc": { "start": { "line": 56, @@ -5627,8 +5563,8 @@ }, "id": { "type": "Identifier", - "start": 1290, - "end": 1301, + "start": 1292, + "end": 1303, "loc": { "start": { "line": 56, @@ -5644,8 +5580,8 @@ }, "init": { "type": "AssignmentExpression", - "start": 1304, - "end": 1368, + "start": 1306, + "end": 1370, "loc": { "start": { "line": 56, @@ -5659,8 +5595,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1304, - "end": 1319, + "start": 1306, + "end": 1321, "loc": { "start": { "line": 56, @@ -5673,8 +5609,8 @@ }, "object": { "type": "ThisExpression", - "start": 1304, - "end": 1308, + "start": 1306, + "end": 1310, "loc": { "start": { "line": 56, @@ -5688,8 +5624,8 @@ }, "property": { "type": "Identifier", - "start": 1309, - "end": 1319, + "start": 1311, + "end": 1321, "loc": { "start": { "line": 56, @@ -5707,8 +5643,8 @@ }, "right": { "type": "ConditionalExpression", - "start": 1322, - "end": 1368, + "start": 1324, + "end": 1370, "loc": { "start": { "line": 56, @@ -5721,8 +5657,8 @@ }, "test": { "type": "BinaryExpression", - "start": 1322, - "end": 1346, + "start": 1324, + "end": 1348, "loc": { "start": { "line": 56, @@ -5735,8 +5671,8 @@ }, "left": { "type": "Identifier", - "start": 1322, - "end": 1332, + "start": 1324, + "end": 1334, "loc": { "start": { "line": 56, @@ -5753,8 +5689,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1337, - "end": 1346, + "start": 1339, + "end": 1348, "loc": { "start": { "line": 56, @@ -5774,8 +5710,8 @@ }, "consequent": { "type": "StringLiteral", - "start": 1349, - "end": 1356, + "start": 1351, + "end": 1358, "loc": { "start": { "line": 56, @@ -5794,8 +5730,8 @@ }, "alternate": { "type": "StringLiteral", - "start": 1359, - "end": 1368, + "start": 1361, + "end": 1370, "loc": { "start": { "line": 56, @@ -5820,8 +5756,8 @@ }, { "type": "ExpressionStatement", - "start": 1379, - "end": 1445, + "start": 1381, + "end": 1447, "loc": { "start": { "line": 58, @@ -5834,8 +5770,8 @@ }, "expression": { "type": "CallExpression", - "start": 1379, - "end": 1444, + "start": 1381, + "end": 1446, "loc": { "start": { "line": 58, @@ -5848,8 +5784,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1379, - "end": 1403, + "start": 1381, + "end": 1405, "loc": { "start": { "line": 58, @@ -5862,8 +5798,8 @@ }, "object": { "type": "MemberExpression", - "start": 1379, - "end": 1392, + "start": 1381, + "end": 1394, "loc": { "start": { "line": 58, @@ -5876,8 +5812,8 @@ }, "object": { "type": "ThisExpression", - "start": 1379, - "end": 1383, + "start": 1381, + "end": 1385, "loc": { "start": { "line": 58, @@ -5891,8 +5827,8 @@ }, "property": { "type": "Identifier", - "start": 1384, - "end": 1392, + "start": 1386, + "end": 1394, "loc": { "start": { "line": 58, @@ -5910,8 +5846,8 @@ }, "property": { "type": "Identifier", - "start": 1393, - "end": 1403, + "start": 1395, + "end": 1405, "loc": { "start": { "line": 58, @@ -5930,8 +5866,8 @@ "arguments": [ { "type": "ObjectExpression", - "start": 1404, - "end": 1443, + "start": 1406, + "end": 1445, "loc": { "start": { "line": 58, @@ -5945,8 +5881,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 1413, - "end": 1436, + "start": 1415, + "end": 1438, "loc": { "start": { "line": 59, @@ -5962,8 +5898,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1413, - "end": 1423, + "start": 1415, + "end": 1425, "loc": { "start": { "line": 59, @@ -5979,8 +5915,8 @@ }, "value": { "type": "Identifier", - "start": 1425, - "end": 1436, + "start": 1427, + "end": 1438, "loc": { "start": { "line": 59, @@ -6010,8 +5946,8 @@ { "type": "CommentBlock", "value": "*\r\n * Handles shift functionality\r\n ", - "start": 1166, - "end": 1210, + "start": 1168, + "end": 1212, "loc": { "start": { "line": 51, @@ -6028,8 +5964,8 @@ { "type": "CommentBlock", "value": "*\r\n * Called when simple-keyboard input has changed\r\n ", - "start": 1456, - "end": 1518, + "start": 1458, + "end": 1520, "loc": { "start": { "line": 63, @@ -6045,8 +5981,8 @@ }, { "type": "ClassProperty", - "start": 1522, - "end": 1601, + "start": 1524, + "end": 1603, "loc": { "start": { "line": 66, @@ -6061,8 +5997,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1522, - "end": 1530, + "start": 1524, + "end": 1532, "loc": { "start": { "line": 66, @@ -6079,8 +6015,8 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 1533, - "end": 1601, + "start": 1535, + "end": 1603, "loc": { "start": { "line": 66, @@ -6098,8 +6034,8 @@ "params": [ { "type": "Identifier", - "start": 1533, - "end": 1538, + "start": 1535, + "end": 1540, "loc": { "start": { "line": 66, @@ -6116,8 +6052,8 @@ ], "body": { "type": "BlockStatement", - "start": 1542, - "end": 1601, + "start": 1544, + "end": 1603, "loc": { "start": { "line": 66, @@ -6131,8 +6067,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1549, - "end": 1596, + "start": 1551, + "end": 1598, "loc": { "start": { "line": 67, @@ -6145,8 +6081,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 1549, - "end": 1595, + "start": 1551, + "end": 1597, "loc": { "start": { "line": 67, @@ -6160,8 +6096,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1549, - "end": 1587, + "start": 1551, + "end": 1589, "loc": { "start": { "line": 67, @@ -6174,8 +6110,8 @@ }, "object": { "type": "CallExpression", - "start": 1549, - "end": 1581, + "start": 1551, + "end": 1583, "loc": { "start": { "line": 67, @@ -6188,8 +6124,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1549, - "end": 1571, + "start": 1551, + "end": 1573, "loc": { "start": { "line": 67, @@ -6202,8 +6138,8 @@ }, "object": { "type": "Identifier", - "start": 1549, - "end": 1557, + "start": 1551, + "end": 1559, "loc": { "start": { "line": 67, @@ -6219,8 +6155,8 @@ }, "property": { "type": "Identifier", - "start": 1558, - "end": 1571, + "start": 1560, + "end": 1573, "loc": { "start": { "line": 67, @@ -6239,8 +6175,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 1572, - "end": 1580, + "start": 1574, + "end": 1582, "loc": { "start": { "line": 67, @@ -6261,8 +6197,8 @@ }, "property": { "type": "Identifier", - "start": 1582, - "end": 1587, + "start": 1584, + "end": 1589, "loc": { "start": { "line": 67, @@ -6280,8 +6216,8 @@ }, "right": { "type": "Identifier", - "start": 1590, - "end": 1595, + "start": 1592, + "end": 1597, "loc": { "start": { "line": 67, @@ -6307,8 +6243,8 @@ { "type": "CommentBlock", "value": "*\r\n * Called when simple-keyboard input has changed\r\n ", - "start": 1456, - "end": 1518, + "start": 1458, + "end": 1520, "loc": { "start": { "line": 63, @@ -6325,8 +6261,8 @@ { "type": "CommentBlock", "value": "*\r\n * Called when a simple-keyboard key is pressed\r\n ", - "start": 1607, - "end": 1668, + "start": 1609, + "end": 1670, "loc": { "start": { "line": 70, @@ -6342,8 +6278,8 @@ }, { "type": "ClassProperty", - "start": 1672, - "end": 1891, + "start": 1674, + "end": 1893, "loc": { "start": { "line": 73, @@ -6358,8 +6294,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1672, - "end": 1682, + "start": 1674, + "end": 1684, "loc": { "start": { "line": 73, @@ -6376,8 +6312,8 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 1685, - "end": 1891, + "start": 1687, + "end": 1893, "loc": { "start": { "line": 73, @@ -6395,8 +6331,8 @@ "params": [ { "type": "Identifier", - "start": 1685, - "end": 1691, + "start": 1687, + "end": 1693, "loc": { "start": { "line": 73, @@ -6413,8 +6349,8 @@ ], "body": { "type": "BlockStatement", - "start": 1695, - "end": 1891, + "start": 1697, + "end": 1893, "loc": { "start": { "line": 73, @@ -6428,8 +6364,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1702, - "end": 1740, + "start": 1704, + "end": 1742, "loc": { "start": { "line": 74, @@ -6442,8 +6378,8 @@ }, "expression": { "type": "CallExpression", - "start": 1702, - "end": 1739, + "start": 1704, + "end": 1741, "loc": { "start": { "line": 74, @@ -6456,8 +6392,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1702, - "end": 1713, + "start": 1704, + "end": 1715, "loc": { "start": { "line": 74, @@ -6470,8 +6406,8 @@ }, "object": { "type": "Identifier", - "start": 1702, - "end": 1709, + "start": 1704, + "end": 1711, "loc": { "start": { "line": 74, @@ -6487,8 +6423,8 @@ }, "property": { "type": "Identifier", - "start": 1710, - "end": 1713, + "start": 1712, + "end": 1715, "loc": { "start": { "line": 74, @@ -6507,8 +6443,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 1714, - "end": 1730, + "start": 1716, + "end": 1732, "loc": { "start": { "line": 74, @@ -6527,8 +6463,8 @@ }, { "type": "Identifier", - "start": 1732, - "end": 1738, + "start": 1734, + "end": 1740, "loc": { "start": { "line": 74, @@ -6548,8 +6484,8 @@ { "type": "CommentBlock", "value": "*\r\n * Shift functionality\r\n ", - "start": 1752, - "end": 1796, + "start": 1754, + "end": 1798, "loc": { "start": { "line": 76, @@ -6565,8 +6501,8 @@ }, { "type": "IfStatement", - "start": 1804, - "end": 1886, + "start": 1806, + "end": 1888, "loc": { "start": { "line": 79, @@ -6579,8 +6515,8 @@ }, "test": { "type": "LogicalExpression", - "start": 1807, - "end": 1850, + "start": 1809, + "end": 1852, "loc": { "start": { "line": 79, @@ -6593,8 +6529,8 @@ }, "left": { "type": "BinaryExpression", - "start": 1807, - "end": 1826, + "start": 1809, + "end": 1828, "loc": { "start": { "line": 79, @@ -6607,8 +6543,8 @@ }, "left": { "type": "Identifier", - "start": 1807, - "end": 1813, + "start": 1809, + "end": 1815, "loc": { "start": { "line": 79, @@ -6626,8 +6562,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1818, - "end": 1826, + "start": 1820, + "end": 1828, "loc": { "start": { "line": 79, @@ -6649,8 +6585,8 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 1830, - "end": 1850, + "start": 1832, + "end": 1852, "loc": { "start": { "line": 79, @@ -6663,8 +6599,8 @@ }, "left": { "type": "Identifier", - "start": 1830, - "end": 1836, + "start": 1832, + "end": 1838, "loc": { "start": { "line": 79, @@ -6681,8 +6617,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1841, - "end": 1850, + "start": 1843, + "end": 1852, "loc": { "start": { "line": 79, @@ -6704,8 +6640,8 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 1861, - "end": 1886, + "start": 1863, + "end": 1888, "loc": { "start": { "line": 80, @@ -6718,8 +6654,8 @@ }, "expression": { "type": "CallExpression", - "start": 1861, - "end": 1885, + "start": 1863, + "end": 1887, "loc": { "start": { "line": 80, @@ -6732,8 +6668,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1861, - "end": 1883, + "start": 1863, + "end": 1885, "loc": { "start": { "line": 80, @@ -6746,8 +6682,8 @@ }, "object": { "type": "ThisExpression", - "start": 1861, - "end": 1865, + "start": 1863, + "end": 1867, "loc": { "start": { "line": 80, @@ -6761,8 +6697,8 @@ }, "property": { "type": "Identifier", - "start": 1866, - "end": 1883, + "start": 1868, + "end": 1885, "loc": { "start": { "line": 80, @@ -6786,8 +6722,8 @@ { "type": "CommentBlock", "value": "*\r\n * Shift functionality\r\n ", - "start": 1752, - "end": 1796, + "start": 1754, + "end": 1798, "loc": { "start": { "line": 76, @@ -6809,8 +6745,8 @@ { "type": "CommentBlock", "value": "*\r\n * Called when a simple-keyboard key is pressed\r\n ", - "start": 1607, - "end": 1668, + "start": 1609, + "end": 1670, "loc": { "start": { "line": 70, @@ -6933,11 +6869,27 @@ } } }, + { + "type": "CommentLine", + "value": "debug: true,", + "start": 537, + "end": 551, + "loc": { + "start": { + "line": 29, + "column": 6 + }, + "end": { + "line": 29, + "column": 20 + } + } + }, { "type": "CommentBlock", "value": "*\r\n * Adding preview (demo only)\r\n ", - "start": 775, - "end": 822, + "start": 777, + "end": 824, "loc": { "start": { "line": 37, @@ -6952,8 +6904,8 @@ { "type": "CommentBlock", "value": "*\r\n * Handles shift functionality\r\n ", - "start": 1166, - "end": 1210, + "start": 1168, + "end": 1212, "loc": { "start": { "line": 51, @@ -6968,8 +6920,8 @@ { "type": "CommentBlock", "value": "*\r\n * Called when simple-keyboard input has changed\r\n ", - "start": 1456, - "end": 1518, + "start": 1458, + "end": 1520, "loc": { "start": { "line": 63, @@ -6984,8 +6936,8 @@ { "type": "CommentBlock", "value": "*\r\n * Called when a simple-keyboard key is pressed\r\n ", - "start": 1607, - "end": 1668, + "start": 1609, + "end": 1670, "loc": { "start": { "line": 70, @@ -7000,8 +6952,8 @@ { "type": "CommentBlock", "value": "*\r\n * Shift functionality\r\n ", - "start": 1752, - "end": 1796, + "start": 1754, + "end": 1798, "loc": { "start": { "line": 76, @@ -8327,20 +8279,10 @@ } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "debug", + "type": "CommentLine", + "value": "debug: true,", "start": 537, - "end": 542, + "end": 551, "loc": { "start": { "line": 29, @@ -8348,87 +8290,7 @@ }, "end": { "line": 29, - "column": 11 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 542, - "end": 543, - "loc": { - "start": { - "line": 29, - "column": 11 - }, - "end": { - "line": 29, - "column": 12 - } - } - }, - { - "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": 544, - "end": 548, - "loc": { - "start": { - "line": 29, - "column": 13 - }, - "end": { - "line": 29, - "column": 17 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 548, - "end": 549, - "loc": { - "start": { - "line": 29, - "column": 17 - }, - "end": { - "line": 29, - "column": 18 + "column": 20 } } }, @@ -8445,8 +8307,8 @@ "binop": null }, "value": "layoutName", - "start": 557, - "end": 567, + "start": 559, + "end": 569, "loc": { "start": { "line": 30, @@ -8471,8 +8333,8 @@ "binop": null, "updateContext": null }, - "start": 567, - "end": 568, + "start": 569, + "end": 570, "loc": { "start": { "line": 30, @@ -8499,8 +8361,8 @@ "updateContext": null }, "value": "this", - "start": 569, - "end": 573, + "start": 571, + "end": 575, "loc": { "start": { "line": 30, @@ -8525,8 +8387,8 @@ "binop": null, "updateContext": null }, - "start": 573, - "end": 574, + "start": 575, + "end": 576, "loc": { "start": { "line": 30, @@ -8551,8 +8413,8 @@ "binop": null }, "value": "layoutName", - "start": 574, - "end": 584, + "start": 576, + "end": 586, "loc": { "start": { "line": 30, @@ -8577,8 +8439,8 @@ "binop": null, "updateContext": null }, - "start": 584, - "end": 585, + "start": 586, + "end": 587, "loc": { "start": { "line": 30, @@ -8603,8 +8465,8 @@ "binop": null }, "value": "onChange", - "start": 593, - "end": 601, + "start": 595, + "end": 603, "loc": { "start": { "line": 31, @@ -8629,8 +8491,8 @@ "binop": null, "updateContext": null }, - "start": 601, - "end": 602, + "start": 603, + "end": 604, "loc": { "start": { "line": 31, @@ -8655,8 +8517,8 @@ "binop": null }, "value": "input", - "start": 603, - "end": 608, + "start": 605, + "end": 610, "loc": { "start": { "line": 31, @@ -8681,8 +8543,8 @@ "binop": null, "updateContext": null }, - "start": 609, - "end": 611, + "start": 611, + "end": 613, "loc": { "start": { "line": 31, @@ -8709,8 +8571,8 @@ "updateContext": null }, "value": "this", - "start": 612, - "end": 616, + "start": 614, + "end": 618, "loc": { "start": { "line": 31, @@ -8735,8 +8597,8 @@ "binop": null, "updateContext": null }, - "start": 616, - "end": 617, + "start": 618, + "end": 619, "loc": { "start": { "line": 31, @@ -8761,8 +8623,8 @@ "binop": null }, "value": "onChange", - "start": 617, - "end": 625, + "start": 619, + "end": 627, "loc": { "start": { "line": 31, @@ -8786,8 +8648,8 @@ "postfix": false, "binop": null }, - "start": 625, - "end": 626, + "start": 627, + "end": 628, "loc": { "start": { "line": 31, @@ -8812,8 +8674,8 @@ "binop": null }, "value": "input", - "start": 626, - "end": 631, + "start": 628, + "end": 633, "loc": { "start": { "line": 31, @@ -8837,8 +8699,8 @@ "postfix": false, "binop": null }, - "start": 631, - "end": 632, + "start": 633, + "end": 634, "loc": { "start": { "line": 31, @@ -8863,8 +8725,8 @@ "binop": null, "updateContext": null }, - "start": 632, - "end": 633, + "start": 634, + "end": 635, "loc": { "start": { "line": 31, @@ -8889,8 +8751,8 @@ "binop": null }, "value": "onKeyPress", - "start": 641, - "end": 651, + "start": 643, + "end": 653, "loc": { "start": { "line": 32, @@ -8915,8 +8777,8 @@ "binop": null, "updateContext": null }, - "start": 651, - "end": 652, + "start": 653, + "end": 654, "loc": { "start": { "line": 32, @@ -8941,8 +8803,8 @@ "binop": null }, "value": "button", - "start": 653, - "end": 659, + "start": 655, + "end": 661, "loc": { "start": { "line": 32, @@ -8967,8 +8829,8 @@ "binop": null, "updateContext": null }, - "start": 660, - "end": 662, + "start": 662, + "end": 664, "loc": { "start": { "line": 32, @@ -8995,8 +8857,8 @@ "updateContext": null }, "value": "this", - "start": 663, - "end": 667, + "start": 665, + "end": 669, "loc": { "start": { "line": 32, @@ -9021,8 +8883,8 @@ "binop": null, "updateContext": null }, - "start": 667, - "end": 668, + "start": 669, + "end": 670, "loc": { "start": { "line": 32, @@ -9047,8 +8909,8 @@ "binop": null }, "value": "onKeyPress", - "start": 668, - "end": 678, + "start": 670, + "end": 680, "loc": { "start": { "line": 32, @@ -9072,8 +8934,8 @@ "postfix": false, "binop": null }, - "start": 678, - "end": 679, + "start": 680, + "end": 681, "loc": { "start": { "line": 32, @@ -9098,8 +8960,8 @@ "binop": null }, "value": "button", - "start": 679, - "end": 685, + "start": 681, + "end": 687, "loc": { "start": { "line": 32, @@ -9123,8 +8985,8 @@ "postfix": false, "binop": null }, - "start": 685, - "end": 686, + "start": 687, + "end": 688, "loc": { "start": { "line": 32, @@ -9149,8 +9011,8 @@ "binop": null, "updateContext": null }, - "start": 686, - "end": 687, + "start": 688, + "end": 689, "loc": { "start": { "line": 32, @@ -9175,8 +9037,8 @@ "binop": null }, "value": "newLineOnEnter", - "start": 695, - "end": 709, + "start": 697, + "end": 711, "loc": { "start": { "line": 33, @@ -9201,8 +9063,8 @@ "binop": null, "updateContext": null }, - "start": 709, - "end": 710, + "start": 711, + "end": 712, "loc": { "start": { "line": 33, @@ -9229,8 +9091,8 @@ "updateContext": null }, "value": "true", - "start": 711, - "end": 715, + "start": 713, + "end": 717, "loc": { "start": { "line": 33, @@ -9255,8 +9117,8 @@ "binop": null, "updateContext": null }, - "start": 715, - "end": 716, + "start": 717, + "end": 718, "loc": { "start": { "line": 33, @@ -9281,8 +9143,8 @@ "binop": null }, "value": "physicalKeyboardHighlight", - "start": 724, - "end": 749, + "start": 726, + "end": 751, "loc": { "start": { "line": 34, @@ -9307,8 +9169,8 @@ "binop": null, "updateContext": null }, - "start": 749, - "end": 750, + "start": 751, + "end": 752, "loc": { "start": { "line": 34, @@ -9335,8 +9197,8 @@ "updateContext": null }, "value": "true", - "start": 751, - "end": 755, + "start": 753, + "end": 757, "loc": { "start": { "line": 34, @@ -9361,8 +9223,8 @@ "binop": null, "updateContext": null }, - "start": 755, - "end": 756, + "start": 757, + "end": 758, "loc": { "start": { "line": 34, @@ -9386,8 +9248,8 @@ "postfix": false, "binop": null }, - "start": 762, - "end": 763, + "start": 764, + "end": 765, "loc": { "start": { "line": 35, @@ -9411,8 +9273,8 @@ "postfix": false, "binop": null }, - "start": 763, - "end": 764, + "start": 765, + "end": 766, "loc": { "start": { "line": 35, @@ -9437,8 +9299,8 @@ "binop": null, "updateContext": null }, - "start": 764, - "end": 765, + "start": 766, + "end": 767, "loc": { "start": { "line": 35, @@ -9453,8 +9315,8 @@ { "type": "CommentBlock", "value": "*\r\n * Adding preview (demo only)\r\n ", - "start": 775, - "end": 822, + "start": 777, + "end": 824, "loc": { "start": { "line": 37, @@ -9479,8 +9341,8 @@ "binop": null }, "value": "document", - "start": 828, - "end": 836, + "start": 830, + "end": 838, "loc": { "start": { "line": 40, @@ -9505,8 +9367,8 @@ "binop": null, "updateContext": null }, - "start": 836, - "end": 837, + "start": 838, + "end": 839, "loc": { "start": { "line": 40, @@ -9531,8 +9393,8 @@ "binop": null }, "value": "querySelector", - "start": 837, - "end": 850, + "start": 839, + "end": 852, "loc": { "start": { "line": 40, @@ -9556,8 +9418,8 @@ "postfix": false, "binop": null }, - "start": 850, - "end": 851, + "start": 852, + "end": 853, "loc": { "start": { "line": 40, @@ -9583,8 +9445,8 @@ "updateContext": null }, "value": ".simple-keyboard", - "start": 851, - "end": 869, + "start": 853, + "end": 871, "loc": { "start": { "line": 40, @@ -9608,8 +9470,8 @@ "postfix": false, "binop": null }, - "start": 869, - "end": 870, + "start": 871, + "end": 872, "loc": { "start": { "line": 40, @@ -9634,8 +9496,8 @@ "binop": null, "updateContext": null }, - "start": 870, - "end": 871, + "start": 872, + "end": 873, "loc": { "start": { "line": 40, @@ -9660,8 +9522,8 @@ "binop": null }, "value": "insertAdjacentHTML", - "start": 871, - "end": 889, + "start": 873, + "end": 891, "loc": { "start": { "line": 40, @@ -9685,8 +9547,8 @@ "postfix": false, "binop": null }, - "start": 889, - "end": 890, + "start": 891, + "end": 892, "loc": { "start": { "line": 40, @@ -9712,8 +9574,8 @@ "updateContext": null }, "value": "beforebegin", - "start": 890, - "end": 903, + "start": 892, + "end": 905, "loc": { "start": { "line": 40, @@ -9738,8 +9600,8 @@ "binop": null, "updateContext": null }, - "start": 903, - "end": 904, + "start": 905, + "end": 906, "loc": { "start": { "line": 40, @@ -9763,8 +9625,8 @@ "postfix": false, "binop": null }, - "start": 905, - "end": 906, + "start": 907, + "end": 908, "loc": { "start": { "line": 40, @@ -9790,8 +9652,8 @@ "updateContext": null }, "value": "\n
\n \n
\n ", - "start": 906, - "end": 1010, + "start": 908, + "end": 1012, "loc": { "start": { "line": 40, @@ -9815,8 +9677,8 @@ "postfix": false, "binop": null }, - "start": 1010, - "end": 1011, + "start": 1012, + "end": 1013, "loc": { "start": { "line": 44, @@ -9840,8 +9702,8 @@ "postfix": false, "binop": null }, - "start": 1011, - "end": 1012, + "start": 1013, + "end": 1014, "loc": { "start": { "line": 44, @@ -9866,8 +9728,8 @@ "binop": null, "updateContext": null }, - "start": 1012, - "end": 1013, + "start": 1014, + "end": 1015, "loc": { "start": { "line": 44, @@ -9892,8 +9754,8 @@ "binop": null }, "value": "document", - "start": 1023, - "end": 1031, + "start": 1025, + "end": 1033, "loc": { "start": { "line": 46, @@ -9918,8 +9780,8 @@ "binop": null, "updateContext": null }, - "start": 1031, - "end": 1032, + "start": 1033, + "end": 1034, "loc": { "start": { "line": 46, @@ -9944,8 +9806,8 @@ "binop": null }, "value": "querySelector", - "start": 1032, - "end": 1045, + "start": 1034, + "end": 1047, "loc": { "start": { "line": 46, @@ -9969,8 +9831,8 @@ "postfix": false, "binop": null }, - "start": 1045, - "end": 1046, + "start": 1047, + "end": 1048, "loc": { "start": { "line": 46, @@ -9996,8 +9858,8 @@ "updateContext": null }, "value": ".input", - "start": 1046, - "end": 1054, + "start": 1048, + "end": 1056, "loc": { "start": { "line": 46, @@ -10021,8 +9883,8 @@ "postfix": false, "binop": null }, - "start": 1054, - "end": 1055, + "start": 1056, + "end": 1057, "loc": { "start": { "line": 46, @@ -10047,8 +9909,8 @@ "binop": null, "updateContext": null }, - "start": 1055, - "end": 1056, + "start": 1057, + "end": 1058, "loc": { "start": { "line": 46, @@ -10073,8 +9935,8 @@ "binop": null }, "value": "addEventListener", - "start": 1056, - "end": 1072, + "start": 1058, + "end": 1074, "loc": { "start": { "line": 46, @@ -10098,8 +9960,8 @@ "postfix": false, "binop": null }, - "start": 1072, - "end": 1073, + "start": 1074, + "end": 1075, "loc": { "start": { "line": 46, @@ -10125,8 +9987,8 @@ "updateContext": null }, "value": "change", - "start": 1073, - "end": 1081, + "start": 1075, + "end": 1083, "loc": { "start": { "line": 46, @@ -10151,8 +10013,8 @@ "binop": null, "updateContext": null }, - "start": 1081, - "end": 1082, + "start": 1083, + "end": 1084, "loc": { "start": { "line": 46, @@ -10176,8 +10038,8 @@ "postfix": false, "binop": null }, - "start": 1083, - "end": 1084, + "start": 1085, + "end": 1086, "loc": { "start": { "line": 46, @@ -10202,8 +10064,8 @@ "binop": null }, "value": "event", - "start": 1084, - "end": 1089, + "start": 1086, + "end": 1091, "loc": { "start": { "line": 46, @@ -10227,8 +10089,8 @@ "postfix": false, "binop": null }, - "start": 1089, - "end": 1090, + "start": 1091, + "end": 1092, "loc": { "start": { "line": 46, @@ -10253,8 +10115,8 @@ "binop": null, "updateContext": null }, - "start": 1091, - "end": 1093, + "start": 1093, + "end": 1095, "loc": { "start": { "line": 46, @@ -10278,8 +10140,8 @@ "postfix": false, "binop": null }, - "start": 1094, - "end": 1095, + "start": 1096, + "end": 1097, "loc": { "start": { "line": 46, @@ -10306,8 +10168,8 @@ "updateContext": null }, "value": "this", - "start": 1103, - "end": 1107, + "start": 1105, + "end": 1109, "loc": { "start": { "line": 47, @@ -10332,8 +10194,8 @@ "binop": null, "updateContext": null }, - "start": 1107, - "end": 1108, + "start": 1109, + "end": 1110, "loc": { "start": { "line": 47, @@ -10358,8 +10220,8 @@ "binop": null }, "value": "keyboard", - "start": 1108, - "end": 1116, + "start": 1110, + "end": 1118, "loc": { "start": { "line": 47, @@ -10384,8 +10246,8 @@ "binop": null, "updateContext": null }, - "start": 1116, - "end": 1117, + "start": 1118, + "end": 1119, "loc": { "start": { "line": 47, @@ -10410,8 +10272,8 @@ "binop": null }, "value": "setInput", - "start": 1117, - "end": 1125, + "start": 1119, + "end": 1127, "loc": { "start": { "line": 47, @@ -10435,8 +10297,8 @@ "postfix": false, "binop": null }, - "start": 1125, - "end": 1126, + "start": 1127, + "end": 1128, "loc": { "start": { "line": 47, @@ -10461,8 +10323,8 @@ "binop": null }, "value": "event", - "start": 1126, - "end": 1131, + "start": 1128, + "end": 1133, "loc": { "start": { "line": 47, @@ -10487,8 +10349,8 @@ "binop": null, "updateContext": null }, - "start": 1131, - "end": 1132, + "start": 1133, + "end": 1134, "loc": { "start": { "line": 47, @@ -10513,8 +10375,8 @@ "binop": null }, "value": "target", - "start": 1132, - "end": 1138, + "start": 1134, + "end": 1140, "loc": { "start": { "line": 47, @@ -10539,8 +10401,8 @@ "binop": null, "updateContext": null }, - "start": 1138, - "end": 1139, + "start": 1140, + "end": 1141, "loc": { "start": { "line": 47, @@ -10565,8 +10427,8 @@ "binop": null }, "value": "value", - "start": 1139, - "end": 1144, + "start": 1141, + "end": 1146, "loc": { "start": { "line": 47, @@ -10590,8 +10452,8 @@ "postfix": false, "binop": null }, - "start": 1144, - "end": 1145, + "start": 1146, + "end": 1147, "loc": { "start": { "line": 47, @@ -10616,8 +10478,8 @@ "binop": null, "updateContext": null }, - "start": 1145, - "end": 1146, + "start": 1147, + "end": 1148, "loc": { "start": { "line": 47, @@ -10641,8 +10503,8 @@ "postfix": false, "binop": null }, - "start": 1152, - "end": 1153, + "start": 1154, + "end": 1155, "loc": { "start": { "line": 48, @@ -10666,8 +10528,8 @@ "postfix": false, "binop": null }, - "start": 1153, - "end": 1154, + "start": 1155, + "end": 1156, "loc": { "start": { "line": 48, @@ -10692,8 +10554,8 @@ "binop": null, "updateContext": null }, - "start": 1154, - "end": 1155, + "start": 1156, + "end": 1157, "loc": { "start": { "line": 48, @@ -10717,8 +10579,8 @@ "postfix": false, "binop": null }, - "start": 1159, - "end": 1160, + "start": 1161, + "end": 1162, "loc": { "start": { "line": 49, @@ -10733,8 +10595,8 @@ { "type": "CommentBlock", "value": "*\r\n * Handles shift functionality\r\n ", - "start": 1166, - "end": 1210, + "start": 1168, + "end": 1212, "loc": { "start": { "line": 51, @@ -10759,8 +10621,8 @@ "binop": null }, "value": "handleShiftButton", - "start": 1214, - "end": 1231, + "start": 1216, + "end": 1233, "loc": { "start": { "line": 54, @@ -10786,8 +10648,8 @@ "updateContext": null }, "value": "=", - "start": 1232, - "end": 1233, + "start": 1234, + "end": 1235, "loc": { "start": { "line": 54, @@ -10811,8 +10673,8 @@ "postfix": false, "binop": null }, - "start": 1234, - "end": 1235, + "start": 1236, + "end": 1237, "loc": { "start": { "line": 54, @@ -10836,8 +10698,8 @@ "postfix": false, "binop": null }, - "start": 1235, - "end": 1236, + "start": 1237, + "end": 1238, "loc": { "start": { "line": 54, @@ -10862,8 +10724,8 @@ "binop": null, "updateContext": null }, - "start": 1237, - "end": 1239, + "start": 1239, + "end": 1241, "loc": { "start": { "line": 54, @@ -10887,8 +10749,8 @@ "postfix": false, "binop": null }, - "start": 1240, - "end": 1241, + "start": 1242, + "end": 1243, "loc": { "start": { "line": 54, @@ -10915,8 +10777,8 @@ "updateContext": null }, "value": "let", - "start": 1247, - "end": 1250, + "start": 1249, + "end": 1252, "loc": { "start": { "line": 55, @@ -10941,8 +10803,8 @@ "binop": null }, "value": "layoutName", - "start": 1251, - "end": 1261, + "start": 1253, + "end": 1263, "loc": { "start": { "line": 55, @@ -10968,8 +10830,8 @@ "updateContext": null }, "value": "=", - "start": 1262, - "end": 1263, + "start": 1264, + "end": 1265, "loc": { "start": { "line": 55, @@ -10996,8 +10858,8 @@ "updateContext": null }, "value": "this", - "start": 1264, - "end": 1268, + "start": 1266, + "end": 1270, "loc": { "start": { "line": 55, @@ -11022,8 +10884,8 @@ "binop": null, "updateContext": null }, - "start": 1268, - "end": 1269, + "start": 1270, + "end": 1271, "loc": { "start": { "line": 55, @@ -11048,8 +10910,8 @@ "binop": null }, "value": "layoutName", - "start": 1269, - "end": 1279, + "start": 1271, + "end": 1281, "loc": { "start": { "line": 55, @@ -11074,8 +10936,8 @@ "binop": null, "updateContext": null }, - "start": 1279, - "end": 1280, + "start": 1281, + "end": 1282, "loc": { "start": { "line": 55, @@ -11102,8 +10964,8 @@ "updateContext": null }, "value": "let", - "start": 1286, - "end": 1289, + "start": 1288, + "end": 1291, "loc": { "start": { "line": 56, @@ -11128,8 +10990,8 @@ "binop": null }, "value": "shiftToggle", - "start": 1290, - "end": 1301, + "start": 1292, + "end": 1303, "loc": { "start": { "line": 56, @@ -11155,8 +11017,8 @@ "updateContext": null }, "value": "=", - "start": 1302, - "end": 1303, + "start": 1304, + "end": 1305, "loc": { "start": { "line": 56, @@ -11183,8 +11045,8 @@ "updateContext": null }, "value": "this", - "start": 1304, - "end": 1308, + "start": 1306, + "end": 1310, "loc": { "start": { "line": 56, @@ -11209,8 +11071,8 @@ "binop": null, "updateContext": null }, - "start": 1308, - "end": 1309, + "start": 1310, + "end": 1311, "loc": { "start": { "line": 56, @@ -11235,8 +11097,8 @@ "binop": null }, "value": "layoutName", - "start": 1309, - "end": 1319, + "start": 1311, + "end": 1321, "loc": { "start": { "line": 56, @@ -11262,8 +11124,8 @@ "updateContext": null }, "value": "=", - "start": 1320, - "end": 1321, + "start": 1322, + "end": 1323, "loc": { "start": { "line": 56, @@ -11288,8 +11150,8 @@ "binop": null }, "value": "layoutName", - "start": 1322, - "end": 1332, + "start": 1324, + "end": 1334, "loc": { "start": { "line": 56, @@ -11315,8 +11177,8 @@ "updateContext": null }, "value": "===", - "start": 1333, - "end": 1336, + "start": 1335, + "end": 1338, "loc": { "start": { "line": 56, @@ -11342,8 +11204,8 @@ "updateContext": null }, "value": "default", - "start": 1337, - "end": 1346, + "start": 1339, + "end": 1348, "loc": { "start": { "line": 56, @@ -11368,8 +11230,8 @@ "binop": null, "updateContext": null }, - "start": 1347, - "end": 1348, + "start": 1349, + "end": 1350, "loc": { "start": { "line": 56, @@ -11395,8 +11257,8 @@ "updateContext": null }, "value": "shift", - "start": 1349, - "end": 1356, + "start": 1351, + "end": 1358, "loc": { "start": { "line": 56, @@ -11421,8 +11283,8 @@ "binop": null, "updateContext": null }, - "start": 1357, - "end": 1358, + "start": 1359, + "end": 1360, "loc": { "start": { "line": 56, @@ -11448,8 +11310,8 @@ "updateContext": null }, "value": "default", - "start": 1359, - "end": 1368, + "start": 1361, + "end": 1370, "loc": { "start": { "line": 56, @@ -11474,8 +11336,8 @@ "binop": null, "updateContext": null }, - "start": 1368, - "end": 1369, + "start": 1370, + "end": 1371, "loc": { "start": { "line": 56, @@ -11502,8 +11364,8 @@ "updateContext": null }, "value": "this", - "start": 1379, - "end": 1383, + "start": 1381, + "end": 1385, "loc": { "start": { "line": 58, @@ -11528,8 +11390,8 @@ "binop": null, "updateContext": null }, - "start": 1383, - "end": 1384, + "start": 1385, + "end": 1386, "loc": { "start": { "line": 58, @@ -11554,8 +11416,8 @@ "binop": null }, "value": "keyboard", - "start": 1384, - "end": 1392, + "start": 1386, + "end": 1394, "loc": { "start": { "line": 58, @@ -11580,8 +11442,8 @@ "binop": null, "updateContext": null }, - "start": 1392, - "end": 1393, + "start": 1394, + "end": 1395, "loc": { "start": { "line": 58, @@ -11606,8 +11468,8 @@ "binop": null }, "value": "setOptions", - "start": 1393, - "end": 1403, + "start": 1395, + "end": 1405, "loc": { "start": { "line": 58, @@ -11631,8 +11493,8 @@ "postfix": false, "binop": null }, - "start": 1403, - "end": 1404, + "start": 1405, + "end": 1406, "loc": { "start": { "line": 58, @@ -11656,8 +11518,8 @@ "postfix": false, "binop": null }, - "start": 1404, - "end": 1405, + "start": 1406, + "end": 1407, "loc": { "start": { "line": 58, @@ -11682,8 +11544,8 @@ "binop": null }, "value": "layoutName", - "start": 1413, - "end": 1423, + "start": 1415, + "end": 1425, "loc": { "start": { "line": 59, @@ -11708,8 +11570,8 @@ "binop": null, "updateContext": null }, - "start": 1423, - "end": 1424, + "start": 1425, + "end": 1426, "loc": { "start": { "line": 59, @@ -11734,8 +11596,8 @@ "binop": null }, "value": "shiftToggle", - "start": 1425, - "end": 1436, + "start": 1427, + "end": 1438, "loc": { "start": { "line": 59, @@ -11759,8 +11621,8 @@ "postfix": false, "binop": null }, - "start": 1442, - "end": 1443, + "start": 1444, + "end": 1445, "loc": { "start": { "line": 60, @@ -11784,8 +11646,8 @@ "postfix": false, "binop": null }, - "start": 1443, - "end": 1444, + "start": 1445, + "end": 1446, "loc": { "start": { "line": 60, @@ -11810,8 +11672,8 @@ "binop": null, "updateContext": null }, - "start": 1444, - "end": 1445, + "start": 1446, + "end": 1447, "loc": { "start": { "line": 60, @@ -11835,8 +11697,8 @@ "postfix": false, "binop": null }, - "start": 1449, - "end": 1450, + "start": 1451, + "end": 1452, "loc": { "start": { "line": 61, @@ -11851,8 +11713,8 @@ { "type": "CommentBlock", "value": "*\r\n * Called when simple-keyboard input has changed\r\n ", - "start": 1456, - "end": 1518, + "start": 1458, + "end": 1520, "loc": { "start": { "line": 63, @@ -11877,8 +11739,8 @@ "binop": null }, "value": "onChange", - "start": 1522, - "end": 1530, + "start": 1524, + "end": 1532, "loc": { "start": { "line": 66, @@ -11904,8 +11766,8 @@ "updateContext": null }, "value": "=", - "start": 1531, - "end": 1532, + "start": 1533, + "end": 1534, "loc": { "start": { "line": 66, @@ -11930,8 +11792,8 @@ "binop": null }, "value": "input", - "start": 1533, - "end": 1538, + "start": 1535, + "end": 1540, "loc": { "start": { "line": 66, @@ -11956,8 +11818,8 @@ "binop": null, "updateContext": null }, - "start": 1539, - "end": 1541, + "start": 1541, + "end": 1543, "loc": { "start": { "line": 66, @@ -11981,8 +11843,8 @@ "postfix": false, "binop": null }, - "start": 1542, - "end": 1543, + "start": 1544, + "end": 1545, "loc": { "start": { "line": 66, @@ -12007,8 +11869,8 @@ "binop": null }, "value": "document", - "start": 1549, - "end": 1557, + "start": 1551, + "end": 1559, "loc": { "start": { "line": 67, @@ -12033,8 +11895,8 @@ "binop": null, "updateContext": null }, - "start": 1557, - "end": 1558, + "start": 1559, + "end": 1560, "loc": { "start": { "line": 67, @@ -12059,8 +11921,8 @@ "binop": null }, "value": "querySelector", - "start": 1558, - "end": 1571, + "start": 1560, + "end": 1573, "loc": { "start": { "line": 67, @@ -12084,8 +11946,8 @@ "postfix": false, "binop": null }, - "start": 1571, - "end": 1572, + "start": 1573, + "end": 1574, "loc": { "start": { "line": 67, @@ -12111,8 +11973,8 @@ "updateContext": null }, "value": ".input", - "start": 1572, - "end": 1580, + "start": 1574, + "end": 1582, "loc": { "start": { "line": 67, @@ -12136,8 +11998,8 @@ "postfix": false, "binop": null }, - "start": 1580, - "end": 1581, + "start": 1582, + "end": 1583, "loc": { "start": { "line": 67, @@ -12162,8 +12024,8 @@ "binop": null, "updateContext": null }, - "start": 1581, - "end": 1582, + "start": 1583, + "end": 1584, "loc": { "start": { "line": 67, @@ -12188,8 +12050,8 @@ "binop": null }, "value": "value", - "start": 1582, - "end": 1587, + "start": 1584, + "end": 1589, "loc": { "start": { "line": 67, @@ -12215,8 +12077,8 @@ "updateContext": null }, "value": "=", - "start": 1588, - "end": 1589, + "start": 1590, + "end": 1591, "loc": { "start": { "line": 67, @@ -12241,8 +12103,8 @@ "binop": null }, "value": "input", - "start": 1590, - "end": 1595, + "start": 1592, + "end": 1597, "loc": { "start": { "line": 67, @@ -12267,8 +12129,8 @@ "binop": null, "updateContext": null }, - "start": 1595, - "end": 1596, + "start": 1597, + "end": 1598, "loc": { "start": { "line": 67, @@ -12292,8 +12154,8 @@ "postfix": false, "binop": null }, - "start": 1600, - "end": 1601, + "start": 1602, + "end": 1603, "loc": { "start": { "line": 68, @@ -12308,8 +12170,8 @@ { "type": "CommentBlock", "value": "*\r\n * Called when a simple-keyboard key is pressed\r\n ", - "start": 1607, - "end": 1668, + "start": 1609, + "end": 1670, "loc": { "start": { "line": 70, @@ -12334,8 +12196,8 @@ "binop": null }, "value": "onKeyPress", - "start": 1672, - "end": 1682, + "start": 1674, + "end": 1684, "loc": { "start": { "line": 73, @@ -12361,8 +12223,8 @@ "updateContext": null }, "value": "=", - "start": 1683, - "end": 1684, + "start": 1685, + "end": 1686, "loc": { "start": { "line": 73, @@ -12387,8 +12249,8 @@ "binop": null }, "value": "button", - "start": 1685, - "end": 1691, + "start": 1687, + "end": 1693, "loc": { "start": { "line": 73, @@ -12413,8 +12275,8 @@ "binop": null, "updateContext": null }, - "start": 1692, - "end": 1694, + "start": 1694, + "end": 1696, "loc": { "start": { "line": 73, @@ -12438,8 +12300,8 @@ "postfix": false, "binop": null }, - "start": 1695, - "end": 1696, + "start": 1697, + "end": 1698, "loc": { "start": { "line": 73, @@ -12464,8 +12326,8 @@ "binop": null }, "value": "console", - "start": 1702, - "end": 1709, + "start": 1704, + "end": 1711, "loc": { "start": { "line": 74, @@ -12490,8 +12352,8 @@ "binop": null, "updateContext": null }, - "start": 1709, - "end": 1710, + "start": 1711, + "end": 1712, "loc": { "start": { "line": 74, @@ -12516,8 +12378,8 @@ "binop": null }, "value": "log", - "start": 1710, - "end": 1713, + "start": 1712, + "end": 1715, "loc": { "start": { "line": 74, @@ -12541,8 +12403,8 @@ "postfix": false, "binop": null }, - "start": 1713, - "end": 1714, + "start": 1715, + "end": 1716, "loc": { "start": { "line": 74, @@ -12568,8 +12430,8 @@ "updateContext": null }, "value": "Button pressed", - "start": 1714, - "end": 1730, + "start": 1716, + "end": 1732, "loc": { "start": { "line": 74, @@ -12594,8 +12456,8 @@ "binop": null, "updateContext": null }, - "start": 1730, - "end": 1731, + "start": 1732, + "end": 1733, "loc": { "start": { "line": 74, @@ -12620,8 +12482,8 @@ "binop": null }, "value": "button", - "start": 1732, - "end": 1738, + "start": 1734, + "end": 1740, "loc": { "start": { "line": 74, @@ -12645,8 +12507,8 @@ "postfix": false, "binop": null }, - "start": 1738, - "end": 1739, + "start": 1740, + "end": 1741, "loc": { "start": { "line": 74, @@ -12671,8 +12533,8 @@ "binop": null, "updateContext": null }, - "start": 1739, - "end": 1740, + "start": 1741, + "end": 1742, "loc": { "start": { "line": 74, @@ -12687,8 +12549,8 @@ { "type": "CommentBlock", "value": "*\r\n * Shift functionality\r\n ", - "start": 1752, - "end": 1796, + "start": 1754, + "end": 1798, "loc": { "start": { "line": 76, @@ -12715,8 +12577,8 @@ "updateContext": null }, "value": "if", - "start": 1804, - "end": 1806, + "start": 1806, + "end": 1808, "loc": { "start": { "line": 79, @@ -12740,8 +12602,8 @@ "postfix": false, "binop": null }, - "start": 1806, - "end": 1807, + "start": 1808, + "end": 1809, "loc": { "start": { "line": 79, @@ -12766,8 +12628,8 @@ "binop": null }, "value": "button", - "start": 1807, - "end": 1813, + "start": 1809, + "end": 1815, "loc": { "start": { "line": 79, @@ -12793,8 +12655,8 @@ "updateContext": null }, "value": "===", - "start": 1814, - "end": 1817, + "start": 1816, + "end": 1819, "loc": { "start": { "line": 79, @@ -12820,8 +12682,8 @@ "updateContext": null }, "value": "{lock}", - "start": 1818, - "end": 1826, + "start": 1820, + "end": 1828, "loc": { "start": { "line": 79, @@ -12847,8 +12709,8 @@ "updateContext": null }, "value": "||", - "start": 1827, - "end": 1829, + "start": 1829, + "end": 1831, "loc": { "start": { "line": 79, @@ -12873,8 +12735,8 @@ "binop": null }, "value": "button", - "start": 1830, - "end": 1836, + "start": 1832, + "end": 1838, "loc": { "start": { "line": 79, @@ -12900,8 +12762,8 @@ "updateContext": null }, "value": "===", - "start": 1837, - "end": 1840, + "start": 1839, + "end": 1842, "loc": { "start": { "line": 79, @@ -12927,8 +12789,8 @@ "updateContext": null }, "value": "{shift}", - "start": 1841, - "end": 1850, + "start": 1843, + "end": 1852, "loc": { "start": { "line": 79, @@ -12952,8 +12814,8 @@ "postfix": false, "binop": null }, - "start": 1850, - "end": 1851, + "start": 1852, + "end": 1853, "loc": { "start": { "line": 79, @@ -12980,8 +12842,8 @@ "updateContext": null }, "value": "this", - "start": 1861, - "end": 1865, + "start": 1863, + "end": 1867, "loc": { "start": { "line": 80, @@ -13006,8 +12868,8 @@ "binop": null, "updateContext": null }, - "start": 1865, - "end": 1866, + "start": 1867, + "end": 1868, "loc": { "start": { "line": 80, @@ -13032,8 +12894,8 @@ "binop": null }, "value": "handleShiftButton", - "start": 1866, - "end": 1883, + "start": 1868, + "end": 1885, "loc": { "start": { "line": 80, @@ -13057,8 +12919,8 @@ "postfix": false, "binop": null }, - "start": 1883, - "end": 1884, + "start": 1885, + "end": 1886, "loc": { "start": { "line": 80, @@ -13082,8 +12944,8 @@ "postfix": false, "binop": null }, - "start": 1884, - "end": 1885, + "start": 1886, + "end": 1887, "loc": { "start": { "line": 80, @@ -13108,8 +12970,8 @@ "binop": null, "updateContext": null }, - "start": 1885, - "end": 1886, + "start": 1887, + "end": 1888, "loc": { "start": { "line": 80, @@ -13133,8 +12995,8 @@ "postfix": false, "binop": null }, - "start": 1890, - "end": 1891, + "start": 1892, + "end": 1893, "loc": { "start": { "line": 81, @@ -13158,8 +13020,8 @@ "postfix": false, "binop": null }, - "start": 1895, - "end": 1896, + "start": 1897, + "end": 1898, "loc": { "start": { "line": 83, @@ -13186,8 +13048,8 @@ "updateContext": null }, "value": "export", - "start": 1900, - "end": 1906, + "start": 1902, + "end": 1908, "loc": { "start": { "line": 85, @@ -13214,8 +13076,8 @@ "updateContext": null }, "value": "default", - "start": 1907, - "end": 1914, + "start": 1909, + "end": 1916, "loc": { "start": { "line": 85, @@ -13240,8 +13102,8 @@ "binop": null }, "value": "App", - "start": 1915, - "end": 1918, + "start": 1917, + "end": 1920, "loc": { "start": { "line": 85, @@ -13266,8 +13128,8 @@ "binop": null, "updateContext": null }, - "start": 1918, - "end": 1919, + "start": 1920, + "end": 1921, "loc": { "start": { "line": 85, @@ -13292,8 +13154,8 @@ "binop": null, "updateContext": null }, - "start": 1919, - "end": 1919, + "start": 1921, + "end": 1921, "loc": { "start": { "line": 85, diff --git a/docs/ast/source/lib/components/Keyboard.js.json b/docs/ast/source/lib/components/Keyboard.js.json index e8fbfb0b..ef2b9dc1 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": 21338, + "end": 23724, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 648, + "line": 741, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 21338, + "end": 23724, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 648, + "line": 741, "column": 0 } }, @@ -330,14 +330,14 @@ { "type": "Identifier", "start": 367, - "end": 21302, + "end": 23688, "loc": { "start": { "line": 15, "column": 0 }, "end": { - "line": 645, + "line": 738, "column": 1 } }, @@ -363,14 +363,14 @@ "body": { "type": "ClassBody", "start": 388, - "end": 21302, + "end": 23688, "loc": { "start": { "line": 15, "column": 21 }, "end": { - "line": 645, + "line": 738, "column": 1 } }, @@ -378,14 +378,14 @@ { "type": "ClassMethod", "start": 679, - "end": 6920, + "end": 7194, "loc": { "start": { "line": 20, "column": 2 }, "end": { - "line": 141, + "line": 146, "column": 3 } }, @@ -451,14 +451,14 @@ "body": { "type": "BlockStatement", "start": 701, - "end": 6920, + "end": 7194, "loc": { "start": { "line": 20, "column": 24 }, "end": { - "line": 141, + "line": 146, "column": 3 } }, @@ -2298,153 +2298,19 @@ } } }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Module namespace\r\n ", - "start": 4184, - "end": 4221, - "loc": { - "start": { - "line": 66, - "column": 4 - }, - "end": { - "line": 68, - "column": 7 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "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, + "start": 4184, + "end": 4213, "loc": { "start": { - "line": 71, + "line": 66, "column": 4 }, "end": { - "line": 73, + "line": 68, "column": 7 } } @@ -2453,58 +2319,58 @@ }, { "type": "ExpressionStatement", - "start": 4288, - "end": 4351, + "start": 4219, + "end": 4282, "loc": { "start": { - "line": 74, + "line": 69, "column": 4 }, "end": { - "line": 74, + "line": 69, "column": 67 } }, "expression": { "type": "AssignmentExpression", - "start": 4288, - "end": 4350, + "start": 4219, + "end": 4281, "loc": { "start": { - "line": 74, + "line": 69, "column": 4 }, "end": { - "line": 74, + "line": 69, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4288, - "end": 4312, + "start": 4219, + "end": 4243, "loc": { "start": { - "line": 74, + "line": 69, "column": 4 }, "end": { - "line": 74, + "line": 69, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 4288, - "end": 4292, + "start": 4219, + "end": 4223, "loc": { "start": { - "line": 74, + "line": 69, "column": 4 }, "end": { - "line": 74, + "line": 69, "column": 8 } }, @@ -2512,15 +2378,15 @@ }, "property": { "type": "Identifier", - "start": 4293, - "end": 4312, + "start": 4224, + "end": 4243, "loc": { "start": { - "line": 74, + "line": 69, "column": 9 }, "end": { - "line": 74, + "line": 69, "column": 28 }, "identifierName": "handleButtonClicked" @@ -2532,72 +2398,72 @@ }, "right": { "type": "CallExpression", - "start": 4315, - "end": 4350, + "start": 4246, + "end": 4281, "loc": { "start": { - "line": 74, + "line": 69, "column": 31 }, "end": { - "line": 74, + "line": 69, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 4315, - "end": 4344, + "start": 4246, + "end": 4275, "loc": { "start": { - "line": 74, + "line": 69, "column": 31 }, "end": { - "line": 74, + "line": 69, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 4315, - "end": 4339, + "start": 4246, + "end": 4270, "loc": { "start": { - "line": 74, + "line": 69, "column": 31 }, "end": { - "line": 74, + "line": 69, "column": 55 } }, "object": { "type": "ThisExpression", - "start": 4315, - "end": 4319, + "start": 4246, + "end": 4250, "loc": { "start": { - "line": 74, + "line": 69, "column": 31 }, "end": { - "line": 74, + "line": 69, "column": 35 } } }, "property": { "type": "Identifier", - "start": 4320, - "end": 4339, + "start": 4251, + "end": 4270, "loc": { "start": { - "line": 74, + "line": 69, "column": 36 }, "end": { - "line": 74, + "line": 69, "column": 55 }, "identifierName": "handleButtonClicked" @@ -2608,15 +2474,15 @@ }, "property": { "type": "Identifier", - "start": 4340, - "end": 4344, + "start": 4271, + "end": 4275, "loc": { "start": { - "line": 74, + "line": 69, "column": 56 }, "end": { - "line": 74, + "line": 69, "column": 60 }, "identifierName": "bind" @@ -2628,15 +2494,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4345, - "end": 4349, + "start": 4276, + "end": 4280, "loc": { "start": { - "line": 74, + "line": 69, "column": 61 }, "end": { - "line": 74, + "line": 69, "column": 65 } } @@ -2649,15 +2515,15 @@ { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", - "start": 4253, - "end": 4282, + "start": 4184, + "end": 4213, "loc": { "start": { - "line": 71, + "line": 66, "column": 4 }, "end": { - "line": 73, + "line": 68, "column": 7 } } @@ -2666,73 +2532,73 @@ }, { "type": "ExpressionStatement", - "start": 4357, - "end": 4418, + "start": 4288, + "end": 4349, "loc": { "start": { - "line": 75, + "line": 70, "column": 4 }, "end": { - "line": 75, + "line": 70, "column": 65 } }, "expression": { "type": "AssignmentExpression", - "start": 4357, - "end": 4417, + "start": 4288, + "end": 4348, "loc": { "start": { - "line": 75, + "line": 70, "column": 4 }, "end": { - "line": 75, + "line": 70, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4357, - "end": 4380, + "start": 4288, + "end": 4311, "loc": { "start": { - "line": 75, + "line": 70, "column": 4 }, "end": { - "line": 75, + "line": 70, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 4357, - "end": 4361, + "start": 4288, + "end": 4292, "loc": { "start": { - "line": 75, + "line": 70, "column": 4 }, "end": { - "line": 75, + "line": 70, "column": 8 } } }, "property": { "type": "Identifier", - "start": 4362, - "end": 4380, + "start": 4293, + "end": 4311, "loc": { "start": { - "line": 75, + "line": 70, "column": 9 }, "end": { - "line": 75, + "line": 70, "column": 27 }, "identifierName": "syncInstanceInputs" @@ -2743,72 +2609,72 @@ }, "right": { "type": "CallExpression", - "start": 4383, - "end": 4417, + "start": 4314, + "end": 4348, "loc": { "start": { - "line": 75, + "line": 70, "column": 30 }, "end": { - "line": 75, + "line": 70, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 4383, - "end": 4411, + "start": 4314, + "end": 4342, "loc": { "start": { - "line": 75, + "line": 70, "column": 30 }, "end": { - "line": 75, + "line": 70, "column": 58 } }, "object": { "type": "MemberExpression", - "start": 4383, - "end": 4406, + "start": 4314, + "end": 4337, "loc": { "start": { - "line": 75, + "line": 70, "column": 30 }, "end": { - "line": 75, + "line": 70, "column": 53 } }, "object": { "type": "ThisExpression", - "start": 4383, - "end": 4387, + "start": 4314, + "end": 4318, "loc": { "start": { - "line": 75, + "line": 70, "column": 30 }, "end": { - "line": 75, + "line": 70, "column": 34 } } }, "property": { "type": "Identifier", - "start": 4388, - "end": 4406, + "start": 4319, + "end": 4337, "loc": { "start": { - "line": 75, + "line": 70, "column": 35 }, "end": { - "line": 75, + "line": 70, "column": 53 }, "identifierName": "syncInstanceInputs" @@ -2819,15 +2685,15 @@ }, "property": { "type": "Identifier", - "start": 4407, - "end": 4411, + "start": 4338, + "end": 4342, "loc": { "start": { - "line": 75, + "line": 70, "column": 54 }, "end": { - "line": 75, + "line": 70, "column": 58 }, "identifierName": "bind" @@ -2839,15 +2705,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4412, - "end": 4416, + "start": 4343, + "end": 4347, "loc": { "start": { - "line": 75, + "line": 70, "column": 59 }, "end": { - "line": 75, + "line": 70, "column": 63 } } @@ -2858,73 +2724,73 @@ }, { "type": "ExpressionStatement", - "start": 4424, - "end": 4469, + "start": 4355, + "end": 4400, "loc": { "start": { - "line": 76, + "line": 71, "column": 4 }, "end": { - "line": 76, + "line": 71, "column": 49 } }, "expression": { "type": "AssignmentExpression", - "start": 4424, - "end": 4468, + "start": 4355, + "end": 4399, "loc": { "start": { - "line": 76, + "line": 71, "column": 4 }, "end": { - "line": 76, + "line": 71, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4424, - "end": 4439, + "start": 4355, + "end": 4370, "loc": { "start": { - "line": 76, + "line": 71, "column": 4 }, "end": { - "line": 76, + "line": 71, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 4424, - "end": 4428, + "start": 4355, + "end": 4359, "loc": { "start": { - "line": 76, + "line": 71, "column": 4 }, "end": { - "line": 76, + "line": 71, "column": 8 } } }, "property": { "type": "Identifier", - "start": 4429, - "end": 4439, + "start": 4360, + "end": 4370, "loc": { "start": { - "line": 76, + "line": 71, "column": 9 }, "end": { - "line": 76, + "line": 71, "column": 19 }, "identifierName": "clearInput" @@ -2935,72 +2801,72 @@ }, "right": { "type": "CallExpression", - "start": 4442, - "end": 4468, + "start": 4373, + "end": 4399, "loc": { "start": { - "line": 76, + "line": 71, "column": 22 }, "end": { - "line": 76, + "line": 71, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 4442, - "end": 4462, + "start": 4373, + "end": 4393, "loc": { "start": { - "line": 76, + "line": 71, "column": 22 }, "end": { - "line": 76, + "line": 71, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 4442, - "end": 4457, + "start": 4373, + "end": 4388, "loc": { "start": { - "line": 76, + "line": 71, "column": 22 }, "end": { - "line": 76, + "line": 71, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 4442, - "end": 4446, + "start": 4373, + "end": 4377, "loc": { "start": { - "line": 76, + "line": 71, "column": 22 }, "end": { - "line": 76, + "line": 71, "column": 26 } } }, "property": { "type": "Identifier", - "start": 4447, - "end": 4457, + "start": 4378, + "end": 4388, "loc": { "start": { - "line": 76, + "line": 71, "column": 27 }, "end": { - "line": 76, + "line": 71, "column": 37 }, "identifierName": "clearInput" @@ -3011,15 +2877,15 @@ }, "property": { "type": "Identifier", - "start": 4458, - "end": 4462, + "start": 4389, + "end": 4393, "loc": { "start": { - "line": 76, + "line": 71, "column": 38 }, "end": { - "line": 76, + "line": 71, "column": 42 }, "identifierName": "bind" @@ -3031,15 +2897,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4463, - "end": 4467, + "start": 4394, + "end": 4398, "loc": { "start": { - "line": 76, + "line": 71, "column": 43 }, "end": { - "line": 76, + "line": 71, "column": 47 } } @@ -3050,73 +2916,73 @@ }, { "type": "ExpressionStatement", - "start": 4475, - "end": 4516, + "start": 4406, + "end": 4447, "loc": { "start": { - "line": 77, + "line": 72, "column": 4 }, "end": { - "line": 77, + "line": 72, "column": 45 } }, "expression": { "type": "AssignmentExpression", - "start": 4475, - "end": 4515, + "start": 4406, + "end": 4446, "loc": { "start": { - "line": 77, + "line": 72, "column": 4 }, "end": { - "line": 77, + "line": 72, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4475, - "end": 4488, + "start": 4406, + "end": 4419, "loc": { "start": { - "line": 77, + "line": 72, "column": 4 }, "end": { - "line": 77, + "line": 72, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 4475, - "end": 4479, + "start": 4406, + "end": 4410, "loc": { "start": { - "line": 77, + "line": 72, "column": 4 }, "end": { - "line": 77, + "line": 72, "column": 8 } } }, "property": { "type": "Identifier", - "start": 4480, - "end": 4488, + "start": 4411, + "end": 4419, "loc": { "start": { - "line": 77, + "line": 72, "column": 9 }, "end": { - "line": 77, + "line": 72, "column": 17 }, "identifierName": "getInput" @@ -3127,72 +2993,72 @@ }, "right": { "type": "CallExpression", - "start": 4491, - "end": 4515, + "start": 4422, + "end": 4446, "loc": { "start": { - "line": 77, + "line": 72, "column": 20 }, "end": { - "line": 77, + "line": 72, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 4491, - "end": 4509, + "start": 4422, + "end": 4440, "loc": { "start": { - "line": 77, + "line": 72, "column": 20 }, "end": { - "line": 77, + "line": 72, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4491, - "end": 4504, + "start": 4422, + "end": 4435, "loc": { "start": { - "line": 77, + "line": 72, "column": 20 }, "end": { - "line": 77, + "line": 72, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 4491, - "end": 4495, + "start": 4422, + "end": 4426, "loc": { "start": { - "line": 77, + "line": 72, "column": 20 }, "end": { - "line": 77, + "line": 72, "column": 24 } } }, "property": { "type": "Identifier", - "start": 4496, - "end": 4504, + "start": 4427, + "end": 4435, "loc": { "start": { - "line": 77, + "line": 72, "column": 25 }, "end": { - "line": 77, + "line": 72, "column": 33 }, "identifierName": "getInput" @@ -3203,15 +3069,15 @@ }, "property": { "type": "Identifier", - "start": 4505, - "end": 4509, + "start": 4436, + "end": 4440, "loc": { "start": { - "line": 77, + "line": 72, "column": 34 }, "end": { - "line": 77, + "line": 72, "column": 38 }, "identifierName": "bind" @@ -3223,15 +3089,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4510, - "end": 4514, + "start": 4441, + "end": 4445, "loc": { "start": { - "line": 77, + "line": 72, "column": 39 }, "end": { - "line": 77, + "line": 72, "column": 43 } } @@ -3242,73 +3108,73 @@ }, { "type": "ExpressionStatement", - "start": 4522, - "end": 4563, + "start": 4453, + "end": 4494, "loc": { "start": { - "line": 78, + "line": 73, "column": 4 }, "end": { - "line": 78, + "line": 73, "column": 45 } }, "expression": { "type": "AssignmentExpression", - "start": 4522, - "end": 4562, + "start": 4453, + "end": 4493, "loc": { "start": { - "line": 78, + "line": 73, "column": 4 }, "end": { - "line": 78, + "line": 73, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4522, - "end": 4535, + "start": 4453, + "end": 4466, "loc": { "start": { - "line": 78, + "line": 73, "column": 4 }, "end": { - "line": 78, + "line": 73, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 4522, - "end": 4526, + "start": 4453, + "end": 4457, "loc": { "start": { - "line": 78, + "line": 73, "column": 4 }, "end": { - "line": 78, + "line": 73, "column": 8 } } }, "property": { "type": "Identifier", - "start": 4527, - "end": 4535, + "start": 4458, + "end": 4466, "loc": { "start": { - "line": 78, + "line": 73, "column": 9 }, "end": { - "line": 78, + "line": 73, "column": 17 }, "identifierName": "setInput" @@ -3319,72 +3185,72 @@ }, "right": { "type": "CallExpression", - "start": 4538, - "end": 4562, + "start": 4469, + "end": 4493, "loc": { "start": { - "line": 78, + "line": 73, "column": 20 }, "end": { - "line": 78, + "line": 73, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 4538, - "end": 4556, + "start": 4469, + "end": 4487, "loc": { "start": { - "line": 78, + "line": 73, "column": 20 }, "end": { - "line": 78, + "line": 73, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4538, - "end": 4551, + "start": 4469, + "end": 4482, "loc": { "start": { - "line": 78, + "line": 73, "column": 20 }, "end": { - "line": 78, + "line": 73, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 4538, - "end": 4542, + "start": 4469, + "end": 4473, "loc": { "start": { - "line": 78, + "line": 73, "column": 20 }, "end": { - "line": 78, + "line": 73, "column": 24 } } }, "property": { "type": "Identifier", - "start": 4543, - "end": 4551, + "start": 4474, + "end": 4482, "loc": { "start": { - "line": 78, + "line": 73, "column": 25 }, "end": { - "line": 78, + "line": 73, "column": 33 }, "identifierName": "setInput" @@ -3395,15 +3261,15 @@ }, "property": { "type": "Identifier", - "start": 4552, - "end": 4556, + "start": 4483, + "end": 4487, "loc": { "start": { - "line": 78, + "line": 73, "column": 34 }, "end": { - "line": 78, + "line": 73, "column": 38 }, "identifierName": "bind" @@ -3415,15 +3281,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4557, - "end": 4561, + "start": 4488, + "end": 4492, "loc": { "start": { - "line": 78, + "line": 73, "column": 39 }, "end": { - "line": 78, + "line": 73, "column": 43 } } @@ -3434,73 +3300,73 @@ }, { "type": "ExpressionStatement", - "start": 4569, - "end": 4618, + "start": 4500, + "end": 4549, "loc": { "start": { - "line": 79, + "line": 74, "column": 4 }, "end": { - "line": 79, + "line": 74, "column": 53 } }, "expression": { "type": "AssignmentExpression", - "start": 4569, - "end": 4617, + "start": 4500, + "end": 4548, "loc": { "start": { - "line": 79, + "line": 74, "column": 4 }, "end": { - "line": 79, + "line": 74, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4569, - "end": 4586, + "start": 4500, + "end": 4517, "loc": { "start": { - "line": 79, + "line": 74, "column": 4 }, "end": { - "line": 79, + "line": 74, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 4569, - "end": 4573, + "start": 4500, + "end": 4504, "loc": { "start": { - "line": 79, + "line": 74, "column": 4 }, "end": { - "line": 79, + "line": 74, "column": 8 } } }, "property": { "type": "Identifier", - "start": 4574, - "end": 4586, + "start": 4505, + "end": 4517, "loc": { "start": { - "line": 79, + "line": 74, "column": 9 }, "end": { - "line": 79, + "line": 74, "column": 21 }, "identifierName": "replaceInput" @@ -3511,72 +3377,72 @@ }, "right": { "type": "CallExpression", - "start": 4589, - "end": 4617, + "start": 4520, + "end": 4548, "loc": { "start": { - "line": 79, + "line": 74, "column": 24 }, "end": { - "line": 79, + "line": 74, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 4589, - "end": 4611, + "start": 4520, + "end": 4542, "loc": { "start": { - "line": 79, + "line": 74, "column": 24 }, "end": { - "line": 79, + "line": 74, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 4589, - "end": 4606, + "start": 4520, + "end": 4537, "loc": { "start": { - "line": 79, + "line": 74, "column": 24 }, "end": { - "line": 79, + "line": 74, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 4589, - "end": 4593, + "start": 4520, + "end": 4524, "loc": { "start": { - "line": 79, + "line": 74, "column": 24 }, "end": { - "line": 79, + "line": 74, "column": 28 } } }, "property": { "type": "Identifier", - "start": 4594, - "end": 4606, + "start": 4525, + "end": 4537, "loc": { "start": { - "line": 79, + "line": 74, "column": 29 }, "end": { - "line": 79, + "line": 74, "column": 41 }, "identifierName": "replaceInput" @@ -3587,15 +3453,15 @@ }, "property": { "type": "Identifier", - "start": 4607, - "end": 4611, + "start": 4538, + "end": 4542, "loc": { "start": { - "line": 79, + "line": 74, "column": 42 }, "end": { - "line": 79, + "line": 74, "column": 46 }, "identifierName": "bind" @@ -3607,15 +3473,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4612, - "end": 4616, + "start": 4543, + "end": 4547, "loc": { "start": { - "line": 79, + "line": 74, "column": 47 }, "end": { - "line": 79, + "line": 74, "column": 51 } } @@ -3626,73 +3492,73 @@ }, { "type": "ExpressionStatement", - "start": 4624, - "end": 4659, + "start": 4555, + "end": 4590, "loc": { "start": { - "line": 80, + "line": 75, "column": 4 }, "end": { - "line": 80, + "line": 75, "column": 39 } }, "expression": { "type": "AssignmentExpression", - "start": 4624, - "end": 4658, + "start": 4555, + "end": 4589, "loc": { "start": { - "line": 80, + "line": 75, "column": 4 }, "end": { - "line": 80, + "line": 75, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4624, - "end": 4634, + "start": 4555, + "end": 4565, "loc": { "start": { - "line": 80, + "line": 75, "column": 4 }, "end": { - "line": 80, + "line": 75, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 4624, - "end": 4628, + "start": 4555, + "end": 4559, "loc": { "start": { - "line": 80, + "line": 75, "column": 4 }, "end": { - "line": 80, + "line": 75, "column": 8 } } }, "property": { "type": "Identifier", - "start": 4629, - "end": 4634, + "start": 4560, + "end": 4565, "loc": { "start": { - "line": 80, + "line": 75, "column": 9 }, "end": { - "line": 80, + "line": 75, "column": 14 }, "identifierName": "clear" @@ -3703,72 +3569,72 @@ }, "right": { "type": "CallExpression", - "start": 4637, - "end": 4658, + "start": 4568, + "end": 4589, "loc": { "start": { - "line": 80, + "line": 75, "column": 17 }, "end": { - "line": 80, + "line": 75, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 4637, - "end": 4652, + "start": 4568, + "end": 4583, "loc": { "start": { - "line": 80, + "line": 75, "column": 17 }, "end": { - "line": 80, + "line": 75, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 4637, - "end": 4647, + "start": 4568, + "end": 4578, "loc": { "start": { - "line": 80, + "line": 75, "column": 17 }, "end": { - "line": 80, + "line": 75, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 4637, - "end": 4641, + "start": 4568, + "end": 4572, "loc": { "start": { - "line": 80, + "line": 75, "column": 17 }, "end": { - "line": 80, + "line": 75, "column": 21 } } }, "property": { "type": "Identifier", - "start": 4642, - "end": 4647, + "start": 4573, + "end": 4578, "loc": { "start": { - "line": 80, + "line": 75, "column": 22 }, "end": { - "line": 80, + "line": 75, "column": 27 }, "identifierName": "clear" @@ -3779,15 +3645,15 @@ }, "property": { "type": "Identifier", - "start": 4648, - "end": 4652, + "start": 4579, + "end": 4583, "loc": { "start": { - "line": 80, + "line": 75, "column": 28 }, "end": { - "line": 80, + "line": 75, "column": 32 }, "identifierName": "bind" @@ -3799,15 +3665,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4653, - "end": 4657, + "start": 4584, + "end": 4588, "loc": { "start": { - "line": 80, + "line": 75, "column": 33 }, "end": { - "line": 80, + "line": 75, "column": 37 } } @@ -3818,73 +3684,73 @@ }, { "type": "ExpressionStatement", - "start": 4665, - "end": 4706, + "start": 4596, + "end": 4637, "loc": { "start": { - "line": 81, + "line": 76, "column": 4 }, "end": { - "line": 81, + "line": 76, "column": 45 } }, "expression": { "type": "AssignmentExpression", - "start": 4665, - "end": 4705, + "start": 4596, + "end": 4636, "loc": { "start": { - "line": 81, + "line": 76, "column": 4 }, "end": { - "line": 81, + "line": 76, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4665, - "end": 4678, + "start": 4596, + "end": 4609, "loc": { "start": { - "line": 81, + "line": 76, "column": 4 }, "end": { - "line": 81, + "line": 76, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 4665, - "end": 4669, + "start": 4596, + "end": 4600, "loc": { "start": { - "line": 81, + "line": 76, "column": 4 }, "end": { - "line": 81, + "line": 76, "column": 8 } } }, "property": { "type": "Identifier", - "start": 4670, - "end": 4678, + "start": 4601, + "end": 4609, "loc": { "start": { - "line": 81, + "line": 76, "column": 9 }, "end": { - "line": 81, + "line": 76, "column": 17 }, "identifierName": "dispatch" @@ -3895,72 +3761,72 @@ }, "right": { "type": "CallExpression", - "start": 4681, - "end": 4705, + "start": 4612, + "end": 4636, "loc": { "start": { - "line": 81, + "line": 76, "column": 20 }, "end": { - "line": 81, + "line": 76, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 4681, - "end": 4699, + "start": 4612, + "end": 4630, "loc": { "start": { - "line": 81, + "line": 76, "column": 20 }, "end": { - "line": 81, + "line": 76, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4681, - "end": 4694, + "start": 4612, + "end": 4625, "loc": { "start": { - "line": 81, + "line": 76, "column": 20 }, "end": { - "line": 81, + "line": 76, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 4681, - "end": 4685, + "start": 4612, + "end": 4616, "loc": { "start": { - "line": 81, + "line": 76, "column": 20 }, "end": { - "line": 81, + "line": 76, "column": 24 } } }, "property": { "type": "Identifier", - "start": 4686, - "end": 4694, + "start": 4617, + "end": 4625, "loc": { "start": { - "line": 81, + "line": 76, "column": 25 }, "end": { - "line": 81, + "line": 76, "column": 33 }, "identifierName": "dispatch" @@ -3971,15 +3837,15 @@ }, "property": { "type": "Identifier", - "start": 4695, - "end": 4699, + "start": 4626, + "end": 4630, "loc": { "start": { - "line": 81, + "line": 76, "column": 34 }, "end": { - "line": 81, + "line": 76, "column": 38 }, "identifierName": "bind" @@ -3991,15 +3857,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4700, - "end": 4704, + "start": 4631, + "end": 4635, "loc": { "start": { - "line": 81, + "line": 76, "column": 39 }, "end": { - "line": 81, + "line": 76, "column": 43 } } @@ -4010,73 +3876,73 @@ }, { "type": "ExpressionStatement", - "start": 4712, - "end": 4765, + "start": 4643, + "end": 4696, "loc": { "start": { - "line": 82, + "line": 77, "column": 4 }, "end": { - "line": 82, + "line": 77, "column": 57 } }, "expression": { "type": "AssignmentExpression", - "start": 4712, - "end": 4764, + "start": 4643, + "end": 4695, "loc": { "start": { - "line": 82, + "line": 77, "column": 4 }, "end": { - "line": 82, + "line": 77, "column": 56 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4712, - "end": 4731, + "start": 4643, + "end": 4662, "loc": { "start": { - "line": 82, + "line": 77, "column": 4 }, "end": { - "line": 82, + "line": 77, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 4712, - "end": 4716, + "start": 4643, + "end": 4647, "loc": { "start": { - "line": 82, + "line": 77, "column": 4 }, "end": { - "line": 82, + "line": 77, "column": 8 } } }, "property": { "type": "Identifier", - "start": 4717, - "end": 4731, + "start": 4648, + "end": 4662, "loc": { "start": { - "line": 82, + "line": 77, "column": 9 }, "end": { - "line": 82, + "line": 77, "column": 23 }, "identifierName": "addButtonTheme" @@ -4087,72 +3953,72 @@ }, "right": { "type": "CallExpression", - "start": 4734, - "end": 4764, + "start": 4665, + "end": 4695, "loc": { "start": { - "line": 82, + "line": 77, "column": 26 }, "end": { - "line": 82, + "line": 77, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 4734, - "end": 4758, + "start": 4665, + "end": 4689, "loc": { "start": { - "line": 82, + "line": 77, "column": 26 }, "end": { - "line": 82, + "line": 77, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 4734, - "end": 4753, + "start": 4665, + "end": 4684, "loc": { "start": { - "line": 82, + "line": 77, "column": 26 }, "end": { - "line": 82, + "line": 77, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 4734, - "end": 4738, + "start": 4665, + "end": 4669, "loc": { "start": { - "line": 82, + "line": 77, "column": 26 }, "end": { - "line": 82, + "line": 77, "column": 30 } } }, "property": { "type": "Identifier", - "start": 4739, - "end": 4753, + "start": 4670, + "end": 4684, "loc": { "start": { - "line": 82, + "line": 77, "column": 31 }, "end": { - "line": 82, + "line": 77, "column": 45 }, "identifierName": "addButtonTheme" @@ -4163,15 +4029,15 @@ }, "property": { "type": "Identifier", - "start": 4754, - "end": 4758, + "start": 4685, + "end": 4689, "loc": { "start": { - "line": 82, + "line": 77, "column": 46 }, "end": { - "line": 82, + "line": 77, "column": 50 }, "identifierName": "bind" @@ -4183,15 +4049,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4759, - "end": 4763, + "start": 4690, + "end": 4694, "loc": { "start": { - "line": 82, + "line": 77, "column": 51 }, "end": { - "line": 82, + "line": 77, "column": 55 } } @@ -4202,73 +4068,73 @@ }, { "type": "ExpressionStatement", - "start": 4771, - "end": 4830, + "start": 4702, + "end": 4761, "loc": { "start": { - "line": 83, + "line": 78, "column": 4 }, "end": { - "line": 83, + "line": 78, "column": 63 } }, "expression": { "type": "AssignmentExpression", - "start": 4771, - "end": 4829, + "start": 4702, + "end": 4760, "loc": { "start": { - "line": 83, + "line": 78, "column": 4 }, "end": { - "line": 83, + "line": 78, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4771, - "end": 4793, + "start": 4702, + "end": 4724, "loc": { "start": { - "line": 83, + "line": 78, "column": 4 }, "end": { - "line": 83, + "line": 78, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 4771, - "end": 4775, + "start": 4702, + "end": 4706, "loc": { "start": { - "line": 83, + "line": 78, "column": 4 }, "end": { - "line": 83, + "line": 78, "column": 8 } } }, "property": { "type": "Identifier", - "start": 4776, - "end": 4793, + "start": 4707, + "end": 4724, "loc": { "start": { - "line": 83, + "line": 78, "column": 9 }, "end": { - "line": 83, + "line": 78, "column": 26 }, "identifierName": "removeButtonTheme" @@ -4279,72 +4145,72 @@ }, "right": { "type": "CallExpression", - "start": 4796, - "end": 4829, + "start": 4727, + "end": 4760, "loc": { "start": { - "line": 83, + "line": 78, "column": 29 }, "end": { - "line": 83, + "line": 78, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 4796, - "end": 4823, + "start": 4727, + "end": 4754, "loc": { "start": { - "line": 83, + "line": 78, "column": 29 }, "end": { - "line": 83, + "line": 78, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 4796, - "end": 4818, + "start": 4727, + "end": 4749, "loc": { "start": { - "line": 83, + "line": 78, "column": 29 }, "end": { - "line": 83, + "line": 78, "column": 51 } }, "object": { "type": "ThisExpression", - "start": 4796, - "end": 4800, + "start": 4727, + "end": 4731, "loc": { "start": { - "line": 83, + "line": 78, "column": 29 }, "end": { - "line": 83, + "line": 78, "column": 33 } } }, "property": { "type": "Identifier", - "start": 4801, - "end": 4818, + "start": 4732, + "end": 4749, "loc": { "start": { - "line": 83, + "line": 78, "column": 34 }, "end": { - "line": 83, + "line": 78, "column": 51 }, "identifierName": "removeButtonTheme" @@ -4355,15 +4221,15 @@ }, "property": { "type": "Identifier", - "start": 4819, - "end": 4823, + "start": 4750, + "end": 4754, "loc": { "start": { - "line": 83, + "line": 78, "column": 52 }, "end": { - "line": 83, + "line": 78, "column": 56 }, "identifierName": "bind" @@ -4375,15 +4241,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4824, - "end": 4828, + "start": 4755, + "end": 4759, "loc": { "start": { - "line": 83, + "line": 78, "column": 57 }, "end": { - "line": 83, + "line": 78, "column": 61 } } @@ -4394,8 +4260,968 @@ }, { "type": "ExpressionStatement", - "start": 4836, - "end": 4893, + "start": 4767, + "end": 4824, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 61 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4767, + "end": 4823, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 60 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4767, + "end": 4788, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 25 + } + }, + "object": { + "type": "ThisExpression", + "start": 4767, + "end": 4771, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4772, + "end": 4788, + "loc": { + "start": { + "line": 79, + "column": 9 + }, + "end": { + "line": 79, + "column": 25 + }, + "identifierName": "getButtonElement" + }, + "name": "getButtonElement" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4791, + "end": 4823, + "loc": { + "start": { + "line": 79, + "column": 28 + }, + "end": { + "line": 79, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4791, + "end": 4817, + "loc": { + "start": { + "line": 79, + "column": 28 + }, + "end": { + "line": 79, + "column": 54 + } + }, + "object": { + "type": "MemberExpression", + "start": 4791, + "end": 4812, + "loc": { + "start": { + "line": 79, + "column": 28 + }, + "end": { + "line": 79, + "column": 49 + } + }, + "object": { + "type": "ThisExpression", + "start": 4791, + "end": 4795, + "loc": { + "start": { + "line": 79, + "column": 28 + }, + "end": { + "line": 79, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "start": 4796, + "end": 4812, + "loc": { + "start": { + "line": 79, + "column": 33 + }, + "end": { + "line": 79, + "column": 49 + }, + "identifierName": "getButtonElement" + }, + "name": "getButtonElement" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4813, + "end": 4817, + "loc": { + "start": { + "line": 79, + "column": 50 + }, + "end": { + "line": 79, + "column": 54 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4818, + "end": 4822, + "loc": { + "start": { + "line": 79, + "column": 55 + }, + "end": { + "line": 79, + "column": 59 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4830, + "end": 4877, + "loc": { + "start": { + "line": 80, + "column": 4 + }, + "end": { + "line": 80, + "column": 51 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4830, + "end": 4876, + "loc": { + "start": { + "line": 80, + "column": 4 + }, + "end": { + "line": 80, + "column": 50 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4830, + "end": 4846, + "loc": { + "start": { + "line": 80, + "column": 4 + }, + "end": { + "line": 80, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 4830, + "end": 4834, + "loc": { + "start": { + "line": 80, + "column": 4 + }, + "end": { + "line": 80, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4835, + "end": 4846, + "loc": { + "start": { + "line": 80, + "column": 9 + }, + "end": { + "line": 80, + "column": 20 + }, + "identifierName": "handleCaret" + }, + "name": "handleCaret" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4849, + "end": 4876, + "loc": { + "start": { + "line": 80, + "column": 23 + }, + "end": { + "line": 80, + "column": 50 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4849, + "end": 4870, + "loc": { + "start": { + "line": 80, + "column": 23 + }, + "end": { + "line": 80, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 4849, + "end": 4865, + "loc": { + "start": { + "line": 80, + "column": 23 + }, + "end": { + "line": 80, + "column": 39 + } + }, + "object": { + "type": "ThisExpression", + "start": 4849, + "end": 4853, + "loc": { + "start": { + "line": 80, + "column": 23 + }, + "end": { + "line": 80, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "start": 4854, + "end": 4865, + "loc": { + "start": { + "line": 80, + "column": 28 + }, + "end": { + "line": 80, + "column": 39 + }, + "identifierName": "handleCaret" + }, + "name": "handleCaret" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4866, + "end": 4870, + "loc": { + "start": { + "line": 80, + "column": 40 + }, + "end": { + "line": 80, + "column": 44 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4871, + "end": 4875, + "loc": { + "start": { + "line": 80, + "column": 45 + }, + "end": { + "line": 80, + "column": 49 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4883, + "end": 4942, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 63 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4883, + "end": 4941, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 62 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4883, + "end": 4905, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 4883, + "end": 4887, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4888, + "end": 4905, + "loc": { + "start": { + "line": 81, + "column": 9 + }, + "end": { + "line": 81, + "column": 26 + }, + "identifierName": "caretEventHandler" + }, + "name": "caretEventHandler" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4908, + "end": 4941, + "loc": { + "start": { + "line": 81, + "column": 29 + }, + "end": { + "line": 81, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4908, + "end": 4935, + "loc": { + "start": { + "line": 81, + "column": 29 + }, + "end": { + "line": 81, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 4908, + "end": 4930, + "loc": { + "start": { + "line": 81, + "column": 29 + }, + "end": { + "line": 81, + "column": 51 + } + }, + "object": { + "type": "ThisExpression", + "start": 4908, + "end": 4912, + "loc": { + "start": { + "line": 81, + "column": 29 + }, + "end": { + "line": 81, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "start": 4913, + "end": 4930, + "loc": { + "start": { + "line": 81, + "column": 34 + }, + "end": { + "line": 81, + "column": 51 + }, + "identifierName": "caretEventHandler" + }, + "name": "caretEventHandler" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4931, + "end": 4935, + "loc": { + "start": { + "line": 81, + "column": 52 + }, + "end": { + "line": 81, + "column": 56 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4936, + "end": 4940, + "loc": { + "start": { + "line": 81, + "column": 57 + }, + "end": { + "line": 81, + "column": 61 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4948, + "end": 4985, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 41 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4948, + "end": 4984, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 40 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4948, + "end": 4959, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 4948, + "end": 4952, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4953, + "end": 4959, + "loc": { + "start": { + "line": 82, + "column": 9 + }, + "end": { + "line": 82, + "column": 15 + }, + "identifierName": "onInit" + }, + "name": "onInit" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4962, + "end": 4984, + "loc": { + "start": { + "line": 82, + "column": 18 + }, + "end": { + "line": 82, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4962, + "end": 4978, + "loc": { + "start": { + "line": 82, + "column": 18 + }, + "end": { + "line": 82, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 4962, + "end": 4973, + "loc": { + "start": { + "line": 82, + "column": 18 + }, + "end": { + "line": 82, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 4962, + "end": 4966, + "loc": { + "start": { + "line": 82, + "column": 18 + }, + "end": { + "line": 82, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 4967, + "end": 4973, + "loc": { + "start": { + "line": 82, + "column": 23 + }, + "end": { + "line": 82, + "column": 29 + }, + "identifierName": "onInit" + }, + "name": "onInit" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4974, + "end": 4978, + "loc": { + "start": { + "line": 82, + "column": 30 + }, + "end": { + "line": 82, + "column": 34 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4979, + "end": 4983, + "loc": { + "start": { + "line": 82, + "column": 35 + }, + "end": { + "line": 82, + "column": 39 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4991, + "end": 5032, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 45 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4991, + "end": 5031, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 44 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4991, + "end": 5004, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 4991, + "end": 4995, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4996, + "end": 5004, + "loc": { + "start": { + "line": 83, + "column": 9 + }, + "end": { + "line": 83, + "column": 17 + }, + "identifierName": "onRender" + }, + "name": "onRender" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 5007, + "end": 5031, + "loc": { + "start": { + "line": 83, + "column": 20 + }, + "end": { + "line": 83, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5007, + "end": 5025, + "loc": { + "start": { + "line": 83, + "column": 20 + }, + "end": { + "line": 83, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 5007, + "end": 5020, + "loc": { + "start": { + "line": 83, + "column": 20 + }, + "end": { + "line": 83, + "column": 33 + } + }, + "object": { + "type": "ThisExpression", + "start": 5007, + "end": 5011, + "loc": { + "start": { + "line": 83, + "column": 20 + }, + "end": { + "line": 83, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 5012, + "end": 5020, + "loc": { + "start": { + "line": 83, + "column": 25 + }, + "end": { + "line": 83, + "column": 33 + }, + "identifierName": "onRender" + }, + "name": "onRender" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5021, + "end": 5025, + "loc": { + "start": { + "line": 83, + "column": 34 + }, + "end": { + "line": 83, + "column": 38 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 5026, + "end": 5030, + "loc": { + "start": { + "line": 83, + "column": 39 + }, + "end": { + "line": 83, + "column": 43 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 5038, + "end": 5075, "loc": { "start": { "line": 84, @@ -4403,13 +5229,13 @@ }, "end": { "line": 84, - "column": 61 + "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 4836, - "end": 4892, + "start": 5038, + "end": 5074, "loc": { "start": { "line": 84, @@ -4417,14 +5243,14 @@ }, "end": { "line": 84, - "column": 60 + "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4836, - "end": 4857, + "start": 5038, + "end": 5049, "loc": { "start": { "line": 84, @@ -4432,13 +5258,13 @@ }, "end": { "line": 84, - "column": 25 + "column": 15 } }, "object": { "type": "ThisExpression", - "start": 4836, - "end": 4840, + "start": 5038, + "end": 5042, "loc": { "start": { "line": 84, @@ -4452,8 +5278,8 @@ }, "property": { "type": "Identifier", - "start": 4841, - "end": 4857, + "start": 5043, + "end": 5049, "loc": { "start": { "line": 84, @@ -4461,102 +5287,102 @@ }, "end": { "line": 84, - "column": 25 + "column": 15 }, - "identifierName": "getButtonElement" + "identifierName": "render" }, - "name": "getButtonElement" + "name": "render" }, "computed": false }, "right": { "type": "CallExpression", - "start": 4860, - "end": 4892, + "start": 5052, + "end": 5074, "loc": { "start": { "line": 84, - "column": 28 + "column": 18 }, "end": { "line": 84, - "column": 60 + "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 4860, - "end": 4886, + "start": 5052, + "end": 5068, "loc": { "start": { "line": 84, - "column": 28 + "column": 18 }, "end": { "line": 84, - "column": 54 + "column": 34 } }, "object": { "type": "MemberExpression", - "start": 4860, - "end": 4881, + "start": 5052, + "end": 5063, "loc": { "start": { "line": 84, - "column": 28 + "column": 18 }, "end": { "line": 84, - "column": 49 + "column": 29 } }, "object": { "type": "ThisExpression", - "start": 4860, - "end": 4864, + "start": 5052, + "end": 5056, "loc": { "start": { "line": 84, - "column": 28 + "column": 18 }, "end": { "line": 84, - "column": 32 + "column": 22 } } }, "property": { "type": "Identifier", - "start": 4865, - "end": 4881, + "start": 5057, + "end": 5063, "loc": { "start": { "line": 84, - "column": 33 + "column": 23 }, "end": { "line": 84, - "column": 49 + "column": 29 }, - "identifierName": "getButtonElement" + "identifierName": "render" }, - "name": "getButtonElement" + "name": "render" }, "computed": false }, "property": { "type": "Identifier", - "start": 4882, - "end": 4886, + "start": 5064, + "end": 5068, "loc": { "start": { "line": 84, - "column": 50 + "column": 30 }, "end": { "line": 84, - "column": 54 + "column": 34 }, "identifierName": "bind" }, @@ -4567,16 +5393,16 @@ "arguments": [ { "type": "ThisExpression", - "start": 4887, - "end": 4891, + "start": 5069, + "end": 5073, "loc": { "start": { "line": 84, - "column": 55 + "column": 35 }, "end": { "line": 84, - "column": 59 + "column": 39 } } } @@ -4586,8 +5412,8 @@ }, { "type": "ExpressionStatement", - "start": 4899, - "end": 4946, + "start": 5081, + "end": 5128, "loc": { "start": { "line": 85, @@ -4600,8 +5426,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 4899, - "end": 4945, + "start": 5081, + "end": 5127, "loc": { "start": { "line": 85, @@ -4615,8 +5441,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 4899, - "end": 4915, + "start": 5081, + "end": 5097, "loc": { "start": { "line": 85, @@ -4629,8 +5455,8 @@ }, "object": { "type": "ThisExpression", - "start": 4899, - "end": 4903, + "start": 5081, + "end": 5085, "loc": { "start": { "line": 85, @@ -4644,8 +5470,8 @@ }, "property": { "type": "Identifier", - "start": 4904, - "end": 4915, + "start": 5086, + "end": 5097, "loc": { "start": { "line": 85, @@ -4655,16 +5481,16 @@ "line": 85, "column": 20 }, - "identifierName": "handleCaret" + "identifierName": "loadModules" }, - "name": "handleCaret" + "name": "loadModules" }, "computed": false }, "right": { "type": "CallExpression", - "start": 4918, - "end": 4945, + "start": 5100, + "end": 5127, "loc": { "start": { "line": 85, @@ -4677,8 +5503,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4918, - "end": 4939, + "start": 5100, + "end": 5121, "loc": { "start": { "line": 85, @@ -4691,8 +5517,8 @@ }, "object": { "type": "MemberExpression", - "start": 4918, - "end": 4934, + "start": 5100, + "end": 5116, "loc": { "start": { "line": 85, @@ -4705,8 +5531,8 @@ }, "object": { "type": "ThisExpression", - "start": 4918, - "end": 4922, + "start": 5100, + "end": 5104, "loc": { "start": { "line": 85, @@ -4720,8 +5546,8 @@ }, "property": { "type": "Identifier", - "start": 4923, - "end": 4934, + "start": 5105, + "end": 5116, "loc": { "start": { "line": 85, @@ -4731,16 +5557,16 @@ "line": 85, "column": 39 }, - "identifierName": "handleCaret" + "identifierName": "loadModules" }, - "name": "handleCaret" + "name": "loadModules" }, "computed": false }, "property": { "type": "Identifier", - "start": 4935, - "end": 4939, + "start": 5117, + "end": 5121, "loc": { "start": { "line": 85, @@ -4759,8 +5585,8 @@ "arguments": [ { "type": "ThisExpression", - "start": 4940, - "end": 4944, + "start": 5122, + "end": 5126, "loc": { "start": { "line": 85, @@ -4778,8 +5604,8 @@ }, { "type": "ExpressionStatement", - "start": 4952, - "end": 5011, + "start": 5134, + "end": 5197, "loc": { "start": { "line": 86, @@ -4787,13 +5613,13 @@ }, "end": { "line": 86, - "column": 63 + "column": 67 } }, "expression": { "type": "AssignmentExpression", - "start": 4952, - "end": 5010, + "start": 5134, + "end": 5196, "loc": { "start": { "line": 86, @@ -4801,14 +5627,14 @@ }, "end": { "line": 86, - "column": 62 + "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4952, - "end": 4974, + "start": 5134, + "end": 5158, "loc": { "start": { "line": 86, @@ -4816,13 +5642,13 @@ }, "end": { "line": 86, - "column": 26 + "column": 28 } }, "object": { "type": "ThisExpression", - "start": 4952, - "end": 4956, + "start": 5134, + "end": 5138, "loc": { "start": { "line": 86, @@ -4836,8 +5662,8 @@ }, "property": { "type": "Identifier", - "start": 4957, - "end": 4974, + "start": 5139, + "end": 5158, "loc": { "start": { "line": 86, @@ -4845,103 +5671,103 @@ }, "end": { "line": 86, - "column": 26 + "column": 28 }, - "identifierName": "caretEventHandler" + "identifierName": "handleButtonMouseUp" }, - "name": "caretEventHandler" + "name": "handleButtonMouseUp" }, "computed": false }, "right": { "type": "CallExpression", - "start": 4977, - "end": 5010, + "start": 5161, + "end": 5196, "loc": { "start": { "line": 86, - "column": 29 + "column": 31 }, "end": { "line": 86, - "column": 62 + "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 4977, - "end": 5004, + "start": 5161, + "end": 5190, "loc": { "start": { "line": 86, - "column": 29 + "column": 31 }, "end": { "line": 86, - "column": 56 + "column": 60 } }, "object": { "type": "MemberExpression", - "start": 4977, - "end": 4999, + "start": 5161, + "end": 5185, "loc": { "start": { "line": 86, - "column": 29 + "column": 31 }, "end": { "line": 86, - "column": 51 + "column": 55 } }, "object": { "type": "ThisExpression", - "start": 4977, - "end": 4981, + "start": 5161, + "end": 5165, "loc": { "start": { "line": 86, - "column": 29 + "column": 31 }, "end": { "line": 86, - "column": 33 + "column": 35 } } }, "property": { "type": "Identifier", - "start": 4982, - "end": 4999, + "start": 5166, + "end": 5185, "loc": { "start": { "line": 86, - "column": 34 + "column": 36 }, "end": { "line": 86, - "column": 51 + "column": 55 }, - "identifierName": "caretEventHandler" + "identifierName": "handleButtonMouseUp" }, - "name": "caretEventHandler" + "name": "handleButtonMouseUp" }, "computed": false }, "property": { "type": "Identifier", - "start": 5000, - "end": 5004, + "start": 5186, + "end": 5190, "loc": { "start": { - "line": 86, - "column": 52 - }, - "end": { "line": 86, "column": 56 }, + "end": { + "line": 86, + "column": 60 + }, "identifierName": "bind" }, "name": "bind" @@ -4951,16 +5777,16 @@ "arguments": [ { "type": "ThisExpression", - "start": 5005, - "end": 5009, + "start": 5191, + "end": 5195, "loc": { "start": { "line": 86, - "column": 57 + "column": 61 }, "end": { "line": 86, - "column": 61 + "column": 65 } } } @@ -4970,8 +5796,8 @@ }, { "type": "ExpressionStatement", - "start": 5017, - "end": 5054, + "start": 5203, + "end": 5270, "loc": { "start": { "line": 87, @@ -4979,13 +5805,13 @@ }, "end": { "line": 87, - "column": 41 + "column": 71 } }, "expression": { "type": "AssignmentExpression", - "start": 5017, - "end": 5053, + "start": 5203, + "end": 5269, "loc": { "start": { "line": 87, @@ -4993,14 +5819,14 @@ }, "end": { "line": 87, - "column": 40 + "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5017, - "end": 5028, + "start": 5203, + "end": 5229, "loc": { "start": { "line": 87, @@ -5008,13 +5834,13 @@ }, "end": { "line": 87, - "column": 15 + "column": 30 } }, "object": { "type": "ThisExpression", - "start": 5017, - "end": 5021, + "start": 5203, + "end": 5207, "loc": { "start": { "line": 87, @@ -5028,8 +5854,8 @@ }, "property": { "type": "Identifier", - "start": 5022, - "end": 5028, + "start": 5208, + "end": 5229, "loc": { "start": { "line": 87, @@ -5037,102 +5863,102 @@ }, "end": { "line": 87, - "column": 15 + "column": 30 }, - "identifierName": "onInit" + "identifierName": "handleButtonMouseDown" }, - "name": "onInit" + "name": "handleButtonMouseDown" }, "computed": false }, "right": { "type": "CallExpression", - "start": 5031, - "end": 5053, + "start": 5232, + "end": 5269, "loc": { "start": { "line": 87, - "column": 18 + "column": 33 }, "end": { "line": 87, - "column": 40 + "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 5031, - "end": 5047, + "start": 5232, + "end": 5263, "loc": { "start": { "line": 87, - "column": 18 + "column": 33 }, "end": { "line": 87, - "column": 34 + "column": 64 } }, "object": { "type": "MemberExpression", - "start": 5031, - "end": 5042, + "start": 5232, + "end": 5258, "loc": { "start": { "line": 87, - "column": 18 + "column": 33 }, "end": { "line": 87, - "column": 29 + "column": 59 } }, "object": { "type": "ThisExpression", - "start": 5031, - "end": 5035, + "start": 5232, + "end": 5236, "loc": { "start": { "line": 87, - "column": 18 + "column": 33 }, "end": { "line": 87, - "column": 22 + "column": 37 } } }, "property": { "type": "Identifier", - "start": 5036, - "end": 5042, + "start": 5237, + "end": 5258, "loc": { "start": { "line": 87, - "column": 23 + "column": 38 }, "end": { "line": 87, - "column": 29 + "column": 59 }, - "identifierName": "onInit" + "identifierName": "handleButtonMouseDown" }, - "name": "onInit" + "name": "handleButtonMouseDown" }, "computed": false }, "property": { "type": "Identifier", - "start": 5043, - "end": 5047, + "start": 5259, + "end": 5263, "loc": { "start": { "line": 87, - "column": 30 + "column": 60 }, "end": { "line": 87, - "column": 34 + "column": 64 }, "identifierName": "bind" }, @@ -5143,16 +5969,16 @@ "arguments": [ { "type": "ThisExpression", - "start": 5048, - "end": 5052, + "start": 5264, + "end": 5268, "loc": { "start": { "line": 87, - "column": 35 + "column": 65 }, "end": { "line": 87, - "column": 39 + "column": 69 } } } @@ -5162,8 +5988,8 @@ }, { "type": "ExpressionStatement", - "start": 5060, - "end": 5101, + "start": 5276, + "end": 5333, "loc": { "start": { "line": 88, @@ -5171,13 +5997,13 @@ }, "end": { "line": 88, - "column": 45 + "column": 61 } }, "expression": { "type": "AssignmentExpression", - "start": 5060, - "end": 5100, + "start": 5276, + "end": 5332, "loc": { "start": { "line": 88, @@ -5185,14 +6011,14 @@ }, "end": { "line": 88, - "column": 44 + "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5060, - "end": 5073, + "start": 5276, + "end": 5297, "loc": { "start": { "line": 88, @@ -5200,13 +6026,13 @@ }, "end": { "line": 88, - "column": 17 + "column": 25 } }, "object": { "type": "ThisExpression", - "start": 5060, - "end": 5064, + "start": 5276, + "end": 5280, "loc": { "start": { "line": 88, @@ -5220,8 +6046,8 @@ }, "property": { "type": "Identifier", - "start": 5065, - "end": 5073, + "start": 5281, + "end": 5297, "loc": { "start": { "line": 88, @@ -5229,102 +6055,102 @@ }, "end": { "line": 88, - "column": 17 + "column": 25 }, - "identifierName": "onRender" + "identifierName": "handleButtonHold" }, - "name": "onRender" + "name": "handleButtonHold" }, "computed": false }, "right": { "type": "CallExpression", - "start": 5076, - "end": 5100, + "start": 5300, + "end": 5332, "loc": { "start": { "line": 88, - "column": 20 + "column": 28 }, "end": { "line": 88, - "column": 44 + "column": 60 } }, "callee": { "type": "MemberExpression", - "start": 5076, - "end": 5094, + "start": 5300, + "end": 5326, "loc": { "start": { "line": 88, - "column": 20 + "column": 28 }, "end": { "line": 88, - "column": 38 + "column": 54 } }, "object": { "type": "MemberExpression", - "start": 5076, - "end": 5089, + "start": 5300, + "end": 5321, "loc": { "start": { "line": 88, - "column": 20 + "column": 28 }, "end": { "line": 88, - "column": 33 + "column": 49 } }, "object": { "type": "ThisExpression", - "start": 5076, - "end": 5080, + "start": 5300, + "end": 5304, "loc": { "start": { "line": 88, - "column": 20 + "column": 28 }, "end": { "line": 88, - "column": 24 + "column": 32 } } }, "property": { "type": "Identifier", - "start": 5081, - "end": 5089, + "start": 5305, + "end": 5321, "loc": { "start": { - "line": 88, - "column": 25 - }, - "end": { "line": 88, "column": 33 }, - "identifierName": "onRender" + "end": { + "line": 88, + "column": 49 + }, + "identifierName": "handleButtonHold" }, - "name": "onRender" + "name": "handleButtonHold" }, "computed": false }, "property": { "type": "Identifier", - "start": 5090, - "end": 5094, + "start": 5322, + "end": 5326, "loc": { "start": { "line": 88, - "column": 34 + "column": 50 }, "end": { "line": 88, - "column": 38 + "column": 54 }, "identifierName": "bind" }, @@ -5335,208 +6161,16 @@ "arguments": [ { "type": "ThisExpression", - "start": 5095, - "end": 5099, + "start": 5327, + "end": 5331, "loc": { "start": { "line": 88, - "column": 39 + "column": 55 }, "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 + "column": 59 } } } @@ -5547,15 +6181,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": 5152, - "end": 5811, + "start": 5341, + "end": 6000, "loc": { "start": { - "line": 91, + "line": 90, "column": 4 }, "end": { - "line": 104, + "line": 103, "column": 7 } } @@ -5564,58 +6198,58 @@ }, { "type": "ExpressionStatement", - "start": 5817, - "end": 5833, + "start": 6006, + "end": 6022, "loc": { "start": { - "line": 105, + "line": 104, "column": 4 }, "end": { - "line": 105, + "line": 104, "column": 20 } }, "expression": { "type": "AssignmentExpression", - "start": 5817, - "end": 5832, + "start": 6006, + "end": 6021, "loc": { "start": { - "line": 105, + "line": 104, "column": 4 }, "end": { - "line": 105, + "line": 104, "column": 19 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5817, - "end": 5827, + "start": 6006, + "end": 6016, "loc": { "start": { - "line": 105, + "line": 104, "column": 4 }, "end": { - "line": 105, + "line": 104, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 5817, - "end": 5821, + "start": 6006, + "end": 6010, "loc": { "start": { - "line": 105, + "line": 104, "column": 4 }, "end": { - "line": 105, + "line": 104, "column": 8 } }, @@ -5623,15 +6257,15 @@ }, "property": { "type": "Identifier", - "start": 5822, - "end": 5827, + "start": 6011, + "end": 6016, "loc": { "start": { - "line": 105, + "line": 104, "column": 9 }, "end": { - "line": 105, + "line": 104, "column": 14 }, "identifierName": "input" @@ -5643,15 +6277,15 @@ }, "right": { "type": "ObjectExpression", - "start": 5830, - "end": 5832, + "start": 6019, + "end": 6021, "loc": { "start": { - "line": 105, + "line": 104, "column": 17 }, "end": { - "line": 105, + "line": 104, "column": 19 } }, @@ -5663,15 +6297,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": 5152, - "end": 5811, + "start": 5341, + "end": 6000, "loc": { "start": { - "line": 91, + "line": 90, "column": 4 }, "end": { - "line": 104, + "line": 103, "column": 7 } } @@ -5680,87 +6314,87 @@ }, { "type": "ExpressionStatement", - "start": 5839, - "end": 5879, + "start": 6028, + "end": 6068, "loc": { "start": { - "line": 106, + "line": 105, "column": 4 }, "end": { - "line": 106, + "line": 105, "column": 44 } }, "expression": { "type": "AssignmentExpression", - "start": 5839, - "end": 5878, + "start": 6028, + "end": 6067, "loc": { "start": { - "line": 106, + "line": 105, "column": 4 }, "end": { - "line": 106, + "line": 105, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5839, - "end": 5873, + "start": 6028, + "end": 6062, "loc": { "start": { - "line": 106, + "line": 105, "column": 4 }, "end": { - "line": 106, + "line": 105, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 5839, - "end": 5849, + "start": 6028, + "end": 6038, "loc": { "start": { - "line": 106, + "line": 105, "column": 4 }, "end": { - "line": 106, + "line": 105, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 5839, - "end": 5843, + "start": 6028, + "end": 6032, "loc": { "start": { - "line": 106, + "line": 105, "column": 4 }, "end": { - "line": 106, + "line": 105, "column": 8 } } }, "property": { "type": "Identifier", - "start": 5844, - "end": 5849, + "start": 6033, + "end": 6038, "loc": { "start": { - "line": 106, + "line": 105, "column": 9 }, "end": { - "line": 106, + "line": 105, "column": 14 }, "identifierName": "input" @@ -5771,58 +6405,58 @@ }, "property": { "type": "MemberExpression", - "start": 5850, - "end": 5872, + "start": 6039, + "end": 6061, "loc": { "start": { - "line": 106, + "line": 105, "column": 15 }, "end": { - "line": 106, + "line": 105, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 5850, - "end": 5862, + "start": 6039, + "end": 6051, "loc": { "start": { - "line": 106, + "line": 105, "column": 15 }, "end": { - "line": 106, + "line": 105, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 5850, - "end": 5854, + "start": 6039, + "end": 6043, "loc": { "start": { - "line": 106, + "line": 105, "column": 15 }, "end": { - "line": 106, + "line": 105, "column": 19 } } }, "property": { "type": "Identifier", - "start": 5855, - "end": 5862, + "start": 6044, + "end": 6051, "loc": { "start": { - "line": 106, + "line": 105, "column": 20 }, "end": { - "line": 106, + "line": 105, "column": 27 }, "identifierName": "options" @@ -5833,15 +6467,15 @@ }, "property": { "type": "Identifier", - "start": 5863, - "end": 5872, + "start": 6052, + "end": 6061, "loc": { "start": { - "line": 106, + "line": 105, "column": 28 }, "end": { - "line": 106, + "line": 105, "column": 37 }, "identifierName": "inputName" @@ -5854,15 +6488,15 @@ }, "right": { "type": "StringLiteral", - "start": 5876, - "end": 5878, + "start": 6065, + "end": 6067, "loc": { "start": { - "line": 106, + "line": 105, "column": 41 }, "end": { - "line": 106, + "line": 105, "column": 43 } }, @@ -5877,15 +6511,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", - "start": 5887, - "end": 5996, + "start": 6076, + "end": 6185, "loc": { "start": { - "line": 108, + "line": 107, "column": 4 }, "end": { - "line": 110, + "line": 109, "column": 7 } } @@ -5894,58 +6528,58 @@ }, { "type": "ExpressionStatement", - "start": 6002, - "end": 6063, + "start": 6191, + "end": 6252, "loc": { "start": { - "line": 111, + "line": 110, "column": 4 }, "end": { - "line": 111, + "line": 110, "column": 65 } }, "expression": { "type": "AssignmentExpression", - "start": 6002, - "end": 6062, + "start": 6191, + "end": 6251, "loc": { "start": { - "line": 111, + "line": 110, "column": 4 }, "end": { - "line": 111, + "line": 110, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6002, - "end": 6023, + "start": 6191, + "end": 6212, "loc": { "start": { - "line": 111, + "line": 110, "column": 4 }, "end": { - "line": 111, + "line": 110, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 6002, - "end": 6006, + "start": 6191, + "end": 6195, "loc": { "start": { - "line": 111, + "line": 110, "column": 4 }, "end": { - "line": 111, + "line": 110, "column": 8 } }, @@ -5953,15 +6587,15 @@ }, "property": { "type": "Identifier", - "start": 6007, - "end": 6023, + "start": 6196, + "end": 6212, "loc": { "start": { - "line": 111, + "line": 110, "column": 9 }, "end": { - "line": 111, + "line": 110, "column": 25 }, "identifierName": "keyboardDOMClass" @@ -5973,71 +6607,71 @@ }, "right": { "type": "CallExpression", - "start": 6026, - "end": 6062, + "start": 6215, + "end": 6251, "loc": { "start": { - "line": 111, + "line": 110, "column": 28 }, "end": { - "line": 111, + "line": 110, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 6026, - "end": 6058, + "start": 6215, + "end": 6247, "loc": { "start": { - "line": 111, + "line": 110, "column": 28 }, "end": { - "line": 111, + "line": 110, "column": 60 } }, "object": { "type": "CallExpression", - "start": 6026, - "end": 6053, + "start": 6215, + "end": 6242, "loc": { "start": { - "line": 111, + "line": 110, "column": 28 }, "end": { - "line": 111, + "line": 110, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 6026, - "end": 6048, + "start": 6215, + "end": 6237, "loc": { "start": { - "line": 111, + "line": 110, "column": 28 }, "end": { - "line": 111, + "line": 110, "column": 50 } }, "object": { "type": "Identifier", - "start": 6026, - "end": 6042, + "start": 6215, + "end": 6231, "loc": { "start": { - "line": 111, + "line": 110, "column": 28 }, "end": { - "line": 111, + "line": 110, "column": 44 }, "identifierName": "keyboardDOMQuery" @@ -6046,15 +6680,15 @@ }, "property": { "type": "Identifier", - "start": 6043, - "end": 6048, + "start": 6232, + "end": 6237, "loc": { "start": { - "line": 111, + "line": 110, "column": 45 }, "end": { - "line": 111, + "line": 110, "column": 50 }, "identifierName": "split" @@ -6066,15 +6700,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 6049, - "end": 6052, + "start": 6238, + "end": 6241, "loc": { "start": { - "line": 111, + "line": 110, "column": 51 }, "end": { - "line": 111, + "line": 110, "column": 54 } }, @@ -6088,15 +6722,15 @@ }, "property": { "type": "Identifier", - "start": 6054, - "end": 6058, + "start": 6243, + "end": 6247, "loc": { "start": { - "line": 111, + "line": 110, "column": 56 }, "end": { - "line": 111, + "line": 110, "column": 60 }, "identifierName": "join" @@ -6108,15 +6742,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 6059, - "end": 6061, + "start": 6248, + "end": 6250, "loc": { "start": { - "line": 111, + "line": 110, "column": 61 }, "end": { - "line": 111, + "line": 110, "column": 63 } }, @@ -6134,15 +6768,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", - "start": 5887, - "end": 5996, + "start": 6076, + "end": 6185, "loc": { "start": { - "line": 108, + "line": 107, "column": 4 }, "end": { - "line": 110, + "line": 109, "column": 7 } } @@ -6152,15 +6786,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": 6071, - "end": 6216, + "start": 6260, + "end": 6405, "loc": { "start": { - "line": 113, + "line": 112, "column": 4 }, "end": { - "line": 115, + "line": 114, "column": 7 } } @@ -6169,58 +6803,58 @@ }, { "type": "ExpressionStatement", - "start": 6222, - "end": 6247, + "start": 6411, + "end": 6436, "loc": { "start": { - "line": 116, + "line": 115, "column": 4 }, "end": { - "line": 116, + "line": 115, "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 6222, - "end": 6246, + "start": 6411, + "end": 6435, "loc": { "start": { - "line": 116, + "line": 115, "column": 4 }, "end": { - "line": 116, + "line": 115, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6222, - "end": 6241, + "start": 6411, + "end": 6430, "loc": { "start": { - "line": 116, + "line": 115, "column": 4 }, "end": { - "line": 116, + "line": 115, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 6222, - "end": 6226, + "start": 6411, + "end": 6415, "loc": { "start": { - "line": 116, + "line": 115, "column": 4 }, "end": { - "line": 116, + "line": 115, "column": 8 } }, @@ -6228,15 +6862,15 @@ }, "property": { "type": "Identifier", - "start": 6227, - "end": 6241, + "start": 6416, + "end": 6430, "loc": { "start": { - "line": 116, + "line": 115, "column": 9 }, "end": { - "line": 116, + "line": 115, "column": 23 }, "identifierName": "buttonElements" @@ -6248,15 +6882,15 @@ }, "right": { "type": "ObjectExpression", - "start": 6244, - "end": 6246, + "start": 6433, + "end": 6435, "loc": { "start": { - "line": 116, + "line": 115, "column": 26 }, "end": { - "line": 116, + "line": 115, "column": 28 } }, @@ -6268,15 +6902,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": 6071, - "end": 6216, + "start": 6260, + "end": 6405, "loc": { "start": { - "line": 113, + "line": 112, "column": 4 }, "end": { - "line": 115, + "line": 114, "column": 7 } } @@ -6286,15 +6920,15 @@ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", - "start": 6255, - "end": 6294, + "start": 6444, + "end": 6483, "loc": { "start": { - "line": 118, + "line": 117, "column": 4 }, "end": { - "line": 120, + "line": 119, "column": 7 } } @@ -6303,43 +6937,43 @@ }, { "type": "IfStatement", - "start": 6300, - "end": 6479, + "start": 6489, + "end": 6668, "loc": { "start": { - "line": 121, + "line": 120, "column": 4 }, "end": { - "line": 126, + "line": 125, "column": 5 } }, "test": { "type": "MemberExpression", - "start": 6303, - "end": 6319, + "start": 6492, + "end": 6508, "loc": { "start": { - "line": 121, + "line": 120, "column": 7 }, "end": { - "line": 121, + "line": 120, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 6303, - "end": 6307, + "start": 6492, + "end": 6496, "loc": { "start": { - "line": 121, + "line": 120, "column": 7 }, "end": { - "line": 121, + "line": 120, "column": 11 } }, @@ -6347,15 +6981,15 @@ }, "property": { "type": "Identifier", - "start": 6308, - "end": 6319, + "start": 6497, + "end": 6508, "loc": { "start": { - "line": 121, + "line": 120, "column": 12 }, "end": { - "line": 121, + "line": 120, "column": 23 }, "identifierName": "keyboardDOM" @@ -6367,72 +7001,72 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 6328, - "end": 6342, + "start": 6517, + "end": 6531, "loc": { "start": { - "line": 122, + "line": 121, "column": 6 }, "end": { - "line": 122, + "line": 121, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 6328, - "end": 6341, + "start": 6517, + "end": 6530, "loc": { "start": { - "line": 122, + "line": 121, "column": 6 }, "end": { - "line": 122, + "line": 121, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 6328, - "end": 6339, + "start": 6517, + "end": 6528, "loc": { "start": { - "line": 122, + "line": 121, "column": 6 }, "end": { - "line": 122, + "line": 121, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 6328, - "end": 6332, + "start": 6517, + "end": 6521, "loc": { "start": { - "line": 122, + "line": 121, "column": 6 }, "end": { - "line": 122, + "line": 121, "column": 10 } } }, "property": { "type": "Identifier", - "start": 6333, - "end": 6339, + "start": 6522, + "end": 6528, "loc": { "start": { - "line": 122, + "line": 121, "column": 11 }, "end": { - "line": 122, + "line": 121, "column": 17 }, "identifierName": "render" @@ -6446,72 +7080,72 @@ }, "alternate": { "type": "BlockStatement", - "start": 6353, - "end": 6479, + "start": 6542, + "end": 6668, "loc": { "start": { - "line": 123, + "line": 122, "column": 9 }, "end": { - "line": 126, + "line": 125, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 6362, - "end": 6426, + "start": 6551, + "end": 6615, "loc": { "start": { - "line": 124, + "line": 123, "column": 6 }, "end": { - "line": 124, + "line": 123, "column": 70 } }, "expression": { "type": "CallExpression", - "start": 6362, - "end": 6425, + "start": 6551, + "end": 6614, "loc": { "start": { - "line": 124, + "line": 123, "column": 6 }, "end": { - "line": 124, + "line": 123, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 6362, - "end": 6374, + "start": 6551, + "end": 6563, "loc": { "start": { - "line": 124, + "line": 123, "column": 6 }, "end": { - "line": 124, + "line": 123, "column": 18 } }, "object": { "type": "Identifier", - "start": 6362, - "end": 6369, + "start": 6551, + "end": 6558, "loc": { "start": { - "line": 124, + "line": 123, "column": 6 }, "end": { - "line": 124, + "line": 123, "column": 13 }, "identifierName": "console" @@ -6520,15 +7154,15 @@ }, "property": { "type": "Identifier", - "start": 6370, - "end": 6374, + "start": 6559, + "end": 6563, "loc": { "start": { - "line": 124, + "line": 123, "column": 14 }, "end": { - "line": 124, + "line": 123, "column": 18 }, "identifierName": "warn" @@ -6540,30 +7174,30 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 6375, - "end": 6424, + "start": 6564, + "end": 6613, "loc": { "start": { - "line": 124, + "line": 123, "column": 19 }, "end": { - "line": 124, + "line": 123, "column": 68 } }, "expressions": [ { "type": "Identifier", - "start": 6379, - "end": 6395, + "start": 6568, + "end": 6584, "loc": { "start": { - "line": 124, + "line": 123, "column": 23 }, "end": { - "line": 124, + "line": 123, "column": 39 }, "identifierName": "keyboardDOMQuery" @@ -6574,15 +7208,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 6376, - "end": 6377, + "start": 6565, + "end": 6566, "loc": { "start": { - "line": 124, + "line": 123, "column": 20 }, "end": { - "line": 124, + "line": 123, "column": 21 } }, @@ -6594,15 +7228,15 @@ }, { "type": "TemplateElement", - "start": 6396, - "end": 6423, + "start": 6585, + "end": 6612, "loc": { "start": { - "line": 124, + "line": 123, "column": 40 }, "end": { - "line": 124, + "line": 123, "column": 67 } }, @@ -6619,43 +7253,43 @@ }, { "type": "ThrowStatement", - "start": 6434, - "end": 6472, + "start": 6623, + "end": 6661, "loc": { "start": { - "line": 125, + "line": 124, "column": 6 }, "end": { - "line": 125, + "line": 124, "column": 44 } }, "argument": { "type": "NewExpression", - "start": 6440, - "end": 6471, + "start": 6629, + "end": 6660, "loc": { "start": { - "line": 125, + "line": 124, "column": 12 }, "end": { - "line": 125, + "line": 124, "column": 43 } }, "callee": { "type": "Identifier", - "start": 6444, - "end": 6449, + "start": 6633, + "end": 6638, "loc": { "start": { - "line": 125, + "line": 124, "column": 16 }, "end": { - "line": 125, + "line": 124, "column": 21 }, "identifierName": "Error" @@ -6665,15 +7299,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 6450, - "end": 6470, + "start": 6639, + "end": 6659, "loc": { "start": { - "line": 125, + "line": 124, "column": 22 }, "end": { - "line": 125, + "line": 124, "column": 42 } }, @@ -6694,15 +7328,15 @@ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", - "start": 6255, - "end": 6294, + "start": 6444, + "end": 6483, "loc": { "start": { - "line": 118, + "line": 117, "column": 4 }, "end": { - "line": 120, + "line": 119, "column": 7 } } @@ -6712,15 +7346,15 @@ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", - "start": 6487, - "end": 6600, + "start": 6676, + "end": 6789, "loc": { "start": { - "line": 128, + "line": 127, "column": 4 }, "end": { - "line": 131, + "line": 130, "column": 7 } } @@ -6729,29 +7363,29 @@ }, { "type": "IfStatement", - "start": 6606, - "end": 6691, + "start": 6795, + "end": 6880, "loc": { "start": { - "line": 132, + "line": 131, "column": 4 }, "end": { - "line": 133, + "line": 132, "column": 45 } }, "test": { "type": "UnaryExpression", - "start": 6609, - "end": 6643, + "start": 6798, + "end": 6832, "loc": { "start": { - "line": 132, + "line": 131, "column": 7 }, "end": { - "line": 132, + "line": 131, "column": 41 } }, @@ -6759,29 +7393,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 6610, - "end": 6643, + "start": 6799, + "end": 6832, "loc": { "start": { - "line": 132, + "line": 131, "column": 8 }, "end": { - "line": 132, + "line": 131, "column": 41 } }, "object": { "type": "Identifier", - "start": 6610, - "end": 6616, + "start": 6799, + "end": 6805, "loc": { "start": { - "line": 132, + "line": 131, "column": 8 }, "end": { - "line": 132, + "line": 131, "column": 14 }, "identifierName": "window" @@ -6791,15 +7425,15 @@ }, "property": { "type": "StringLiteral", - "start": 6617, - "end": 6642, + "start": 6806, + "end": 6831, "loc": { "start": { - "line": 132, + "line": 131, "column": 15 }, "end": { - "line": 132, + "line": 131, "column": 40 } }, @@ -6819,58 +7453,58 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 6652, - "end": 6691, + "start": 6841, + "end": 6880, "loc": { "start": { - "line": 133, + "line": 132, "column": 6 }, "end": { - "line": 133, + "line": 132, "column": 45 } }, "expression": { "type": "AssignmentExpression", - "start": 6652, - "end": 6690, + "start": 6841, + "end": 6879, "loc": { "start": { - "line": 133, + "line": 132, "column": 6 }, "end": { - "line": 133, + "line": 132, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6652, - "end": 6685, + "start": 6841, + "end": 6874, "loc": { "start": { - "line": 133, + "line": 132, "column": 6 }, "end": { - "line": 133, + "line": 132, "column": 39 } }, "object": { "type": "Identifier", - "start": 6652, - "end": 6658, + "start": 6841, + "end": 6847, "loc": { "start": { - "line": 133, + "line": 132, "column": 6 }, "end": { - "line": 133, + "line": 132, "column": 12 }, "identifierName": "window" @@ -6879,15 +7513,15 @@ }, "property": { "type": "StringLiteral", - "start": 6659, - "end": 6684, + "start": 6848, + "end": 6873, "loc": { "start": { - "line": 133, + "line": 132, "column": 13 }, "end": { - "line": 133, + "line": 132, "column": 38 } }, @@ -6901,15 +7535,15 @@ }, "right": { "type": "ObjectExpression", - "start": 6688, - "end": 6690, + "start": 6877, + "end": 6879, "loc": { "start": { - "line": 133, + "line": 132, "column": 42 }, "end": { - "line": 133, + "line": 132, "column": 44 } }, @@ -6922,15 +7556,15 @@ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", - "start": 6487, - "end": 6600, + "start": 6676, + "end": 6789, "loc": { "start": { - "line": 128, + "line": 127, "column": 4 }, "end": { - "line": 131, + "line": 130, "column": 7 } } @@ -6939,72 +7573,72 @@ }, { "type": "ExpressionStatement", - "start": 6705, - "end": 6795, + "start": 6894, + "end": 6984, "loc": { "start": { - "line": 135, + "line": 134, "column": 4 }, "end": { - "line": 135, + "line": 134, "column": 94 } }, "expression": { "type": "AssignmentExpression", - "start": 6705, - "end": 6794, + "start": 6894, + "end": 6983, "loc": { "start": { - "line": 135, + "line": 134, "column": 4 }, "end": { - "line": 135, + "line": 134, "column": 93 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6705, - "end": 6787, + "start": 6894, + "end": 6976, "loc": { "start": { - "line": 135, + "line": 134, "column": 4 }, "end": { - "line": 135, + "line": 134, "column": 86 } }, "object": { "type": "MemberExpression", - "start": 6705, - "end": 6738, + "start": 6894, + "end": 6927, "loc": { "start": { - "line": 135, + "line": 134, "column": 4 }, "end": { - "line": 135, + "line": 134, "column": 37 } }, "object": { "type": "Identifier", - "start": 6705, - "end": 6711, + "start": 6894, + "end": 6900, "loc": { "start": { - "line": 135, + "line": 134, "column": 4 }, "end": { - "line": 135, + "line": 134, "column": 10 }, "identifierName": "window" @@ -7013,15 +7647,15 @@ }, "property": { "type": "StringLiteral", - "start": 6712, - "end": 6737, + "start": 6901, + "end": 6926, "loc": { "start": { - "line": 135, + "line": 134, "column": 11 }, "end": { - "line": 135, + "line": 134, "column": 36 } }, @@ -7035,72 +7669,72 @@ }, "property": { "type": "CallExpression", - "start": 6739, - "end": 6786, + "start": 6928, + "end": 6975, "loc": { "start": { - "line": 135, + "line": 134, "column": 38 }, "end": { - "line": 135, + "line": 134, "column": 85 } }, "callee": { "type": "MemberExpression", - "start": 6739, - "end": 6763, + "start": 6928, + "end": 6952, "loc": { "start": { - "line": 135, + "line": 134, "column": 38 }, "end": { - "line": 135, + "line": 134, "column": 62 } }, "object": { "type": "MemberExpression", - "start": 6739, - "end": 6753, + "start": 6928, + "end": 6942, "loc": { "start": { - "line": 135, + "line": 134, "column": 38 }, "end": { - "line": 135, + "line": 134, "column": 52 } }, "object": { "type": "ThisExpression", - "start": 6739, - "end": 6743, + "start": 6928, + "end": 6932, "loc": { "start": { - "line": 135, + "line": 134, "column": 38 }, "end": { - "line": 135, + "line": 134, "column": 42 } } }, "property": { "type": "Identifier", - "start": 6744, - "end": 6753, + "start": 6933, + "end": 6942, "loc": { "start": { - "line": 135, + "line": 134, "column": 43 }, "end": { - "line": 135, + "line": 134, "column": 52 }, "identifierName": "utilities" @@ -7111,15 +7745,15 @@ }, "property": { "type": "Identifier", - "start": 6754, - "end": 6763, + "start": 6943, + "end": 6952, "loc": { "start": { - "line": 135, + "line": 134, "column": 53 }, "end": { - "line": 135, + "line": 134, "column": 62 }, "identifierName": "camelCase" @@ -7131,44 +7765,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 6764, - "end": 6785, + "start": 6953, + "end": 6974, "loc": { "start": { - "line": 135, + "line": 134, "column": 63 }, "end": { - "line": 135, + "line": 134, "column": 84 } }, "object": { "type": "ThisExpression", - "start": 6764, - "end": 6768, + "start": 6953, + "end": 6957, "loc": { "start": { - "line": 135, + "line": 134, "column": 63 }, "end": { - "line": 135, + "line": 134, "column": 67 } } }, "property": { "type": "Identifier", - "start": 6769, - "end": 6785, + "start": 6958, + "end": 6974, "loc": { "start": { - "line": 135, + "line": 134, "column": 68 }, "end": { - "line": 135, + "line": 134, "column": 84 }, "identifierName": "keyboardDOMClass" @@ -7183,15 +7817,15 @@ }, "right": { "type": "ThisExpression", - "start": 6790, - "end": 6794, + "start": 6979, + "end": 6983, "loc": { "start": { - "line": 135, + "line": 134, "column": 89 }, "end": { - "line": 135, + "line": 134, "column": 93 } } @@ -7201,15 +7835,15 @@ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", - "start": 6803, - "end": 6849, + "start": 6992, + "end": 7038, "loc": { "start": { - "line": 137, + "line": 136, "column": 4 }, "end": { - "line": 139, + "line": 138, "column": 7 } } @@ -7218,58 +7852,58 @@ }, { "type": "ExpressionStatement", - "start": 6855, - "end": 6915, + "start": 7044, + "end": 7104, "loc": { "start": { - "line": 140, + "line": 139, "column": 4 }, "end": { - "line": 140, + "line": 139, "column": 64 } }, "expression": { "type": "AssignmentExpression", - "start": 6855, - "end": 6914, + "start": 7044, + "end": 7103, "loc": { "start": { - "line": 140, + "line": 139, "column": 4 }, "end": { - "line": 140, + "line": 139, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6855, - "end": 6885, + "start": 7044, + "end": 7074, "loc": { "start": { - "line": 140, + "line": 139, "column": 4 }, "end": { - "line": 140, + "line": 139, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 6855, - "end": 6859, + "start": 7044, + "end": 7048, "loc": { "start": { - "line": 140, + "line": 139, "column": 4 }, "end": { - "line": 140, + "line": 139, "column": 8 } }, @@ -7277,15 +7911,15 @@ }, "property": { "type": "Identifier", - "start": 6860, - "end": 6885, + "start": 7049, + "end": 7074, "loc": { "start": { - "line": 140, + "line": 139, "column": 9 }, "end": { - "line": 140, + "line": 139, "column": 34 }, "identifierName": "physicalKeyboardInterface" @@ -7297,29 +7931,29 @@ }, "right": { "type": "NewExpression", - "start": 6888, - "end": 6914, + "start": 7077, + "end": 7103, "loc": { "start": { - "line": 140, + "line": 139, "column": 37 }, "end": { - "line": 140, + "line": 139, "column": 63 } }, "callee": { "type": "Identifier", - "start": 6892, - "end": 6908, + "start": 7081, + "end": 7097, "loc": { "start": { - "line": 140, + "line": 139, "column": 41 }, "end": { - "line": 140, + "line": 139, "column": 57 }, "identifierName": "PhysicalKeyboard" @@ -7329,15 +7963,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 6909, - "end": 6913, + "start": 7098, + "end": 7102, "loc": { "start": { - "line": 140, + "line": 139, "column": 58 }, "end": { - "line": 140, + "line": 139, "column": 62 } } @@ -7350,20 +7984,233 @@ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", - "start": 6803, - "end": 6849, + "start": 6992, + "end": 7038, "loc": { "start": { - "line": 137, + "line": 136, "column": 4 }, "end": { - "line": 139, + "line": 138, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Modules\r\n ", + "start": 7112, + "end": 7140, + "loc": { + "start": { + "line": 141, + "column": 4 + }, + "end": { + "line": 143, "column": 7 } } } ] + }, + { + "type": "ExpressionStatement", + "start": 7146, + "end": 7164, + "loc": { + "start": { + "line": 144, + "column": 4 + }, + "end": { + "line": 144, + "column": 22 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 7146, + "end": 7163, + "loc": { + "start": { + "line": 144, + "column": 4 + }, + "end": { + "line": 144, + "column": 21 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7146, + "end": 7158, + "loc": { + "start": { + "line": 144, + "column": 4 + }, + "end": { + "line": 144, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 7146, + "end": 7150, + "loc": { + "start": { + "line": 144, + "column": 4 + }, + "end": { + "line": 144, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 7151, + "end": 7158, + "loc": { + "start": { + "line": 144, + "column": 9 + }, + "end": { + "line": 144, + "column": 16 + }, + "identifierName": "modules" + }, + "name": "modules" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ObjectExpression", + "start": 7161, + "end": 7163, + "loc": { + "start": { + "line": 144, + "column": 19 + }, + "end": { + "line": 144, + "column": 21 + } + }, + "properties": [] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Modules\r\n ", + "start": 7112, + "end": 7140, + "loc": { + "start": { + "line": 141, + "column": 4 + }, + "end": { + "line": 143, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 7170, + "end": 7189, + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 23 + } + }, + "expression": { + "type": "CallExpression", + "start": 7170, + "end": 7188, + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 22 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7170, + "end": 7186, + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 7170, + "end": 7174, + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 7175, + "end": 7186, + "loc": { + "start": { + "line": 145, + "column": 9 + }, + "end": { + "line": 145, + "column": 20 + }, + "identifierName": "loadModules" + }, + "name": "loadModules" + }, + "computed": false + }, + "arguments": [] + } } ], "directives": [], @@ -7391,15 +8238,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": 6924, - "end": 7036, + "start": 7200, + "end": 7312, "loc": { "start": { - "line": 142, + "line": 148, "column": 2 }, "end": { - "line": 145, + "line": 151, "column": 5 } } @@ -7408,15 +8255,15 @@ }, { "type": "ClassMethod", - "start": 7040, - "end": 8427, + "start": 7316, + "end": 8703, "loc": { "start": { - "line": 146, + "line": 152, "column": 2 }, "end": { - "line": 196, + "line": 202, "column": 3 } }, @@ -7424,15 +8271,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7040, - "end": 7059, + "start": 7316, + "end": 7335, "loc": { "start": { - "line": 146, + "line": 152, "column": 2 }, "end": { - "line": 146, + "line": 152, "column": 21 }, "identifierName": "handleButtonClicked" @@ -7448,15 +8295,15 @@ "params": [ { "type": "Identifier", - "start": 7060, - "end": 7066, + "start": 7336, + "end": 7342, "loc": { "start": { - "line": 146, + "line": 152, "column": 22 }, "end": { - "line": 146, + "line": 152, "column": 28 }, "identifierName": "button" @@ -7466,59 +8313,59 @@ ], "body": { "type": "BlockStatement", - "start": 7067, - "end": 8427, + "start": 7343, + "end": 8703, "loc": { "start": { - "line": 146, + "line": 152, "column": 29 }, "end": { - "line": 196, + "line": 202, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 7074, - "end": 7105, + "start": 7350, + "end": 7381, "loc": { "start": { - "line": 147, + "line": 153, "column": 4 }, "end": { - "line": 147, + "line": 153, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7078, - "end": 7104, + "start": 7354, + "end": 7380, "loc": { "start": { - "line": 147, + "line": 153, "column": 8 }, "end": { - "line": 147, + "line": 153, "column": 34 } }, "id": { "type": "Identifier", - "start": 7078, - "end": 7083, + "start": 7354, + "end": 7359, "loc": { "start": { - "line": 147, + "line": 153, "column": 8 }, "end": { - "line": 147, + "line": 153, "column": 13 }, "identifierName": "debug" @@ -7527,58 +8374,58 @@ }, "init": { "type": "MemberExpression", - "start": 7086, - "end": 7104, + "start": 7362, + "end": 7380, "loc": { "start": { - "line": 147, + "line": 153, "column": 16 }, "end": { - "line": 147, + "line": 153, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 7086, - "end": 7098, + "start": 7362, + "end": 7374, "loc": { "start": { - "line": 147, + "line": 153, "column": 16 }, "end": { - "line": 147, + "line": 153, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 7086, - "end": 7090, + "start": 7362, + "end": 7366, "loc": { "start": { - "line": 147, + "line": 153, "column": 16 }, "end": { - "line": 147, + "line": 153, "column": 20 } } }, "property": { "type": "Identifier", - "start": 7091, - "end": 7098, + "start": 7367, + "end": 7374, "loc": { "start": { - "line": 147, + "line": 153, "column": 21 }, "end": { - "line": 147, + "line": 153, "column": 28 }, "identifierName": "options" @@ -7589,15 +8436,15 @@ }, "property": { "type": "Identifier", - "start": 7099, - "end": 7104, + "start": 7375, + "end": 7380, "loc": { "start": { - "line": 147, + "line": 153, "column": 29 }, "end": { - "line": 147, + "line": 153, "column": 34 }, "identifierName": "debug" @@ -7613,147 +8460,8 @@ { "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 - } - } - } - ] - }, - { - "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": 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 - } - }, - "extra": { - "rawValue": "{//}", - "raw": "'{//}'" - }, - "value": "{//}" - }, - "leadingComments": null - }, - "consequent": { - "type": "ReturnStatement", - "start": 7197, - "end": 7210, - "loc": { - "start": { - "line": 153, - "column": 6 - }, - "end": { - "line": 153, - "column": 19 - } - }, - "argument": { - "type": "BooleanLiteral", - "start": 7204, - "end": 7209, - "loc": { - "start": { - "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, + "start": 7389, + "end": 7438, "loc": { "start": { "line": 155, @@ -7769,8 +8477,8 @@ }, { "type": "IfStatement", - "start": 7263, - "end": 7352, + "start": 7444, + "end": 7486, "loc": { "start": { "line": 158, @@ -7778,13 +8486,13 @@ }, "end": { "line": 159, - "column": 38 + "column": 19 } }, "test": { "type": "BinaryExpression", - "start": 7266, - "end": 7311, + "start": 7447, + "end": 7464, "loc": { "start": { "line": 158, @@ -7792,13 +8500,13 @@ }, "end": { "line": 158, - "column": 52 + "column": 24 } }, "left": { - "type": "UnaryExpression", - "start": 7266, - "end": 7296, + "type": "Identifier", + "start": 7447, + "end": 7453, "loc": { "start": { "line": 158, @@ -7806,6 +8514,145 @@ }, "end": { "line": 158, + "column": 13 + }, + "identifierName": "button" + }, + "name": "button", + "leadingComments": null + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 7458, + "end": 7464, + "loc": { + "start": { + "line": 158, + "column": 18 + }, + "end": { + "line": 158, + "column": 24 + } + }, + "extra": { + "rawValue": "{//}", + "raw": "'{//}'" + }, + "value": "{//}" + }, + "leadingComments": null + }, + "consequent": { + "type": "ReturnStatement", + "start": 7473, + "end": 7486, + "loc": { + "start": { + "line": 159, + "column": 6 + }, + "end": { + "line": 159, + "column": 19 + } + }, + "argument": { + "type": "BooleanLiteral", + "start": 7480, + "end": 7485, + "loc": { + "start": { + "line": 159, + "column": 13 + }, + "end": { + "line": 159, + "column": 18 + } + }, + "value": false + }, + "trailingComments": null + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Ignoring placeholder buttons\r\n ", + "start": 7389, + "end": 7438, + "loc": { + "start": { + "line": 155, + "column": 4 + }, + "end": { + "line": 157, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Calling onKeyPress\r\n ", + "start": 7494, + "end": 7533, + "loc": { + "start": { + "line": 161, + "column": 4 + }, + "end": { + "line": 163, + "column": 7 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 7539, + "end": 7628, + "loc": { + "start": { + "line": 164, + "column": 4 + }, + "end": { + "line": 165, + "column": 38 + } + }, + "test": { + "type": "BinaryExpression", + "start": 7542, + "end": 7587, + "loc": { + "start": { + "line": 164, + "column": 7 + }, + "end": { + "line": 164, + "column": 52 + } + }, + "left": { + "type": "UnaryExpression", + "start": 7542, + "end": 7572, + "loc": { + "start": { + "line": 164, + "column": 7 + }, + "end": { + "line": 164, "column": 37 } }, @@ -7813,43 +8660,43 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 7273, - "end": 7296, + "start": 7549, + "end": 7572, "loc": { "start": { - "line": 158, + "line": 164, "column": 14 }, "end": { - "line": 158, + "line": 164, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 7273, - "end": 7285, + "start": 7549, + "end": 7561, "loc": { "start": { - "line": 158, + "line": 164, "column": 14 }, "end": { - "line": 158, + "line": 164, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 7273, - "end": 7277, + "start": 7549, + "end": 7553, "loc": { "start": { - "line": 158, + "line": 164, "column": 14 }, "end": { - "line": 158, + "line": 164, "column": 18 } }, @@ -7857,15 +8704,15 @@ }, "property": { "type": "Identifier", - "start": 7278, - "end": 7285, + "start": 7554, + "end": 7561, "loc": { "start": { - "line": 158, + "line": 164, "column": 19 }, "end": { - "line": 158, + "line": 164, "column": 26 }, "identifierName": "options" @@ -7877,15 +8724,15 @@ }, "property": { "type": "Identifier", - "start": 7286, - "end": 7296, + "start": 7562, + "end": 7572, "loc": { "start": { - "line": 158, + "line": 164, "column": 27 }, "end": { - "line": 158, + "line": 164, "column": 37 }, "identifierName": "onKeyPress" @@ -7903,15 +8750,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 7301, - "end": 7311, + "start": 7577, + "end": 7587, "loc": { "start": { - "line": 158, + "line": 164, "column": 42 }, "end": { - "line": 158, + "line": 164, "column": 52 } }, @@ -7925,86 +8772,86 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 7320, - "end": 7352, + "start": 7596, + "end": 7628, "loc": { "start": { - "line": 159, + "line": 165, "column": 6 }, "end": { - "line": 159, + "line": 165, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 7320, - "end": 7351, + "start": 7596, + "end": 7627, "loc": { "start": { - "line": 159, + "line": 165, "column": 6 }, "end": { - "line": 159, + "line": 165, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 7320, - "end": 7343, + "start": 7596, + "end": 7619, "loc": { "start": { - "line": 159, + "line": 165, "column": 6 }, "end": { - "line": 159, + "line": 165, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 7320, - "end": 7332, + "start": 7596, + "end": 7608, "loc": { "start": { - "line": 159, + "line": 165, "column": 6 }, "end": { - "line": 159, + "line": 165, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 7320, - "end": 7324, + "start": 7596, + "end": 7600, "loc": { "start": { - "line": 159, + "line": 165, "column": 6 }, "end": { - "line": 159, + "line": 165, "column": 10 } } }, "property": { "type": "Identifier", - "start": 7325, - "end": 7332, + "start": 7601, + "end": 7608, "loc": { "start": { - "line": 159, + "line": 165, "column": 11 }, "end": { - "line": 159, + "line": 165, "column": 18 }, "identifierName": "options" @@ -8015,15 +8862,15 @@ }, "property": { "type": "Identifier", - "start": 7333, - "end": 7343, + "start": 7609, + "end": 7619, "loc": { "start": { - "line": 159, + "line": 165, "column": 19 }, "end": { - "line": 159, + "line": 165, "column": 29 }, "identifierName": "onKeyPress" @@ -8035,15 +8882,15 @@ "arguments": [ { "type": "Identifier", - "start": 7344, - "end": 7350, + "start": 7620, + "end": 7626, "loc": { "start": { - "line": 159, + "line": 165, "column": 30 }, "end": { - "line": 159, + "line": 165, "column": 36 }, "identifierName": "button" @@ -8058,15 +8905,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", - "start": 7218, - "end": 7257, + "start": 7494, + "end": 7533, "loc": { "start": { - "line": 155, + "line": 161, "column": 4 }, "end": { - "line": 157, + "line": 163, "column": 7 } } @@ -8075,29 +8922,29 @@ }, { "type": "IfStatement", - "start": 7364, - "end": 7451, + "start": 7640, + "end": 7727, "loc": { "start": { - "line": 161, + "line": 167, "column": 4 }, "end": { - "line": 162, + "line": 168, "column": 46 } }, "test": { "type": "UnaryExpression", - "start": 7367, - "end": 7402, + "start": 7643, + "end": 7678, "loc": { "start": { - "line": 161, + "line": 167, "column": 7 }, "end": { - "line": 161, + "line": 167, "column": 42 } }, @@ -8105,58 +8952,58 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 7368, - "end": 7402, + "start": 7644, + "end": 7678, "loc": { "start": { - "line": 161, + "line": 167, "column": 8 }, "end": { - "line": 161, + "line": 167, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 7368, - "end": 7378, + "start": 7644, + "end": 7654, "loc": { "start": { - "line": 161, + "line": 167, "column": 8 }, "end": { - "line": 161, + "line": 167, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 7368, - "end": 7372, + "start": 7644, + "end": 7648, "loc": { "start": { - "line": 161, + "line": 167, "column": 8 }, "end": { - "line": 161, + "line": 167, "column": 12 } } }, "property": { "type": "Identifier", - "start": 7373, - "end": 7378, + "start": 7649, + "end": 7654, "loc": { "start": { - "line": 161, + "line": 167, "column": 13 }, "end": { - "line": 161, + "line": 167, "column": 18 }, "identifierName": "input" @@ -8167,58 +9014,58 @@ }, "property": { "type": "MemberExpression", - "start": 7379, - "end": 7401, + "start": 7655, + "end": 7677, "loc": { "start": { - "line": 161, + "line": 167, "column": 19 }, "end": { - "line": 161, + "line": 167, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 7379, - "end": 7391, + "start": 7655, + "end": 7667, "loc": { "start": { - "line": 161, + "line": 167, "column": 19 }, "end": { - "line": 161, + "line": 167, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 7379, - "end": 7383, + "start": 7655, + "end": 7659, "loc": { "start": { - "line": 161, + "line": 167, "column": 19 }, "end": { - "line": 161, + "line": 167, "column": 23 } } }, "property": { "type": "Identifier", - "start": 7384, - "end": 7391, + "start": 7660, + "end": 7667, "loc": { "start": { - "line": 161, + "line": 167, "column": 24 }, "end": { - "line": 161, + "line": 167, "column": 31 }, "identifierName": "options" @@ -8229,15 +9076,15 @@ }, "property": { "type": "Identifier", - "start": 7392, - "end": 7401, + "start": 7668, + "end": 7677, "loc": { "start": { - "line": 161, + "line": 167, "column": 32 }, "end": { - "line": 161, + "line": 167, "column": 41 }, "identifierName": "inputName" @@ -8254,87 +9101,87 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 7411, - "end": 7451, + "start": 7687, + "end": 7727, "loc": { "start": { - "line": 162, + "line": 168, "column": 6 }, "end": { - "line": 162, + "line": 168, "column": 46 } }, "expression": { "type": "AssignmentExpression", - "start": 7411, - "end": 7450, + "start": 7687, + "end": 7726, "loc": { "start": { - "line": 162, + "line": 168, "column": 6 }, "end": { - "line": 162, + "line": 168, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 7411, - "end": 7445, + "start": 7687, + "end": 7721, "loc": { "start": { - "line": 162, + "line": 168, "column": 6 }, "end": { - "line": 162, + "line": 168, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 7411, - "end": 7421, + "start": 7687, + "end": 7697, "loc": { "start": { - "line": 162, + "line": 168, "column": 6 }, "end": { - "line": 162, + "line": 168, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 7411, - "end": 7415, + "start": 7687, + "end": 7691, "loc": { "start": { - "line": 162, + "line": 168, "column": 6 }, "end": { - "line": 162, + "line": 168, "column": 10 } } }, "property": { "type": "Identifier", - "start": 7416, - "end": 7421, + "start": 7692, + "end": 7697, "loc": { "start": { - "line": 162, + "line": 168, "column": 11 }, "end": { - "line": 162, + "line": 168, "column": 16 }, "identifierName": "input" @@ -8345,58 +9192,58 @@ }, "property": { "type": "MemberExpression", - "start": 7422, - "end": 7444, + "start": 7698, + "end": 7720, "loc": { "start": { - "line": 162, + "line": 168, "column": 17 }, "end": { - "line": 162, + "line": 168, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 7422, - "end": 7434, + "start": 7698, + "end": 7710, "loc": { "start": { - "line": 162, + "line": 168, "column": 17 }, "end": { - "line": 162, + "line": 168, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 7422, - "end": 7426, + "start": 7698, + "end": 7702, "loc": { "start": { - "line": 162, + "line": 168, "column": 17 }, "end": { - "line": 162, + "line": 168, "column": 21 } } }, "property": { "type": "Identifier", - "start": 7427, - "end": 7434, + "start": 7703, + "end": 7710, "loc": { "start": { - "line": 162, + "line": 168, "column": 22 }, "end": { - "line": 162, + "line": 168, "column": 29 }, "identifierName": "options" @@ -8407,15 +9254,15 @@ }, "property": { "type": "Identifier", - "start": 7435, - "end": 7444, + "start": 7711, + "end": 7720, "loc": { "start": { - "line": 162, + "line": 168, "column": 30 }, "end": { - "line": 162, + "line": 168, "column": 39 }, "identifierName": "inputName" @@ -8428,15 +9275,15 @@ }, "right": { "type": "StringLiteral", - "start": 7448, - "end": 7450, + "start": 7724, + "end": 7726, "loc": { "start": { - "line": 162, + "line": 168, "column": 43 }, "end": { - "line": 162, + "line": 168, "column": 45 } }, @@ -8452,44 +9299,44 @@ }, { "type": "VariableDeclaration", - "start": 7459, - "end": 7587, + "start": 7735, + "end": 7863, "loc": { "start": { - "line": 164, + "line": 170, "column": 4 }, "end": { - "line": 164, + "line": 170, "column": 132 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7463, - "end": 7586, + "start": 7739, + "end": 7862, "loc": { "start": { - "line": 164, + "line": 170, "column": 8 }, "end": { - "line": 164, + "line": 170, "column": 131 } }, "id": { "type": "Identifier", - "start": 7463, - "end": 7475, + "start": 7739, + "end": 7751, "loc": { "start": { - "line": 164, + "line": 170, "column": 8 }, "end": { - "line": 164, + "line": 170, "column": 20 }, "identifierName": "updatedInput" @@ -8498,72 +9345,72 @@ }, "init": { "type": "CallExpression", - "start": 7478, - "end": 7586, + "start": 7754, + "end": 7862, "loc": { "start": { - "line": 164, + "line": 170, "column": 23 }, "end": { - "line": 164, + "line": 170, "column": 131 } }, "callee": { "type": "MemberExpression", - "start": 7478, - "end": 7508, + "start": 7754, + "end": 7784, "loc": { "start": { - "line": 164, + "line": 170, "column": 23 }, "end": { - "line": 164, + "line": 170, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 7478, - "end": 7492, + "start": 7754, + "end": 7768, "loc": { "start": { - "line": 164, + "line": 170, "column": 23 }, "end": { - "line": 164, + "line": 170, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 7478, - "end": 7482, + "start": 7754, + "end": 7758, "loc": { "start": { - "line": 164, + "line": 170, "column": 23 }, "end": { - "line": 164, + "line": 170, "column": 27 } } }, "property": { "type": "Identifier", - "start": 7483, - "end": 7492, + "start": 7759, + "end": 7768, "loc": { "start": { - "line": 164, + "line": 170, "column": 28 }, "end": { - "line": 164, + "line": 170, "column": 37 }, "identifierName": "utilities" @@ -8574,15 +9421,15 @@ }, "property": { "type": "Identifier", - "start": 7493, - "end": 7508, + "start": 7769, + "end": 7784, "loc": { "start": { - "line": 164, + "line": 170, "column": 38 }, "end": { - "line": 164, + "line": 170, "column": 53 }, "identifierName": "getUpdatedInput" @@ -8594,15 +9441,15 @@ "arguments": [ { "type": "Identifier", - "start": 7509, - "end": 7515, + "start": 7785, + "end": 7791, "loc": { "start": { - "line": 164, + "line": 170, "column": 54 }, "end": { - "line": 164, + "line": 170, "column": 60 }, "identifierName": "button" @@ -8611,58 +9458,58 @@ }, { "type": "MemberExpression", - "start": 7517, - "end": 7551, + "start": 7793, + "end": 7827, "loc": { "start": { - "line": 164, + "line": 170, "column": 62 }, "end": { - "line": 164, + "line": 170, "column": 96 } }, "object": { "type": "MemberExpression", - "start": 7517, - "end": 7527, + "start": 7793, + "end": 7803, "loc": { "start": { - "line": 164, + "line": 170, "column": 62 }, "end": { - "line": 164, + "line": 170, "column": 72 } }, "object": { "type": "ThisExpression", - "start": 7517, - "end": 7521, + "start": 7793, + "end": 7797, "loc": { "start": { - "line": 164, + "line": 170, "column": 62 }, "end": { - "line": 164, + "line": 170, "column": 66 } } }, "property": { "type": "Identifier", - "start": 7522, - "end": 7527, + "start": 7798, + "end": 7803, "loc": { "start": { - "line": 164, + "line": 170, "column": 67 }, "end": { - "line": 164, + "line": 170, "column": 72 }, "identifierName": "input" @@ -8673,58 +9520,58 @@ }, "property": { "type": "MemberExpression", - "start": 7528, - "end": 7550, + "start": 7804, + "end": 7826, "loc": { "start": { - "line": 164, + "line": 170, "column": 73 }, "end": { - "line": 164, + "line": 170, "column": 95 } }, "object": { "type": "MemberExpression", - "start": 7528, - "end": 7540, + "start": 7804, + "end": 7816, "loc": { "start": { - "line": 164, + "line": 170, "column": 73 }, "end": { - "line": 164, + "line": 170, "column": 85 } }, "object": { "type": "ThisExpression", - "start": 7528, - "end": 7532, + "start": 7804, + "end": 7808, "loc": { "start": { - "line": 164, + "line": 170, "column": 73 }, "end": { - "line": 164, + "line": 170, "column": 77 } } }, "property": { "type": "Identifier", - "start": 7533, - "end": 7540, + "start": 7809, + "end": 7816, "loc": { "start": { - "line": 164, + "line": 170, "column": 78 }, "end": { - "line": 164, + "line": 170, "column": 85 }, "identifierName": "options" @@ -8735,15 +9582,15 @@ }, "property": { "type": "Identifier", - "start": 7541, - "end": 7550, + "start": 7817, + "end": 7826, "loc": { "start": { - "line": 164, + "line": 170, "column": 86 }, "end": { - "line": 164, + "line": 170, "column": 95 }, "identifierName": "inputName" @@ -8756,44 +9603,44 @@ }, { "type": "MemberExpression", - "start": 7553, - "end": 7565, + "start": 7829, + "end": 7841, "loc": { "start": { - "line": 164, + "line": 170, "column": 98 }, "end": { - "line": 164, + "line": 170, "column": 110 } }, "object": { "type": "ThisExpression", - "start": 7553, - "end": 7557, + "start": 7829, + "end": 7833, "loc": { "start": { - "line": 164, + "line": 170, "column": 98 }, "end": { - "line": 164, + "line": 170, "column": 102 } } }, "property": { "type": "Identifier", - "start": 7558, - "end": 7565, + "start": 7834, + "end": 7841, "loc": { "start": { - "line": 164, + "line": 170, "column": 103 }, "end": { - "line": 164, + "line": 170, "column": 110 }, "identifierName": "options" @@ -8804,44 +9651,44 @@ }, { "type": "MemberExpression", - "start": 7567, - "end": 7585, + "start": 7843, + "end": 7861, "loc": { "start": { - "line": 164, + "line": 170, "column": 112 }, "end": { - "line": 164, + "line": 170, "column": 130 } }, "object": { "type": "ThisExpression", - "start": 7567, - "end": 7571, + "start": 7843, + "end": 7847, "loc": { "start": { - "line": 164, + "line": 170, "column": 112 }, "end": { - "line": 164, + "line": 170, "column": 116 } } }, "property": { "type": "Identifier", - "start": 7572, - "end": 7585, + "start": 7848, + "end": 7861, "loc": { "start": { - "line": 164, + "line": 170, "column": 117 }, "end": { - "line": 164, + "line": 170, "column": 130 }, "identifierName": "caretPosition" @@ -8858,86 +9705,86 @@ }, { "type": "IfStatement", - "start": 7595, - "end": 8349, + "start": 7871, + "end": 8625, "loc": { "start": { - "line": 166, + "line": 172, "column": 4 }, "end": { - "line": 191, + "line": 197, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 7598, - "end": 7649, + "start": 7874, + "end": 7925, "loc": { "start": { - "line": 166, + "line": 172, "column": 7 }, "end": { - "line": 166, + "line": 172, "column": 58 } }, "left": { "type": "MemberExpression", - "start": 7598, - "end": 7632, + "start": 7874, + "end": 7908, "loc": { "start": { - "line": 166, + "line": 172, "column": 7 }, "end": { - "line": 166, + "line": 172, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 7598, - "end": 7608, + "start": 7874, + "end": 7884, "loc": { "start": { - "line": 166, + "line": 172, "column": 7 }, "end": { - "line": 166, + "line": 172, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 7598, - "end": 7602, + "start": 7874, + "end": 7878, "loc": { "start": { - "line": 166, + "line": 172, "column": 7 }, "end": { - "line": 166, + "line": 172, "column": 11 } } }, "property": { "type": "Identifier", - "start": 7603, - "end": 7608, + "start": 7879, + "end": 7884, "loc": { "start": { - "line": 166, + "line": 172, "column": 12 }, "end": { - "line": 166, + "line": 172, "column": 17 }, "identifierName": "input" @@ -8948,58 +9795,58 @@ }, "property": { "type": "MemberExpression", - "start": 7609, - "end": 7631, + "start": 7885, + "end": 7907, "loc": { "start": { - "line": 166, + "line": 172, "column": 18 }, "end": { - "line": 166, + "line": 172, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 7609, - "end": 7621, + "start": 7885, + "end": 7897, "loc": { "start": { - "line": 166, + "line": 172, "column": 18 }, "end": { - "line": 166, + "line": 172, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 7609, - "end": 7613, + "start": 7885, + "end": 7889, "loc": { "start": { - "line": 166, + "line": 172, "column": 18 }, "end": { - "line": 166, + "line": 172, "column": 22 } } }, "property": { "type": "Identifier", - "start": 7614, - "end": 7621, + "start": 7890, + "end": 7897, "loc": { "start": { - "line": 166, + "line": 172, "column": 23 }, "end": { - "line": 166, + "line": 172, "column": 30 }, "identifierName": "options" @@ -9010,15 +9857,15 @@ }, "property": { "type": "Identifier", - "start": 7622, - "end": 7631, + "start": 7898, + "end": 7907, "loc": { "start": { - "line": 166, + "line": 172, "column": 31 }, "end": { - "line": 166, + "line": 172, "column": 40 }, "identifierName": "inputName" @@ -9032,15 +9879,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 7637, - "end": 7649, + "start": 7913, + "end": 7925, "loc": { "start": { - "line": 166, + "line": 172, "column": 46 }, "end": { - "line": 166, + "line": 172, "column": 58 }, "identifierName": "updatedInput" @@ -9050,86 +9897,86 @@ }, "consequent": { "type": "BlockStatement", - "start": 7650, - "end": 8349, + "start": 7926, + "end": 8625, "loc": { "start": { - "line": 166, + "line": 172, "column": 59 }, "end": { - "line": 191, + "line": 197, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 7746, - "end": 7879, + "start": 8022, + "end": 8155, "loc": { "start": { - "line": 171, + "line": 177, "column": 6 }, "end": { - "line": 173, + "line": 179, "column": 7 } }, "test": { "type": "LogicalExpression", - "start": 7749, - "end": 7845, + "start": 8025, + "end": 8121, "loc": { "start": { - "line": 171, + "line": 177, "column": 9 }, "end": { - "line": 171, + "line": 177, "column": 105 } }, "left": { "type": "MemberExpression", - "start": 7749, - "end": 7771, + "start": 8025, + "end": 8047, "loc": { "start": { - "line": 171, + "line": 177, "column": 9 }, "end": { - "line": 171, + "line": 177, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 7749, - "end": 7761, + "start": 8025, + "end": 8037, "loc": { "start": { - "line": 171, + "line": 177, "column": 9 }, "end": { - "line": 171, + "line": 177, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 7749, - "end": 7753, + "start": 8025, + "end": 8029, "loc": { "start": { - "line": 171, + "line": 177, "column": 9 }, "end": { - "line": 171, + "line": 177, "column": 13 } }, @@ -9137,15 +9984,15 @@ }, "property": { "type": "Identifier", - "start": 7754, - "end": 7761, + "start": 8030, + "end": 8037, "loc": { "start": { - "line": 171, + "line": 177, "column": 14 }, "end": { - "line": 171, + "line": 177, "column": 21 }, "identifierName": "options" @@ -9157,15 +10004,15 @@ }, "property": { "type": "Identifier", - "start": 7762, - "end": 7771, + "start": 8038, + "end": 8047, "loc": { "start": { - "line": 171, + "line": 177, "column": 22 }, "end": { - "line": 171, + "line": 177, "column": 31 }, "identifierName": "maxLength" @@ -9178,72 +10025,72 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 7775, - "end": 7845, + "start": 8051, + "end": 8121, "loc": { "start": { - "line": 171, + "line": 177, "column": 35 }, "end": { - "line": 171, + "line": 177, "column": 105 } }, "callee": { "type": "MemberExpression", - "start": 7775, - "end": 7805, + "start": 8051, + "end": 8081, "loc": { "start": { - "line": 171, + "line": 177, "column": 35 }, "end": { - "line": 171, + "line": 177, "column": 65 } }, "object": { "type": "MemberExpression", - "start": 7775, - "end": 7789, + "start": 8051, + "end": 8065, "loc": { "start": { - "line": 171, + "line": 177, "column": 35 }, "end": { - "line": 171, + "line": 177, "column": 49 } }, "object": { "type": "ThisExpression", - "start": 7775, - "end": 7779, + "start": 8051, + "end": 8055, "loc": { "start": { - "line": 171, + "line": 177, "column": 35 }, "end": { - "line": 171, + "line": 177, "column": 39 } } }, "property": { "type": "Identifier", - "start": 7780, - "end": 7789, + "start": 8056, + "end": 8065, "loc": { "start": { - "line": 171, + "line": 177, "column": 40 }, "end": { - "line": 171, + "line": 177, "column": 49 }, "identifierName": "utilities" @@ -9254,15 +10101,15 @@ }, "property": { "type": "Identifier", - "start": 7790, - "end": 7805, + "start": 8066, + "end": 8081, "loc": { "start": { - "line": 171, + "line": 177, "column": 50 }, "end": { - "line": 171, + "line": 177, "column": 65 }, "identifierName": "handleMaxLength" @@ -9274,44 +10121,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 7806, - "end": 7816, + "start": 8082, + "end": 8092, "loc": { "start": { - "line": 171, + "line": 177, "column": 66 }, "end": { - "line": 171, + "line": 177, "column": 76 } }, "object": { "type": "ThisExpression", - "start": 7806, - "end": 7810, + "start": 8082, + "end": 8086, "loc": { "start": { - "line": 171, + "line": 177, "column": 66 }, "end": { - "line": 171, + "line": 177, "column": 70 } } }, "property": { "type": "Identifier", - "start": 7811, - "end": 7816, + "start": 8087, + "end": 8092, "loc": { "start": { - "line": 171, + "line": 177, "column": 71 }, "end": { - "line": 171, + "line": 177, "column": 76 }, "identifierName": "input" @@ -9322,44 +10169,44 @@ }, { "type": "MemberExpression", - "start": 7818, - "end": 7830, + "start": 8094, + "end": 8106, "loc": { "start": { - "line": 171, + "line": 177, "column": 78 }, "end": { - "line": 171, + "line": 177, "column": 90 } }, "object": { "type": "ThisExpression", - "start": 7818, - "end": 7822, + "start": 8094, + "end": 8098, "loc": { "start": { - "line": 171, + "line": 177, "column": 78 }, "end": { - "line": 171, + "line": 177, "column": 82 } } }, "property": { "type": "Identifier", - "start": 7823, - "end": 7830, + "start": 8099, + "end": 8106, "loc": { "start": { - "line": 171, + "line": 177, "column": 83 }, "end": { - "line": 171, + "line": 177, "column": 90 }, "identifierName": "options" @@ -9370,15 +10217,15 @@ }, { "type": "Identifier", - "start": 7832, - "end": 7844, + "start": 8108, + "end": 8120, "loc": { "start": { - "line": 171, + "line": 177, "column": 92 }, "end": { - "line": 171, + "line": 177, "column": 104 }, "identifierName": "updatedInput" @@ -9391,44 +10238,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 7846, - "end": 7879, + "start": 8122, + "end": 8155, "loc": { "start": { - "line": 171, + "line": 177, "column": 106 }, "end": { - "line": 173, + "line": 179, "column": 7 } }, "body": [ { "type": "ReturnStatement", - "start": 7857, - "end": 7870, + "start": 8133, + "end": 8146, "loc": { "start": { - "line": 172, + "line": 178, "column": 8 }, "end": { - "line": 172, + "line": 178, "column": 21 } }, "argument": { "type": "BooleanLiteral", - "start": 7864, - "end": 7869, + "start": 8140, + "end": 8145, "loc": { "start": { - "line": 172, + "line": 178, "column": 15 }, "end": { - "line": 172, + "line": 178, "column": 20 } }, @@ -9443,15 +10290,15 @@ { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", - "start": 7661, - "end": 7738, + "start": 7937, + "end": 8014, "loc": { "start": { - "line": 168, + "line": 174, "column": 6 }, "end": { - "line": 170, + "line": 176, "column": 9 } } @@ -9460,87 +10307,87 @@ }, { "type": "ExpressionStatement", - "start": 7889, - "end": 7939, + "start": 8165, + "end": 8215, "loc": { "start": { - "line": 175, + "line": 181, "column": 6 }, "end": { - "line": 175, + "line": 181, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 7889, - "end": 7938, + "start": 8165, + "end": 8214, "loc": { "start": { - "line": 175, + "line": 181, "column": 6 }, "end": { - "line": 175, + "line": 181, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 7889, - "end": 7923, + "start": 8165, + "end": 8199, "loc": { "start": { - "line": 175, + "line": 181, "column": 6 }, "end": { - "line": 175, + "line": 181, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 7889, - "end": 7899, + "start": 8165, + "end": 8175, "loc": { "start": { - "line": 175, + "line": 181, "column": 6 }, "end": { - "line": 175, + "line": 181, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 7889, - "end": 7893, + "start": 8165, + "end": 8169, "loc": { "start": { - "line": 175, + "line": 181, "column": 6 }, "end": { - "line": 175, + "line": 181, "column": 10 } } }, "property": { "type": "Identifier", - "start": 7894, - "end": 7899, + "start": 8170, + "end": 8175, "loc": { "start": { - "line": 175, + "line": 181, "column": 11 }, "end": { - "line": 175, + "line": 181, "column": 16 }, "identifierName": "input" @@ -9551,58 +10398,58 @@ }, "property": { "type": "MemberExpression", - "start": 7900, - "end": 7922, + "start": 8176, + "end": 8198, "loc": { "start": { - "line": 175, + "line": 181, "column": 17 }, "end": { - "line": 175, + "line": 181, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 7900, - "end": 7912, + "start": 8176, + "end": 8188, "loc": { "start": { - "line": 175, + "line": 181, "column": 17 }, "end": { - "line": 175, + "line": 181, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 7900, - "end": 7904, + "start": 8176, + "end": 8180, "loc": { "start": { - "line": 175, + "line": 181, "column": 17 }, "end": { - "line": 175, + "line": 181, "column": 21 } } }, "property": { "type": "Identifier", - "start": 7905, - "end": 7912, + "start": 8181, + "end": 8188, "loc": { "start": { - "line": 175, + "line": 181, "column": 22 }, "end": { - "line": 175, + "line": 181, "column": 29 }, "identifierName": "options" @@ -9613,15 +10460,15 @@ }, "property": { "type": "Identifier", - "start": 7913, - "end": 7922, + "start": 8189, + "end": 8198, "loc": { "start": { - "line": 175, + "line": 181, "column": 30 }, "end": { - "line": 175, + "line": 181, "column": 39 }, "identifierName": "inputName" @@ -9634,15 +10481,15 @@ }, "right": { "type": "Identifier", - "start": 7926, - "end": 7938, + "start": 8202, + "end": 8214, "loc": { "start": { - "line": 175, + "line": 181, "column": 43 }, "end": { - "line": 175, + "line": 181, "column": 55 }, "identifierName": "updatedInput" @@ -9653,29 +10500,29 @@ }, { "type": "IfStatement", - "start": 7949, - "end": 8010, + "start": 8225, + "end": 8286, "loc": { "start": { - "line": 177, + "line": 183, "column": 6 }, "end": { - "line": 178, + "line": 184, "column": 50 } }, "test": { "type": "Identifier", - "start": 7952, - "end": 7957, + "start": 8228, + "end": 8233, "loc": { "start": { - "line": 177, + "line": 183, "column": 9 }, "end": { - "line": 177, + "line": 183, "column": 14 }, "identifierName": "debug" @@ -9684,57 +10531,57 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 7968, - "end": 8010, + "start": 8244, + "end": 8286, "loc": { "start": { - "line": 178, + "line": 184, "column": 8 }, "end": { - "line": 178, + "line": 184, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 7968, - "end": 8009, + "start": 8244, + "end": 8285, "loc": { "start": { - "line": 178, + "line": 184, "column": 8 }, "end": { - "line": 178, + "line": 184, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 7968, - "end": 7979, + "start": 8244, + "end": 8255, "loc": { "start": { - "line": 178, + "line": 184, "column": 8 }, "end": { - "line": 178, + "line": 184, "column": 19 } }, "object": { "type": "Identifier", - "start": 7968, - "end": 7975, + "start": 8244, + "end": 8251, "loc": { "start": { - "line": 178, + "line": 184, "column": 8 }, "end": { - "line": 178, + "line": 184, "column": 15 }, "identifierName": "console" @@ -9743,15 +10590,15 @@ }, "property": { "type": "Identifier", - "start": 7976, - "end": 7979, + "start": 8252, + "end": 8255, "loc": { "start": { - "line": 178, + "line": 184, "column": 16 }, "end": { - "line": 178, + "line": 184, "column": 19 }, "identifierName": "log" @@ -9763,15 +10610,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 7980, - "end": 7996, + "start": 8256, + "end": 8272, "loc": { "start": { - "line": 178, + "line": 184, "column": 20 }, "end": { - "line": 178, + "line": 184, "column": 36 } }, @@ -9783,44 +10630,44 @@ }, { "type": "MemberExpression", - "start": 7998, - "end": 8008, + "start": 8274, + "end": 8284, "loc": { "start": { - "line": 178, + "line": 184, "column": 38 }, "end": { - "line": 178, + "line": 184, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 7998, - "end": 8002, + "start": 8274, + "end": 8278, "loc": { "start": { - "line": 178, + "line": 184, "column": 38 }, "end": { - "line": 178, + "line": 184, "column": 42 } } }, "property": { "type": "Identifier", - "start": 8003, - "end": 8008, + "start": 8279, + "end": 8284, "loc": { "start": { - "line": 178, + "line": 184, "column": 43 }, "end": { - "line": 178, + "line": 184, "column": 48 }, "identifierName": "input" @@ -9838,15 +10685,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8020, - "end": 8079, + "start": 8296, + "end": 8355, "loc": { "start": { - "line": 180, + "line": 186, "column": 6 }, "end": { - "line": 182, + "line": 188, "column": 9 } } @@ -9855,57 +10702,57 @@ }, { "type": "IfStatement", - "start": 8087, - "end": 8168, + "start": 8363, + "end": 8444, "loc": { "start": { - "line": 183, + "line": 189, "column": 6 }, "end": { - "line": 184, + "line": 190, "column": 44 } }, "test": { "type": "MemberExpression", - "start": 8090, - "end": 8121, + "start": 8366, + "end": 8397, "loc": { "start": { - "line": 183, + "line": 189, "column": 9 }, "end": { - "line": 183, + "line": 189, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 8090, - "end": 8102, + "start": 8366, + "end": 8378, "loc": { "start": { - "line": 183, + "line": 189, "column": 9 }, "end": { - "line": 183, + "line": 189, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 8090, - "end": 8094, + "start": 8366, + "end": 8370, "loc": { "start": { - "line": 183, + "line": 189, "column": 9 }, "end": { - "line": 183, + "line": 189, "column": 13 } }, @@ -9913,15 +10760,15 @@ }, "property": { "type": "Identifier", - "start": 8095, - "end": 8102, + "start": 8371, + "end": 8378, "loc": { "start": { - "line": 183, + "line": 189, "column": 14 }, "end": { - "line": 183, + "line": 189, "column": 21 }, "identifierName": "options" @@ -9933,15 +10780,15 @@ }, "property": { "type": "Identifier", - "start": 8103, - "end": 8121, + "start": 8379, + "end": 8397, "loc": { "start": { - "line": 183, + "line": 189, "column": 22 }, "end": { - "line": 183, + "line": 189, "column": 40 }, "identifierName": "syncInstanceInputs" @@ -9953,72 +10800,72 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 8132, - "end": 8168, + "start": 8408, + "end": 8444, "loc": { "start": { - "line": 184, + "line": 190, "column": 8 }, "end": { - "line": 184, + "line": 190, "column": 44 } }, "expression": { "type": "CallExpression", - "start": 8132, - "end": 8167, + "start": 8408, + "end": 8443, "loc": { "start": { - "line": 184, + "line": 190, "column": 8 }, "end": { - "line": 184, + "line": 190, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 8132, - "end": 8155, + "start": 8408, + "end": 8431, "loc": { "start": { - "line": 184, + "line": 190, "column": 8 }, "end": { - "line": 184, + "line": 190, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 8132, - "end": 8136, + "start": 8408, + "end": 8412, "loc": { "start": { - "line": 184, + "line": 190, "column": 8 }, "end": { - "line": 184, + "line": 190, "column": 12 } } }, "property": { "type": "Identifier", - "start": 8137, - "end": 8155, + "start": 8413, + "end": 8431, "loc": { "start": { - "line": 184, + "line": 190, "column": 13 }, "end": { - "line": 184, + "line": 190, "column": 31 }, "identifierName": "syncInstanceInputs" @@ -10030,44 +10877,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 8156, - "end": 8166, + "start": 8432, + "end": 8442, "loc": { "start": { - "line": 184, + "line": 190, "column": 32 }, "end": { - "line": 184, + "line": 190, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 8156, - "end": 8160, + "start": 8432, + "end": 8436, "loc": { "start": { - "line": 184, + "line": 190, "column": 32 }, "end": { - "line": 184, + "line": 190, "column": 36 } } }, "property": { "type": "Identifier", - "start": 8161, - "end": 8166, + "start": 8437, + "end": 8442, "loc": { "start": { - "line": 184, + "line": 190, "column": 37 }, "end": { - "line": 184, + "line": 190, "column": 42 }, "identifierName": "input" @@ -10085,26 +10932,8 @@ { "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, + "start": 8296, + "end": 8355, "loc": { "start": { "line": 186, @@ -10116,47 +10945,65 @@ } } } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Calling onChange\r\n ", + "start": 8454, + "end": 8495, + "loc": { + "start": { + "line": 192, + "column": 6 + }, + "end": { + "line": 194, + "column": 9 + } + } + } ] }, { "type": "IfStatement", - "start": 8227, - "end": 8342, + "start": 8503, + "end": 8618, "loc": { "start": { - "line": 189, + "line": 195, "column": 6 }, "end": { - "line": 190, + "line": 196, "column": 66 } }, "test": { "type": "BinaryExpression", - "start": 8230, - "end": 8273, + "start": 8506, + "end": 8549, "loc": { "start": { - "line": 189, + "line": 195, "column": 9 }, "end": { - "line": 189, + "line": 195, "column": 52 } }, "left": { "type": "UnaryExpression", - "start": 8230, - "end": 8258, + "start": 8506, + "end": 8534, "loc": { "start": { - "line": 189, + "line": 195, "column": 9 }, "end": { - "line": 189, + "line": 195, "column": 37 } }, @@ -10164,43 +11011,43 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 8237, - "end": 8258, + "start": 8513, + "end": 8534, "loc": { "start": { - "line": 189, + "line": 195, "column": 16 }, "end": { - "line": 189, + "line": 195, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 8237, - "end": 8249, + "start": 8513, + "end": 8525, "loc": { "start": { - "line": 189, + "line": 195, "column": 16 }, "end": { - "line": 189, + "line": 195, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 8237, - "end": 8241, + "start": 8513, + "end": 8517, "loc": { "start": { - "line": 189, + "line": 195, "column": 16 }, "end": { - "line": 189, + "line": 195, "column": 20 } }, @@ -10208,15 +11055,15 @@ }, "property": { "type": "Identifier", - "start": 8242, - "end": 8249, + "start": 8518, + "end": 8525, "loc": { "start": { - "line": 189, + "line": 195, "column": 21 }, "end": { - "line": 189, + "line": 195, "column": 28 }, "identifierName": "options" @@ -10228,15 +11075,15 @@ }, "property": { "type": "Identifier", - "start": 8250, - "end": 8258, + "start": 8526, + "end": 8534, "loc": { "start": { - "line": 189, + "line": 195, "column": 29 }, "end": { - "line": 189, + "line": 195, "column": 37 }, "identifierName": "onChange" @@ -10254,15 +11101,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 8263, - "end": 8273, + "start": 8539, + "end": 8549, "loc": { "start": { - "line": 189, + "line": 195, "column": 42 }, "end": { - "line": 189, + "line": 195, "column": 52 } }, @@ -10276,86 +11123,86 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 8284, - "end": 8342, + "start": 8560, + "end": 8618, "loc": { "start": { - "line": 190, + "line": 196, "column": 8 }, "end": { - "line": 190, + "line": 196, "column": 66 } }, "expression": { "type": "CallExpression", - "start": 8284, - "end": 8341, + "start": 8560, + "end": 8617, "loc": { "start": { - "line": 190, + "line": 196, "column": 8 }, "end": { - "line": 190, + "line": 196, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 8284, - "end": 8305, + "start": 8560, + "end": 8581, "loc": { "start": { - "line": 190, + "line": 196, "column": 8 }, "end": { - "line": 190, + "line": 196, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 8284, - "end": 8296, + "start": 8560, + "end": 8572, "loc": { "start": { - "line": 190, + "line": 196, "column": 8 }, "end": { - "line": 190, + "line": 196, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 8284, - "end": 8288, + "start": 8560, + "end": 8564, "loc": { "start": { - "line": 190, + "line": 196, "column": 8 }, "end": { - "line": 190, + "line": 196, "column": 12 } } }, "property": { "type": "Identifier", - "start": 8289, - "end": 8296, + "start": 8565, + "end": 8572, "loc": { "start": { - "line": 190, + "line": 196, "column": 13 }, "end": { - "line": 190, + "line": 196, "column": 20 }, "identifierName": "options" @@ -10366,15 +11213,15 @@ }, "property": { "type": "Identifier", - "start": 8297, - "end": 8305, + "start": 8573, + "end": 8581, "loc": { "start": { - "line": 190, + "line": 196, "column": 21 }, "end": { - "line": 190, + "line": 196, "column": 29 }, "identifierName": "onChange" @@ -10386,58 +11233,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 8306, - "end": 8340, + "start": 8582, + "end": 8616, "loc": { "start": { - "line": 190, + "line": 196, "column": 30 }, "end": { - "line": 190, + "line": 196, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 8306, - "end": 8316, + "start": 8582, + "end": 8592, "loc": { "start": { - "line": 190, + "line": 196, "column": 30 }, "end": { - "line": 190, + "line": 196, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 8306, - "end": 8310, + "start": 8582, + "end": 8586, "loc": { "start": { - "line": 190, + "line": 196, "column": 30 }, "end": { - "line": 190, + "line": 196, "column": 34 } } }, "property": { "type": "Identifier", - "start": 8311, - "end": 8316, + "start": 8587, + "end": 8592, "loc": { "start": { - "line": 190, + "line": 196, "column": 35 }, "end": { - "line": 190, + "line": 196, "column": 40 }, "identifierName": "input" @@ -10448,58 +11295,58 @@ }, "property": { "type": "MemberExpression", - "start": 8317, - "end": 8339, + "start": 8593, + "end": 8615, "loc": { "start": { - "line": 190, + "line": 196, "column": 41 }, "end": { - "line": 190, + "line": 196, "column": 63 } }, "object": { "type": "MemberExpression", - "start": 8317, - "end": 8329, + "start": 8593, + "end": 8605, "loc": { "start": { - "line": 190, + "line": 196, "column": 41 }, "end": { - "line": 190, + "line": 196, "column": 53 } }, "object": { "type": "ThisExpression", - "start": 8317, - "end": 8321, + "start": 8593, + "end": 8597, "loc": { "start": { - "line": 190, + "line": 196, "column": 41 }, "end": { - "line": 190, + "line": 196, "column": 45 } } }, "property": { "type": "Identifier", - "start": 8322, - "end": 8329, + "start": 8598, + "end": 8605, "loc": { "start": { - "line": 190, + "line": 196, "column": 46 }, "end": { - "line": 190, + "line": 196, "column": 53 }, "identifierName": "options" @@ -10510,15 +11357,15 @@ }, "property": { "type": "Identifier", - "start": 8330, - "end": 8339, + "start": 8606, + "end": 8615, "loc": { "start": { - "line": 190, + "line": 196, "column": 54 }, "end": { - "line": 190, + "line": 196, "column": 63 }, "identifierName": "inputName" @@ -10537,15 +11384,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", - "start": 8178, - "end": 8219, + "start": 8454, + "end": 8495, "loc": { "start": { - "line": 186, + "line": 192, "column": 6 }, "end": { - "line": 188, + "line": 194, "column": 9 } } @@ -10559,29 +11406,29 @@ }, { "type": "IfStatement", - "start": 8361, - "end": 8422, + "start": 8637, + "end": 8698, "loc": { "start": { - "line": 193, + "line": 199, "column": 4 }, "end": { - "line": 195, + "line": 201, "column": 5 } }, "test": { "type": "Identifier", - "start": 8364, - "end": 8369, + "start": 8640, + "end": 8645, "loc": { "start": { - "line": 193, + "line": 199, "column": 7 }, "end": { - "line": 193, + "line": 199, "column": 12 }, "identifierName": "debug" @@ -10590,72 +11437,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 8370, - "end": 8422, + "start": 8646, + "end": 8698, "loc": { "start": { - "line": 193, + "line": 199, "column": 13 }, "end": { - "line": 195, + "line": 201, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 8379, - "end": 8415, + "start": 8655, + "end": 8691, "loc": { "start": { - "line": 194, + "line": 200, "column": 6 }, "end": { - "line": 194, + "line": 200, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 8379, - "end": 8414, + "start": 8655, + "end": 8690, "loc": { "start": { - "line": 194, + "line": 200, "column": 6 }, "end": { - "line": 194, + "line": 200, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 8379, - "end": 8390, + "start": 8655, + "end": 8666, "loc": { "start": { - "line": 194, + "line": 200, "column": 6 }, "end": { - "line": 194, + "line": 200, "column": 17 } }, "object": { "type": "Identifier", - "start": 8379, - "end": 8386, + "start": 8655, + "end": 8662, "loc": { "start": { - "line": 194, + "line": 200, "column": 6 }, "end": { - "line": 194, + "line": 200, "column": 13 }, "identifierName": "console" @@ -10664,15 +11511,15 @@ }, "property": { "type": "Identifier", - "start": 8387, - "end": 8390, + "start": 8663, + "end": 8666, "loc": { "start": { - "line": 194, + "line": 200, "column": 14 }, "end": { - "line": 194, + "line": 200, "column": 17 }, "identifierName": "log" @@ -10684,15 +11531,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 8391, - "end": 8405, + "start": 8667, + "end": 8681, "loc": { "start": { - "line": 194, + "line": 200, "column": 18 }, "end": { - "line": 194, + "line": 200, "column": 32 } }, @@ -10704,15 +11551,15 @@ }, { "type": "Identifier", - "start": 8407, - "end": 8413, + "start": 8683, + "end": 8689, "loc": { "start": { - "line": 194, + "line": 200, "column": 34 }, "end": { - "line": 194, + "line": 200, "column": 40 }, "identifierName": "button" @@ -10735,15 +11582,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": 6924, - "end": 7036, + "start": 7200, + "end": 7312, "loc": { "start": { - "line": 142, + "line": 148, "column": 2 }, "end": { - "line": 145, + "line": 151, "column": 5 } } @@ -10752,16 +11599,1475 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", - "start": 8433, - "end": 8530, + "value": "*\r\n * Handles button mousedown\r\n ", + "start": 8709, + "end": 8750, "loc": { "start": { - "line": 198, + "line": 204, "column": 2 }, "end": { - "line": 200, + "line": 206, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": " istanbul ignore next ", + "start": 8754, + "end": 8780, + "loc": { + "start": { + "line": 207, + "column": 2 + }, + "end": { + "line": 207, + "column": 28 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 8784, + "end": 9487, + "loc": { + "start": { + "line": 208, + "column": 2 + }, + "end": { + "line": 234, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 8784, + "end": 8805, + "loc": { + "start": { + "line": 208, + "column": 2 + }, + "end": { + "line": 208, + "column": 23 + }, + "identifierName": "handleButtonMouseDown" + }, + "name": "handleButtonMouseDown", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 8806, + "end": 8812, + "loc": { + "start": { + "line": 208, + "column": 24 + }, + "end": { + "line": 208, + "column": 30 + }, + "identifierName": "button" + }, + "name": "button" + }, + { + "type": "Identifier", + "start": 8814, + "end": 8815, + "loc": { + "start": { + "line": 208, + "column": 32 + }, + "end": { + "line": 208, + "column": 33 + }, + "identifierName": "e" + }, + "name": "e" + } + ], + "body": { + "type": "BlockStatement", + "start": 8816, + "end": 9487, + "loc": { + "start": { + "line": 208, + "column": 34 + }, + "end": { + "line": 234, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8908, + "end": 8932, + "loc": { + "start": { + "line": 212, + "column": 4 + }, + "end": { + "line": 212, + "column": 28 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 8908, + "end": 8931, + "loc": { + "start": { + "line": 212, + "column": 4 + }, + "end": { + "line": 212, + "column": 27 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 8908, + "end": 8924, + "loc": { + "start": { + "line": 212, + "column": 4 + }, + "end": { + "line": 212, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 8908, + "end": 8912, + "loc": { + "start": { + "line": 212, + "column": 4 + }, + "end": { + "line": 212, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 8913, + "end": 8924, + "loc": { + "start": { + "line": 212, + "column": 9 + }, + "end": { + "line": 212, + "column": 20 + }, + "identifierName": "isMouseHold" + }, + "name": "isMouseHold" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "BooleanLiteral", + "start": 8927, + "end": 8931, + "loc": { + "start": { + "line": 212, + "column": 23 + }, + "end": { + "line": 212, + "column": 27 + } + }, + "value": true + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n ", + "start": 8823, + "end": 8902, + "loc": { + "start": { + "line": 209, + "column": 4 + }, + "end": { + "line": 211, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", + "start": 8940, + "end": 9017, + "loc": { + "start": { + "line": 214, + "column": 4 + }, + "end": { + "line": 216, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 9023, + "end": 9482, + "loc": { + "start": { + "line": 217, + "column": 4 + }, + "end": { + "line": 233, + "column": 12 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 9023, + "end": 9481, + "loc": { + "start": { + "line": 217, + "column": 4 + }, + "end": { + "line": 233, + "column": 11 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 9023, + "end": 9039, + "loc": { + "start": { + "line": 217, + "column": 4 + }, + "end": { + "line": 217, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 9023, + "end": 9027, + "loc": { + "start": { + "line": 217, + "column": 4 + }, + "end": { + "line": 217, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 9028, + "end": 9039, + "loc": { + "start": { + "line": 217, + "column": 9 + }, + "end": { + "line": 217, + "column": 20 + }, + "identifierName": "holdTimeout" + }, + "name": "holdTimeout" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "CallExpression", + "start": 9042, + "end": 9481, + "loc": { + "start": { + "line": 217, + "column": 23 + }, + "end": { + "line": 233, + "column": 11 + } + }, + "callee": { + "type": "Identifier", + "start": 9042, + "end": 9052, + "loc": { + "start": { + "line": 217, + "column": 23 + }, + "end": { + "line": 217, + "column": 33 + }, + "identifierName": "setTimeout" + }, + "name": "setTimeout" + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 9053, + "end": 9475, + "loc": { + "start": { + "line": 217, + "column": 34 + }, + "end": { + "line": 233, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 9059, + "end": 9475, + "loc": { + "start": { + "line": 217, + "column": 40 + }, + "end": { + "line": 233, + "column": 5 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 9068, + "end": 9429, + "loc": { + "start": { + "line": 218, + "column": 6 + }, + "end": { + "line": 231, + "column": 7 + } + }, + "test": { + "type": "LogicalExpression", + "start": 9081, + "end": 9285, + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 225, + "column": 9 + } + }, + "left": { + "type": "MemberExpression", + "start": 9081, + "end": 9097, + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 219, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 9081, + "end": 9085, + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 219, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 9086, + "end": 9097, + "loc": { + "start": { + "line": 219, + "column": 13 + }, + "end": { + "line": 219, + "column": 24 + }, + "identifierName": "isMouseHold" + }, + "name": "isMouseHold" + }, + "computed": false + }, + "operator": "&&", + "right": { + "type": "LogicalExpression", + "start": 9124, + "end": 9274, + "loc": { + "start": { + "line": 221, + "column": 10 + }, + "end": { + "line": 224, + "column": 28 + } + }, + "left": { + "type": "LogicalExpression", + "start": 9124, + "end": 9241, + "loc": { + "start": { + "line": 221, + "column": 10 + }, + "end": { + "line": 223, + "column": 30 + } + }, + "left": { + "type": "LogicalExpression", + "start": 9124, + "end": 9206, + "loc": { + "start": { + "line": 221, + "column": 10 + }, + "end": { + "line": 222, + "column": 29 + } + }, + "left": { + "type": "LogicalExpression", + "start": 9125, + "end": 9171, + "loc": { + "start": { + "line": 221, + "column": 11 + }, + "end": { + "line": 221, + "column": 57 + } + }, + "left": { + "type": "UnaryExpression", + "start": 9125, + "end": 9146, + "loc": { + "start": { + "line": 221, + "column": 11 + }, + "end": { + "line": 221, + "column": 32 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "CallExpression", + "start": 9126, + "end": 9146, + "loc": { + "start": { + "line": 221, + "column": 12 + }, + "end": { + "line": 221, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9126, + "end": 9141, + "loc": { + "start": { + "line": 221, + "column": 12 + }, + "end": { + "line": 221, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 9126, + "end": 9132, + "loc": { + "start": { + "line": 221, + "column": 12 + }, + "end": { + "line": 221, + "column": 18 + }, + "identifierName": "button" + }, + "name": "button" + }, + "property": { + "type": "Identifier", + "start": 9133, + "end": 9141, + "loc": { + "start": { + "line": 221, + "column": 19 + }, + "end": { + "line": 221, + "column": 27 + }, + "identifierName": "includes" + }, + "name": "includes" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 9142, + "end": 9145, + "loc": { + "start": { + "line": 221, + "column": 28 + }, + "end": { + "line": 221, + "column": 31 + } + }, + "extra": { + "rawValue": "{", + "raw": "\"{\"" + }, + "value": "{" + } + ] + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "&&", + "right": { + "type": "UnaryExpression", + "start": 9150, + "end": 9171, + "loc": { + "start": { + "line": 221, + "column": 36 + }, + "end": { + "line": 221, + "column": 57 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "CallExpression", + "start": 9151, + "end": 9171, + "loc": { + "start": { + "line": 221, + "column": 37 + }, + "end": { + "line": 221, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9151, + "end": 9166, + "loc": { + "start": { + "line": 221, + "column": 37 + }, + "end": { + "line": 221, + "column": 52 + } + }, + "object": { + "type": "Identifier", + "start": 9151, + "end": 9157, + "loc": { + "start": { + "line": 221, + "column": 37 + }, + "end": { + "line": 221, + "column": 43 + }, + "identifierName": "button" + }, + "name": "button" + }, + "property": { + "type": "Identifier", + "start": 9158, + "end": 9166, + "loc": { + "start": { + "line": 221, + "column": 44 + }, + "end": { + "line": 221, + "column": 52 + }, + "identifierName": "includes" + }, + "name": "includes" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 9167, + "end": 9170, + "loc": { + "start": { + "line": 221, + "column": 53 + }, + "end": { + "line": 221, + "column": 56 + } + }, + "extra": { + "rawValue": "}", + "raw": "\"}\"" + }, + "value": "}" + } + ] + }, + "extra": { + "parenthesizedArgument": false + } + }, + "extra": { + "parenthesized": true, + "parenStart": 9124 + } + }, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 9187, + "end": 9206, + "loc": { + "start": { + "line": 222, + "column": 10 + }, + "end": { + "line": 222, + "column": 29 + } + }, + "left": { + "type": "Identifier", + "start": 9187, + "end": 9193, + "loc": { + "start": { + "line": 222, + "column": 10 + }, + "end": { + "line": 222, + "column": 16 + }, + "identifierName": "button" + }, + "name": "button" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 9198, + "end": 9206, + "loc": { + "start": { + "line": 222, + "column": 21 + }, + "end": { + "line": 222, + "column": 29 + } + }, + "extra": { + "rawValue": "{bksp}", + "raw": "\"{bksp}\"" + }, + "value": "{bksp}" + } + } + }, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 9221, + "end": 9241, + "loc": { + "start": { + "line": 223, + "column": 10 + }, + "end": { + "line": 223, + "column": 30 + } + }, + "left": { + "type": "Identifier", + "start": 9221, + "end": 9227, + "loc": { + "start": { + "line": 223, + "column": 10 + }, + "end": { + "line": 223, + "column": 16 + }, + "identifierName": "button" + }, + "name": "button" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 9232, + "end": 9241, + "loc": { + "start": { + "line": 223, + "column": 21 + }, + "end": { + "line": 223, + "column": 30 + } + }, + "extra": { + "rawValue": "{space}", + "raw": "\"{space}\"" + }, + "value": "{space}" + } + } + }, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 9256, + "end": 9274, + "loc": { + "start": { + "line": 224, + "column": 10 + }, + "end": { + "line": 224, + "column": 28 + } + }, + "left": { + "type": "Identifier", + "start": 9256, + "end": 9262, + "loc": { + "start": { + "line": 224, + "column": 10 + }, + "end": { + "line": 224, + "column": 16 + }, + "identifierName": "button" + }, + "name": "button" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 9267, + "end": 9274, + "loc": { + "start": { + "line": 224, + "column": 21 + }, + "end": { + "line": 224, + "column": 28 + } + }, + "extra": { + "rawValue": "{tab}", + "raw": "\"{tab}\"" + }, + "value": "{tab}" + } + }, + "extra": { + "parenthesized": true, + "parenStart": 9111 + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 9294, + "end": 9429, + "loc": { + "start": { + "line": 226, + "column": 7 + }, + "end": { + "line": 231, + "column": 7 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 9305, + "end": 9375, + "loc": { + "start": { + "line": 227, + "column": 8 + }, + "end": { + "line": 228, + "column": 46 + } + }, + "test": { + "type": "MemberExpression", + "start": 9308, + "end": 9326, + "loc": { + "start": { + "line": 227, + "column": 11 + }, + "end": { + "line": 227, + "column": 29 + } + }, + "object": { + "type": "MemberExpression", + "start": 9308, + "end": 9320, + "loc": { + "start": { + "line": 227, + "column": 11 + }, + "end": { + "line": 227, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 9308, + "end": 9312, + "loc": { + "start": { + "line": 227, + "column": 11 + }, + "end": { + "line": 227, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 9313, + "end": 9320, + "loc": { + "start": { + "line": 227, + "column": 16 + }, + "end": { + "line": 227, + "column": 23 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 9321, + "end": 9326, + "loc": { + "start": { + "line": 227, + "column": 24 + }, + "end": { + "line": 227, + "column": 29 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "computed": false + }, + "consequent": { + "type": "ExpressionStatement", + "start": 9339, + "end": 9375, + "loc": { + "start": { + "line": 228, + "column": 10 + }, + "end": { + "line": 228, + "column": 46 + } + }, + "expression": { + "type": "CallExpression", + "start": 9339, + "end": 9374, + "loc": { + "start": { + "line": 228, + "column": 10 + }, + "end": { + "line": 228, + "column": 45 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9339, + "end": 9350, + "loc": { + "start": { + "line": 228, + "column": 10 + }, + "end": { + "line": 228, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 9339, + "end": 9346, + "loc": { + "start": { + "line": 228, + "column": 10 + }, + "end": { + "line": 228, + "column": 17 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 9347, + "end": 9350, + "loc": { + "start": { + "line": 228, + "column": 18 + }, + "end": { + "line": 228, + "column": 21 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 9351, + "end": 9365, + "loc": { + "start": { + "line": 228, + "column": 22 + }, + "end": { + "line": 228, + "column": 36 + } + }, + "extra": { + "rawValue": "Button held:", + "raw": "\"Button held:\"" + }, + "value": "Button held:" + }, + { + "type": "Identifier", + "start": 9367, + "end": 9373, + "loc": { + "start": { + "line": 228, + "column": 38 + }, + "end": { + "line": 228, + "column": 44 + }, + "identifierName": "button" + }, + "name": "button" + } + ] + } + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 9387, + "end": 9420, + "loc": { + "start": { + "line": 230, + "column": 8 + }, + "end": { + "line": 230, + "column": 41 + } + }, + "expression": { + "type": "CallExpression", + "start": 9387, + "end": 9419, + "loc": { + "start": { + "line": 230, + "column": 8 + }, + "end": { + "line": 230, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9387, + "end": 9408, + "loc": { + "start": { + "line": 230, + "column": 8 + }, + "end": { + "line": 230, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 9387, + "end": 9391, + "loc": { + "start": { + "line": 230, + "column": 8 + }, + "end": { + "line": 230, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 9392, + "end": 9408, + "loc": { + "start": { + "line": 230, + "column": 13 + }, + "end": { + "line": 230, + "column": 29 + }, + "identifierName": "handleButtonHold" + }, + "name": "handleButtonHold" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 9409, + "end": 9415, + "loc": { + "start": { + "line": 230, + "column": 30 + }, + "end": { + "line": 230, + "column": 36 + }, + "identifierName": "button" + }, + "name": "button" + }, + { + "type": "Identifier", + "start": 9417, + "end": 9418, + "loc": { + "start": { + "line": 230, + "column": 38 + }, + "end": { + "line": 230, + "column": 39 + }, + "identifierName": "e" + }, + "name": "e" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 9437, + "end": 9468, + "loc": { + "start": { + "line": 232, + "column": 6 + }, + "end": { + "line": 232, + "column": 37 + } + }, + "expression": { + "type": "CallExpression", + "start": 9437, + "end": 9467, + "loc": { + "start": { + "line": 232, + "column": 6 + }, + "end": { + "line": 232, + "column": 36 + } + }, + "callee": { + "type": "Identifier", + "start": 9437, + "end": 9449, + "loc": { + "start": { + "line": 232, + "column": 6 + }, + "end": { + "line": 232, + "column": 18 + }, + "identifierName": "clearTimeout" + }, + "name": "clearTimeout" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 9450, + "end": 9466, + "loc": { + "start": { + "line": 232, + "column": 19 + }, + "end": { + "line": 232, + "column": 35 + } + }, + "object": { + "type": "ThisExpression", + "start": 9450, + "end": 9454, + "loc": { + "start": { + "line": 232, + "column": 19 + }, + "end": { + "line": 232, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "start": 9455, + "end": 9466, + "loc": { + "start": { + "line": 232, + "column": 24 + }, + "end": { + "line": 232, + "column": 35 + }, + "identifierName": "holdTimeout" + }, + "name": "holdTimeout" + }, + "computed": false + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "NumericLiteral", + "start": 9477, + "end": 9480, + "loc": { + "start": { + "line": 233, + "column": 7 + }, + "end": { + "line": 233, + "column": 10 + } + }, + "extra": { + "rawValue": 500, + "raw": "500" + }, + "value": 500 + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", + "start": 8940, + "end": 9017, + "loc": { + "start": { + "line": 214, + "column": 4 + }, + "end": { + "line": 216, + "column": 7 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Handles button mousedown\r\n ", + "start": 8709, + "end": 8750, + "loc": { + "start": { + "line": 204, + "column": 2 + }, + "end": { + "line": 206, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": " istanbul ignore next ", + "start": 8754, + "end": 8780, + "loc": { + "start": { + "line": 207, + "column": 2 + }, + "end": { + "line": 207, + "column": 28 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Handles button mouseup\r\n ", + "start": 9493, + "end": 9532, + "loc": { + "start": { + "line": 236, + "column": 2 + }, + "end": { + "line": 238, "column": 5 } } @@ -10770,15 +13076,15 @@ }, { "type": "ClassMethod", - "start": 8534, - "end": 8646, + "start": 9536, + "end": 9681, "loc": { "start": { - "line": 201, + "line": 239, "column": 2 }, "end": { - "line": 205, + "line": 243, "column": 3 } }, @@ -10786,15 +13092,899 @@ "computed": false, "key": { "type": "Identifier", - "start": 8534, - "end": 8552, + "start": 9536, + "end": 9555, "loc": { "start": { - "line": 201, + "line": 239, "column": 2 }, "end": { - "line": 201, + "line": 239, + "column": 21 + }, + "identifierName": "handleButtonMouseUp" + }, + "name": "handleButtonMouseUp", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 9557, + "end": 9681, + "loc": { + "start": { + "line": 239, + "column": 23 + }, + "end": { + "line": 243, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 9564, + "end": 9589, + "loc": { + "start": { + "line": 240, + "column": 4 + }, + "end": { + "line": 240, + "column": 29 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 9564, + "end": 9588, + "loc": { + "start": { + "line": 240, + "column": 4 + }, + "end": { + "line": 240, + "column": 28 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 9564, + "end": 9580, + "loc": { + "start": { + "line": 240, + "column": 4 + }, + "end": { + "line": 240, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 9564, + "end": 9568, + "loc": { + "start": { + "line": 240, + "column": 4 + }, + "end": { + "line": 240, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 9569, + "end": 9580, + "loc": { + "start": { + "line": 240, + "column": 9 + }, + "end": { + "line": 240, + "column": 20 + }, + "identifierName": "isMouseHold" + }, + "name": "isMouseHold" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 9583, + "end": 9588, + "loc": { + "start": { + "line": 240, + "column": 23 + }, + "end": { + "line": 240, + "column": 28 + } + }, + "value": false + } + } + }, + { + "type": "IfStatement", + "start": 9595, + "end": 9676, + "loc": { + "start": { + "line": 241, + "column": 4 + }, + "end": { + "line": 242, + "column": 48 + } + }, + "test": { + "type": "MemberExpression", + "start": 9598, + "end": 9625, + "loc": { + "start": { + "line": 241, + "column": 7 + }, + "end": { + "line": 241, + "column": 34 + } + }, + "object": { + "type": "ThisExpression", + "start": 9598, + "end": 9602, + "loc": { + "start": { + "line": 241, + "column": 7 + }, + "end": { + "line": 241, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "start": 9603, + "end": 9625, + "loc": { + "start": { + "line": 241, + "column": 12 + }, + "end": { + "line": 241, + "column": 34 + }, + "identifierName": "holdInteractionTimeout" + }, + "name": "holdInteractionTimeout" + }, + "computed": false + }, + "consequent": { + "type": "ExpressionStatement", + "start": 9634, + "end": 9676, + "loc": { + "start": { + "line": 242, + "column": 6 + }, + "end": { + "line": 242, + "column": 48 + } + }, + "expression": { + "type": "CallExpression", + "start": 9634, + "end": 9675, + "loc": { + "start": { + "line": 242, + "column": 6 + }, + "end": { + "line": 242, + "column": 47 + } + }, + "callee": { + "type": "Identifier", + "start": 9634, + "end": 9646, + "loc": { + "start": { + "line": 242, + "column": 6 + }, + "end": { + "line": 242, + "column": 18 + }, + "identifierName": "clearTimeout" + }, + "name": "clearTimeout" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 9647, + "end": 9674, + "loc": { + "start": { + "line": 242, + "column": 19 + }, + "end": { + "line": 242, + "column": 46 + } + }, + "object": { + "type": "ThisExpression", + "start": 9647, + "end": 9651, + "loc": { + "start": { + "line": 242, + "column": 19 + }, + "end": { + "line": 242, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "start": 9652, + "end": 9674, + "loc": { + "start": { + "line": 242, + "column": 24 + }, + "end": { + "line": 242, + "column": 46 + }, + "identifierName": "holdInteractionTimeout" + }, + "name": "holdInteractionTimeout" + }, + "computed": false + } + ] + } + }, + "alternate": null + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Handles button mouseup\r\n ", + "start": 9493, + "end": 9532, + "loc": { + "start": { + "line": 236, + "column": 2 + }, + "end": { + "line": 238, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Handles button hold\r\n ", + "start": 9687, + "end": 9723, + "loc": { + "start": { + "line": 245, + "column": 2 + }, + "end": { + "line": 247, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": " istanbul ignore next ", + "start": 9727, + "end": 9753, + "loc": { + "start": { + "line": 248, + "column": 2 + }, + "end": { + "line": 248, + "column": 28 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 9757, + "end": 10026, + "loc": { + "start": { + "line": 249, + "column": 2 + }, + "end": { + "line": 257, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 9757, + "end": 9773, + "loc": { + "start": { + "line": 249, + "column": 2 + }, + "end": { + "line": 249, + "column": 18 + }, + "identifierName": "handleButtonHold" + }, + "name": "handleButtonHold", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 9774, + "end": 9780, + "loc": { + "start": { + "line": 249, + "column": 19 + }, + "end": { + "line": 249, + "column": 25 + }, + "identifierName": "button" + }, + "name": "button" + } + ], + "body": { + "type": "BlockStatement", + "start": 9781, + "end": 10026, + "loc": { + "start": { + "line": 249, + "column": 26 + }, + "end": { + "line": 257, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 9880, + "end": 10021, + "loc": { + "start": { + "line": 253, + "column": 4 + }, + "end": { + "line": 256, + "column": 12 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 9880, + "end": 10020, + "loc": { + "start": { + "line": 253, + "column": 4 + }, + "end": { + "line": 256, + "column": 11 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 9880, + "end": 9907, + "loc": { + "start": { + "line": 253, + "column": 4 + }, + "end": { + "line": 253, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 9880, + "end": 9884, + "loc": { + "start": { + "line": 253, + "column": 4 + }, + "end": { + "line": 253, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 9885, + "end": 9907, + "loc": { + "start": { + "line": 253, + "column": 9 + }, + "end": { + "line": 253, + "column": 31 + }, + "identifierName": "holdInteractionTimeout" + }, + "name": "holdInteractionTimeout" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "CallExpression", + "start": 9910, + "end": 10020, + "loc": { + "start": { + "line": 253, + "column": 34 + }, + "end": { + "line": 256, + "column": 11 + } + }, + "callee": { + "type": "Identifier", + "start": 9910, + "end": 9920, + "loc": { + "start": { + "line": 253, + "column": 34 + }, + "end": { + "line": 253, + "column": 44 + }, + "identifierName": "setTimeout" + }, + "name": "setTimeout" + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 9921, + "end": 10014, + "loc": { + "start": { + "line": 253, + "column": 45 + }, + "end": { + "line": 256, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 9927, + "end": 10014, + "loc": { + "start": { + "line": 253, + "column": 51 + }, + "end": { + "line": 256, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 9936, + "end": 9969, + "loc": { + "start": { + "line": 254, + "column": 6 + }, + "end": { + "line": 254, + "column": 39 + } + }, + "expression": { + "type": "CallExpression", + "start": 9936, + "end": 9968, + "loc": { + "start": { + "line": 254, + "column": 6 + }, + "end": { + "line": 254, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9936, + "end": 9960, + "loc": { + "start": { + "line": 254, + "column": 6 + }, + "end": { + "line": 254, + "column": 30 + } + }, + "object": { + "type": "ThisExpression", + "start": 9936, + "end": 9940, + "loc": { + "start": { + "line": 254, + "column": 6 + }, + "end": { + "line": 254, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 9941, + "end": 9960, + "loc": { + "start": { + "line": 254, + "column": 11 + }, + "end": { + "line": 254, + "column": 30 + }, + "identifierName": "handleButtonClicked" + }, + "name": "handleButtonClicked" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 9961, + "end": 9967, + "loc": { + "start": { + "line": 254, + "column": 31 + }, + "end": { + "line": 254, + "column": 37 + }, + "identifierName": "button" + }, + "name": "button" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 9977, + "end": 10007, + "loc": { + "start": { + "line": 255, + "column": 6 + }, + "end": { + "line": 255, + "column": 36 + } + }, + "expression": { + "type": "CallExpression", + "start": 9977, + "end": 10006, + "loc": { + "start": { + "line": 255, + "column": 6 + }, + "end": { + "line": 255, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9977, + "end": 9998, + "loc": { + "start": { + "line": 255, + "column": 6 + }, + "end": { + "line": 255, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 9977, + "end": 9981, + "loc": { + "start": { + "line": 255, + "column": 6 + }, + "end": { + "line": 255, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 9982, + "end": 9998, + "loc": { + "start": { + "line": 255, + "column": 11 + }, + "end": { + "line": 255, + "column": 27 + }, + "identifierName": "handleButtonHold" + }, + "name": "handleButtonHold" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 9999, + "end": 10005, + "loc": { + "start": { + "line": 255, + "column": 28 + }, + "end": { + "line": 255, + "column": 34 + }, + "identifierName": "button" + }, + "name": "button" + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "NumericLiteral", + "start": 10016, + "end": 10019, + "loc": { + "start": { + "line": 256, + "column": 7 + }, + "end": { + "line": 256, + "column": 10 + } + }, + "extra": { + "rawValue": 100, + "raw": "100" + }, + "value": 100 + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", + "start": 9788, + "end": 9874, + "loc": { + "start": { + "line": 250, + "column": 4 + }, + "end": { + "line": 252, + "column": 7 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Handles button hold\r\n ", + "start": 9687, + "end": 9723, + "loc": { + "start": { + "line": 245, + "column": 2 + }, + "end": { + "line": 247, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": " istanbul ignore next ", + "start": 9727, + "end": 9753, + "loc": { + "start": { + "line": 248, + "column": 2 + }, + "end": { + "line": 248, + "column": 28 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", + "start": 10032, + "end": 10129, + "loc": { + "start": { + "line": 259, + "column": 2 + }, + "end": { + "line": 261, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 10133, + "end": 10245, + "loc": { + "start": { + "line": 262, + "column": 2 + }, + "end": { + "line": 266, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10133, + "end": 10151, + "loc": { + "start": { + "line": 262, + "column": 2 + }, + "end": { + "line": 262, "column": 20 }, "identifierName": "syncInstanceInputs" @@ -10810,87 +14000,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8554, - "end": 8646, + "start": 10153, + "end": 10245, "loc": { "start": { - "line": 201, + "line": 262, "column": 22 }, "end": { - "line": 205, + "line": 266, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 8561, - "end": 8641, + "start": 10160, + "end": 10240, "loc": { "start": { - "line": 202, + "line": 263, "column": 4 }, "end": { - "line": 204, + "line": 265, "column": 7 } }, "expression": { "type": "CallExpression", - "start": 8561, - "end": 8640, + "start": 10160, + "end": 10239, "loc": { "start": { - "line": 202, + "line": 263, "column": 4 }, "end": { - "line": 204, + "line": 265, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 8561, - "end": 8574, + "start": 10160, + "end": 10173, "loc": { "start": { - "line": 202, + "line": 263, "column": 4 }, "end": { - "line": 202, + "line": 263, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 8561, - "end": 8565, + "start": 10160, + "end": 10164, "loc": { "start": { - "line": 202, + "line": 263, "column": 4 }, "end": { - "line": 202, + "line": 263, "column": 8 } } }, "property": { "type": "Identifier", - "start": 8566, - "end": 8574, + "start": 10165, + "end": 10173, "loc": { "start": { - "line": 202, + "line": 263, "column": 9 }, "end": { - "line": 202, + "line": 263, "column": 17 }, "identifierName": "dispatch" @@ -10902,15 +14092,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 8575, - "end": 8639, + "start": 10174, + "end": 10238, "loc": { "start": { - "line": 202, + "line": 263, "column": 18 }, "end": { - "line": 204, + "line": 265, "column": 5 } }, @@ -10921,15 +14111,15 @@ "params": [ { "type": "Identifier", - "start": 8576, - "end": 8584, + "start": 10175, + "end": 10183, "loc": { "start": { - "line": 202, + "line": 263, "column": 19 }, "end": { - "line": 202, + "line": 263, "column": 27 }, "identifierName": "instance" @@ -10939,72 +14129,72 @@ ], "body": { "type": "BlockStatement", - "start": 8589, - "end": 8639, + "start": 10188, + "end": 10238, "loc": { "start": { - "line": 202, + "line": 263, "column": 32 }, "end": { - "line": 204, + "line": 265, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 8598, - "end": 8632, + "start": 10197, + "end": 10231, "loc": { "start": { - "line": 203, + "line": 264, "column": 6 }, "end": { - "line": 203, + "line": 264, "column": 40 } }, "expression": { "type": "CallExpression", - "start": 8598, - "end": 8631, + "start": 10197, + "end": 10230, "loc": { "start": { - "line": 203, + "line": 264, "column": 6 }, "end": { - "line": 203, + "line": 264, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 8598, - "end": 8619, + "start": 10197, + "end": 10218, "loc": { "start": { - "line": 203, + "line": 264, "column": 6 }, "end": { - "line": 203, + "line": 264, "column": 27 } }, "object": { "type": "Identifier", - "start": 8598, - "end": 8606, + "start": 10197, + "end": 10205, "loc": { "start": { - "line": 203, + "line": 264, "column": 6 }, "end": { - "line": 203, + "line": 264, "column": 14 }, "identifierName": "instance" @@ -11013,15 +14203,15 @@ }, "property": { "type": "Identifier", - "start": 8607, - "end": 8619, + "start": 10206, + "end": 10218, "loc": { "start": { - "line": 203, + "line": 264, "column": 15 }, "end": { - "line": 203, + "line": 264, "column": 27 }, "identifierName": "replaceInput" @@ -11033,44 +14223,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 8620, - "end": 8630, + "start": 10219, + "end": 10229, "loc": { "start": { - "line": 203, + "line": 264, "column": 28 }, "end": { - "line": 203, + "line": 264, "column": 38 } }, "object": { "type": "ThisExpression", - "start": 8620, - "end": 8624, + "start": 10219, + "end": 10223, "loc": { "start": { - "line": 203, + "line": 264, "column": 28 }, "end": { - "line": 203, + "line": 264, "column": 32 } } }, "property": { "type": "Identifier", - "start": 8625, - "end": 8630, + "start": 10224, + "end": 10229, "loc": { "start": { - "line": 203, + "line": 264, "column": 33 }, "end": { - "line": 203, + "line": 264, "column": 38 }, "identifierName": "input" @@ -11097,15 +14287,15 @@ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", - "start": 8433, - "end": 8530, + "start": 10032, + "end": 10129, "loc": { "start": { - "line": 198, + "line": 259, "column": 2 }, "end": { - "line": 200, + "line": 261, "column": 5 } } @@ -11115,15 +14305,15 @@ { "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, + "start": 10253, + "end": 10371, "loc": { "start": { - "line": 207, + "line": 268, "column": 2 }, "end": { - "line": 210, + "line": 271, "column": 5 } } @@ -11132,15 +14322,15 @@ }, { "type": "ClassMethod", - "start": 8776, - "end": 9051, + "start": 10375, + "end": 10650, "loc": { "start": { - "line": 211, + "line": 272, "column": 2 }, "end": { - "line": 220, + "line": 281, "column": 3 } }, @@ -11148,15 +14338,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8776, - "end": 8786, + "start": 10375, + "end": 10385, "loc": { "start": { - "line": 211, + "line": 272, "column": 2 }, "end": { - "line": 211, + "line": 272, "column": 12 }, "identifierName": "clearInput" @@ -11172,15 +14362,15 @@ "params": [ { "type": "Identifier", - "start": 8787, - "end": 8796, + "start": 10386, + "end": 10395, "loc": { "start": { - "line": 211, + "line": 272, "column": 13 }, "end": { - "line": 211, + "line": 272, "column": 22 }, "identifierName": "inputName" @@ -11190,59 +14380,59 @@ ], "body": { "type": "BlockStatement", - "start": 8797, - "end": 9051, + "start": 10396, + "end": 10650, "loc": { "start": { - "line": 211, + "line": 272, "column": 23 }, "end": { - "line": 220, + "line": 281, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 8804, - "end": 8852, + "start": 10403, + "end": 10451, "loc": { "start": { - "line": 212, + "line": 273, "column": 4 }, "end": { - "line": 212, + "line": 273, "column": 52 } }, "expression": { "type": "AssignmentExpression", - "start": 8804, - "end": 8851, + "start": 10403, + "end": 10450, "loc": { "start": { - "line": 212, + "line": 273, "column": 4 }, "end": { - "line": 212, + "line": 273, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", - "start": 8804, - "end": 8813, + "start": 10403, + "end": 10412, "loc": { "start": { - "line": 212, + "line": 273, "column": 4 }, "end": { - "line": 212, + "line": 273, "column": 13 }, "identifierName": "inputName" @@ -11251,29 +14441,29 @@ }, "right": { "type": "LogicalExpression", - "start": 8816, - "end": 8851, + "start": 10415, + "end": 10450, "loc": { "start": { - "line": 212, + "line": 273, "column": 16 }, "end": { - "line": 212, + "line": 273, "column": 51 } }, "left": { "type": "Identifier", - "start": 8816, - "end": 8825, + "start": 10415, + "end": 10424, "loc": { "start": { - "line": 212, + "line": 273, "column": 16 }, "end": { - "line": 212, + "line": 273, "column": 25 }, "identifierName": "inputName" @@ -11283,58 +14473,58 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 8829, - "end": 8851, + "start": 10428, + "end": 10450, "loc": { "start": { - "line": 212, + "line": 273, "column": 29 }, "end": { - "line": 212, + "line": 273, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 8829, - "end": 8841, + "start": 10428, + "end": 10440, "loc": { "start": { - "line": 212, + "line": 273, "column": 29 }, "end": { - "line": 212, + "line": 273, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 8829, - "end": 8833, + "start": 10428, + "end": 10432, "loc": { "start": { - "line": 212, + "line": 273, "column": 29 }, "end": { - "line": 212, + "line": 273, "column": 33 } } }, "property": { "type": "Identifier", - "start": 8834, - "end": 8841, + "start": 10433, + "end": 10440, "loc": { "start": { - "line": 212, + "line": 273, "column": 34 }, "end": { - "line": 212, + "line": 273, "column": 41 }, "identifierName": "options" @@ -11345,15 +14535,15 @@ }, "property": { "type": "Identifier", - "start": 8842, - "end": 8851, + "start": 10441, + "end": 10450, "loc": { "start": { - "line": 212, + "line": 273, "column": 42 }, "end": { - "line": 212, + "line": 273, "column": 51 }, "identifierName": "inputName" @@ -11367,87 +14557,87 @@ }, { "type": "ExpressionStatement", - "start": 8858, - "end": 8898, + "start": 10457, + "end": 10497, "loc": { "start": { - "line": 213, + "line": 274, "column": 4 }, "end": { - "line": 213, + "line": 274, "column": 44 } }, "expression": { "type": "AssignmentExpression", - "start": 8858, - "end": 8897, + "start": 10457, + "end": 10496, "loc": { "start": { - "line": 213, + "line": 274, "column": 4 }, "end": { - "line": 213, + "line": 274, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8858, - "end": 8892, + "start": 10457, + "end": 10491, "loc": { "start": { - "line": 213, + "line": 274, "column": 4 }, "end": { - "line": 213, + "line": 274, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 8858, - "end": 8868, + "start": 10457, + "end": 10467, "loc": { "start": { - "line": 213, + "line": 274, "column": 4 }, "end": { - "line": 213, + "line": 274, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 8858, - "end": 8862, + "start": 10457, + "end": 10461, "loc": { "start": { - "line": 213, + "line": 274, "column": 4 }, "end": { - "line": 213, + "line": 274, "column": 8 } } }, "property": { "type": "Identifier", - "start": 8863, - "end": 8868, + "start": 10462, + "end": 10467, "loc": { "start": { - "line": 213, + "line": 274, "column": 9 }, "end": { - "line": 213, + "line": 274, "column": 14 }, "identifierName": "input" @@ -11458,58 +14648,58 @@ }, "property": { "type": "MemberExpression", - "start": 8869, - "end": 8891, + "start": 10468, + "end": 10490, "loc": { "start": { - "line": 213, + "line": 274, "column": 15 }, "end": { - "line": 213, + "line": 274, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 8869, - "end": 8881, + "start": 10468, + "end": 10480, "loc": { "start": { - "line": 213, + "line": 274, "column": 15 }, "end": { - "line": 213, + "line": 274, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 8869, - "end": 8873, + "start": 10468, + "end": 10472, "loc": { "start": { - "line": 213, + "line": 274, "column": 15 }, "end": { - "line": 213, + "line": 274, "column": 19 } } }, "property": { "type": "Identifier", - "start": 8874, - "end": 8881, + "start": 10473, + "end": 10480, "loc": { "start": { - "line": 213, + "line": 274, "column": 20 }, "end": { - "line": 213, + "line": 274, "column": 27 }, "identifierName": "options" @@ -11520,15 +14710,15 @@ }, "property": { "type": "Identifier", - "start": 8882, - "end": 8891, + "start": 10481, + "end": 10490, "loc": { "start": { - "line": 213, + "line": 274, "column": 28 }, "end": { - "line": 213, + "line": 274, "column": 37 }, "identifierName": "inputName" @@ -11541,15 +14731,15 @@ }, "right": { "type": "StringLiteral", - "start": 8895, - "end": 8897, + "start": 10494, + "end": 10496, "loc": { "start": { - "line": 213, + "line": 274, "column": 41 }, "end": { - "line": 213, + "line": 274, "column": 43 } }, @@ -11564,15 +14754,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8906, - "end": 8961, + "start": 10505, + "end": 10560, "loc": { "start": { - "line": 215, + "line": 276, "column": 4 }, "end": { - "line": 217, + "line": 278, "column": 7 } } @@ -11581,57 +14771,57 @@ }, { "type": "IfStatement", - "start": 8967, - "end": 9046, + "start": 10566, + "end": 10645, "loc": { "start": { - "line": 218, + "line": 279, "column": 4 }, "end": { - "line": 219, + "line": 280, "column": 42 } }, "test": { "type": "MemberExpression", - "start": 8970, - "end": 9001, + "start": 10569, + "end": 10600, "loc": { "start": { - "line": 218, + "line": 279, "column": 7 }, "end": { - "line": 218, + "line": 279, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 8970, - "end": 8982, + "start": 10569, + "end": 10581, "loc": { "start": { - "line": 218, + "line": 279, "column": 7 }, "end": { - "line": 218, + "line": 279, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 8970, - "end": 8974, + "start": 10569, + "end": 10573, "loc": { "start": { - "line": 218, + "line": 279, "column": 7 }, "end": { - "line": 218, + "line": 279, "column": 11 } }, @@ -11639,15 +14829,15 @@ }, "property": { "type": "Identifier", - "start": 8975, - "end": 8982, + "start": 10574, + "end": 10581, "loc": { "start": { - "line": 218, + "line": 279, "column": 12 }, "end": { - "line": 218, + "line": 279, "column": 19 }, "identifierName": "options" @@ -11659,15 +14849,15 @@ }, "property": { "type": "Identifier", - "start": 8983, - "end": 9001, + "start": 10582, + "end": 10600, "loc": { "start": { - "line": 218, + "line": 279, "column": 20 }, "end": { - "line": 218, + "line": 279, "column": 38 }, "identifierName": "syncInstanceInputs" @@ -11679,72 +14869,72 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 9010, - "end": 9046, + "start": 10609, + "end": 10645, "loc": { "start": { - "line": 219, + "line": 280, "column": 6 }, "end": { - "line": 219, + "line": 280, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 9010, - "end": 9045, + "start": 10609, + "end": 10644, "loc": { "start": { - "line": 219, + "line": 280, "column": 6 }, "end": { - "line": 219, + "line": 280, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 9010, - "end": 9033, + "start": 10609, + "end": 10632, "loc": { "start": { - "line": 219, + "line": 280, "column": 6 }, "end": { - "line": 219, + "line": 280, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 9010, - "end": 9014, + "start": 10609, + "end": 10613, "loc": { "start": { - "line": 219, + "line": 280, "column": 6 }, "end": { - "line": 219, + "line": 280, "column": 10 } } }, "property": { "type": "Identifier", - "start": 9015, - "end": 9033, + "start": 10614, + "end": 10632, "loc": { "start": { - "line": 219, + "line": 280, "column": 11 }, "end": { - "line": 219, + "line": 280, "column": 29 }, "identifierName": "syncInstanceInputs" @@ -11756,44 +14946,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 9034, - "end": 9044, + "start": 10633, + "end": 10643, "loc": { "start": { - "line": 219, + "line": 280, "column": 30 }, "end": { - "line": 219, + "line": 280, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 9034, - "end": 9038, + "start": 10633, + "end": 10637, "loc": { "start": { - "line": 219, + "line": 280, "column": 30 }, "end": { - "line": 219, + "line": 280, "column": 34 } } }, "property": { "type": "Identifier", - "start": 9039, - "end": 9044, + "start": 10638, + "end": 10643, "loc": { "start": { - "line": 219, + "line": 280, "column": 35 }, "end": { - "line": 219, + "line": 280, "column": 40 }, "identifierName": "input" @@ -11810,15 +15000,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8906, - "end": 8961, + "start": 10505, + "end": 10560, "loc": { "start": { - "line": 215, + "line": 276, "column": 4 }, "end": { - "line": 217, + "line": 278, "column": 7 } } @@ -11833,15 +15023,15 @@ { "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, + "start": 10253, + "end": 10371, "loc": { "start": { - "line": 207, + "line": 268, "column": 2 }, "end": { - "line": 210, + "line": 271, "column": 5 } } @@ -11851,15 +15041,15 @@ { "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, + "start": 10656, + "end": 10818, "loc": { "start": { - "line": 222, + "line": 283, "column": 2 }, "end": { - "line": 225, + "line": 286, "column": 5 } } @@ -11868,15 +15058,15 @@ }, { "type": "ClassMethod", - "start": 9223, - "end": 9500, + "start": 10822, + "end": 11099, "loc": { "start": { - "line": 226, + "line": 287, "column": 2 }, "end": { - "line": 236, + "line": 297, "column": 3 } }, @@ -11884,15 +15074,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9223, - "end": 9231, + "start": 10822, + "end": 10830, "loc": { "start": { - "line": 226, + "line": 287, "column": 2 }, "end": { - "line": 226, + "line": 287, "column": 10 }, "identifierName": "getInput" @@ -11908,15 +15098,15 @@ "params": [ { "type": "Identifier", - "start": 9232, - "end": 9241, + "start": 10831, + "end": 10840, "loc": { "start": { - "line": 226, + "line": 287, "column": 11 }, "end": { - "line": 226, + "line": 287, "column": 20 }, "identifierName": "inputName" @@ -11926,59 +15116,59 @@ ], "body": { "type": "BlockStatement", - "start": 9242, - "end": 9500, + "start": 10841, + "end": 11099, "loc": { "start": { - "line": 226, + "line": 287, "column": 21 }, "end": { - "line": 236, + "line": 297, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 9249, - "end": 9297, + "start": 10848, + "end": 10896, "loc": { "start": { - "line": 227, + "line": 288, "column": 4 }, "end": { - "line": 227, + "line": 288, "column": 52 } }, "expression": { "type": "AssignmentExpression", - "start": 9249, - "end": 9296, + "start": 10848, + "end": 10895, "loc": { "start": { - "line": 227, + "line": 288, "column": 4 }, "end": { - "line": 227, + "line": 288, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", - "start": 9249, - "end": 9258, + "start": 10848, + "end": 10857, "loc": { "start": { - "line": 227, + "line": 288, "column": 4 }, "end": { - "line": 227, + "line": 288, "column": 13 }, "identifierName": "inputName" @@ -11987,29 +15177,29 @@ }, "right": { "type": "LogicalExpression", - "start": 9261, - "end": 9296, + "start": 10860, + "end": 10895, "loc": { "start": { - "line": 227, + "line": 288, "column": 16 }, "end": { - "line": 227, + "line": 288, "column": 51 } }, "left": { "type": "Identifier", - "start": 9261, - "end": 9270, + "start": 10860, + "end": 10869, "loc": { "start": { - "line": 227, + "line": 288, "column": 16 }, "end": { - "line": 227, + "line": 288, "column": 25 }, "identifierName": "inputName" @@ -12019,58 +15209,58 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 9274, - "end": 9296, + "start": 10873, + "end": 10895, "loc": { "start": { - "line": 227, + "line": 288, "column": 29 }, "end": { - "line": 227, + "line": 288, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 9274, - "end": 9286, + "start": 10873, + "end": 10885, "loc": { "start": { - "line": 227, + "line": 288, "column": 29 }, "end": { - "line": 227, + "line": 288, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 9274, - "end": 9278, + "start": 10873, + "end": 10877, "loc": { "start": { - "line": 227, + "line": 288, "column": 29 }, "end": { - "line": 227, + "line": 288, "column": 33 } } }, "property": { "type": "Identifier", - "start": 9279, - "end": 9286, + "start": 10878, + "end": 10885, "loc": { "start": { - "line": 227, + "line": 288, "column": 34 }, "end": { - "line": 227, + "line": 288, "column": 41 }, "identifierName": "options" @@ -12081,15 +15271,15 @@ }, "property": { "type": "Identifier", - "start": 9287, - "end": 9296, + "start": 10886, + "end": 10895, "loc": { "start": { - "line": 227, + "line": 288, "column": 42 }, "end": { - "line": 227, + "line": 288, "column": 51 }, "identifierName": "inputName" @@ -12104,15 +15294,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 9305, - "end": 9360, + "start": 10904, + "end": 10959, "loc": { "start": { - "line": 229, + "line": 290, "column": 4 }, "end": { - "line": 231, + "line": 292, "column": 7 } } @@ -12121,57 +15311,57 @@ }, { "type": "IfStatement", - "start": 9366, - "end": 9445, + "start": 10965, + "end": 11044, "loc": { "start": { - "line": 232, + "line": 293, "column": 4 }, "end": { - "line": 233, + "line": 294, "column": 42 } }, "test": { "type": "MemberExpression", - "start": 9369, - "end": 9400, + "start": 10968, + "end": 10999, "loc": { "start": { - "line": 232, + "line": 293, "column": 7 }, "end": { - "line": 232, + "line": 293, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 9369, - "end": 9381, + "start": 10968, + "end": 10980, "loc": { "start": { - "line": 232, + "line": 293, "column": 7 }, "end": { - "line": 232, + "line": 293, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 9369, - "end": 9373, + "start": 10968, + "end": 10972, "loc": { "start": { - "line": 232, + "line": 293, "column": 7 }, "end": { - "line": 232, + "line": 293, "column": 11 } }, @@ -12179,15 +15369,15 @@ }, "property": { "type": "Identifier", - "start": 9374, - "end": 9381, + "start": 10973, + "end": 10980, "loc": { "start": { - "line": 232, + "line": 293, "column": 12 }, "end": { - "line": 232, + "line": 293, "column": 19 }, "identifierName": "options" @@ -12199,15 +15389,15 @@ }, "property": { "type": "Identifier", - "start": 9382, - "end": 9400, + "start": 10981, + "end": 10999, "loc": { "start": { - "line": 232, + "line": 293, "column": 20 }, "end": { - "line": 232, + "line": 293, "column": 38 }, "identifierName": "syncInstanceInputs" @@ -12219,72 +15409,72 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 9409, - "end": 9445, + "start": 11008, + "end": 11044, "loc": { "start": { - "line": 233, + "line": 294, "column": 6 }, "end": { - "line": 233, + "line": 294, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 9409, - "end": 9444, + "start": 11008, + "end": 11043, "loc": { "start": { - "line": 233, + "line": 294, "column": 6 }, "end": { - "line": 233, + "line": 294, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 9409, - "end": 9432, + "start": 11008, + "end": 11031, "loc": { "start": { - "line": 233, + "line": 294, "column": 6 }, "end": { - "line": 233, + "line": 294, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 9409, - "end": 9413, + "start": 11008, + "end": 11012, "loc": { "start": { - "line": 233, + "line": 294, "column": 6 }, "end": { - "line": 233, + "line": 294, "column": 10 } } }, "property": { "type": "Identifier", - "start": 9414, - "end": 9432, + "start": 11013, + "end": 11031, "loc": { "start": { - "line": 233, + "line": 294, "column": 11 }, "end": { - "line": 233, + "line": 294, "column": 29 }, "identifierName": "syncInstanceInputs" @@ -12296,44 +15486,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 9433, - "end": 9443, + "start": 11032, + "end": 11042, "loc": { "start": { - "line": 233, + "line": 294, "column": 30 }, "end": { - "line": 233, + "line": 294, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 9433, - "end": 9437, + "start": 11032, + "end": 11036, "loc": { "start": { - "line": 233, + "line": 294, "column": 30 }, "end": { - "line": 233, + "line": 294, "column": 34 } } }, "property": { "type": "Identifier", - "start": 9438, - "end": 9443, + "start": 11037, + "end": 11042, "loc": { "start": { - "line": 233, + "line": 294, "column": 35 }, "end": { - "line": 233, + "line": 294, "column": 40 }, "identifierName": "input" @@ -12350,15 +15540,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 9305, - "end": 9360, + "start": 10904, + "end": 10959, "loc": { "start": { - "line": 229, + "line": 290, "column": 4 }, "end": { - "line": 231, + "line": 292, "column": 7 } } @@ -12367,72 +15557,72 @@ }, { "type": "ReturnStatement", - "start": 9453, - "end": 9495, + "start": 11052, + "end": 11094, "loc": { "start": { - "line": 235, + "line": 296, "column": 4 }, "end": { - "line": 235, + "line": 296, "column": 46 } }, "argument": { "type": "MemberExpression", - "start": 9460, - "end": 9494, + "start": 11059, + "end": 11093, "loc": { "start": { - "line": 235, + "line": 296, "column": 11 }, "end": { - "line": 235, + "line": 296, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 9460, - "end": 9470, + "start": 11059, + "end": 11069, "loc": { "start": { - "line": 235, + "line": 296, "column": 11 }, "end": { - "line": 235, + "line": 296, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 9460, - "end": 9464, + "start": 11059, + "end": 11063, "loc": { "start": { - "line": 235, + "line": 296, "column": 11 }, "end": { - "line": 235, + "line": 296, "column": 15 } } }, "property": { "type": "Identifier", - "start": 9465, - "end": 9470, + "start": 11064, + "end": 11069, "loc": { "start": { - "line": 235, + "line": 296, "column": 16 }, "end": { - "line": 235, + "line": 296, "column": 21 }, "identifierName": "input" @@ -12443,58 +15633,58 @@ }, "property": { "type": "MemberExpression", - "start": 9471, - "end": 9493, + "start": 11070, + "end": 11092, "loc": { "start": { - "line": 235, + "line": 296, "column": 22 }, "end": { - "line": 235, + "line": 296, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 9471, - "end": 9483, + "start": 11070, + "end": 11082, "loc": { "start": { - "line": 235, + "line": 296, "column": 22 }, "end": { - "line": 235, + "line": 296, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 9471, - "end": 9475, + "start": 11070, + "end": 11074, "loc": { "start": { - "line": 235, + "line": 296, "column": 22 }, "end": { - "line": 235, + "line": 296, "column": 26 } } }, "property": { "type": "Identifier", - "start": 9476, - "end": 9483, + "start": 11075, + "end": 11082, "loc": { "start": { - "line": 235, + "line": 296, "column": 27 }, "end": { - "line": 235, + "line": 296, "column": 34 }, "identifierName": "options" @@ -12505,15 +15695,15 @@ }, "property": { "type": "Identifier", - "start": 9484, - "end": 9493, + "start": 11083, + "end": 11092, "loc": { "start": { - "line": 235, + "line": 296, "column": 35 }, "end": { - "line": 235, + "line": 296, "column": 44 }, "identifierName": "inputName" @@ -12533,15 +15723,15 @@ { "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, + "start": 10656, + "end": 10818, "loc": { "start": { - "line": 222, + "line": 283, "column": 2 }, "end": { - "line": 225, + "line": 286, "column": 5 } } @@ -12551,15 +15741,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": 9506, - "end": 9666, + "start": 11105, + "end": 11265, "loc": { "start": { - "line": 238, + "line": 299, "column": 2 }, "end": { - "line": 242, + "line": 303, "column": 5 } } @@ -12568,15 +15758,15 @@ }, { "type": "ClassMethod", - "start": 9670, - "end": 9940, + "start": 11269, + "end": 11539, "loc": { "start": { - "line": 243, + "line": 304, "column": 2 }, "end": { - "line": 252, + "line": 313, "column": 3 } }, @@ -12584,15 +15774,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9670, - "end": 9678, + "start": 11269, + "end": 11277, "loc": { "start": { - "line": 243, + "line": 304, "column": 2 }, "end": { - "line": 243, + "line": 304, "column": 10 }, "identifierName": "setInput" @@ -12608,15 +15798,15 @@ "params": [ { "type": "Identifier", - "start": 9679, - "end": 9684, + "start": 11278, + "end": 11283, "loc": { "start": { - "line": 243, + "line": 304, "column": 11 }, "end": { - "line": 243, + "line": 304, "column": 16 }, "identifierName": "input" @@ -12625,15 +15815,15 @@ }, { "type": "Identifier", - "start": 9686, - "end": 9695, + "start": 11285, + "end": 11294, "loc": { "start": { - "line": 243, + "line": 304, "column": 18 }, "end": { - "line": 243, + "line": 304, "column": 27 }, "identifierName": "inputName" @@ -12643,59 +15833,59 @@ ], "body": { "type": "BlockStatement", - "start": 9696, - "end": 9940, + "start": 11295, + "end": 11539, "loc": { "start": { - "line": 243, + "line": 304, "column": 28 }, "end": { - "line": 252, + "line": 313, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 9703, - "end": 9751, + "start": 11302, + "end": 11350, "loc": { "start": { - "line": 244, + "line": 305, "column": 4 }, "end": { - "line": 244, + "line": 305, "column": 52 } }, "expression": { "type": "AssignmentExpression", - "start": 9703, - "end": 9750, + "start": 11302, + "end": 11349, "loc": { "start": { - "line": 244, + "line": 305, "column": 4 }, "end": { - "line": 244, + "line": 305, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", - "start": 9703, - "end": 9712, + "start": 11302, + "end": 11311, "loc": { "start": { - "line": 244, + "line": 305, "column": 4 }, "end": { - "line": 244, + "line": 305, "column": 13 }, "identifierName": "inputName" @@ -12704,29 +15894,29 @@ }, "right": { "type": "LogicalExpression", - "start": 9715, - "end": 9750, + "start": 11314, + "end": 11349, "loc": { "start": { - "line": 244, + "line": 305, "column": 16 }, "end": { - "line": 244, + "line": 305, "column": 51 } }, "left": { "type": "Identifier", - "start": 9715, - "end": 9724, + "start": 11314, + "end": 11323, "loc": { "start": { - "line": 244, + "line": 305, "column": 16 }, "end": { - "line": 244, + "line": 305, "column": 25 }, "identifierName": "inputName" @@ -12736,58 +15926,58 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 9728, - "end": 9750, + "start": 11327, + "end": 11349, "loc": { "start": { - "line": 244, + "line": 305, "column": 29 }, "end": { - "line": 244, + "line": 305, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 9728, - "end": 9740, + "start": 11327, + "end": 11339, "loc": { "start": { - "line": 244, + "line": 305, "column": 29 }, "end": { - "line": 244, + "line": 305, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 9728, - "end": 9732, + "start": 11327, + "end": 11331, "loc": { "start": { - "line": 244, + "line": 305, "column": 29 }, "end": { - "line": 244, + "line": 305, "column": 33 } } }, "property": { "type": "Identifier", - "start": 9733, - "end": 9740, + "start": 11332, + "end": 11339, "loc": { "start": { - "line": 244, + "line": 305, "column": 34 }, "end": { - "line": 244, + "line": 305, "column": 41 }, "identifierName": "options" @@ -12798,15 +15988,15 @@ }, "property": { "type": "Identifier", - "start": 9741, - "end": 9750, + "start": 11340, + "end": 11349, "loc": { "start": { - "line": 244, + "line": 305, "column": 42 }, "end": { - "line": 244, + "line": 305, "column": 51 }, "identifierName": "inputName" @@ -12820,87 +16010,87 @@ }, { "type": "ExpressionStatement", - "start": 9757, - "end": 9787, + "start": 11356, + "end": 11386, "loc": { "start": { - "line": 245, + "line": 306, "column": 4 }, "end": { - "line": 245, + "line": 306, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 9757, - "end": 9786, + "start": 11356, + "end": 11385, "loc": { "start": { - "line": 245, + "line": 306, "column": 4 }, "end": { - "line": 245, + "line": 306, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9757, - "end": 9778, + "start": 11356, + "end": 11377, "loc": { "start": { - "line": 245, + "line": 306, "column": 4 }, "end": { - "line": 245, + "line": 306, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 9757, - "end": 9767, + "start": 11356, + "end": 11366, "loc": { "start": { - "line": 245, + "line": 306, "column": 4 }, "end": { - "line": 245, + "line": 306, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 9757, - "end": 9761, + "start": 11356, + "end": 11360, "loc": { "start": { - "line": 245, + "line": 306, "column": 4 }, "end": { - "line": 245, + "line": 306, "column": 8 } } }, "property": { "type": "Identifier", - "start": 9762, - "end": 9767, + "start": 11361, + "end": 11366, "loc": { "start": { - "line": 245, + "line": 306, "column": 9 }, "end": { - "line": 245, + "line": 306, "column": 14 }, "identifierName": "input" @@ -12911,15 +16101,15 @@ }, "property": { "type": "Identifier", - "start": 9768, - "end": 9777, + "start": 11367, + "end": 11376, "loc": { "start": { - "line": 245, + "line": 306, "column": 15 }, "end": { - "line": 245, + "line": 306, "column": 24 }, "identifierName": "inputName" @@ -12930,15 +16120,15 @@ }, "right": { "type": "Identifier", - "start": 9781, - "end": 9786, + "start": 11380, + "end": 11385, "loc": { "start": { - "line": 245, + "line": 306, "column": 28 }, "end": { - "line": 245, + "line": 306, "column": 33 }, "identifierName": "input" @@ -12950,15 +16140,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 9795, - "end": 9850, + "start": 11394, + "end": 11449, "loc": { "start": { - "line": 247, + "line": 308, "column": 4 }, "end": { - "line": 249, + "line": 310, "column": 7 } } @@ -12967,57 +16157,57 @@ }, { "type": "IfStatement", - "start": 9856, - "end": 9935, + "start": 11455, + "end": 11534, "loc": { "start": { - "line": 250, + "line": 311, "column": 4 }, "end": { - "line": 251, + "line": 312, "column": 42 } }, "test": { "type": "MemberExpression", - "start": 9859, - "end": 9890, + "start": 11458, + "end": 11489, "loc": { "start": { - "line": 250, + "line": 311, "column": 7 }, "end": { - "line": 250, + "line": 311, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 9859, - "end": 9871, + "start": 11458, + "end": 11470, "loc": { "start": { - "line": 250, + "line": 311, "column": 7 }, "end": { - "line": 250, + "line": 311, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 9859, - "end": 9863, + "start": 11458, + "end": 11462, "loc": { "start": { - "line": 250, + "line": 311, "column": 7 }, "end": { - "line": 250, + "line": 311, "column": 11 } }, @@ -13025,15 +16215,15 @@ }, "property": { "type": "Identifier", - "start": 9864, - "end": 9871, + "start": 11463, + "end": 11470, "loc": { "start": { - "line": 250, + "line": 311, "column": 12 }, "end": { - "line": 250, + "line": 311, "column": 19 }, "identifierName": "options" @@ -13045,15 +16235,15 @@ }, "property": { "type": "Identifier", - "start": 9872, - "end": 9890, + "start": 11471, + "end": 11489, "loc": { "start": { - "line": 250, + "line": 311, "column": 20 }, "end": { - "line": 250, + "line": 311, "column": 38 }, "identifierName": "syncInstanceInputs" @@ -13065,72 +16255,72 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 9899, - "end": 9935, + "start": 11498, + "end": 11534, "loc": { "start": { - "line": 251, + "line": 312, "column": 6 }, "end": { - "line": 251, + "line": 312, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 9899, - "end": 9934, + "start": 11498, + "end": 11533, "loc": { "start": { - "line": 251, + "line": 312, "column": 6 }, "end": { - "line": 251, + "line": 312, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 9899, - "end": 9922, + "start": 11498, + "end": 11521, "loc": { "start": { - "line": 251, + "line": 312, "column": 6 }, "end": { - "line": 251, + "line": 312, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 9899, - "end": 9903, + "start": 11498, + "end": 11502, "loc": { "start": { - "line": 251, + "line": 312, "column": 6 }, "end": { - "line": 251, + "line": 312, "column": 10 } } }, "property": { "type": "Identifier", - "start": 9904, - "end": 9922, + "start": 11503, + "end": 11521, "loc": { "start": { - "line": 251, + "line": 312, "column": 11 }, "end": { - "line": 251, + "line": 312, "column": 29 }, "identifierName": "syncInstanceInputs" @@ -13142,44 +16332,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 9923, - "end": 9933, + "start": 11522, + "end": 11532, "loc": { "start": { - "line": 251, + "line": 312, "column": 30 }, "end": { - "line": 251, + "line": 312, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 9923, - "end": 9927, + "start": 11522, + "end": 11526, "loc": { "start": { - "line": 251, + "line": 312, "column": 30 }, "end": { - "line": 251, + "line": 312, "column": 34 } } }, "property": { "type": "Identifier", - "start": 9928, - "end": 9933, + "start": 11527, + "end": 11532, "loc": { "start": { - "line": 251, + "line": 312, "column": 35 }, "end": { - "line": 251, + "line": 312, "column": 40 }, "identifierName": "input" @@ -13196,15 +16386,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 9795, - "end": 9850, + "start": 11394, + "end": 11449, "loc": { "start": { - "line": 247, + "line": 308, "column": 4 }, "end": { - "line": 249, + "line": 310, "column": 7 } } @@ -13219,15 +16409,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": 9506, - "end": 9666, + "start": 11105, + "end": 11265, "loc": { "start": { - "line": 238, + "line": 299, "column": 2 }, "end": { - "line": 242, + "line": 303, "column": 5 } } @@ -13237,15 +16427,15 @@ { "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, + "start": 11547, + "end": 11656, "loc": { "start": { - "line": 254, + "line": 315, "column": 2 }, "end": { - "line": 257, + "line": 318, "column": 5 } } @@ -13254,15 +16444,15 @@ }, { "type": "ClassMethod", - "start": 10061, - "end": 10117, + "start": 11660, + "end": 11716, "loc": { "start": { - "line": 258, + "line": 319, "column": 2 }, "end": { - "line": 260, + "line": 321, "column": 3 } }, @@ -13270,15 +16460,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10061, - "end": 10073, + "start": 11660, + "end": 11672, "loc": { "start": { - "line": 258, + "line": 319, "column": 2 }, "end": { - "line": 258, + "line": 319, "column": 14 }, "identifierName": "replaceInput" @@ -13294,15 +16484,15 @@ "params": [ { "type": "Identifier", - "start": 10074, - "end": 10082, + "start": 11673, + "end": 11681, "loc": { "start": { - "line": 258, + "line": 319, "column": 15 }, "end": { - "line": 258, + "line": 319, "column": 23 }, "identifierName": "inputObj" @@ -13312,88 +16502,88 @@ ], "body": { "type": "BlockStatement", - "start": 10083, - "end": 10117, + "start": 11682, + "end": 11716, "loc": { "start": { - "line": 258, + "line": 319, "column": 24 }, "end": { - "line": 260, + "line": 321, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 10090, - "end": 10112, + "start": 11689, + "end": 11711, "loc": { "start": { - "line": 259, + "line": 320, "column": 4 }, "end": { - "line": 259, + "line": 320, "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 10090, - "end": 10111, + "start": 11689, + "end": 11710, "loc": { "start": { - "line": 259, + "line": 320, "column": 4 }, "end": { - "line": 259, + "line": 320, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 10090, - "end": 10100, + "start": 11689, + "end": 11699, "loc": { "start": { - "line": 259, + "line": 320, "column": 4 }, "end": { - "line": 259, + "line": 320, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 10090, - "end": 10094, + "start": 11689, + "end": 11693, "loc": { "start": { - "line": 259, + "line": 320, "column": 4 }, "end": { - "line": 259, + "line": 320, "column": 8 } } }, "property": { "type": "Identifier", - "start": 10095, - "end": 10100, + "start": 11694, + "end": 11699, "loc": { "start": { - "line": 259, + "line": 320, "column": 9 }, "end": { - "line": 259, + "line": 320, "column": 14 }, "identifierName": "input" @@ -13404,15 +16594,15 @@ }, "right": { "type": "Identifier", - "start": 10103, - "end": 10111, + "start": 11702, + "end": 11710, "loc": { "start": { - "line": 259, + "line": 320, "column": 17 }, "end": { - "line": 259, + "line": 320, "column": 25 }, "identifierName": "inputObj" @@ -13429,15 +16619,15 @@ { "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, + "start": 11547, + "end": 11656, "loc": { "start": { - "line": 254, + "line": 315, "column": 2 }, "end": { - "line": 257, + "line": 318, "column": 5 } } @@ -13447,15 +16637,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": 10123, - "end": 10249, + "start": 11722, + "end": 11848, "loc": { "start": { - "line": 262, + "line": 323, "column": 2 }, "end": { - "line": 265, + "line": 326, "column": 5 } } @@ -13464,15 +16654,15 @@ }, { "type": "ClassProperty", - "start": 10253, - "end": 10387, + "start": 11852, + "end": 12053, "loc": { "start": { - "line": 266, + "line": 327, "column": 2 }, "end": { - "line": 270, + "line": 336, "column": 3 } }, @@ -13480,15 +16670,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10253, - "end": 10263, + "start": 11852, + "end": 11862, "loc": { "start": { - "line": 266, + "line": 327, "column": 2 }, "end": { - "line": 266, + "line": 327, "column": 12 }, "identifierName": "setOptions" @@ -13498,15 +16688,15 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 10266, - "end": 10387, + "start": 11865, + "end": 12053, "loc": { "start": { - "line": 266, + "line": 327, "column": 15 }, "end": { - "line": 270, + "line": 336, "column": 3 } }, @@ -13517,15 +16707,15 @@ "params": [ { "type": "Identifier", - "start": 10266, - "end": 10272, + "start": 11865, + "end": 11871, "loc": { "start": { - "line": 266, + "line": 327, "column": 15 }, "end": { - "line": 266, + "line": 327, "column": 21 }, "identifierName": "option" @@ -13535,59 +16725,59 @@ ], "body": { "type": "BlockStatement", - "start": 10276, - "end": 10387, + "start": 11875, + "end": 12053, "loc": { "start": { - "line": 266, + "line": 327, "column": 25 }, "end": { - "line": 270, + "line": 336, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 10283, - "end": 10305, + "start": 11882, + "end": 11904, "loc": { "start": { - "line": 267, + "line": 328, "column": 4 }, "end": { - "line": 267, + "line": 328, "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 10283, - "end": 10304, + "start": 11882, + "end": 11903, "loc": { "start": { - "line": 267, + "line": 328, "column": 4 }, "end": { - "line": 267, + "line": 328, "column": 25 } }, "operator": "=", "left": { "type": "Identifier", - "start": 10283, - "end": 10289, + "start": 11882, + "end": 11888, "loc": { "start": { - "line": 267, + "line": 328, "column": 4 }, "end": { - "line": 267, + "line": 328, "column": 10 }, "identifierName": "option" @@ -13596,29 +16786,29 @@ }, "right": { "type": "LogicalExpression", - "start": 10292, - "end": 10304, + "start": 11891, + "end": 11903, "loc": { "start": { - "line": 267, + "line": 328, "column": 13 }, "end": { - "line": 267, + "line": 328, "column": 25 } }, "left": { "type": "Identifier", - "start": 10292, - "end": 10298, + "start": 11891, + "end": 11897, "loc": { "start": { - "line": 267, + "line": 328, "column": 13 }, "end": { - "line": 267, + "line": 328, "column": 19 }, "identifierName": "option" @@ -13628,15 +16818,15 @@ "operator": "||", "right": { "type": "ObjectExpression", - "start": 10302, - "end": 10304, + "start": 11901, + "end": 11903, "loc": { "start": { - "line": 267, + "line": 328, "column": 23 }, "end": { - "line": 267, + "line": 328, "column": 25 } }, @@ -13647,73 +16837,73 @@ }, { "type": "ExpressionStatement", - "start": 10311, - "end": 10362, + "start": 11910, + "end": 11961, "loc": { "start": { - "line": 268, + "line": 329, "column": 4 }, "end": { - "line": 268, + "line": 329, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 10311, - "end": 10361, + "start": 11910, + "end": 11960, "loc": { "start": { - "line": 268, + "line": 329, "column": 4 }, "end": { - "line": 268, + "line": 329, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 10311, - "end": 10323, + "start": 11910, + "end": 11922, "loc": { "start": { - "line": 268, + "line": 329, "column": 4 }, "end": { - "line": 268, + "line": 329, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 10311, - "end": 10315, + "start": 11910, + "end": 11914, "loc": { "start": { - "line": 268, + "line": 329, "column": 4 }, "end": { - "line": 268, + "line": 329, "column": 8 } } }, "property": { "type": "Identifier", - "start": 10316, - "end": 10323, + "start": 11915, + "end": 11922, "loc": { "start": { - "line": 268, + "line": 329, "column": 9 }, "end": { - "line": 268, + "line": 329, "column": 16 }, "identifierName": "options" @@ -13724,43 +16914,43 @@ }, "right": { "type": "CallExpression", - "start": 10326, - "end": 10361, + "start": 11925, + "end": 11960, "loc": { "start": { - "line": 268, + "line": 329, "column": 19 }, "end": { - "line": 268, + "line": 329, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 10326, - "end": 10339, + "start": 11925, + "end": 11938, "loc": { "start": { - "line": 268, + "line": 329, "column": 19 }, "end": { - "line": 268, + "line": 329, "column": 32 } }, "object": { "type": "Identifier", - "start": 10326, - "end": 10332, + "start": 11925, + "end": 11931, "loc": { "start": { - "line": 268, + "line": 329, "column": 19 }, "end": { - "line": 268, + "line": 329, "column": 25 }, "identifierName": "Object" @@ -13769,15 +16959,15 @@ }, "property": { "type": "Identifier", - "start": 10333, - "end": 10339, + "start": 11932, + "end": 11938, "loc": { "start": { - "line": 268, + "line": 329, "column": 26 }, "end": { - "line": 268, + "line": 329, "column": 32 }, "identifierName": "assign" @@ -13789,44 +16979,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 10340, - "end": 10352, + "start": 11939, + "end": 11951, "loc": { "start": { - "line": 268, + "line": 329, "column": 33 }, "end": { - "line": 268, + "line": 329, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 10340, - "end": 10344, + "start": 11939, + "end": 11943, "loc": { "start": { - "line": 268, + "line": 329, "column": 33 }, "end": { - "line": 268, + "line": 329, "column": 37 } } }, "property": { "type": "Identifier", - "start": 10345, - "end": 10352, + "start": 11944, + "end": 11951, "loc": { "start": { - "line": 268, + "line": 329, "column": 38 }, "end": { - "line": 268, + "line": 329, "column": 45 }, "identifierName": "options" @@ -13837,15 +17027,15 @@ }, { "type": "Identifier", - "start": 10354, - "end": 10360, + "start": 11953, + "end": 11959, "loc": { "start": { - "line": 268, + "line": 329, "column": 47 }, "end": { - "line": 268, + "line": 329, "column": 53 }, "identifierName": "option" @@ -13858,72 +17048,72 @@ }, { "type": "ExpressionStatement", - "start": 10368, - "end": 10382, + "start": 11967, + "end": 11981, "loc": { "start": { - "line": 269, + "line": 330, "column": 4 }, "end": { - "line": 269, + "line": 330, "column": 18 } }, "expression": { "type": "CallExpression", - "start": 10368, - "end": 10381, + "start": 11967, + "end": 11980, "loc": { "start": { - "line": 269, + "line": 330, "column": 4 }, "end": { - "line": 269, + "line": 330, "column": 17 } }, "callee": { "type": "MemberExpression", - "start": 10368, - "end": 10379, + "start": 11967, + "end": 11978, "loc": { "start": { - "line": 269, + "line": 330, "column": 4 }, "end": { - "line": 269, + "line": 330, "column": 15 } }, "object": { "type": "ThisExpression", - "start": 10368, - "end": 10372, + "start": 11967, + "end": 11971, "loc": { "start": { - "line": 269, + "line": 330, "column": 4 }, "end": { - "line": 269, + "line": 330, "column": 8 } } }, "property": { "type": "Identifier", - "start": 10373, - "end": 10379, + "start": 11972, + "end": 11978, "loc": { "start": { - "line": 269, + "line": 330, "column": 9 }, "end": { - "line": 269, + "line": 330, "column": 15 }, "identifierName": "render" @@ -13933,7 +17123,125 @@ "computed": false }, "arguments": [] - } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Apply modules\r\n ", + "start": 11989, + "end": 12023, + "loc": { + "start": { + "line": 332, + "column": 4 + }, + "end": { + "line": 334, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 12029, + "end": 12048, + "loc": { + "start": { + "line": 335, + "column": 4 + }, + "end": { + "line": 335, + "column": 23 + } + }, + "expression": { + "type": "CallExpression", + "start": 12029, + "end": 12047, + "loc": { + "start": { + "line": 335, + "column": 4 + }, + "end": { + "line": 335, + "column": 22 + } + }, + "callee": { + "type": "MemberExpression", + "start": 12029, + "end": 12045, + "loc": { + "start": { + "line": 335, + "column": 4 + }, + "end": { + "line": 335, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 12029, + "end": 12033, + "loc": { + "start": { + "line": 335, + "column": 4 + }, + "end": { + "line": 335, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 12034, + "end": 12045, + "loc": { + "start": { + "line": 335, + "column": 9 + }, + "end": { + "line": 335, + "column": 20 + }, + "identifierName": "loadModules" + }, + "name": "loadModules" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Apply modules\r\n ", + "start": 11989, + "end": 12023, + "loc": { + "start": { + "line": 332, + "column": 4 + }, + "end": { + "line": 334, + "column": 7 + } + } + } + ] } ], "directives": [], @@ -13945,15 +17253,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": 10123, - "end": 10249, + "start": 11722, + "end": 11848, "loc": { "start": { - "line": 262, + "line": 323, "column": 2 }, "end": { - "line": 265, + "line": 326, "column": 5 } } @@ -13963,15 +17271,15 @@ { "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, + "start": 12059, + "end": 12168, "loc": { "start": { - "line": 272, + "line": 338, "column": 2 }, "end": { - "line": 275, + "line": 341, "column": 5 } } @@ -13980,15 +17288,15 @@ }, { "type": "ClassMethod", - "start": 10506, - "end": 10645, + "start": 12172, + "end": 12311, "loc": { "start": { - "line": 276, + "line": 342, "column": 2 }, "end": { - "line": 280, + "line": 346, "column": 3 } }, @@ -13996,15 +17304,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10506, - "end": 10511, + "start": 12172, + "end": 12177, "loc": { "start": { - "line": 276, + "line": 342, "column": 2 }, "end": { - "line": 276, + "line": 342, "column": 7 }, "identifierName": "clear" @@ -14020,102 +17328,102 @@ "params": [], "body": { "type": "BlockStatement", - "start": 10513, - "end": 10645, + "start": 12179, + "end": 12311, "loc": { "start": { - "line": 276, + "line": 342, "column": 9 }, "end": { - "line": 280, + "line": 346, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 10520, - "end": 10552, + "start": 12186, + "end": 12218, "loc": { "start": { - "line": 277, + "line": 343, "column": 4 }, "end": { - "line": 277, + "line": 343, "column": 36 } }, "expression": { "type": "AssignmentExpression", - "start": 10520, - "end": 10551, + "start": 12186, + "end": 12217, "loc": { "start": { - "line": 277, + "line": 343, "column": 4 }, "end": { - "line": 277, + "line": 343, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 10520, - "end": 10546, + "start": 12186, + "end": 12212, "loc": { "start": { - "line": 277, + "line": 343, "column": 4 }, "end": { - "line": 277, + "line": 343, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 10520, - "end": 10536, + "start": 12186, + "end": 12202, "loc": { "start": { - "line": 277, + "line": 343, "column": 4 }, "end": { - "line": 277, + "line": 343, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 10520, - "end": 10524, + "start": 12186, + "end": 12190, "loc": { "start": { - "line": 277, + "line": 343, "column": 4 }, "end": { - "line": 277, + "line": 343, "column": 8 } } }, "property": { "type": "Identifier", - "start": 10525, - "end": 10536, + "start": 12191, + "end": 12202, "loc": { "start": { - "line": 277, + "line": 343, "column": 9 }, "end": { - "line": 277, + "line": 343, "column": 20 }, "identifierName": "keyboardDOM" @@ -14126,15 +17434,15 @@ }, "property": { "type": "Identifier", - "start": 10537, - "end": 10546, + "start": 12203, + "end": 12212, "loc": { "start": { - "line": 277, + "line": 343, "column": 21 }, "end": { - "line": 277, + "line": 343, "column": 30 }, "identifierName": "innerHTML" @@ -14145,15 +17453,15 @@ }, "right": { "type": "StringLiteral", - "start": 10549, - "end": 10551, + "start": 12215, + "end": 12217, "loc": { "start": { - "line": 277, + "line": 343, "column": 33 }, "end": { - "line": 277, + "line": 343, "column": 35 } }, @@ -14167,87 +17475,87 @@ }, { "type": "ExpressionStatement", - "start": 10558, - "end": 10609, + "start": 12224, + "end": 12275, "loc": { "start": { - "line": 278, + "line": 344, "column": 4 }, "end": { - "line": 278, + "line": 344, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 10558, - "end": 10608, + "start": 12224, + "end": 12274, "loc": { "start": { - "line": 278, + "line": 344, "column": 4 }, "end": { - "line": 278, + "line": 344, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 10558, - "end": 10584, + "start": 12224, + "end": 12250, "loc": { "start": { - "line": 278, + "line": 344, "column": 4 }, "end": { - "line": 278, + "line": 344, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 10558, - "end": 10574, + "start": 12224, + "end": 12240, "loc": { "start": { - "line": 278, + "line": 344, "column": 4 }, "end": { - "line": 278, + "line": 344, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 10558, - "end": 10562, + "start": 12224, + "end": 12228, "loc": { "start": { - "line": 278, + "line": 344, "column": 4 }, "end": { - "line": 278, + "line": 344, "column": 8 } } }, "property": { "type": "Identifier", - "start": 10563, - "end": 10574, + "start": 12229, + "end": 12240, "loc": { "start": { - "line": 278, + "line": 344, "column": 9 }, "end": { - "line": 278, + "line": 344, "column": 20 }, "identifierName": "keyboardDOM" @@ -14258,15 +17566,15 @@ }, "property": { "type": "Identifier", - "start": 10575, - "end": 10584, + "start": 12241, + "end": 12250, "loc": { "start": { - "line": 278, + "line": 344, "column": 21 }, "end": { - "line": 278, + "line": 344, "column": 30 }, "identifierName": "className" @@ -14277,44 +17585,44 @@ }, "right": { "type": "MemberExpression", - "start": 10587, - "end": 10608, + "start": 12253, + "end": 12274, "loc": { "start": { - "line": 278, + "line": 344, "column": 33 }, "end": { - "line": 278, + "line": 344, "column": 54 } }, "object": { "type": "ThisExpression", - "start": 10587, - "end": 10591, + "start": 12253, + "end": 12257, "loc": { "start": { - "line": 278, + "line": 344, "column": 33 }, "end": { - "line": 278, + "line": 344, "column": 37 } } }, "property": { "type": "Identifier", - "start": 10592, - "end": 10608, + "start": 12258, + "end": 12274, "loc": { "start": { - "line": 278, + "line": 344, "column": 38 }, "end": { - "line": 278, + "line": 344, "column": 54 }, "identifierName": "keyboardDOMClass" @@ -14327,73 +17635,73 @@ }, { "type": "ExpressionStatement", - "start": 10615, - "end": 10640, + "start": 12281, + "end": 12306, "loc": { "start": { - "line": 279, + "line": 345, "column": 4 }, "end": { - "line": 279, + "line": 345, "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 10615, - "end": 10639, + "start": 12281, + "end": 12305, "loc": { "start": { - "line": 279, + "line": 345, "column": 4 }, "end": { - "line": 279, + "line": 345, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 10615, - "end": 10634, + "start": 12281, + "end": 12300, "loc": { "start": { - "line": 279, + "line": 345, "column": 4 }, "end": { - "line": 279, + "line": 345, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 10615, - "end": 10619, + "start": 12281, + "end": 12285, "loc": { "start": { - "line": 279, + "line": 345, "column": 4 }, "end": { - "line": 279, + "line": 345, "column": 8 } } }, "property": { "type": "Identifier", - "start": 10620, - "end": 10634, + "start": 12286, + "end": 12300, "loc": { "start": { - "line": 279, + "line": 345, "column": 9 }, "end": { - "line": 279, + "line": 345, "column": 23 }, "identifierName": "buttonElements" @@ -14404,15 +17712,15 @@ }, "right": { "type": "ObjectExpression", - "start": 10637, - "end": 10639, + "start": 12303, + "end": 12305, "loc": { "start": { - "line": 279, + "line": 345, "column": 26 }, "end": { - "line": 279, + "line": 345, "column": 28 } }, @@ -14428,15 +17736,15 @@ { "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, + "start": 12059, + "end": 12168, "loc": { "start": { - "line": 272, + "line": 338, "column": 2 }, "end": { - "line": 275, + "line": 341, "column": 5 } } @@ -14446,15 +17754,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": 10651, - "end": 10856, + "start": 12317, + "end": 12522, "loc": { "start": { - "line": 282, + "line": 348, "column": 2 }, "end": { - "line": 285, + "line": 351, "column": 5 } } @@ -14463,15 +17771,15 @@ }, { "type": "ClassMethod", - "start": 10860, - "end": 11228, + "start": 12526, + "end": 12894, "loc": { "start": { - "line": 286, + "line": 352, "column": 2 }, "end": { - "line": 295, + "line": 361, "column": 3 } }, @@ -14479,15 +17787,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10860, - "end": 10868, + "start": 12526, + "end": 12534, "loc": { "start": { - "line": 286, + "line": 352, "column": 2 }, "end": { - "line": 286, + "line": 352, "column": 10 }, "identifierName": "dispatch" @@ -14503,15 +17811,15 @@ "params": [ { "type": "Identifier", - "start": 10869, - "end": 10877, + "start": 12535, + "end": 12543, "loc": { "start": { - "line": 286, + "line": 352, "column": 11 }, "end": { - "line": 286, + "line": 352, "column": 19 }, "identifierName": "callback" @@ -14521,44 +17829,44 @@ ], "body": { "type": "BlockStatement", - "start": 10878, - "end": 11228, + "start": 12544, + "end": 12894, "loc": { "start": { - "line": 286, + "line": 352, "column": 20 }, "end": { - "line": 295, + "line": 361, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 10885, - "end": 11069, + "start": 12551, + "end": 12735, "loc": { "start": { - "line": 287, + "line": 353, "column": 4 }, "end": { - "line": 290, + "line": 356, "column": 5 } }, "test": { "type": "UnaryExpression", - "start": 10888, - "end": 10922, + "start": 12554, + "end": 12588, "loc": { "start": { - "line": 287, + "line": 353, "column": 7 }, "end": { - "line": 287, + "line": 353, "column": 41 } }, @@ -14566,29 +17874,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 10889, - "end": 10922, + "start": 12555, + "end": 12588, "loc": { "start": { - "line": 287, + "line": 353, "column": 8 }, "end": { - "line": 287, + "line": 353, "column": 41 } }, "object": { "type": "Identifier", - "start": 10889, - "end": 10895, + "start": 12555, + "end": 12561, "loc": { "start": { - "line": 287, + "line": 353, "column": 8 }, "end": { - "line": 287, + "line": 353, "column": 14 }, "identifierName": "window" @@ -14597,15 +17905,15 @@ }, "property": { "type": "StringLiteral", - "start": 10896, - "end": 10921, + "start": 12562, + "end": 12587, "loc": { "start": { - "line": 287, + "line": 353, "column": 15 }, "end": { - "line": 287, + "line": 353, "column": 40 } }, @@ -14623,72 +17931,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 10923, - "end": 11069, + "start": 12589, + "end": 12735, "loc": { "start": { - "line": 287, + "line": 353, "column": 42 }, "end": { - "line": 290, + "line": 356, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 10932, - "end": 11015, + "start": 12598, + "end": 12681, "loc": { "start": { - "line": 288, + "line": 354, "column": 6 }, "end": { - "line": 288, + "line": 354, "column": 89 } }, "expression": { "type": "CallExpression", - "start": 10932, - "end": 11014, + "start": 12598, + "end": 12680, "loc": { "start": { - "line": 288, + "line": 354, "column": 6 }, "end": { - "line": 288, + "line": 354, "column": 88 } }, "callee": { "type": "MemberExpression", - "start": 10932, - "end": 10944, + "start": 12598, + "end": 12610, "loc": { "start": { - "line": 288, + "line": 354, "column": 6 }, "end": { - "line": 288, + "line": 354, "column": 18 } }, "object": { "type": "Identifier", - "start": 10932, - "end": 10939, + "start": 12598, + "end": 12605, "loc": { "start": { - "line": 288, + "line": 354, "column": 6 }, "end": { - "line": 288, + "line": 354, "column": 13 }, "identifierName": "console" @@ -14697,15 +18005,15 @@ }, "property": { "type": "Identifier", - "start": 10940, - "end": 10944, + "start": 12606, + "end": 12610, "loc": { "start": { - "line": 288, + "line": 354, "column": 14 }, "end": { - "line": 288, + "line": 354, "column": 18 }, "identifierName": "warn" @@ -14717,15 +18025,15 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 10945, - "end": 11013, + "start": 12611, + "end": 12679, "loc": { "start": { - "line": 288, + "line": 354, "column": 19 }, "end": { - "line": 288, + "line": 354, "column": 87 } }, @@ -14733,15 +18041,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 10946, - "end": 11012, + "start": 12612, + "end": 12678, "loc": { "start": { - "line": 288, + "line": 354, "column": 20 }, "end": { - "line": 288, + "line": 354, "column": 86 } }, @@ -14758,43 +18066,43 @@ }, { "type": "ThrowStatement", - "start": 11023, - "end": 11062, + "start": 12689, + "end": 12728, "loc": { "start": { - "line": 289, + "line": 355, "column": 6 }, "end": { - "line": 289, + "line": 355, "column": 45 } }, "argument": { "type": "NewExpression", - "start": 11029, - "end": 11061, + "start": 12695, + "end": 12727, "loc": { "start": { - "line": 289, + "line": 355, "column": 12 }, "end": { - "line": 289, + "line": 355, "column": 44 } }, "callee": { "type": "Identifier", - "start": 11033, - "end": 11038, + "start": 12699, + "end": 12704, "loc": { "start": { - "line": 289, + "line": 355, "column": 16 }, "end": { - "line": 289, + "line": 355, "column": 21 }, "identifierName": "Error" @@ -14804,15 +18112,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 11039, - "end": 11060, + "start": 12705, + "end": 12726, "loc": { "start": { - "line": 289, + "line": 355, "column": 22 }, "end": { - "line": 289, + "line": 355, "column": 43 } }, @@ -14832,85 +18140,85 @@ }, { "type": "ReturnStatement", - "start": 11081, - "end": 11223, + "start": 12747, + "end": 12889, "loc": { "start": { - "line": 292, + "line": 358, "column": 4 }, "end": { - "line": 294, + "line": 360, "column": 6 } }, "argument": { "type": "CallExpression", - "start": 11088, - "end": 11223, + "start": 12754, + "end": 12889, "loc": { "start": { - "line": 292, + "line": 358, "column": 11 }, "end": { - "line": 294, + "line": 360, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 11088, - "end": 11142, + "start": 12754, + "end": 12808, "loc": { "start": { - "line": 292, + "line": 358, "column": 11 }, "end": { - "line": 292, + "line": 358, "column": 65 } }, "object": { "type": "CallExpression", - "start": 11088, - "end": 11134, + "start": 12754, + "end": 12800, "loc": { "start": { - "line": 292, + "line": 358, "column": 11 }, "end": { - "line": 292, + "line": 358, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 11088, - "end": 11099, + "start": 12754, + "end": 12765, "loc": { "start": { - "line": 292, + "line": 358, "column": 11 }, "end": { - "line": 292, + "line": 358, "column": 22 } }, "object": { "type": "Identifier", - "start": 11088, - "end": 11094, + "start": 12754, + "end": 12760, "loc": { "start": { - "line": 292, + "line": 358, "column": 11 }, "end": { - "line": 292, + "line": 358, "column": 17 }, "identifierName": "Object" @@ -14919,15 +18227,15 @@ }, "property": { "type": "Identifier", - "start": 11095, - "end": 11099, + "start": 12761, + "end": 12765, "loc": { "start": { - "line": 292, + "line": 358, "column": 18 }, "end": { - "line": 292, + "line": 358, "column": 22 }, "identifierName": "keys" @@ -14939,29 +18247,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 11100, - "end": 11133, + "start": 12766, + "end": 12799, "loc": { "start": { - "line": 292, + "line": 358, "column": 23 }, "end": { - "line": 292, + "line": 358, "column": 56 } }, "object": { "type": "Identifier", - "start": 11100, - "end": 11106, + "start": 12766, + "end": 12772, "loc": { "start": { - "line": 292, + "line": 358, "column": 23 }, "end": { - "line": 292, + "line": 358, "column": 29 }, "identifierName": "window" @@ -14970,15 +18278,15 @@ }, "property": { "type": "StringLiteral", - "start": 11107, - "end": 11132, + "start": 12773, + "end": 12798, "loc": { "start": { - "line": 292, + "line": 358, "column": 30 }, "end": { - "line": 292, + "line": 358, "column": 55 } }, @@ -14994,15 +18302,15 @@ }, "property": { "type": "Identifier", - "start": 11135, - "end": 11142, + "start": 12801, + "end": 12808, "loc": { "start": { - "line": 292, + "line": 358, "column": 58 }, "end": { - "line": 292, + "line": 358, "column": 65 }, "identifierName": "forEach" @@ -15014,15 +18322,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 11143, - "end": 11222, + "start": 12809, + "end": 12888, "loc": { "start": { - "line": 292, + "line": 358, "column": 66 }, "end": { - "line": 294, + "line": 360, "column": 5 } }, @@ -15033,15 +18341,15 @@ "params": [ { "type": "Identifier", - "start": 11144, - "end": 11147, + "start": 12810, + "end": 12813, "loc": { "start": { - "line": 292, + "line": 358, "column": 67 }, "end": { - "line": 292, + "line": 358, "column": 70 }, "identifierName": "key" @@ -15051,58 +18359,58 @@ ], "body": { "type": "BlockStatement", - "start": 11152, - "end": 11222, + "start": 12818, + "end": 12888, "loc": { "start": { - "line": 292, + "line": 358, "column": 75 }, "end": { - "line": 294, + "line": 360, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 11161, - "end": 11215, + "start": 12827, + "end": 12881, "loc": { "start": { - "line": 293, + "line": 359, "column": 6 }, "end": { - "line": 293, + "line": 359, "column": 60 } }, "expression": { "type": "CallExpression", - "start": 11161, - "end": 11214, + "start": 12827, + "end": 12880, "loc": { "start": { - "line": 293, + "line": 359, "column": 6 }, "end": { - "line": 293, + "line": 359, "column": 59 } }, "callee": { "type": "Identifier", - "start": 11161, - "end": 11169, + "start": 12827, + "end": 12835, "loc": { "start": { - "line": 293, + "line": 359, "column": 6 }, "end": { - "line": 293, + "line": 359, "column": 14 }, "identifierName": "callback" @@ -15112,43 +18420,43 @@ "arguments": [ { "type": "MemberExpression", - "start": 11170, - "end": 11208, + "start": 12836, + "end": 12874, "loc": { "start": { - "line": 293, + "line": 359, "column": 15 }, "end": { - "line": 293, + "line": 359, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 11170, - "end": 11203, + "start": 12836, + "end": 12869, "loc": { "start": { - "line": 293, + "line": 359, "column": 15 }, "end": { - "line": 293, + "line": 359, "column": 48 } }, "object": { "type": "Identifier", - "start": 11170, - "end": 11176, + "start": 12836, + "end": 12842, "loc": { "start": { - "line": 293, + "line": 359, "column": 15 }, "end": { - "line": 293, + "line": 359, "column": 21 }, "identifierName": "window" @@ -15157,15 +18465,15 @@ }, "property": { "type": "StringLiteral", - "start": 11177, - "end": 11202, + "start": 12843, + "end": 12868, "loc": { "start": { - "line": 293, + "line": 359, "column": 22 }, "end": { - "line": 293, + "line": 359, "column": 47 } }, @@ -15179,15 +18487,15 @@ }, "property": { "type": "Identifier", - "start": 11204, - "end": 11207, + "start": 12870, + "end": 12873, "loc": { "start": { - "line": 293, + "line": 359, "column": 49 }, "end": { - "line": 293, + "line": 359, "column": 52 }, "identifierName": "key" @@ -15198,15 +18506,15 @@ }, { "type": "Identifier", - "start": 11210, - "end": 11213, + "start": 12876, + "end": 12879, "loc": { "start": { - "line": 293, + "line": 359, "column": 55 }, "end": { - "line": 293, + "line": 359, "column": 58 }, "identifierName": "key" @@ -15231,15 +18539,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": 10651, - "end": 10856, + "start": 12317, + "end": 12522, "loc": { "start": { - "line": 282, + "line": 348, "column": 2 }, "end": { - "line": 285, + "line": 351, "column": 5 } } @@ -15249,15 +18557,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": 11234, - "end": 11515, + "start": 12900, + "end": 13181, "loc": { "start": { - "line": 297, + "line": 363, "column": 2 }, "end": { - "line": 301, + "line": 367, "column": 5 } } @@ -15266,15 +18574,15 @@ }, { "type": "ClassMethod", - "start": 11519, - "end": 12751, + "start": 13185, + "end": 14417, "loc": { "start": { - "line": 302, + "line": 368, "column": 2 }, "end": { - "line": 345, + "line": 411, "column": 3 } }, @@ -15282,15 +18590,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11519, - "end": 11533, + "start": 13185, + "end": 13199, "loc": { "start": { - "line": 302, + "line": 368, "column": 2 }, "end": { - "line": 302, + "line": 368, "column": 16 }, "identifierName": "addButtonTheme" @@ -15306,15 +18614,15 @@ "params": [ { "type": "Identifier", - "start": 11534, - "end": 11541, + "start": 13200, + "end": 13207, "loc": { "start": { - "line": 302, + "line": 368, "column": 17 }, "end": { - "line": 302, + "line": 368, "column": 24 }, "identifierName": "buttons" @@ -15323,15 +18631,15 @@ }, { "type": "Identifier", - "start": 11543, - "end": 11552, + "start": 13209, + "end": 13218, "loc": { "start": { - "line": 302, + "line": 368, "column": 26 }, "end": { - "line": 302, + "line": 368, "column": 35 }, "identifierName": "className" @@ -15341,58 +18649,58 @@ ], "body": { "type": "BlockStatement", - "start": 11553, - "end": 12751, + "start": 13219, + "end": 14417, "loc": { "start": { - "line": 302, + "line": 368, "column": 36 }, "end": { - "line": 345, + "line": 411, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 11560, - "end": 11607, + "start": 13226, + "end": 13273, "loc": { "start": { - "line": 303, + "line": 369, "column": 4 }, "end": { - "line": 304, + "line": 370, "column": 19 } }, "test": { "type": "LogicalExpression", - "start": 11563, - "end": 11585, + "start": 13229, + "end": 13251, "loc": { "start": { - "line": 303, + "line": 369, "column": 7 }, "end": { - "line": 303, + "line": 369, "column": 29 } }, "left": { "type": "UnaryExpression", - "start": 11563, - "end": 11573, + "start": 13229, + "end": 13239, "loc": { "start": { - "line": 303, + "line": 369, "column": 7 }, "end": { - "line": 303, + "line": 369, "column": 17 } }, @@ -15400,15 +18708,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 11564, - "end": 11573, + "start": 13230, + "end": 13239, "loc": { "start": { - "line": 303, + "line": 369, "column": 8 }, "end": { - "line": 303, + "line": 369, "column": 17 }, "identifierName": "className" @@ -15422,15 +18730,15 @@ "operator": "||", "right": { "type": "UnaryExpression", - "start": 11577, - "end": 11585, + "start": 13243, + "end": 13251, "loc": { "start": { - "line": 303, + "line": 369, "column": 21 }, "end": { - "line": 303, + "line": 369, "column": 29 } }, @@ -15438,15 +18746,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 11578, - "end": 11585, + "start": 13244, + "end": 13251, "loc": { "start": { - "line": 303, + "line": 369, "column": 22 }, "end": { - "line": 303, + "line": 369, "column": 29 }, "identifierName": "buttons" @@ -15460,29 +18768,29 @@ }, "consequent": { "type": "ReturnStatement", - "start": 11594, - "end": 11607, + "start": 13260, + "end": 13273, "loc": { "start": { - "line": 304, + "line": 370, "column": 6 }, "end": { - "line": 304, + "line": 370, "column": 19 } }, "argument": { "type": "BooleanLiteral", - "start": 11601, - "end": 11606, + "start": 13267, + "end": 13272, "loc": { "start": { - "line": 304, + "line": 370, "column": 13 }, "end": { - "line": 304, + "line": 370, "column": 18 } }, @@ -15493,85 +18801,85 @@ }, { "type": "ExpressionStatement", - "start": 11615, - "end": 12724, + "start": 13281, + "end": 14390, "loc": { "start": { - "line": 306, + "line": 372, "column": 4 }, "end": { - "line": 342, + "line": 408, "column": 7 } }, "expression": { "type": "CallExpression", - "start": 11615, - "end": 12723, + "start": 13281, + "end": 14389, "loc": { "start": { - "line": 306, + "line": 372, "column": 4 }, "end": { - "line": 342, + "line": 408, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 11615, - "end": 11641, + "start": 13281, + "end": 13307, "loc": { "start": { - "line": 306, + "line": 372, "column": 4 }, "end": { - "line": 306, + "line": 372, "column": 30 } }, "object": { "type": "CallExpression", - "start": 11615, - "end": 11633, + "start": 13281, + "end": 13299, "loc": { "start": { - "line": 306, + "line": 372, "column": 4 }, "end": { - "line": 306, + "line": 372, "column": 22 } }, "callee": { "type": "MemberExpression", - "start": 11615, - "end": 11628, + "start": 13281, + "end": 13294, "loc": { "start": { - "line": 306, + "line": 372, "column": 4 }, "end": { - "line": 306, + "line": 372, "column": 17 } }, "object": { "type": "Identifier", - "start": 11615, - "end": 11622, + "start": 13281, + "end": 13288, "loc": { "start": { - "line": 306, + "line": 372, "column": 4 }, "end": { - "line": 306, + "line": 372, "column": 11 }, "identifierName": "buttons" @@ -15580,15 +18888,15 @@ }, "property": { "type": "Identifier", - "start": 11623, - "end": 11628, + "start": 13289, + "end": 13294, "loc": { "start": { - "line": 306, + "line": 372, "column": 12 }, "end": { - "line": 306, + "line": 372, "column": 17 }, "identifierName": "split" @@ -15600,15 +18908,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 11629, - "end": 11632, + "start": 13295, + "end": 13298, "loc": { "start": { - "line": 306, + "line": 372, "column": 18 }, "end": { - "line": 306, + "line": 372, "column": 21 } }, @@ -15622,15 +18930,15 @@ }, "property": { "type": "Identifier", - "start": 11634, - "end": 11641, + "start": 13300, + "end": 13307, "loc": { "start": { - "line": 306, + "line": 372, "column": 23 }, "end": { - "line": 306, + "line": 372, "column": 30 }, "identifierName": "forEach" @@ -15642,15 +18950,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 11642, - "end": 12722, + "start": 13308, + "end": 14388, "loc": { "start": { - "line": 306, + "line": 372, "column": 31 }, "end": { - "line": 342, + "line": 408, "column": 5 } }, @@ -15661,15 +18969,15 @@ "params": [ { "type": "Identifier", - "start": 11642, - "end": 11648, + "start": 13308, + "end": 13314, "loc": { "start": { - "line": 306, + "line": 372, "column": 31 }, "end": { - "line": 306, + "line": 372, "column": 37 }, "identifierName": "button" @@ -15679,100 +18987,100 @@ ], "body": { "type": "BlockStatement", - "start": 11652, - "end": 12722, + "start": 13318, + "end": 14388, "loc": { "start": { - "line": 306, + "line": 372, "column": 41 }, "end": { - "line": 342, + "line": 408, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 11661, - "end": 12715, + "start": 13327, + "end": 14381, "loc": { "start": { - "line": 307, + "line": 373, "column": 6 }, "end": { - "line": 341, + "line": 407, "column": 9 } }, "expression": { "type": "CallExpression", - "start": 11661, - "end": 12714, + "start": 13327, + "end": 14380, "loc": { "start": { - "line": 307, + "line": 373, "column": 6 }, "end": { - "line": 341, + "line": 407, "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 11661, - "end": 11689, + "start": 13327, + "end": 13355, "loc": { "start": { - "line": 307, + "line": 373, "column": 6 }, "end": { - "line": 307, + "line": 373, "column": 34 } }, "object": { "type": "CallExpression", - "start": 11661, - "end": 11681, + "start": 13327, + "end": 13347, "loc": { "start": { - "line": 307, + "line": 373, "column": 6 }, "end": { - "line": 307, + "line": 373, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 11661, - "end": 11676, + "start": 13327, + "end": 13342, "loc": { "start": { - "line": 307, + "line": 373, "column": 6 }, "end": { - "line": 307, + "line": 373, "column": 21 } }, "object": { "type": "Identifier", - "start": 11661, - "end": 11670, + "start": 13327, + "end": 13336, "loc": { "start": { - "line": 307, + "line": 373, "column": 6 }, "end": { - "line": 307, + "line": 373, "column": 15 }, "identifierName": "className" @@ -15781,15 +19089,15 @@ }, "property": { "type": "Identifier", - "start": 11671, - "end": 11676, + "start": 13337, + "end": 13342, "loc": { "start": { - "line": 307, + "line": 373, "column": 16 }, "end": { - "line": 307, + "line": 373, "column": 21 }, "identifierName": "split" @@ -15801,15 +19109,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 11677, - "end": 11680, + "start": 13343, + "end": 13346, "loc": { "start": { - "line": 307, + "line": 373, "column": 22 }, "end": { - "line": 307, + "line": 373, "column": 25 } }, @@ -15823,15 +19131,15 @@ }, "property": { "type": "Identifier", - "start": 11682, - "end": 11689, + "start": 13348, + "end": 13355, "loc": { "start": { - "line": 307, + "line": 373, "column": 27 }, "end": { - "line": 307, + "line": 373, "column": 34 }, "identifierName": "forEach" @@ -15843,15 +19151,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 11690, - "end": 12713, + "start": 13356, + "end": 14379, "loc": { "start": { - "line": 307, + "line": 373, "column": 35 }, "end": { - "line": 341, + "line": 407, "column": 7 } }, @@ -15862,15 +19170,15 @@ "params": [ { "type": "Identifier", - "start": 11690, - "end": 11703, + "start": 13356, + "end": 13369, "loc": { "start": { - "line": 307, + "line": 373, "column": 35 }, "end": { - "line": 307, + "line": 373, "column": 48 }, "identifierName": "classNameItem" @@ -15880,44 +19188,44 @@ ], "body": { "type": "BlockStatement", - "start": 11707, - "end": 12713, + "start": 13373, + "end": 14379, "loc": { "start": { - "line": 307, + "line": 373, "column": 52 }, "end": { - "line": 341, + "line": 407, "column": 7 } }, "body": [ { "type": "IfStatement", - "start": 11718, - "end": 11789, + "start": 13384, + "end": 13455, "loc": { "start": { - "line": 308, + "line": 374, "column": 8 }, "end": { - "line": 309, + "line": 375, "column": 40 } }, "test": { "type": "UnaryExpression", - "start": 11721, - "end": 11746, + "start": 13387, + "end": 13412, "loc": { "start": { - "line": 308, + "line": 374, "column": 11 }, "end": { - "line": 308, + "line": 374, "column": 36 } }, @@ -15925,58 +19233,58 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 11722, - "end": 11746, + "start": 13388, + "end": 13412, "loc": { "start": { - "line": 308, + "line": 374, "column": 12 }, "end": { - "line": 308, + "line": 374, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 11722, - "end": 11734, + "start": 13388, + "end": 13400, "loc": { "start": { - "line": 308, + "line": 374, "column": 12 }, "end": { - "line": 308, + "line": 374, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 11722, - "end": 11726, + "start": 13388, + "end": 13392, "loc": { "start": { - "line": 308, + "line": 374, "column": 12 }, "end": { - "line": 308, + "line": 374, "column": 16 } } }, "property": { "type": "Identifier", - "start": 11727, - "end": 11734, + "start": 13393, + "end": 13400, "loc": { "start": { - "line": 308, + "line": 374, "column": 17 }, "end": { - "line": 308, + "line": 374, "column": 24 }, "identifierName": "options" @@ -15987,15 +19295,15 @@ }, "property": { "type": "Identifier", - "start": 11735, - "end": 11746, + "start": 13401, + "end": 13412, "loc": { "start": { - "line": 308, + "line": 374, "column": 25 }, "end": { - "line": 308, + "line": 374, "column": 36 }, "identifierName": "buttonTheme" @@ -16010,87 +19318,87 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 11759, - "end": 11789, + "start": 13425, + "end": 13455, "loc": { "start": { - "line": 309, + "line": 375, "column": 10 }, "end": { - "line": 309, + "line": 375, "column": 40 } }, "expression": { "type": "AssignmentExpression", - "start": 11759, - "end": 11788, + "start": 13425, + "end": 13454, "loc": { "start": { - "line": 309, + "line": 375, "column": 10 }, "end": { - "line": 309, + "line": 375, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 11759, - "end": 11783, + "start": 13425, + "end": 13449, "loc": { "start": { - "line": 309, + "line": 375, "column": 10 }, "end": { - "line": 309, + "line": 375, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 11759, - "end": 11771, + "start": 13425, + "end": 13437, "loc": { "start": { - "line": 309, + "line": 375, "column": 10 }, "end": { - "line": 309, + "line": 375, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 11759, - "end": 11763, + "start": 13425, + "end": 13429, "loc": { "start": { - "line": 309, + "line": 375, "column": 10 }, "end": { - "line": 309, + "line": 375, "column": 14 } } }, "property": { "type": "Identifier", - "start": 11764, - "end": 11771, + "start": 13430, + "end": 13437, "loc": { "start": { - "line": 309, + "line": 375, "column": 15 }, "end": { - "line": 309, + "line": 375, "column": 22 }, "identifierName": "options" @@ -16101,15 +19409,15 @@ }, "property": { "type": "Identifier", - "start": 11772, - "end": 11783, + "start": 13438, + "end": 13449, "loc": { "start": { - "line": 309, + "line": 375, "column": 23 }, "end": { - "line": 309, + "line": 375, "column": 34 }, "identifierName": "buttonTheme" @@ -16120,15 +19428,15 @@ }, "right": { "type": "ArrayExpression", - "start": 11786, - "end": 11788, + "start": 13452, + "end": 13454, "loc": { "start": { - "line": 309, + "line": 375, "column": 37 }, "end": { - "line": 309, + "line": 375, "column": 39 } }, @@ -16140,44 +19448,44 @@ }, { "type": "VariableDeclaration", - "start": 11801, - "end": 11828, + "start": 13467, + "end": 13494, "loc": { "start": { - "line": 311, + "line": 377, "column": 8 }, "end": { - "line": 311, + "line": 377, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11805, - "end": 11827, + "start": 13471, + "end": 13493, "loc": { "start": { - "line": 311, + "line": 377, "column": 12 }, "end": { - "line": 311, + "line": 377, "column": 34 } }, "id": { "type": "Identifier", - "start": 11805, - "end": 11819, + "start": 13471, + "end": 13485, "loc": { "start": { - "line": 311, + "line": 377, "column": 12 }, "end": { - "line": 311, + "line": 377, "column": 26 }, "identifierName": "classNameFound" @@ -16186,15 +19494,15 @@ }, "init": { "type": "BooleanLiteral", - "start": 11822, - "end": 11827, + "start": 13488, + "end": 13493, "loc": { "start": { - "line": 311, + "line": 377, "column": 29 }, "end": { - "line": 311, + "line": 377, "column": 34 } }, @@ -16207,15 +19515,15 @@ { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", - "start": 11842, - "end": 11933, + "start": 13508, + "end": 13599, "loc": { "start": { - "line": 313, + "line": 379, "column": 8 }, "end": { - "line": 315, + "line": 381, "column": 11 } } @@ -16224,85 +19532,85 @@ }, { "type": "ExpressionStatement", - "start": 11943, - "end": 12451, + "start": 13609, + "end": 14117, "loc": { "start": { - "line": 316, + "line": 382, "column": 8 }, "end": { - "line": 329, + "line": 395, "column": 11 } }, "expression": { "type": "CallExpression", - "start": 11943, - "end": 12450, + "start": 13609, + "end": 14116, "loc": { "start": { - "line": 316, + "line": 382, "column": 8 }, "end": { - "line": 329, + "line": 395, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 11943, - "end": 11971, + "start": 13609, + "end": 13637, "loc": { "start": { - "line": 316, + "line": 382, "column": 8 }, "end": { - "line": 316, + "line": 382, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 11943, - "end": 11967, + "start": 13609, + "end": 13633, "loc": { "start": { - "line": 316, + "line": 382, "column": 8 }, "end": { - "line": 316, + "line": 382, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 11943, - "end": 11955, + "start": 13609, + "end": 13621, "loc": { "start": { - "line": 316, + "line": 382, "column": 8 }, "end": { - "line": 316, + "line": 382, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 11943, - "end": 11947, + "start": 13609, + "end": 13613, "loc": { "start": { - "line": 316, + "line": 382, "column": 8 }, "end": { - "line": 316, + "line": 382, "column": 12 } }, @@ -16310,15 +19618,15 @@ }, "property": { "type": "Identifier", - "start": 11948, - "end": 11955, + "start": 13614, + "end": 13621, "loc": { "start": { - "line": 316, + "line": 382, "column": 13 }, "end": { - "line": 316, + "line": 382, "column": 20 }, "identifierName": "options" @@ -16330,15 +19638,15 @@ }, "property": { "type": "Identifier", - "start": 11956, - "end": 11967, + "start": 13622, + "end": 13633, "loc": { "start": { - "line": 316, + "line": 382, "column": 21 }, "end": { - "line": 316, + "line": 382, "column": 32 }, "identifierName": "buttonTheme" @@ -16350,15 +19658,15 @@ }, "property": { "type": "Identifier", - "start": 11968, - "end": 11971, + "start": 13634, + "end": 13637, "loc": { "start": { - "line": 316, + "line": 382, "column": 33 }, "end": { - "line": 316, + "line": 382, "column": 36 }, "identifierName": "map" @@ -16371,15 +19679,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 11972, - "end": 12449, + "start": 13638, + "end": 14115, "loc": { "start": { - "line": 316, + "line": 382, "column": 37 }, "end": { - "line": 329, + "line": 395, "column": 9 } }, @@ -16390,15 +19698,15 @@ "params": [ { "type": "Identifier", - "start": 11972, - "end": 11983, + "start": 13638, + "end": 13649, "loc": { "start": { - "line": 316, + "line": 382, "column": 37 }, "end": { - "line": 316, + "line": 382, "column": 48 }, "identifierName": "buttonTheme" @@ -16408,114 +19716,114 @@ ], "body": { "type": "BlockStatement", - "start": 11987, - "end": 12449, + "start": 13653, + "end": 14115, "loc": { "start": { - "line": 316, + "line": 382, "column": 52 }, "end": { - "line": 329, + "line": 395, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 12002, - "end": 12407, + "start": 13668, + "end": 14073, "loc": { "start": { - "line": 318, + "line": 384, "column": 10 }, "end": { - "line": 327, + "line": 393, "column": 11 } }, "test": { "type": "CallExpression", - "start": 12005, - "end": 12057, + "start": 13671, + "end": 13723, "loc": { "start": { - "line": 318, + "line": 384, "column": 13 }, "end": { - "line": 318, + "line": 384, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 12005, - "end": 12042, + "start": 13671, + "end": 13708, "loc": { "start": { - "line": 318, + "line": 384, "column": 13 }, "end": { - "line": 318, + "line": 384, "column": 50 } }, "object": { "type": "CallExpression", - "start": 12005, - "end": 12033, + "start": 13671, + "end": 13699, "loc": { "start": { - "line": 318, + "line": 384, "column": 13 }, "end": { - "line": 318, + "line": 384, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 12005, - "end": 12028, + "start": 13671, + "end": 13694, "loc": { "start": { - "line": 318, + "line": 384, "column": 13 }, "end": { - "line": 318, + "line": 384, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 12005, - "end": 12022, + "start": 13671, + "end": 13688, "loc": { "start": { - "line": 318, + "line": 384, "column": 13 }, "end": { - "line": 318, + "line": 384, "column": 30 } }, "object": { "type": "Identifier", - "start": 12005, - "end": 12016, + "start": 13671, + "end": 13682, "loc": { "start": { - "line": 318, + "line": 384, "column": 13 }, "end": { - "line": 318, + "line": 384, "column": 24 }, "identifierName": "buttonTheme" @@ -16524,15 +19832,15 @@ }, "property": { "type": "Identifier", - "start": 12017, - "end": 12022, + "start": 13683, + "end": 13688, "loc": { "start": { - "line": 318, + "line": 384, "column": 25 }, "end": { - "line": 318, + "line": 384, "column": 30 }, "identifierName": "class" @@ -16543,15 +19851,15 @@ }, "property": { "type": "Identifier", - "start": 12023, - "end": 12028, + "start": 13689, + "end": 13694, "loc": { "start": { - "line": 318, + "line": 384, "column": 31 }, "end": { - "line": 318, + "line": 384, "column": 36 }, "identifierName": "split" @@ -16563,15 +19871,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 12029, - "end": 12032, + "start": 13695, + "end": 13698, "loc": { "start": { - "line": 318, + "line": 384, "column": 37 }, "end": { - "line": 318, + "line": 384, "column": 40 } }, @@ -16585,15 +19893,15 @@ }, "property": { "type": "Identifier", - "start": 12034, - "end": 12042, + "start": 13700, + "end": 13708, "loc": { "start": { - "line": 318, + "line": 384, "column": 42 }, "end": { - "line": 318, + "line": 384, "column": 50 }, "identifierName": "includes" @@ -16605,15 +19913,15 @@ "arguments": [ { "type": "Identifier", - "start": 12043, - "end": 12056, + "start": 13709, + "end": 13722, "loc": { "start": { - "line": 318, + "line": 384, "column": 51 }, "end": { - "line": 318, + "line": 384, "column": 64 }, "identifierName": "classNameItem" @@ -16624,59 +19932,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 12058, - "end": 12407, + "start": 13724, + "end": 14073, "loc": { "start": { - "line": 318, + "line": 384, "column": 66 }, "end": { - "line": 327, + "line": 393, "column": 11 } }, "body": [ { "type": "ExpressionStatement", - "start": 12073, - "end": 12095, + "start": 13739, + "end": 13761, "loc": { "start": { - "line": 319, + "line": 385, "column": 12 }, "end": { - "line": 319, + "line": 385, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 12073, - "end": 12094, + "start": 13739, + "end": 13760, "loc": { "start": { - "line": 319, + "line": 385, "column": 12 }, "end": { - "line": 319, + "line": 385, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", - "start": 12073, - "end": 12087, + "start": 13739, + "end": 13753, "loc": { "start": { - "line": 319, + "line": 385, "column": 12 }, "end": { - "line": 319, + "line": 385, "column": 26 }, "identifierName": "classNameFound" @@ -16685,15 +19993,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 12090, - "end": 12094, + "start": 13756, + "end": 13760, "loc": { "start": { - "line": 319, + "line": 385, "column": 29 }, "end": { - "line": 319, + "line": 385, "column": 33 } }, @@ -16703,44 +20011,44 @@ }, { "type": "VariableDeclaration", - "start": 12123, - "end": 12177, + "start": 13789, + "end": 13843, "loc": { "start": { - "line": 321, + "line": 387, "column": 12 }, "end": { - "line": 321, + "line": 387, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 12127, - "end": 12176, + "start": 13793, + "end": 13842, "loc": { "start": { - "line": 321, + "line": 387, "column": 16 }, "end": { - "line": 321, + "line": 387, "column": 65 } }, "id": { "type": "Identifier", - "start": 12127, - "end": 12143, + "start": 13793, + "end": 13809, "loc": { "start": { - "line": 321, + "line": 387, "column": 16 }, "end": { - "line": 321, + "line": 387, "column": 32 }, "identifierName": "buttonThemeArray" @@ -16749,57 +20057,57 @@ }, "init": { "type": "CallExpression", - "start": 12146, - "end": 12176, + "start": 13812, + "end": 13842, "loc": { "start": { - "line": 321, + "line": 387, "column": 35 }, "end": { - "line": 321, + "line": 387, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 12146, - "end": 12171, + "start": 13812, + "end": 13837, "loc": { "start": { - "line": 321, + "line": 387, "column": 35 }, "end": { - "line": 321, + "line": 387, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 12146, - "end": 12165, + "start": 13812, + "end": 13831, "loc": { "start": { - "line": 321, + "line": 387, "column": 35 }, "end": { - "line": 321, + "line": 387, "column": 54 } }, "object": { "type": "Identifier", - "start": 12146, - "end": 12157, + "start": 13812, + "end": 13823, "loc": { "start": { - "line": 321, + "line": 387, "column": 35 }, "end": { - "line": 321, + "line": 387, "column": 46 }, "identifierName": "buttonTheme" @@ -16808,15 +20116,15 @@ }, "property": { "type": "Identifier", - "start": 12158, - "end": 12165, + "start": 13824, + "end": 13831, "loc": { "start": { - "line": 321, + "line": 387, "column": 47 }, "end": { - "line": 321, + "line": 387, "column": 54 }, "identifierName": "buttons" @@ -16827,15 +20135,15 @@ }, "property": { "type": "Identifier", - "start": 12166, - "end": 12171, + "start": 13832, + "end": 13837, "loc": { "start": { - "line": 321, + "line": 387, "column": 55 }, "end": { - "line": 321, + "line": 387, "column": 60 }, "identifierName": "split" @@ -16847,15 +20155,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 12172, - "end": 12175, + "start": 13838, + "end": 13841, "loc": { "start": { - "line": 321, + "line": 387, "column": 61 }, "end": { - "line": 321, + "line": 387, "column": 64 } }, @@ -16873,29 +20181,29 @@ }, { "type": "IfStatement", - "start": 12191, - "end": 12394, + "start": 13857, + "end": 14060, "loc": { "start": { - "line": 322, + "line": 388, "column": 12 }, "end": { - "line": 326, + "line": 392, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 12194, - "end": 12228, + "start": 13860, + "end": 13894, "loc": { "start": { - "line": 322, + "line": 388, "column": 15 }, "end": { - "line": 322, + "line": 388, "column": 49 } }, @@ -16903,43 +20211,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 12195, - "end": 12228, + "start": 13861, + "end": 13894, "loc": { "start": { - "line": 322, + "line": 388, "column": 16 }, "end": { - "line": 322, + "line": 388, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 12195, - "end": 12220, + "start": 13861, + "end": 13886, "loc": { "start": { - "line": 322, + "line": 388, "column": 16 }, "end": { - "line": 322, + "line": 388, "column": 41 } }, "object": { "type": "Identifier", - "start": 12195, - "end": 12211, + "start": 13861, + "end": 13877, "loc": { "start": { - "line": 322, + "line": 388, "column": 16 }, "end": { - "line": 322, + "line": 388, "column": 32 }, "identifierName": "buttonThemeArray" @@ -16948,15 +20256,15 @@ }, "property": { "type": "Identifier", - "start": 12212, - "end": 12220, + "start": 13878, + "end": 13886, "loc": { "start": { - "line": 322, + "line": 388, "column": 33 }, "end": { - "line": 322, + "line": 388, "column": 41 }, "identifierName": "includes" @@ -16968,15 +20276,15 @@ "arguments": [ { "type": "Identifier", - "start": 12221, - "end": 12227, + "start": 13887, + "end": 13893, "loc": { "start": { - "line": 322, + "line": 388, "column": 42 }, "end": { - "line": 322, + "line": 388, "column": 48 }, "identifierName": "button" @@ -16991,59 +20299,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 12229, - "end": 12394, + "start": 13895, + "end": 14060, "loc": { "start": { - "line": 322, + "line": 388, "column": 50 }, "end": { - "line": 326, + "line": 392, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 12246, - "end": 12268, + "start": 13912, + "end": 13934, "loc": { "start": { - "line": 323, + "line": 389, "column": 14 }, "end": { - "line": 323, + "line": 389, "column": 36 } }, "expression": { "type": "AssignmentExpression", - "start": 12246, - "end": 12267, + "start": 13912, + "end": 13933, "loc": { "start": { - "line": 323, + "line": 389, "column": 14 }, "end": { - "line": 323, + "line": 389, "column": 35 } }, "operator": "=", "left": { "type": "Identifier", - "start": 12246, - "end": 12260, + "start": 13912, + "end": 13926, "loc": { "start": { - "line": 323, + "line": 389, "column": 14 }, "end": { - "line": 323, + "line": 389, "column": 28 }, "identifierName": "classNameFound" @@ -17052,15 +20360,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 12263, - "end": 12267, + "start": 13929, + "end": 13933, "loc": { "start": { - "line": 323, + "line": 389, "column": 31 }, "end": { - "line": 323, + "line": 389, "column": 35 } }, @@ -17070,57 +20378,57 @@ }, { "type": "ExpressionStatement", - "start": 12284, - "end": 12314, + "start": 13950, + "end": 13980, "loc": { "start": { - "line": 324, + "line": 390, "column": 14 }, "end": { - "line": 324, + "line": 390, "column": 44 } }, "expression": { "type": "CallExpression", - "start": 12284, - "end": 12313, + "start": 13950, + "end": 13979, "loc": { "start": { - "line": 324, + "line": 390, "column": 14 }, "end": { - "line": 324, + "line": 390, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 12284, - "end": 12305, + "start": 13950, + "end": 13971, "loc": { "start": { - "line": 324, + "line": 390, "column": 14 }, "end": { - "line": 324, + "line": 390, "column": 35 } }, "object": { "type": "Identifier", - "start": 12284, - "end": 12300, + "start": 13950, + "end": 13966, "loc": { "start": { - "line": 324, + "line": 390, "column": 14 }, "end": { - "line": 324, + "line": 390, "column": 30 }, "identifierName": "buttonThemeArray" @@ -17129,15 +20437,15 @@ }, "property": { "type": "Identifier", - "start": 12301, - "end": 12305, + "start": 13967, + "end": 13971, "loc": { "start": { - "line": 324, + "line": 390, "column": 31 }, "end": { - "line": 324, + "line": 390, "column": 35 }, "identifierName": "push" @@ -17149,15 +20457,15 @@ "arguments": [ { "type": "Identifier", - "start": 12306, - "end": 12312, + "start": 13972, + "end": 13978, "loc": { "start": { - "line": 324, + "line": 390, "column": 36 }, "end": { - "line": 324, + "line": 390, "column": 42 }, "identifierName": "button" @@ -17169,58 +20477,58 @@ }, { "type": "ExpressionStatement", - "start": 12330, - "end": 12379, + "start": 13996, + "end": 14045, "loc": { "start": { - "line": 325, + "line": 391, "column": 14 }, "end": { - "line": 325, + "line": 391, "column": 63 } }, "expression": { "type": "AssignmentExpression", - "start": 12330, - "end": 12378, + "start": 13996, + "end": 14044, "loc": { "start": { - "line": 325, + "line": 391, "column": 14 }, "end": { - "line": 325, + "line": 391, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 12330, - "end": 12349, + "start": 13996, + "end": 14015, "loc": { "start": { - "line": 325, + "line": 391, "column": 14 }, "end": { - "line": 325, + "line": 391, "column": 33 } }, "object": { "type": "Identifier", - "start": 12330, - "end": 12341, + "start": 13996, + "end": 14007, "loc": { "start": { - "line": 325, + "line": 391, "column": 14 }, "end": { - "line": 325, + "line": 391, "column": 25 }, "identifierName": "buttonTheme" @@ -17229,15 +20537,15 @@ }, "property": { "type": "Identifier", - "start": 12342, - "end": 12349, + "start": 14008, + "end": 14015, "loc": { "start": { - "line": 325, + "line": 391, "column": 26 }, "end": { - "line": 325, + "line": 391, "column": 33 }, "identifierName": "buttons" @@ -17248,43 +20556,43 @@ }, "right": { "type": "CallExpression", - "start": 12352, - "end": 12378, + "start": 14018, + "end": 14044, "loc": { "start": { - "line": 325, + "line": 391, "column": 36 }, "end": { - "line": 325, + "line": 391, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 12352, - "end": 12373, + "start": 14018, + "end": 14039, "loc": { "start": { - "line": 325, + "line": 391, "column": 36 }, "end": { - "line": 325, + "line": 391, "column": 57 } }, "object": { "type": "Identifier", - "start": 12352, - "end": 12368, + "start": 14018, + "end": 14034, "loc": { "start": { - "line": 325, + "line": 391, "column": 36 }, "end": { - "line": 325, + "line": 391, "column": 52 }, "identifierName": "buttonThemeArray" @@ -17293,15 +20601,15 @@ }, "property": { "type": "Identifier", - "start": 12369, - "end": 12373, + "start": 14035, + "end": 14039, "loc": { "start": { - "line": 325, + "line": 391, "column": 53 }, "end": { - "line": 325, + "line": 391, "column": 57 }, "identifierName": "join" @@ -17313,15 +20621,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 12374, - "end": 12377, + "start": 14040, + "end": 14043, "loc": { "start": { - "line": 325, + "line": 391, "column": 58 }, "end": { - "line": 325, + "line": 391, "column": 61 } }, @@ -17347,29 +20655,29 @@ }, { "type": "ReturnStatement", - "start": 12419, - "end": 12438, + "start": 14085, + "end": 14104, "loc": { "start": { - "line": 328, + "line": 394, "column": 10 }, "end": { - "line": 328, + "line": 394, "column": 29 } }, "argument": { "type": "Identifier", - "start": 12426, - "end": 12437, + "start": 14092, + "end": 14103, "loc": { "start": { - "line": 328, + "line": 394, "column": 17 }, "end": { - "line": 328, + "line": 394, "column": 28 }, "identifierName": "buttonTheme" @@ -17388,15 +20696,15 @@ { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", - "start": 11842, - "end": 11933, + "start": 13508, + "end": 13599, "loc": { "start": { - "line": 313, + "line": 379, "column": 8 }, "end": { - "line": 315, + "line": 381, "column": 11 } } @@ -17406,15 +20714,15 @@ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", - "start": 12463, - "end": 12538, + "start": 14129, + "end": 14204, "loc": { "start": { - "line": 331, + "line": 397, "column": 8 }, "end": { - "line": 333, + "line": 399, "column": 11 } } @@ -17423,29 +20731,29 @@ }, { "type": "IfStatement", - "start": 12548, - "end": 12702, + "start": 14214, + "end": 14368, "loc": { "start": { - "line": 334, + "line": 400, "column": 8 }, "end": { - "line": 339, + "line": 405, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 12551, - "end": 12566, + "start": 14217, + "end": 14232, "loc": { "start": { - "line": 334, + "line": 400, "column": 11 }, "end": { - "line": 334, + "line": 400, "column": 26 } }, @@ -17453,15 +20761,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 12552, - "end": 12566, + "start": 14218, + "end": 14232, "loc": { "start": { - "line": 334, + "line": 400, "column": 12 }, "end": { - "line": 334, + "line": 400, "column": 26 }, "identifierName": "classNameFound" @@ -17476,115 +20784,115 @@ }, "consequent": { "type": "BlockStatement", - "start": 12567, - "end": 12702, + "start": 14233, + "end": 14368, "loc": { "start": { - "line": 334, + "line": 400, "column": 27 }, "end": { - "line": 339, + "line": 405, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 12580, - "end": 12691, + "start": 14246, + "end": 14357, "loc": { "start": { - "line": 335, + "line": 401, "column": 10 }, "end": { - "line": 338, + "line": 404, "column": 13 } }, "expression": { "type": "CallExpression", - "start": 12580, - "end": 12690, + "start": 14246, + "end": 14356, "loc": { "start": { - "line": 335, + "line": 401, "column": 10 }, "end": { - "line": 338, + "line": 404, "column": 12 } }, "callee": { "type": "MemberExpression", - "start": 12580, - "end": 12609, + "start": 14246, + "end": 14275, "loc": { "start": { - "line": 335, + "line": 401, "column": 10 }, "end": { - "line": 335, + "line": 401, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 12580, - "end": 12604, + "start": 14246, + "end": 14270, "loc": { "start": { - "line": 335, + "line": 401, "column": 10 }, "end": { - "line": 335, + "line": 401, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 12580, - "end": 12592, + "start": 14246, + "end": 14258, "loc": { "start": { - "line": 335, + "line": 401, "column": 10 }, "end": { - "line": 335, + "line": 401, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 12580, - "end": 12584, + "start": 14246, + "end": 14250, "loc": { "start": { - "line": 335, + "line": 401, "column": 10 }, "end": { - "line": 335, + "line": 401, "column": 14 } } }, "property": { "type": "Identifier", - "start": 12585, - "end": 12592, + "start": 14251, + "end": 14258, "loc": { "start": { - "line": 335, + "line": 401, "column": 15 }, "end": { - "line": 335, + "line": 401, "column": 22 }, "identifierName": "options" @@ -17595,15 +20903,15 @@ }, "property": { "type": "Identifier", - "start": 12593, - "end": 12604, + "start": 14259, + "end": 14270, "loc": { "start": { - "line": 335, + "line": 401, "column": 23 }, "end": { - "line": 335, + "line": 401, "column": 34 }, "identifierName": "buttonTheme" @@ -17614,15 +20922,15 @@ }, "property": { "type": "Identifier", - "start": 12605, - "end": 12609, + "start": 14271, + "end": 14275, "loc": { "start": { - "line": 335, + "line": 401, "column": 35 }, "end": { - "line": 335, + "line": 401, "column": 39 }, "identifierName": "push" @@ -17634,30 +20942,30 @@ "arguments": [ { "type": "ObjectExpression", - "start": 12610, - "end": 12689, + "start": 14276, + "end": 14355, "loc": { "start": { - "line": 335, + "line": 401, "column": 40 }, "end": { - "line": 338, + "line": 404, "column": 11 } }, "properties": [ { "type": "ObjectProperty", - "start": 12625, - "end": 12645, + "start": 14291, + "end": 14311, "loc": { "start": { - "line": 336, + "line": 402, "column": 12 }, "end": { - "line": 336, + "line": 402, "column": 32 } }, @@ -17666,15 +20974,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12625, - "end": 12630, + "start": 14291, + "end": 14296, "loc": { "start": { - "line": 336, + "line": 402, "column": 12 }, "end": { - "line": 336, + "line": 402, "column": 17 }, "identifierName": "class" @@ -17683,15 +20991,15 @@ }, "value": { "type": "Identifier", - "start": 12632, - "end": 12645, + "start": 14298, + "end": 14311, "loc": { "start": { - "line": 336, + "line": 402, "column": 19 }, "end": { - "line": 336, + "line": 402, "column": 32 }, "identifierName": "classNameItem" @@ -17701,15 +21009,15 @@ }, { "type": "ObjectProperty", - "start": 12660, - "end": 12676, + "start": 14326, + "end": 14342, "loc": { "start": { - "line": 337, + "line": 403, "column": 12 }, "end": { - "line": 337, + "line": 403, "column": 28 } }, @@ -17718,15 +21026,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12660, - "end": 12667, + "start": 14326, + "end": 14333, "loc": { "start": { - "line": 337, + "line": 403, "column": 12 }, "end": { - "line": 337, + "line": 403, "column": 19 }, "identifierName": "buttons" @@ -17735,15 +21043,15 @@ }, "value": { "type": "Identifier", - "start": 12669, - "end": 12676, + "start": 14335, + "end": 14342, "loc": { "start": { - "line": 337, + "line": 403, "column": 21 }, "end": { - "line": 337, + "line": 403, "column": 28 }, "identifierName": "buttons" @@ -17764,15 +21072,15 @@ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", - "start": 12463, - "end": 12538, + "start": 14129, + "end": 14204, "loc": { "start": { - "line": 331, + "line": 397, "column": 8 }, "end": { - "line": 333, + "line": 399, "column": 11 } } @@ -17795,72 +21103,72 @@ }, { "type": "ExpressionStatement", - "start": 12732, - "end": 12746, + "start": 14398, + "end": 14412, "loc": { "start": { - "line": 344, + "line": 410, "column": 4 }, "end": { - "line": 344, + "line": 410, "column": 18 } }, "expression": { "type": "CallExpression", - "start": 12732, - "end": 12745, + "start": 14398, + "end": 14411, "loc": { "start": { - "line": 344, + "line": 410, "column": 4 }, "end": { - "line": 344, + "line": 410, "column": 17 } }, "callee": { "type": "MemberExpression", - "start": 12732, - "end": 12743, + "start": 14398, + "end": 14409, "loc": { "start": { - "line": 344, + "line": 410, "column": 4 }, "end": { - "line": 344, + "line": 410, "column": 15 } }, "object": { "type": "ThisExpression", - "start": 12732, - "end": 12736, + "start": 14398, + "end": 14402, "loc": { "start": { - "line": 344, + "line": 410, "column": 4 }, "end": { - "line": 344, + "line": 410, "column": 8 } } }, "property": { "type": "Identifier", - "start": 12737, - "end": 12743, + "start": 14403, + "end": 14409, "loc": { "start": { - "line": 344, + "line": 410, "column": 9 }, "end": { - "line": 344, + "line": 410, "column": 15 }, "identifierName": "render" @@ -17880,15 +21188,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": 11234, - "end": 11515, + "start": 12900, + "end": 13181, "loc": { "start": { - "line": 297, + "line": 363, "column": 2 }, "end": { - "line": 301, + "line": 367, "column": 5 } } @@ -17898,15 +21206,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": 12757, - "end": 13097, + "start": 14423, + "end": 14763, "loc": { "start": { - "line": 347, + "line": 413, "column": 2 }, "end": { - "line": 351, + "line": 417, "column": 5 } } @@ -17915,15 +21223,15 @@ }, { "type": "ClassMethod", - "start": 13101, - "end": 14518, + "start": 14767, + "end": 16184, "loc": { "start": { - "line": 352, + "line": 418, "column": 2 }, "end": { - "line": 398, + "line": 464, "column": 3 } }, @@ -17931,15 +21239,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13101, - "end": 13118, + "start": 14767, + "end": 14784, "loc": { "start": { - "line": 352, + "line": 418, "column": 2 }, "end": { - "line": 352, + "line": 418, "column": 19 }, "identifierName": "removeButtonTheme" @@ -17955,15 +21263,15 @@ "params": [ { "type": "Identifier", - "start": 13119, - "end": 13126, + "start": 14785, + "end": 14792, "loc": { "start": { - "line": 352, + "line": 418, "column": 20 }, "end": { - "line": 352, + "line": 418, "column": 27 }, "identifierName": "buttons" @@ -17972,15 +21280,15 @@ }, { "type": "Identifier", - "start": 13128, - "end": 13137, + "start": 14794, + "end": 14803, "loc": { "start": { - "line": 352, + "line": 418, "column": 29 }, "end": { - "line": 352, + "line": 418, "column": 38 }, "identifierName": "className" @@ -17990,58 +21298,58 @@ ], "body": { "type": "BlockStatement", - "start": 13138, - "end": 14518, + "start": 14804, + "end": 16184, "loc": { "start": { - "line": 352, + "line": 418, "column": 39 }, "end": { - "line": 398, + "line": 464, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 13231, - "end": 13346, + "start": 14897, + "end": 15012, "loc": { "start": { - "line": 356, + "line": 422, "column": 4 }, "end": { - "line": 360, + "line": 426, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 13234, - "end": 13256, + "start": 14900, + "end": 14922, "loc": { "start": { - "line": 356, + "line": 422, "column": 7 }, "end": { - "line": 356, + "line": 422, "column": 29 } }, "left": { "type": "UnaryExpression", - "start": 13234, - "end": 13242, + "start": 14900, + "end": 14908, "loc": { "start": { - "line": 356, + "line": 422, "column": 7 }, "end": { - "line": 356, + "line": 422, "column": 15 } }, @@ -18049,15 +21357,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 13235, - "end": 13242, + "start": 14901, + "end": 14908, "loc": { "start": { - "line": 356, + "line": 422, "column": 8 }, "end": { - "line": 356, + "line": 422, "column": 15 }, "identifierName": "buttons" @@ -18073,15 +21381,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 13246, - "end": 13256, + "start": 14912, + "end": 14922, "loc": { "start": { - "line": 356, + "line": 422, "column": 19 }, "end": { - "line": 356, + "line": 422, "column": 29 } }, @@ -18089,15 +21397,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 13247, - "end": 13256, + "start": 14913, + "end": 14922, "loc": { "start": { - "line": 356, + "line": 422, "column": 20 }, "end": { - "line": 356, + "line": 422, "column": 29 }, "identifierName": "className" @@ -18112,102 +21420,102 @@ }, "consequent": { "type": "BlockStatement", - "start": 13257, - "end": 13346, + "start": 14923, + "end": 15012, "loc": { "start": { - "line": 356, + "line": 422, "column": 30 }, "end": { - "line": 360, + "line": 426, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 13266, - "end": 13296, + "start": 14932, + "end": 14962, "loc": { "start": { - "line": 357, + "line": 423, "column": 6 }, "end": { - "line": 357, + "line": 423, "column": 36 } }, "expression": { "type": "AssignmentExpression", - "start": 13266, - "end": 13295, + "start": 14932, + "end": 14961, "loc": { "start": { - "line": 357, + "line": 423, "column": 6 }, "end": { - "line": 357, + "line": 423, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 13266, - "end": 13290, + "start": 14932, + "end": 14956, "loc": { "start": { - "line": 357, + "line": 423, "column": 6 }, "end": { - "line": 357, + "line": 423, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 13266, - "end": 13278, + "start": 14932, + "end": 14944, "loc": { "start": { - "line": 357, + "line": 423, "column": 6 }, "end": { - "line": 357, + "line": 423, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 13266, - "end": 13270, + "start": 14932, + "end": 14936, "loc": { "start": { - "line": 357, + "line": 423, "column": 6 }, "end": { - "line": 357, + "line": 423, "column": 10 } } }, "property": { "type": "Identifier", - "start": 13271, - "end": 13278, + "start": 14937, + "end": 14944, "loc": { "start": { - "line": 357, + "line": 423, "column": 11 }, "end": { - "line": 357, + "line": 423, "column": 18 }, "identifierName": "options" @@ -18218,15 +21526,15 @@ }, "property": { "type": "Identifier", - "start": 13279, - "end": 13290, + "start": 14945, + "end": 14956, "loc": { "start": { - "line": 357, + "line": 423, "column": 19 }, "end": { - "line": 357, + "line": 423, "column": 30 }, "identifierName": "buttonTheme" @@ -18237,15 +21545,15 @@ }, "right": { "type": "ArrayExpression", - "start": 13293, - "end": 13295, + "start": 14959, + "end": 14961, "loc": { "start": { - "line": 357, + "line": 423, "column": 33 }, "end": { - "line": 357, + "line": 423, "column": 35 } }, @@ -18255,72 +21563,72 @@ }, { "type": "ExpressionStatement", - "start": 13304, - "end": 13318, + "start": 14970, + "end": 14984, "loc": { "start": { - "line": 358, + "line": 424, "column": 6 }, "end": { - "line": 358, + "line": 424, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 13304, - "end": 13317, + "start": 14970, + "end": 14983, "loc": { "start": { - "line": 358, + "line": 424, "column": 6 }, "end": { - "line": 358, + "line": 424, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 13304, - "end": 13315, + "start": 14970, + "end": 14981, "loc": { "start": { - "line": 358, + "line": 424, "column": 6 }, "end": { - "line": 358, + "line": 424, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 13304, - "end": 13308, + "start": 14970, + "end": 14974, "loc": { "start": { - "line": 358, + "line": 424, "column": 6 }, "end": { - "line": 358, + "line": 424, "column": 10 } } }, "property": { "type": "Identifier", - "start": 13309, - "end": 13315, + "start": 14975, + "end": 14981, "loc": { "start": { - "line": 358, + "line": 424, "column": 11 }, "end": { - "line": 358, + "line": 424, "column": 17 }, "identifierName": "render" @@ -18334,29 +21642,29 @@ }, { "type": "ReturnStatement", - "start": 13326, - "end": 13339, + "start": 14992, + "end": 15005, "loc": { "start": { - "line": 359, + "line": 425, "column": 6 }, "end": { - "line": 359, + "line": 425, "column": 19 } }, "argument": { "type": "BooleanLiteral", - "start": 13333, - "end": 13338, + "start": 14999, + "end": 15004, "loc": { "start": { - "line": 359, + "line": 425, "column": 13 }, "end": { - "line": 359, + "line": 425, "column": 18 } }, @@ -18372,15 +21680,15 @@ { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", - "start": 13145, - "end": 13225, + "start": 14811, + "end": 14891, "loc": { "start": { - "line": 353, + "line": 419, "column": 4 }, "end": { - "line": 355, + "line": 421, "column": 7 } } @@ -18390,15 +21698,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", - "start": 13354, - "end": 13422, + "start": 15020, + "end": 15088, "loc": { "start": { - "line": 362, + "line": 428, "column": 4 }, "end": { - "line": 364, + "line": 430, "column": 7 } } @@ -18407,57 +21715,57 @@ }, { "type": "IfStatement", - "start": 13428, - "end": 14513, + "start": 15094, + "end": 16179, "loc": { "start": { - "line": 365, + "line": 431, "column": 4 }, "end": { - "line": 397, + "line": 463, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 13431, - "end": 13516, + "start": 15097, + "end": 15182, "loc": { "start": { - "line": 365, + "line": 431, "column": 7 }, "end": { - "line": 365, + "line": 431, "column": 92 } }, "left": { "type": "LogicalExpression", - "start": 13431, - "end": 13481, + "start": 15097, + "end": 15147, "loc": { "start": { - "line": 365, + "line": 431, "column": 7 }, "end": { - "line": 365, + "line": 431, "column": 57 } }, "left": { "type": "Identifier", - "start": 13431, - "end": 13438, + "start": 15097, + "end": 15104, "loc": { "start": { - "line": 365, + "line": 431, "column": 7 }, "end": { - "line": 365, + "line": 431, "column": 14 }, "identifierName": "buttons" @@ -18468,43 +21776,43 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 13442, - "end": 13481, + "start": 15108, + "end": 15147, "loc": { "start": { - "line": 365, + "line": 431, "column": 18 }, "end": { - "line": 365, + "line": 431, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 13442, - "end": 13455, + "start": 15108, + "end": 15121, "loc": { "start": { - "line": 365, + "line": 431, "column": 18 }, "end": { - "line": 365, + "line": 431, "column": 31 } }, "object": { "type": "Identifier", - "start": 13442, - "end": 13447, + "start": 15108, + "end": 15113, "loc": { "start": { - "line": 365, + "line": 431, "column": 18 }, "end": { - "line": 365, + "line": 431, "column": 23 }, "identifierName": "Array" @@ -18513,15 +21821,15 @@ }, "property": { "type": "Identifier", - "start": 13448, - "end": 13455, + "start": 15114, + "end": 15121, "loc": { "start": { - "line": 365, + "line": 431, "column": 24 }, "end": { - "line": 365, + "line": 431, "column": 31 }, "identifierName": "isArray" @@ -18533,58 +21841,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 13456, - "end": 13480, + "start": 15122, + "end": 15146, "loc": { "start": { - "line": 365, + "line": 431, "column": 32 }, "end": { - "line": 365, + "line": 431, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 13456, - "end": 13468, + "start": 15122, + "end": 15134, "loc": { "start": { - "line": 365, + "line": 431, "column": 32 }, "end": { - "line": 365, + "line": 431, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 13456, - "end": 13460, + "start": 15122, + "end": 15126, "loc": { "start": { - "line": 365, + "line": 431, "column": 32 }, "end": { - "line": 365, + "line": 431, "column": 36 } } }, "property": { "type": "Identifier", - "start": 13461, - "end": 13468, + "start": 15127, + "end": 15134, "loc": { "start": { - "line": 365, + "line": 431, "column": 37 }, "end": { - "line": 365, + "line": 431, "column": 44 }, "identifierName": "options" @@ -18595,15 +21903,15 @@ }, "property": { "type": "Identifier", - "start": 13469, - "end": 13480, + "start": 15135, + "end": 15146, "loc": { "start": { - "line": 365, + "line": 431, "column": 45 }, "end": { - "line": 365, + "line": 431, "column": 56 }, "identifierName": "buttonTheme" @@ -18619,72 +21927,72 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 13485, - "end": 13516, + "start": 15151, + "end": 15182, "loc": { "start": { - "line": 365, + "line": 431, "column": 61 }, "end": { - "line": 365, + "line": 431, "column": 92 } }, "object": { "type": "MemberExpression", - "start": 13485, - "end": 13509, + "start": 15151, + "end": 15175, "loc": { "start": { - "line": 365, + "line": 431, "column": 61 }, "end": { - "line": 365, + "line": 431, "column": 85 } }, "object": { "type": "MemberExpression", - "start": 13485, - "end": 13497, + "start": 15151, + "end": 15163, "loc": { "start": { - "line": 365, + "line": 431, "column": 61 }, "end": { - "line": 365, + "line": 431, "column": 73 } }, "object": { "type": "ThisExpression", - "start": 13485, - "end": 13489, + "start": 15151, + "end": 15155, "loc": { "start": { - "line": 365, + "line": 431, "column": 61 }, "end": { - "line": 365, + "line": 431, "column": 65 } } }, "property": { "type": "Identifier", - "start": 13490, - "end": 13497, + "start": 15156, + "end": 15163, "loc": { "start": { - "line": 365, + "line": 431, "column": 66 }, "end": { - "line": 365, + "line": 431, "column": 73 }, "identifierName": "options" @@ -18695,15 +22003,15 @@ }, "property": { "type": "Identifier", - "start": 13498, - "end": 13509, + "start": 15164, + "end": 15175, "loc": { "start": { - "line": 365, + "line": 431, "column": 74 }, "end": { - "line": 365, + "line": 431, "column": 85 }, "identifierName": "buttonTheme" @@ -18714,15 +22022,15 @@ }, "property": { "type": "Identifier", - "start": 13510, - "end": 13516, + "start": 15176, + "end": 15182, "loc": { "start": { - "line": 365, + "line": 431, "column": 86 }, "end": { - "line": 365, + "line": 431, "column": 92 }, "identifierName": "length" @@ -18735,59 +22043,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 13517, - "end": 14513, + "start": 15183, + "end": 16179, "loc": { "start": { - "line": 365, + "line": 431, "column": 93 }, "end": { - "line": 397, + "line": 463, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 13526, - "end": 13563, + "start": 15192, + "end": 15229, "loc": { "start": { - "line": 366, + "line": 432, "column": 6 }, "end": { - "line": 366, + "line": 432, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13530, - "end": 13562, + "start": 15196, + "end": 15228, "loc": { "start": { - "line": 366, + "line": 432, "column": 10 }, "end": { - "line": 366, + "line": 432, "column": 42 } }, "id": { "type": "Identifier", - "start": 13530, - "end": 13541, + "start": 15196, + "end": 15207, "loc": { "start": { - "line": 366, + "line": 432, "column": 10 }, "end": { - "line": 366, + "line": 432, "column": 21 }, "identifierName": "buttonArray" @@ -18796,43 +22104,43 @@ }, "init": { "type": "CallExpression", - "start": 13544, - "end": 13562, + "start": 15210, + "end": 15228, "loc": { "start": { - "line": 366, + "line": 432, "column": 24 }, "end": { - "line": 366, + "line": 432, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 13544, - "end": 13557, + "start": 15210, + "end": 15223, "loc": { "start": { - "line": 366, + "line": 432, "column": 24 }, "end": { - "line": 366, + "line": 432, "column": 37 } }, "object": { "type": "Identifier", - "start": 13544, - "end": 13551, + "start": 15210, + "end": 15217, "loc": { "start": { - "line": 366, + "line": 432, "column": 24 }, "end": { - "line": 366, + "line": 432, "column": 31 }, "identifierName": "buttons" @@ -18841,15 +22149,15 @@ }, "property": { "type": "Identifier", - "start": 13552, - "end": 13557, + "start": 15218, + "end": 15223, "loc": { "start": { - "line": 366, + "line": 432, "column": 32 }, "end": { - "line": 366, + "line": 432, "column": 37 }, "identifierName": "split" @@ -18861,15 +22169,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13558, - "end": 13561, + "start": 15224, + "end": 15227, "loc": { "start": { - "line": 366, + "line": 432, "column": 38 }, "end": { - "line": 366, + "line": 432, "column": 41 } }, @@ -18887,57 +22195,57 @@ }, { "type": "ExpressionStatement", - "start": 13571, - "end": 14482, + "start": 15237, + "end": 16148, "loc": { "start": { - "line": 367, + "line": 433, "column": 6 }, "end": { - "line": 394, + "line": 460, "column": 9 } }, "expression": { "type": "CallExpression", - "start": 13571, - "end": 14481, + "start": 15237, + "end": 16147, "loc": { "start": { - "line": 367, + "line": 433, "column": 6 }, "end": { - "line": 394, + "line": 460, "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 13571, - "end": 13590, + "start": 15237, + "end": 15256, "loc": { "start": { - "line": 367, + "line": 433, "column": 6 }, "end": { - "line": 367, + "line": 433, "column": 25 } }, "object": { "type": "Identifier", - "start": 13571, - "end": 13582, + "start": 15237, + "end": 15248, "loc": { "start": { - "line": 367, + "line": 433, "column": 6 }, "end": { - "line": 367, + "line": 433, "column": 17 }, "identifierName": "buttonArray" @@ -18946,15 +22254,15 @@ }, "property": { "type": "Identifier", - "start": 13583, - "end": 13590, + "start": 15249, + "end": 15256, "loc": { "start": { - "line": 367, + "line": 433, "column": 18 }, "end": { - "line": 367, + "line": 433, "column": 25 }, "identifierName": "forEach" @@ -18966,15 +22274,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 13591, - "end": 14480, + "start": 15257, + "end": 16146, "loc": { "start": { - "line": 367, + "line": 433, "column": 26 }, "end": { - "line": 394, + "line": 460, "column": 7 } }, @@ -18985,15 +22293,15 @@ "params": [ { "type": "Identifier", - "start": 13592, - "end": 13598, + "start": 15258, + "end": 15264, "loc": { "start": { - "line": 367, + "line": 433, "column": 27 }, "end": { - "line": 367, + "line": 433, "column": 33 }, "identifierName": "button" @@ -19002,15 +22310,15 @@ }, { "type": "Identifier", - "start": 13600, - "end": 13603, + "start": 15266, + "end": 15269, "loc": { "start": { - "line": 367, + "line": 433, "column": 35 }, "end": { - "line": 367, + "line": 433, "column": 38 }, "identifierName": "key" @@ -19020,115 +22328,115 @@ ], "body": { "type": "BlockStatement", - "start": 13608, - "end": 14480, + "start": 15274, + "end": 16146, "loc": { "start": { - "line": 367, + "line": 433, "column": 43 }, "end": { - "line": 394, + "line": 460, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 13619, - "end": 14471, + "start": 15285, + "end": 16137, "loc": { "start": { - "line": 368, + "line": 434, "column": 8 }, "end": { - "line": 393, + "line": 459, "column": 11 } }, "expression": { "type": "CallExpression", - "start": 13619, - "end": 14470, + "start": 15285, + "end": 16136, "loc": { "start": { - "line": 368, + "line": 434, "column": 8 }, "end": { - "line": 393, + "line": 459, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 13619, - "end": 13647, + "start": 15285, + "end": 15313, "loc": { "start": { - "line": 368, + "line": 434, "column": 8 }, "end": { - "line": 368, + "line": 434, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 13619, - "end": 13643, + "start": 15285, + "end": 15309, "loc": { "start": { - "line": 368, + "line": 434, "column": 8 }, "end": { - "line": 368, + "line": 434, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 13619, - "end": 13631, + "start": 15285, + "end": 15297, "loc": { "start": { - "line": 368, + "line": 434, "column": 8 }, "end": { - "line": 368, + "line": 434, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 13619, - "end": 13623, + "start": 15285, + "end": 15289, "loc": { "start": { - "line": 368, + "line": 434, "column": 8 }, "end": { - "line": 368, + "line": 434, "column": 12 } } }, "property": { "type": "Identifier", - "start": 13624, - "end": 13631, + "start": 15290, + "end": 15297, "loc": { "start": { - "line": 368, + "line": 434, "column": 13 }, "end": { - "line": 368, + "line": 434, "column": 20 }, "identifierName": "options" @@ -19139,15 +22447,15 @@ }, "property": { "type": "Identifier", - "start": 13632, - "end": 13643, + "start": 15298, + "end": 15309, "loc": { "start": { - "line": 368, + "line": 434, "column": 21 }, "end": { - "line": 368, + "line": 434, "column": 32 }, "identifierName": "buttonTheme" @@ -19158,15 +22466,15 @@ }, "property": { "type": "Identifier", - "start": 13644, - "end": 13647, + "start": 15310, + "end": 15313, "loc": { "start": { - "line": 368, + "line": 434, "column": 33 }, "end": { - "line": 368, + "line": 434, "column": 36 }, "identifierName": "map" @@ -19178,15 +22486,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 13648, - "end": 14469, + "start": 15314, + "end": 16135, "loc": { "start": { - "line": 368, + "line": 434, "column": 37 }, "end": { - "line": 393, + "line": 459, "column": 9 } }, @@ -19197,15 +22505,15 @@ "params": [ { "type": "Identifier", - "start": 13649, - "end": 13660, + "start": 15315, + "end": 15326, "loc": { "start": { - "line": 368, + "line": 434, "column": 38 }, "end": { - "line": 368, + "line": 434, "column": 49 }, "identifierName": "buttonTheme" @@ -19214,15 +22522,15 @@ }, { "type": "Identifier", - "start": 13662, - "end": 13667, + "start": 15328, + "end": 15333, "loc": { "start": { - "line": 368, + "line": 434, "column": 51 }, "end": { - "line": 368, + "line": 434, "column": 56 }, "identifierName": "index" @@ -19232,72 +22540,72 @@ ], "body": { "type": "BlockStatement", - "start": 13672, - "end": 14469, + "start": 15338, + "end": 16135, "loc": { "start": { - "line": 368, + "line": 434, "column": 61 }, "end": { - "line": 393, + "line": 459, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 13840, - "end": 14425, + "start": 15506, + "end": 16091, "loc": { "start": { - "line": 374, + "line": 440, "column": 10 }, "end": { - "line": 390, + "line": 456, "column": 11 } }, "test": { "type": "LogicalExpression", - "start": 13857, - "end": 13936, + "start": 15523, + "end": 15602, "loc": { "start": { - "line": 375, + "line": 441, "column": 12 }, "end": { - "line": 376, + "line": 442, "column": 22 } }, "left": { "type": "LogicalExpression", - "start": 13858, - "end": 13908, + "start": 15524, + "end": 15574, "loc": { "start": { - "line": 375, + "line": 441, "column": 13 }, "end": { - "line": 375, + "line": 441, "column": 63 } }, "left": { "type": "Identifier", - "start": 13858, - "end": 13867, + "start": 15524, + "end": 15533, "loc": { "start": { - "line": 375, + "line": 441, "column": 13 }, "end": { - "line": 375, + "line": 441, "column": 22 }, "identifierName": "className" @@ -19308,43 +22616,43 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 13871, - "end": 13908, + "start": 15537, + "end": 15574, "loc": { "start": { - "line": 375, + "line": 441, "column": 26 }, "end": { - "line": 375, + "line": 441, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 13871, - "end": 13889, + "start": 15537, + "end": 15555, "loc": { "start": { - "line": 375, + "line": 441, "column": 26 }, "end": { - "line": 375, + "line": 441, "column": 44 } }, "object": { "type": "Identifier", - "start": 13871, - "end": 13880, + "start": 15537, + "end": 15546, "loc": { "start": { - "line": 375, + "line": 441, "column": 26 }, "end": { - "line": 375, + "line": 441, "column": 35 }, "identifierName": "className" @@ -19353,15 +22661,15 @@ }, "property": { "type": "Identifier", - "start": 13881, - "end": 13889, + "start": 15547, + "end": 15555, "loc": { "start": { - "line": 375, + "line": 441, "column": 36 }, "end": { - "line": 375, + "line": 441, "column": 44 }, "identifierName": "includes" @@ -19373,29 +22681,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 13890, - "end": 13907, + "start": 15556, + "end": 15573, "loc": { "start": { - "line": 375, + "line": 441, "column": 45 }, "end": { - "line": 375, + "line": 441, "column": 62 } }, "object": { "type": "Identifier", - "start": 13890, - "end": 13901, + "start": 15556, + "end": 15567, "loc": { "start": { - "line": 375, + "line": 441, "column": 45 }, "end": { - "line": 375, + "line": 441, "column": 56 }, "identifierName": "buttonTheme" @@ -19404,15 +22712,15 @@ }, "property": { "type": "Identifier", - "start": 13902, - "end": 13907, + "start": 15568, + "end": 15573, "loc": { "start": { - "line": 375, + "line": 441, "column": 57 }, "end": { - "line": 375, + "line": 441, "column": 62 }, "identifierName": "class" @@ -19426,21 +22734,21 @@ "leadingComments": null, "extra": { "parenthesized": true, - "parenStart": 13857 + "parenStart": 15523 } }, "operator": "||", "right": { "type": "UnaryExpression", - "start": 13926, - "end": 13936, + "start": 15592, + "end": 15602, "loc": { "start": { - "line": 376, + "line": 442, "column": 12 }, "end": { - "line": 376, + "line": 442, "column": 22 } }, @@ -19448,15 +22756,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 13927, - "end": 13936, + "start": 15593, + "end": 15602, "loc": { "start": { - "line": 376, + "line": 442, "column": 13 }, "end": { - "line": 376, + "line": 442, "column": 22 }, "identifierName": "className" @@ -19471,59 +22779,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 13949, - "end": 14425, + "start": 15615, + "end": 16091, "loc": { "start": { - "line": 377, + "line": 443, "column": 11 }, "end": { - "line": 390, + "line": 456, "column": 11 } }, "body": [ { "type": "VariableDeclaration", - "start": 13964, - "end": 14053, + "start": 15630, + "end": 15719, "loc": { "start": { - "line": 378, + "line": 444, "column": 12 }, "end": { - "line": 378, + "line": 444, "column": 101 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13968, - "end": 14052, + "start": 15634, + "end": 15718, "loc": { "start": { - "line": 378, + "line": 444, "column": 16 }, "end": { - "line": 378, + "line": 444, "column": 100 } }, "id": { "type": "Identifier", - "start": 13968, - "end": 13987, + "start": 15634, + "end": 15653, "loc": { "start": { - "line": 378, + "line": 444, "column": 16 }, "end": { - "line": 378, + "line": 444, "column": 35 }, "identifierName": "filteredButtonArray" @@ -19532,85 +22840,85 @@ }, "init": { "type": "CallExpression", - "start": 13990, - "end": 14052, + "start": 15656, + "end": 15718, "loc": { "start": { - "line": 378, + "line": 444, "column": 38 }, "end": { - "line": 378, + "line": 444, "column": 100 } }, "callee": { "type": "MemberExpression", - "start": 13990, - "end": 14027, + "start": 15656, + "end": 15693, "loc": { "start": { - "line": 378, + "line": 444, "column": 38 }, "end": { - "line": 378, + "line": 444, "column": 75 } }, "object": { "type": "CallExpression", - "start": 13990, - "end": 14020, + "start": 15656, + "end": 15686, "loc": { "start": { - "line": 378, + "line": 444, "column": 38 }, "end": { - "line": 378, + "line": 444, "column": 68 } }, "callee": { "type": "MemberExpression", - "start": 13990, - "end": 14015, + "start": 15656, + "end": 15681, "loc": { "start": { - "line": 378, + "line": 444, "column": 38 }, "end": { - "line": 378, + "line": 444, "column": 63 } }, "object": { "type": "MemberExpression", - "start": 13990, - "end": 14009, + "start": 15656, + "end": 15675, "loc": { "start": { - "line": 378, + "line": 444, "column": 38 }, "end": { - "line": 378, + "line": 444, "column": 57 } }, "object": { "type": "Identifier", - "start": 13990, - "end": 14001, + "start": 15656, + "end": 15667, "loc": { "start": { - "line": 378, + "line": 444, "column": 38 }, "end": { - "line": 378, + "line": 444, "column": 49 }, "identifierName": "buttonTheme" @@ -19619,15 +22927,15 @@ }, "property": { "type": "Identifier", - "start": 14002, - "end": 14009, + "start": 15668, + "end": 15675, "loc": { "start": { - "line": 378, + "line": 444, "column": 50 }, "end": { - "line": 378, + "line": 444, "column": 57 }, "identifierName": "buttons" @@ -19638,15 +22946,15 @@ }, "property": { "type": "Identifier", - "start": 14010, - "end": 14015, + "start": 15676, + "end": 15681, "loc": { "start": { - "line": 378, + "line": 444, "column": 58 }, "end": { - "line": 378, + "line": 444, "column": 63 }, "identifierName": "split" @@ -19658,15 +22966,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14016, - "end": 14019, + "start": 15682, + "end": 15685, "loc": { "start": { - "line": 378, + "line": 444, "column": 64 }, "end": { - "line": 378, + "line": 444, "column": 67 } }, @@ -19680,15 +22988,15 @@ }, "property": { "type": "Identifier", - "start": 14021, - "end": 14027, + "start": 15687, + "end": 15693, "loc": { "start": { - "line": 378, + "line": 444, "column": 69 }, "end": { - "line": 378, + "line": 444, "column": 75 }, "identifierName": "filter" @@ -19700,15 +23008,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 14028, - "end": 14051, + "start": 15694, + "end": 15717, "loc": { "start": { - "line": 378, + "line": 444, "column": 76 }, "end": { - "line": 378, + "line": 444, "column": 99 } }, @@ -19719,15 +23027,15 @@ "params": [ { "type": "Identifier", - "start": 14028, - "end": 14032, + "start": 15694, + "end": 15698, "loc": { "start": { - "line": 378, + "line": 444, "column": 76 }, "end": { - "line": 378, + "line": 444, "column": 80 }, "identifierName": "item" @@ -19737,29 +23045,29 @@ ], "body": { "type": "BinaryExpression", - "start": 14036, - "end": 14051, + "start": 15702, + "end": 15717, "loc": { "start": { - "line": 378, + "line": 444, "column": 84 }, "end": { - "line": 378, + "line": 444, "column": 99 } }, "left": { "type": "Identifier", - "start": 14036, - "end": 14040, + "start": 15702, + "end": 15706, "loc": { "start": { - "line": 378, + "line": 444, "column": 84 }, "end": { - "line": 378, + "line": 444, "column": 88 }, "identifierName": "item" @@ -19769,15 +23077,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 14045, - "end": 14051, + "start": 15711, + "end": 15717, "loc": { "start": { - "line": 378, + "line": 444, "column": 93 }, "end": { - "line": 378, + "line": 444, "column": 99 }, "identifierName": "button" @@ -19795,15 +23103,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", - "start": 14069, - "end": 14166, + "start": 15735, + "end": 15832, "loc": { "start": { - "line": 380, + "line": 446, "column": 12 }, "end": { - "line": 382, + "line": 448, "column": 15 } } @@ -19812,43 +23120,43 @@ }, { "type": "IfStatement", - "start": 14180, - "end": 14409, + "start": 15846, + "end": 16075, "loc": { "start": { - "line": 383, + "line": 449, "column": 12 }, "end": { - "line": 388, + "line": 454, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 14183, - "end": 14209, + "start": 15849, + "end": 15875, "loc": { "start": { - "line": 383, + "line": 449, "column": 15 }, "end": { - "line": 383, + "line": 449, "column": 41 } }, "object": { "type": "Identifier", - "start": 14183, - "end": 14202, + "start": 15849, + "end": 15868, "loc": { "start": { - "line": 383, + "line": 449, "column": 15 }, "end": { - "line": 383, + "line": 449, "column": 34 }, "identifierName": "filteredButtonArray" @@ -19858,15 +23166,15 @@ }, "property": { "type": "Identifier", - "start": 14203, - "end": 14209, + "start": 15869, + "end": 15875, "loc": { "start": { - "line": 383, + "line": 449, "column": 35 }, "end": { - "line": 383, + "line": 449, "column": 41 }, "identifierName": "length" @@ -19878,73 +23186,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 14210, - "end": 14294, + "start": 15876, + "end": 15960, "loc": { "start": { - "line": 383, + "line": 449, "column": 42 }, "end": { - "line": 385, + "line": 451, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 14227, - "end": 14279, + "start": 15893, + "end": 15945, "loc": { "start": { - "line": 384, + "line": 450, "column": 14 }, "end": { - "line": 384, + "line": 450, "column": 66 } }, "expression": { "type": "AssignmentExpression", - "start": 14227, - "end": 14278, + "start": 15893, + "end": 15944, "loc": { "start": { - "line": 384, + "line": 450, "column": 14 }, "end": { - "line": 384, + "line": 450, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 14227, - "end": 14246, + "start": 15893, + "end": 15912, "loc": { "start": { - "line": 384, + "line": 450, "column": 14 }, "end": { - "line": 384, + "line": 450, "column": 33 } }, "object": { "type": "Identifier", - "start": 14227, - "end": 14238, + "start": 15893, + "end": 15904, "loc": { "start": { - "line": 384, + "line": 450, "column": 14 }, "end": { - "line": 384, + "line": 450, "column": 25 }, "identifierName": "buttonTheme" @@ -19953,15 +23261,15 @@ }, "property": { "type": "Identifier", - "start": 14239, - "end": 14246, + "start": 15905, + "end": 15912, "loc": { "start": { - "line": 384, + "line": 450, "column": 26 }, "end": { - "line": 384, + "line": 450, "column": 33 }, "identifierName": "buttons" @@ -19972,43 +23280,43 @@ }, "right": { "type": "CallExpression", - "start": 14249, - "end": 14278, + "start": 15915, + "end": 15944, "loc": { "start": { - "line": 384, + "line": 450, "column": 36 }, "end": { - "line": 384, + "line": 450, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 14249, - "end": 14273, + "start": 15915, + "end": 15939, "loc": { "start": { - "line": 384, + "line": 450, "column": 36 }, "end": { - "line": 384, + "line": 450, "column": 60 } }, "object": { "type": "Identifier", - "start": 14249, - "end": 14268, + "start": 15915, + "end": 15934, "loc": { "start": { - "line": 384, + "line": 450, "column": 36 }, "end": { - "line": 384, + "line": 450, "column": 55 }, "identifierName": "filteredButtonArray" @@ -20017,15 +23325,15 @@ }, "property": { "type": "Identifier", - "start": 14269, - "end": 14273, + "start": 15935, + "end": 15939, "loc": { "start": { - "line": 384, + "line": 450, "column": 56 }, "end": { - "line": 384, + "line": 450, "column": 60 }, "identifierName": "join" @@ -20037,15 +23345,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14274, - "end": 14277, + "start": 15940, + "end": 15943, "loc": { "start": { - "line": 384, + "line": 450, "column": 61 }, "end": { - "line": 384, + "line": 450, "column": 64 } }, @@ -20064,115 +23372,115 @@ }, "alternate": { "type": "BlockStatement", - "start": 14300, - "end": 14409, + "start": 15966, + "end": 16075, "loc": { "start": { - "line": 385, + "line": 451, "column": 19 }, "end": { - "line": 388, + "line": 454, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 14317, - "end": 14359, + "start": 15983, + "end": 16025, "loc": { "start": { - "line": 386, + "line": 452, "column": 14 }, "end": { - "line": 386, + "line": 452, "column": 56 } }, "expression": { "type": "CallExpression", - "start": 14317, - "end": 14358, + "start": 15983, + "end": 16024, "loc": { "start": { - "line": 386, + "line": 452, "column": 14 }, "end": { - "line": 386, + "line": 452, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 14317, - "end": 14348, + "start": 15983, + "end": 16014, "loc": { "start": { - "line": 386, + "line": 452, "column": 14 }, "end": { - "line": 386, + "line": 452, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 14317, - "end": 14341, + "start": 15983, + "end": 16007, "loc": { "start": { - "line": 386, + "line": 452, "column": 14 }, "end": { - "line": 386, + "line": 452, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 14317, - "end": 14329, + "start": 15983, + "end": 15995, "loc": { "start": { - "line": 386, + "line": 452, "column": 14 }, "end": { - "line": 386, + "line": 452, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 14317, - "end": 14321, + "start": 15983, + "end": 15987, "loc": { "start": { - "line": 386, + "line": 452, "column": 14 }, "end": { - "line": 386, + "line": 452, "column": 18 } } }, "property": { "type": "Identifier", - "start": 14322, - "end": 14329, + "start": 15988, + "end": 15995, "loc": { "start": { - "line": 386, + "line": 452, "column": 19 }, "end": { - "line": 386, + "line": 452, "column": 26 }, "identifierName": "options" @@ -20183,15 +23491,15 @@ }, "property": { "type": "Identifier", - "start": 14330, - "end": 14341, + "start": 15996, + "end": 16007, "loc": { "start": { - "line": 386, + "line": 452, "column": 27 }, "end": { - "line": 386, + "line": 452, "column": 38 }, "identifierName": "buttonTheme" @@ -20202,15 +23510,15 @@ }, "property": { "type": "Identifier", - "start": 14342, - "end": 14348, + "start": 16008, + "end": 16014, "loc": { "start": { - "line": 386, + "line": 452, "column": 39 }, "end": { - "line": 386, + "line": 452, "column": 45 }, "identifierName": "splice" @@ -20222,15 +23530,15 @@ "arguments": [ { "type": "Identifier", - "start": 14349, - "end": 14354, + "start": 16015, + "end": 16020, "loc": { "start": { - "line": 386, + "line": 452, "column": 46 }, "end": { - "line": 386, + "line": 452, "column": 51 }, "identifierName": "index" @@ -20239,15 +23547,15 @@ }, { "type": "NumericLiteral", - "start": 14356, - "end": 14357, + "start": 16022, + "end": 16023, "loc": { "start": { - "line": 386, + "line": 452, "column": 53 }, "end": { - "line": 386, + "line": 452, "column": 54 } }, @@ -20262,44 +23570,44 @@ }, { "type": "ExpressionStatement", - "start": 14375, - "end": 14394, + "start": 16041, + "end": 16060, "loc": { "start": { - "line": 387, + "line": 453, "column": 14 }, "end": { - "line": 387, + "line": 453, "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 14375, - "end": 14393, + "start": 16041, + "end": 16059, "loc": { "start": { - "line": 387, + "line": 453, "column": 14 }, "end": { - "line": 387, + "line": 453, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", - "start": 14375, - "end": 14386, + "start": 16041, + "end": 16052, "loc": { "start": { - "line": 387, + "line": 453, "column": 14 }, "end": { - "line": 387, + "line": 453, "column": 25 }, "identifierName": "buttonTheme" @@ -20308,15 +23616,15 @@ }, "right": { "type": "NullLiteral", - "start": 14389, - "end": 14393, + "start": 16055, + "end": 16059, "loc": { "start": { - "line": 387, + "line": 453, "column": 28 }, "end": { - "line": 387, + "line": 453, "column": 32 } } @@ -20330,15 +23638,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", - "start": 14069, - "end": 14166, + "start": 15735, + "end": 15832, "loc": { "start": { - "line": 380, + "line": 446, "column": 12 }, "end": { - "line": 382, + "line": 448, "column": 15 } } @@ -20353,15 +23661,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": 13687, - "end": 13828, + "start": 15353, + "end": 15494, "loc": { "start": { - "line": 370, + "line": 436, "column": 10 }, "end": { - "line": 373, + "line": 439, "column": 13 } } @@ -20370,29 +23678,29 @@ }, { "type": "ReturnStatement", - "start": 14439, - "end": 14458, + "start": 16105, + "end": 16124, "loc": { "start": { - "line": 392, + "line": 458, "column": 10 }, "end": { - "line": 392, + "line": 458, "column": 29 } }, "argument": { "type": "Identifier", - "start": 14446, - "end": 14457, + "start": 16112, + "end": 16123, "loc": { "start": { - "line": 392, + "line": 458, "column": 17 }, "end": { - "line": 392, + "line": 458, "column": 28 }, "identifierName": "buttonTheme" @@ -20416,72 +23724,72 @@ }, { "type": "ExpressionStatement", - "start": 14492, - "end": 14506, + "start": 16158, + "end": 16172, "loc": { "start": { - "line": 396, + "line": 462, "column": 6 }, "end": { - "line": 396, + "line": 462, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 14492, - "end": 14505, + "start": 16158, + "end": 16171, "loc": { "start": { - "line": 396, + "line": 462, "column": 6 }, "end": { - "line": 396, + "line": 462, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 14492, - "end": 14503, + "start": 16158, + "end": 16169, "loc": { "start": { - "line": 396, + "line": 462, "column": 6 }, "end": { - "line": 396, + "line": 462, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 14492, - "end": 14496, + "start": 16158, + "end": 16162, "loc": { "start": { - "line": 396, + "line": 462, "column": 6 }, "end": { - "line": 396, + "line": 462, "column": 10 } } }, "property": { "type": "Identifier", - "start": 14497, - "end": 14503, + "start": 16163, + "end": 16169, "loc": { "start": { - "line": 396, + "line": 462, "column": 11 }, "end": { - "line": 396, + "line": 462, "column": 17 }, "identifierName": "render" @@ -20501,15 +23809,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", - "start": 13354, - "end": 13422, + "start": 15020, + "end": 15088, "loc": { "start": { - "line": 362, + "line": 428, "column": 4 }, "end": { - "line": 364, + "line": 430, "column": 7 } } @@ -20524,15 +23832,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": 12757, - "end": 13097, + "start": 14423, + "end": 14763, "loc": { "start": { - "line": 347, + "line": 413, "column": 2 }, "end": { - "line": 351, + "line": 417, "column": 5 } } @@ -20542,15 +23850,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": 14524, - "end": 14727, + "start": 16190, + "end": 16393, "loc": { "start": { - "line": 400, + "line": 466, "column": 2 }, "end": { - "line": 403, + "line": 469, "column": 5 } } @@ -20559,15 +23867,15 @@ }, { "type": "ClassMethod", - "start": 14731, - "end": 14998, + "start": 16397, + "end": 16664, "loc": { "start": { - "line": 404, + "line": 470, "column": 2 }, "end": { - "line": 417, + "line": 483, "column": 3 } }, @@ -20575,15 +23883,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14731, - "end": 14747, + "start": 16397, + "end": 16413, "loc": { "start": { - "line": 404, + "line": 470, "column": 2 }, "end": { - "line": 404, + "line": 470, "column": 18 }, "identifierName": "getButtonElement" @@ -20599,15 +23907,15 @@ "params": [ { "type": "Identifier", - "start": 14748, - "end": 14754, + "start": 16414, + "end": 16420, "loc": { "start": { - "line": 404, + "line": 470, "column": 19 }, "end": { - "line": 404, + "line": 470, "column": 25 }, "identifierName": "button" @@ -20617,59 +23925,59 @@ ], "body": { "type": "BlockStatement", - "start": 14755, - "end": 14998, + "start": 16421, + "end": 16664, "loc": { "start": { - "line": 404, + "line": 470, "column": 26 }, "end": { - "line": 417, + "line": 483, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 14762, - "end": 14773, + "start": 16428, + "end": 16439, "loc": { "start": { - "line": 405, + "line": 471, "column": 4 }, "end": { - "line": 405, + "line": 471, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 14766, - "end": 14772, + "start": 16432, + "end": 16438, "loc": { "start": { - "line": 405, + "line": 471, "column": 8 }, "end": { - "line": 405, + "line": 471, "column": 14 } }, "id": { "type": "Identifier", - "start": 14766, - "end": 14772, + "start": 16432, + "end": 16438, "loc": { "start": { - "line": 405, + "line": 471, "column": 8 }, "end": { - "line": 405, + "line": 471, "column": 14 }, "identifierName": "output" @@ -20683,44 +23991,44 @@ }, { "type": "VariableDeclaration", - "start": 14781, - "end": 14825, + "start": 16447, + "end": 16491, "loc": { "start": { - "line": 407, + "line": 473, "column": 4 }, "end": { - "line": 407, + "line": 473, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 14785, - "end": 14824, + "start": 16451, + "end": 16490, "loc": { "start": { - "line": 407, + "line": 473, "column": 8 }, "end": { - "line": 407, + "line": 473, "column": 47 } }, "id": { "type": "Identifier", - "start": 14785, - "end": 14794, + "start": 16451, + "end": 16460, "loc": { "start": { - "line": 407, + "line": 473, "column": 8 }, "end": { - "line": 407, + "line": 473, "column": 17 }, "identifierName": "buttonArr" @@ -20729,58 +24037,58 @@ }, "init": { "type": "MemberExpression", - "start": 14797, - "end": 14824, + "start": 16463, + "end": 16490, "loc": { "start": { - "line": 407, + "line": 473, "column": 20 }, "end": { - "line": 407, + "line": 473, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 14797, - "end": 14816, + "start": 16463, + "end": 16482, "loc": { "start": { - "line": 407, + "line": 473, "column": 20 }, "end": { - "line": 407, + "line": 473, "column": 39 } }, "object": { "type": "ThisExpression", - "start": 14797, - "end": 14801, + "start": 16463, + "end": 16467, "loc": { "start": { - "line": 407, + "line": 473, "column": 20 }, "end": { - "line": 407, + "line": 473, "column": 24 } } }, "property": { "type": "Identifier", - "start": 14802, - "end": 14816, + "start": 16468, + "end": 16482, "loc": { "start": { - "line": 407, + "line": 473, "column": 25 }, "end": { - "line": 407, + "line": 473, "column": 39 }, "identifierName": "buttonElements" @@ -20791,15 +24099,15 @@ }, "property": { "type": "Identifier", - "start": 14817, - "end": 14823, + "start": 16483, + "end": 16489, "loc": { "start": { - "line": 407, + "line": 473, "column": 40 }, "end": { - "line": 407, + "line": 473, "column": 46 }, "identifierName": "button" @@ -20814,29 +24122,29 @@ }, { "type": "IfStatement", - "start": 14831, - "end": 14971, + "start": 16497, + "end": 16637, "loc": { "start": { - "line": 408, + "line": 474, "column": 4 }, "end": { - "line": 414, + "line": 480, "column": 5 } }, "test": { "type": "Identifier", - "start": 14834, - "end": 14843, + "start": 16500, + "end": 16509, "loc": { "start": { - "line": 408, + "line": 474, "column": 7 }, "end": { - "line": 408, + "line": 474, "column": 16 }, "identifierName": "buttonArr" @@ -20845,72 +24153,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 14844, - "end": 14971, + "start": 16510, + "end": 16637, "loc": { "start": { - "line": 408, + "line": 474, "column": 17 }, "end": { - "line": 414, + "line": 480, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 14853, - "end": 14964, + "start": 16519, + "end": 16630, "loc": { "start": { - "line": 409, + "line": 475, "column": 6 }, "end": { - "line": 413, + "line": 479, "column": 7 } }, "test": { "type": "BinaryExpression", - "start": 14856, - "end": 14876, + "start": 16522, + "end": 16542, "loc": { "start": { - "line": 409, + "line": 475, "column": 9 }, "end": { - "line": 409, + "line": 475, "column": 29 } }, "left": { "type": "MemberExpression", - "start": 14856, - "end": 14872, + "start": 16522, + "end": 16538, "loc": { "start": { - "line": 409, + "line": 475, "column": 9 }, "end": { - "line": 409, + "line": 475, "column": 25 } }, "object": { "type": "Identifier", - "start": 14856, - "end": 14865, + "start": 16522, + "end": 16531, "loc": { "start": { - "line": 409, + "line": 475, "column": 9 }, "end": { - "line": 409, + "line": 475, "column": 18 }, "identifierName": "buttonArr" @@ -20919,15 +24227,15 @@ }, "property": { "type": "Identifier", - "start": 14866, - "end": 14872, + "start": 16532, + "end": 16538, "loc": { "start": { - "line": 409, + "line": 475, "column": 19 }, "end": { - "line": 409, + "line": 475, "column": 25 }, "identifierName": "length" @@ -20939,15 +24247,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 14875, - "end": 14876, + "start": 16541, + "end": 16542, "loc": { "start": { - "line": 409, + "line": 475, "column": 28 }, "end": { - "line": 409, + "line": 475, "column": 29 } }, @@ -20960,59 +24268,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 14877, - "end": 14916, + "start": 16543, + "end": 16582, "loc": { "start": { - "line": 409, + "line": 475, "column": 30 }, "end": { - "line": 411, + "line": 477, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 14888, - "end": 14907, + "start": 16554, + "end": 16573, "loc": { "start": { - "line": 410, + "line": 476, "column": 8 }, "end": { - "line": 410, + "line": 476, "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 14888, - "end": 14906, + "start": 16554, + "end": 16572, "loc": { "start": { - "line": 410, + "line": 476, "column": 8 }, "end": { - "line": 410, + "line": 476, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", - "start": 14888, - "end": 14894, + "start": 16554, + "end": 16560, "loc": { "start": { - "line": 410, + "line": 476, "column": 8 }, "end": { - "line": 410, + "line": 476, "column": 14 }, "identifierName": "output" @@ -21021,15 +24329,15 @@ }, "right": { "type": "Identifier", - "start": 14897, - "end": 14906, + "start": 16563, + "end": 16572, "loc": { "start": { - "line": 410, + "line": 476, "column": 17 }, "end": { - "line": 410, + "line": 476, "column": 26 }, "identifierName": "buttonArr" @@ -21043,59 +24351,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 14922, - "end": 14964, + "start": 16588, + "end": 16630, "loc": { "start": { - "line": 411, + "line": 477, "column": 13 }, "end": { - "line": 413, + "line": 479, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 14933, - "end": 14955, + "start": 16599, + "end": 16621, "loc": { "start": { - "line": 412, + "line": 478, "column": 8 }, "end": { - "line": 412, + "line": 478, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 14933, - "end": 14954, + "start": 16599, + "end": 16620, "loc": { "start": { - "line": 412, + "line": 478, "column": 8 }, "end": { - "line": 412, + "line": 478, "column": 29 } }, "operator": "=", "left": { "type": "Identifier", - "start": 14933, - "end": 14939, + "start": 16599, + "end": 16605, "loc": { "start": { - "line": 412, + "line": 478, "column": 8 }, "end": { - "line": 412, + "line": 478, "column": 14 }, "identifierName": "output" @@ -21104,29 +24412,29 @@ }, "right": { "type": "MemberExpression", - "start": 14942, - "end": 14954, + "start": 16608, + "end": 16620, "loc": { "start": { - "line": 412, + "line": 478, "column": 17 }, "end": { - "line": 412, + "line": 478, "column": 29 } }, "object": { "type": "Identifier", - "start": 14942, - "end": 14951, + "start": 16608, + "end": 16617, "loc": { "start": { - "line": 412, + "line": 478, "column": 17 }, "end": { - "line": 412, + "line": 478, "column": 26 }, "identifierName": "buttonArr" @@ -21135,15 +24443,15 @@ }, "property": { "type": "NumericLiteral", - "start": 14952, - "end": 14953, + "start": 16618, + "end": 16619, "loc": { "start": { - "line": 412, + "line": 478, "column": 27 }, "end": { - "line": 412, + "line": 478, "column": 28 } }, @@ -21168,29 +24476,29 @@ }, { "type": "ReturnStatement", - "start": 14979, - "end": 14993, + "start": 16645, + "end": 16659, "loc": { "start": { - "line": 416, + "line": 482, "column": 4 }, "end": { - "line": 416, + "line": 482, "column": 18 } }, "argument": { "type": "Identifier", - "start": 14986, - "end": 14992, + "start": 16652, + "end": 16658, "loc": { "start": { - "line": 416, + "line": 482, "column": 11 }, "end": { - "line": 416, + "line": 482, "column": 17 }, "identifierName": "output" @@ -21206,15 +24514,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": 14524, - "end": 14727, + "start": 16190, + "end": 16393, "loc": { "start": { - "line": 400, + "line": 466, "column": 2 }, "end": { - "line": 403, + "line": 469, "column": 5 } } @@ -21224,15 +24532,15 @@ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", - "start": 15004, - "end": 15094, + "start": 16670, + "end": 16760, "loc": { "start": { - "line": 419, + "line": 485, "column": 2 }, "end": { - "line": 421, + "line": 487, "column": 5 } } @@ -21241,15 +24549,15 @@ }, { "type": "ClassMethod", - "start": 15098, - "end": 15401, + "start": 16764, + "end": 17067, "loc": { "start": { - "line": 422, + "line": 488, "column": 2 }, "end": { - "line": 430, + "line": 496, "column": 3 } }, @@ -21257,15 +24565,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15098, - "end": 15109, + "start": 16764, + "end": 16775, "loc": { "start": { - "line": 422, + "line": 488, "column": 2 }, "end": { - "line": 422, + "line": 488, "column": 13 }, "identifierName": "handleCaret" @@ -21281,87 +24589,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 15111, - "end": 15401, + "start": 16777, + "end": 17067, "loc": { "start": { - "line": 422, + "line": 488, "column": 15 }, "end": { - "line": 430, + "line": 496, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 15118, - "end": 15194, + "start": 16784, + "end": 16860, "loc": { "start": { - "line": 423, + "line": 489, "column": 4 }, "end": { - "line": 425, + "line": 491, "column": 5 } }, "test": { "type": "MemberExpression", - "start": 15121, - "end": 15139, + "start": 16787, + "end": 16805, "loc": { "start": { - "line": 423, + "line": 489, "column": 7 }, "end": { - "line": 423, + "line": 489, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 15121, - "end": 15133, + "start": 16787, + "end": 16799, "loc": { "start": { - "line": 423, + "line": 489, "column": 7 }, "end": { - "line": 423, + "line": 489, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 15121, - "end": 15125, + "start": 16787, + "end": 16791, "loc": { "start": { - "line": 423, + "line": 489, "column": 7 }, "end": { - "line": 423, + "line": 489, "column": 11 } } }, "property": { "type": "Identifier", - "start": 15126, - "end": 15133, + "start": 16792, + "end": 16799, "loc": { "start": { - "line": 423, + "line": 489, "column": 12 }, "end": { - "line": 423, + "line": 489, "column": 19 }, "identifierName": "options" @@ -21372,15 +24680,15 @@ }, "property": { "type": "Identifier", - "start": 15134, - "end": 15139, + "start": 16800, + "end": 16805, "loc": { "start": { - "line": 423, + "line": 489, "column": 20 }, "end": { - "line": 423, + "line": 489, "column": 25 }, "identifierName": "debug" @@ -21391,72 +24699,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 15140, - "end": 15194, + "start": 16806, + "end": 16860, "loc": { "start": { - "line": 423, + "line": 489, "column": 26 }, "end": { - "line": 425, + "line": 491, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 15149, - "end": 15187, + "start": 16815, + "end": 16853, "loc": { "start": { - "line": 424, + "line": 490, "column": 6 }, "end": { - "line": 424, + "line": 490, "column": 44 } }, "expression": { "type": "CallExpression", - "start": 15149, - "end": 15186, + "start": 16815, + "end": 16852, "loc": { "start": { - "line": 424, + "line": 490, "column": 6 }, "end": { - "line": 424, + "line": 490, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 15149, - "end": 15160, + "start": 16815, + "end": 16826, "loc": { "start": { - "line": 424, + "line": 490, "column": 6 }, "end": { - "line": 424, + "line": 490, "column": 17 } }, "object": { "type": "Identifier", - "start": 15149, - "end": 15156, + "start": 16815, + "end": 16822, "loc": { "start": { - "line": 424, + "line": 490, "column": 6 }, "end": { - "line": 424, + "line": 490, "column": 13 }, "identifierName": "console" @@ -21465,15 +24773,15 @@ }, "property": { "type": "Identifier", - "start": 15157, - "end": 15160, + "start": 16823, + "end": 16826, "loc": { "start": { - "line": 424, + "line": 490, "column": 14 }, "end": { - "line": 424, + "line": 490, "column": 17 }, "identifierName": "log" @@ -21485,15 +24793,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 15161, - "end": 15185, + "start": 16827, + "end": 16851, "loc": { "start": { - "line": 424, + "line": 490, "column": 18 }, "end": { - "line": 424, + "line": 490, "column": 42 } }, @@ -21513,57 +24821,57 @@ }, { "type": "ExpressionStatement", - "start": 15202, - "end": 15261, + "start": 16868, + "end": 16927, "loc": { "start": { - "line": 427, + "line": 493, "column": 4 }, "end": { - "line": 427, + "line": 493, "column": 63 } }, "expression": { "type": "CallExpression", - "start": 15202, - "end": 15260, + "start": 16868, + "end": 16926, "loc": { "start": { - "line": 427, + "line": 493, "column": 4 }, "end": { - "line": 427, + "line": 493, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 15202, - "end": 15227, + "start": 16868, + "end": 16893, "loc": { "start": { - "line": 427, + "line": 493, "column": 4 }, "end": { - "line": 427, + "line": 493, "column": 29 } }, "object": { "type": "Identifier", - "start": 15202, - "end": 15210, + "start": 16868, + "end": 16876, "loc": { "start": { - "line": 427, + "line": 493, "column": 4 }, "end": { - "line": 427, + "line": 493, "column": 12 }, "identifierName": "document" @@ -21572,15 +24880,15 @@ }, "property": { "type": "Identifier", - "start": 15211, - "end": 15227, + "start": 16877, + "end": 16893, "loc": { "start": { - "line": 427, + "line": 493, "column": 13 }, "end": { - "line": 427, + "line": 493, "column": 29 }, "identifierName": "addEventListener" @@ -21592,15 +24900,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 15228, - "end": 15235, + "start": 16894, + "end": 16901, "loc": { "start": { - "line": 427, + "line": 493, "column": 30 }, "end": { - "line": 427, + "line": 493, "column": 37 } }, @@ -21612,44 +24920,44 @@ }, { "type": "MemberExpression", - "start": 15237, - "end": 15259, + "start": 16903, + "end": 16925, "loc": { "start": { - "line": 427, + "line": 493, "column": 39 }, "end": { - "line": 427, + "line": 493, "column": 61 } }, "object": { "type": "ThisExpression", - "start": 15237, - "end": 15241, + "start": 16903, + "end": 16907, "loc": { "start": { - "line": 427, + "line": 493, "column": 39 }, "end": { - "line": 427, + "line": 493, "column": 43 } } }, "property": { "type": "Identifier", - "start": 15242, - "end": 15259, + "start": 16908, + "end": 16925, "loc": { "start": { - "line": 427, + "line": 493, "column": 44 }, "end": { - "line": 427, + "line": 493, "column": 61 }, "identifierName": "caretEventHandler" @@ -21663,57 +24971,57 @@ }, { "type": "ExpressionStatement", - "start": 15267, - "end": 15328, + "start": 16933, + "end": 16994, "loc": { "start": { - "line": 428, + "line": 494, "column": 4 }, "end": { - "line": 428, + "line": 494, "column": 65 } }, "expression": { "type": "CallExpression", - "start": 15267, - "end": 15327, + "start": 16933, + "end": 16993, "loc": { "start": { - "line": 428, + "line": 494, "column": 4 }, "end": { - "line": 428, + "line": 494, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 15267, - "end": 15292, + "start": 16933, + "end": 16958, "loc": { "start": { - "line": 428, + "line": 494, "column": 4 }, "end": { - "line": 428, + "line": 494, "column": 29 } }, "object": { "type": "Identifier", - "start": 15267, - "end": 15275, + "start": 16933, + "end": 16941, "loc": { "start": { - "line": 428, + "line": 494, "column": 4 }, "end": { - "line": 428, + "line": 494, "column": 12 }, "identifierName": "document" @@ -21722,15 +25030,15 @@ }, "property": { "type": "Identifier", - "start": 15276, - "end": 15292, + "start": 16942, + "end": 16958, "loc": { "start": { - "line": 428, + "line": 494, "column": 13 }, "end": { - "line": 428, + "line": 494, "column": 29 }, "identifierName": "addEventListener" @@ -21742,15 +25050,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 15293, - "end": 15302, + "start": 16959, + "end": 16968, "loc": { "start": { - "line": 428, + "line": 494, "column": 30 }, "end": { - "line": 428, + "line": 494, "column": 39 } }, @@ -21762,44 +25070,44 @@ }, { "type": "MemberExpression", - "start": 15304, - "end": 15326, + "start": 16970, + "end": 16992, "loc": { "start": { - "line": 428, + "line": 494, "column": 41 }, "end": { - "line": 428, + "line": 494, "column": 63 } }, "object": { "type": "ThisExpression", - "start": 15304, - "end": 15308, + "start": 16970, + "end": 16974, "loc": { "start": { - "line": 428, + "line": 494, "column": 41 }, "end": { - "line": 428, + "line": 494, "column": 45 } } }, "property": { "type": "Identifier", - "start": 15309, - "end": 15326, + "start": 16975, + "end": 16992, "loc": { "start": { - "line": 428, + "line": 494, "column": 46 }, "end": { - "line": 428, + "line": 494, "column": 63 }, "identifierName": "caretEventHandler" @@ -21813,57 +25121,57 @@ }, { "type": "ExpressionStatement", - "start": 15334, - "end": 15396, + "start": 17000, + "end": 17062, "loc": { "start": { - "line": 429, + "line": 495, "column": 4 }, "end": { - "line": 429, + "line": 495, "column": 66 } }, "expression": { "type": "CallExpression", - "start": 15334, - "end": 15395, + "start": 17000, + "end": 17061, "loc": { "start": { - "line": 429, + "line": 495, "column": 4 }, "end": { - "line": 429, + "line": 495, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 15334, - "end": 15359, + "start": 17000, + "end": 17025, "loc": { "start": { - "line": 429, + "line": 495, "column": 4 }, "end": { - "line": 429, + "line": 495, "column": 29 } }, "object": { "type": "Identifier", - "start": 15334, - "end": 15342, + "start": 17000, + "end": 17008, "loc": { "start": { - "line": 429, + "line": 495, "column": 4 }, "end": { - "line": 429, + "line": 495, "column": 12 }, "identifierName": "document" @@ -21872,15 +25180,15 @@ }, "property": { "type": "Identifier", - "start": 15343, - "end": 15359, + "start": 17009, + "end": 17025, "loc": { "start": { - "line": 429, + "line": 495, "column": 13 }, "end": { - "line": 429, + "line": 495, "column": 29 }, "identifierName": "addEventListener" @@ -21892,15 +25200,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 15360, - "end": 15370, + "start": 17026, + "end": 17036, "loc": { "start": { - "line": 429, + "line": 495, "column": 30 }, "end": { - "line": 429, + "line": 495, "column": 40 } }, @@ -21912,44 +25220,44 @@ }, { "type": "MemberExpression", - "start": 15372, - "end": 15394, + "start": 17038, + "end": 17060, "loc": { "start": { - "line": 429, + "line": 495, "column": 42 }, "end": { - "line": 429, + "line": 495, "column": 64 } }, "object": { "type": "ThisExpression", - "start": 15372, - "end": 15376, + "start": 17038, + "end": 17042, "loc": { "start": { - "line": 429, + "line": 495, "column": 42 }, "end": { - "line": 429, + "line": 495, "column": 46 } } }, "property": { "type": "Identifier", - "start": 15377, - "end": 15394, + "start": 17043, + "end": 17060, "loc": { "start": { - "line": 429, + "line": 495, "column": 47 }, "end": { - "line": 429, + "line": 495, "column": 64 }, "identifierName": "caretEventHandler" @@ -21969,15 +25277,15 @@ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", - "start": 15004, - "end": 15094, + "start": 16670, + "end": 16760, "loc": { "start": { - "line": 419, + "line": 485, "column": 2 }, "end": { - "line": 421, + "line": 487, "column": 5 } } @@ -21987,15 +25295,15 @@ { "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, + "start": 17073, + "end": 17185, "loc": { "start": { - "line": 432, + "line": 498, "column": 2 }, "end": { - "line": 434, + "line": 500, "column": 5 } } @@ -22004,15 +25312,15 @@ }, { "type": "ClassMethod", - "start": 15523, - "end": 16073, + "start": 17189, + "end": 17739, "loc": { "start": { - "line": 435, + "line": 501, "column": 2 }, "end": { - "line": 452, + "line": 518, "column": 3 } }, @@ -22020,15 +25328,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15523, - "end": 15540, + "start": 17189, + "end": 17206, "loc": { "start": { - "line": 435, + "line": 501, "column": 2 }, "end": { - "line": 435, + "line": 501, "column": 19 }, "identifierName": "caretEventHandler" @@ -22044,15 +25352,15 @@ "params": [ { "type": "Identifier", - "start": 15541, - "end": 15546, + "start": 17207, + "end": 17212, "loc": { "start": { - "line": 435, + "line": 501, "column": 20 }, "end": { - "line": 435, + "line": 501, "column": 25 }, "identifierName": "event" @@ -22062,59 +25370,59 @@ ], "body": { "type": "BlockStatement", - "start": 15547, - "end": 16073, + "start": 17213, + "end": 17739, "loc": { "start": { - "line": 435, + "line": 501, "column": 26 }, "end": { - "line": 452, + "line": 518, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 15554, - "end": 15609, + "start": 17220, + "end": 17275, "loc": { "start": { - "line": 436, + "line": 502, "column": 4 }, "end": { - "line": 436, + "line": 502, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 15558, - "end": 15608, + "start": 17224, + "end": 17274, "loc": { "start": { - "line": 436, + "line": 502, "column": 8 }, "end": { - "line": 436, + "line": 502, "column": 58 } }, "id": { "type": "Identifier", - "start": 15558, - "end": 15571, + "start": 17224, + "end": 17237, "loc": { "start": { - "line": 436, + "line": 502, "column": 8 }, "end": { - "line": 436, + "line": 502, "column": 21 }, "identifierName": "targetTagName" @@ -22123,71 +25431,71 @@ }, "init": { "type": "CallExpression", - "start": 15574, - "end": 15608, + "start": 17240, + "end": 17274, "loc": { "start": { - "line": 436, + "line": 502, "column": 24 }, "end": { - "line": 436, + "line": 502, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 15574, - "end": 15606, + "start": 17240, + "end": 17272, "loc": { "start": { - "line": 436, + "line": 502, "column": 24 }, "end": { - "line": 436, + "line": 502, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 15574, - "end": 15594, + "start": 17240, + "end": 17260, "loc": { "start": { - "line": 436, + "line": 502, "column": 24 }, "end": { - "line": 436, + "line": 502, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 15574, - "end": 15586, + "start": 17240, + "end": 17252, "loc": { "start": { - "line": 436, + "line": 502, "column": 24 }, "end": { - "line": 436, + "line": 502, "column": 36 } }, "object": { "type": "Identifier", - "start": 15574, - "end": 15579, + "start": 17240, + "end": 17245, "loc": { "start": { - "line": 436, + "line": 502, "column": 24 }, "end": { - "line": 436, + "line": 502, "column": 29 }, "identifierName": "event" @@ -22196,15 +25504,15 @@ }, "property": { "type": "Identifier", - "start": 15580, - "end": 15586, + "start": 17246, + "end": 17252, "loc": { "start": { - "line": 436, + "line": 502, "column": 30 }, "end": { - "line": 436, + "line": 502, "column": 36 }, "identifierName": "target" @@ -22215,15 +25523,15 @@ }, "property": { "type": "Identifier", - "start": 15587, - "end": 15594, + "start": 17253, + "end": 17260, "loc": { "start": { - "line": 436, + "line": 502, "column": 37 }, "end": { - "line": 436, + "line": 502, "column": 44 }, "identifierName": "tagName" @@ -22234,15 +25542,15 @@ }, "property": { "type": "Identifier", - "start": 15595, - "end": 15606, + "start": 17261, + "end": 17272, "loc": { "start": { - "line": 436, + "line": 502, "column": 45 }, "end": { - "line": 436, + "line": 502, "column": 56 }, "identifierName": "toLowerCase" @@ -22259,57 +25567,57 @@ }, { "type": "IfStatement", - "start": 15617, - "end": 16068, + "start": 17283, + "end": 17734, "loc": { "start": { - "line": 438, + "line": 504, "column": 4 }, "end": { - "line": 451, + "line": 517, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 15628, - "end": 15692, + "start": 17294, + "end": 17358, "loc": { "start": { - "line": 439, + "line": 505, "column": 6 }, "end": { - "line": 440, + "line": 506, "column": 31 } }, "left": { "type": "BinaryExpression", - "start": 15628, - "end": 15656, + "start": 17294, + "end": 17322, "loc": { "start": { - "line": 439, + "line": 505, "column": 6 }, "end": { - "line": 439, + "line": 505, "column": 34 } }, "left": { "type": "Identifier", - "start": 15628, - "end": 15641, + "start": 17294, + "end": 17307, "loc": { "start": { - "line": 439, + "line": 505, "column": 6 }, "end": { - "line": 439, + "line": 505, "column": 19 }, "identifierName": "targetTagName" @@ -22319,15 +25627,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 15646, - "end": 15656, + "start": 17312, + "end": 17322, "loc": { "start": { - "line": 439, + "line": 505, "column": 24 }, "end": { - "line": 439, + "line": 505, "column": 34 } }, @@ -22341,29 +25649,29 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 15667, - "end": 15692, + "start": 17333, + "end": 17358, "loc": { "start": { - "line": 440, + "line": 506, "column": 6 }, "end": { - "line": 440, + "line": 506, "column": 31 } }, "left": { "type": "Identifier", - "start": 15667, - "end": 15680, + "start": 17333, + "end": 17346, "loc": { "start": { - "line": 440, + "line": 506, "column": 6 }, "end": { - "line": 440, + "line": 506, "column": 19 }, "identifierName": "targetTagName" @@ -22373,15 +25681,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 15685, - "end": 15692, + "start": 17351, + "end": 17358, "loc": { "start": { - "line": 440, + "line": 506, "column": 24 }, "end": { - "line": 440, + "line": 506, "column": 31 } }, @@ -22395,73 +25703,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 15699, - "end": 16068, + "start": 17365, + "end": 17734, "loc": { "start": { - "line": 441, + "line": 507, "column": 5 }, "end": { - "line": 451, + "line": 517, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 15864, - "end": 15913, + "start": 17530, + "end": 17579, "loc": { "start": { - "line": 446, + "line": 512, "column": 6 }, "end": { - "line": 446, + "line": 512, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 15864, - "end": 15912, + "start": 17530, + "end": 17578, "loc": { "start": { - "line": 446, + "line": 512, "column": 6 }, "end": { - "line": 446, + "line": 512, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 15864, - "end": 15882, + "start": 17530, + "end": 17548, "loc": { "start": { - "line": 446, + "line": 512, "column": 6 }, "end": { - "line": 446, + "line": 512, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 15864, - "end": 15868, + "start": 17530, + "end": 17534, "loc": { "start": { - "line": 446, + "line": 512, "column": 6 }, "end": { - "line": 446, + "line": 512, "column": 10 } }, @@ -22469,15 +25777,15 @@ }, "property": { "type": "Identifier", - "start": 15869, - "end": 15882, + "start": 17535, + "end": 17548, "loc": { "start": { - "line": 446, + "line": 512, "column": 11 }, "end": { - "line": 446, + "line": 512, "column": 24 }, "identifierName": "caretPosition" @@ -22489,43 +25797,43 @@ }, "right": { "type": "MemberExpression", - "start": 15885, - "end": 15912, + "start": 17551, + "end": 17578, "loc": { "start": { - "line": 446, + "line": 512, "column": 27 }, "end": { - "line": 446, + "line": 512, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 15885, - "end": 15897, + "start": 17551, + "end": 17563, "loc": { "start": { - "line": 446, + "line": 512, "column": 27 }, "end": { - "line": 446, + "line": 512, "column": 39 } }, "object": { "type": "Identifier", - "start": 15885, - "end": 15890, + "start": 17551, + "end": 17556, "loc": { "start": { - "line": 446, + "line": 512, "column": 27 }, "end": { - "line": 446, + "line": 512, "column": 32 }, "identifierName": "event" @@ -22534,15 +25842,15 @@ }, "property": { "type": "Identifier", - "start": 15891, - "end": 15897, + "start": 17557, + "end": 17563, "loc": { "start": { - "line": 446, + "line": 512, "column": 33 }, "end": { - "line": 446, + "line": 512, "column": 39 }, "identifierName": "target" @@ -22553,15 +25861,15 @@ }, "property": { "type": "Identifier", - "start": 15898, - "end": 15912, + "start": 17564, + "end": 17578, "loc": { "start": { - "line": 446, + "line": 512, "column": 40 }, "end": { - "line": 446, + "line": 512, "column": 54 }, "identifierName": "selectionStart" @@ -22576,15 +25884,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": 15708, - "end": 15856, + "start": 17374, + "end": 17522, "loc": { "start": { - "line": 442, + "line": 508, "column": 6 }, "end": { - "line": 445, + "line": 511, "column": 9 } } @@ -22593,72 +25901,72 @@ }, { "type": "IfStatement", - "start": 15923, - "end": 16056, + "start": 17589, + "end": 17722, "loc": { "start": { - "line": 448, + "line": 514, "column": 6 }, "end": { - "line": 450, + "line": 516, "column": 7 } }, "test": { "type": "MemberExpression", - "start": 15926, - "end": 15944, + "start": 17592, + "end": 17610, "loc": { "start": { - "line": 448, + "line": 514, "column": 9 }, "end": { - "line": 448, + "line": 514, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 15926, - "end": 15938, + "start": 17592, + "end": 17604, "loc": { "start": { - "line": 448, + "line": 514, "column": 9 }, "end": { - "line": 448, + "line": 514, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 15926, - "end": 15930, + "start": 17592, + "end": 17596, "loc": { "start": { - "line": 448, + "line": 514, "column": 9 }, "end": { - "line": 448, + "line": 514, "column": 13 } } }, "property": { "type": "Identifier", - "start": 15931, - "end": 15938, + "start": 17597, + "end": 17604, "loc": { "start": { - "line": 448, + "line": 514, "column": 14 }, "end": { - "line": 448, + "line": 514, "column": 21 }, "identifierName": "options" @@ -22669,15 +25977,15 @@ }, "property": { "type": "Identifier", - "start": 15939, - "end": 15944, + "start": 17605, + "end": 17610, "loc": { "start": { - "line": 448, + "line": 514, "column": 22 }, "end": { - "line": 448, + "line": 514, "column": 27 }, "identifierName": "debug" @@ -22688,72 +25996,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 15945, - "end": 16056, + "start": 17611, + "end": 17722, "loc": { "start": { - "line": 448, + "line": 514, "column": 28 }, "end": { - "line": 450, + "line": 516, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 15956, - "end": 16047, + "start": 17622, + "end": 17713, "loc": { "start": { - "line": 449, + "line": 515, "column": 8 }, "end": { - "line": 449, + "line": 515, "column": 99 } }, "expression": { "type": "CallExpression", - "start": 15956, - "end": 16046, + "start": 17622, + "end": 17712, "loc": { "start": { - "line": 449, + "line": 515, "column": 8 }, "end": { - "line": 449, + "line": 515, "column": 98 } }, "callee": { "type": "MemberExpression", - "start": 15956, - "end": 15967, + "start": 17622, + "end": 17633, "loc": { "start": { - "line": 449, + "line": 515, "column": 8 }, "end": { - "line": 449, + "line": 515, "column": 19 } }, "object": { "type": "Identifier", - "start": 15956, - "end": 15963, + "start": 17622, + "end": 17629, "loc": { "start": { - "line": 449, + "line": 515, "column": 8 }, "end": { - "line": 449, + "line": 515, "column": 15 }, "identifierName": "console" @@ -22762,15 +26070,15 @@ }, "property": { "type": "Identifier", - "start": 15964, - "end": 15967, + "start": 17630, + "end": 17633, "loc": { "start": { - "line": 449, + "line": 515, "column": 16 }, "end": { - "line": 449, + "line": 515, "column": 19 }, "identifierName": "log" @@ -22782,15 +26090,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 15968, - "end": 15980, + "start": 17634, + "end": 17646, "loc": { "start": { - "line": 449, + "line": 515, "column": 20 }, "end": { - "line": 449, + "line": 515, "column": 32 } }, @@ -22802,43 +26110,43 @@ }, { "type": "MemberExpression", - "start": 15982, - "end": 16009, + "start": 17648, + "end": 17675, "loc": { "start": { - "line": 449, + "line": 515, "column": 34 }, "end": { - "line": 449, + "line": 515, "column": 61 } }, "object": { "type": "MemberExpression", - "start": 15982, - "end": 15994, + "start": 17648, + "end": 17660, "loc": { "start": { - "line": 449, + "line": 515, "column": 34 }, "end": { - "line": 449, + "line": 515, "column": 46 } }, "object": { "type": "Identifier", - "start": 15982, - "end": 15987, + "start": 17648, + "end": 17653, "loc": { "start": { - "line": 449, + "line": 515, "column": 34 }, "end": { - "line": 449, + "line": 515, "column": 39 }, "identifierName": "event" @@ -22847,15 +26155,15 @@ }, "property": { "type": "Identifier", - "start": 15988, - "end": 15994, + "start": 17654, + "end": 17660, "loc": { "start": { - "line": 449, + "line": 515, "column": 40 }, "end": { - "line": 449, + "line": 515, "column": 46 }, "identifierName": "target" @@ -22866,15 +26174,15 @@ }, "property": { "type": "Identifier", - "start": 15995, - "end": 16009, + "start": 17661, + "end": 17675, "loc": { "start": { - "line": 449, + "line": 515, "column": 47 }, "end": { - "line": 449, + "line": 515, "column": 61 }, "identifierName": "selectionStart" @@ -22885,71 +26193,71 @@ }, { "type": "CallExpression", - "start": 16011, - "end": 16045, + "start": 17677, + "end": 17711, "loc": { "start": { - "line": 449, + "line": 515, "column": 63 }, "end": { - "line": 449, + "line": 515, "column": 97 } }, "callee": { "type": "MemberExpression", - "start": 16011, - "end": 16043, + "start": 17677, + "end": 17709, "loc": { "start": { - "line": 449, + "line": 515, "column": 63 }, "end": { - "line": 449, + "line": 515, "column": 95 } }, "object": { "type": "MemberExpression", - "start": 16011, - "end": 16031, + "start": 17677, + "end": 17697, "loc": { "start": { - "line": 449, + "line": 515, "column": 63 }, "end": { - "line": 449, + "line": 515, "column": 83 } }, "object": { "type": "MemberExpression", - "start": 16011, - "end": 16023, + "start": 17677, + "end": 17689, "loc": { "start": { - "line": 449, + "line": 515, "column": 63 }, "end": { - "line": 449, + "line": 515, "column": 75 } }, "object": { "type": "Identifier", - "start": 16011, - "end": 16016, + "start": 17677, + "end": 17682, "loc": { "start": { - "line": 449, + "line": 515, "column": 63 }, "end": { - "line": 449, + "line": 515, "column": 68 }, "identifierName": "event" @@ -22958,15 +26266,15 @@ }, "property": { "type": "Identifier", - "start": 16017, - "end": 16023, + "start": 17683, + "end": 17689, "loc": { "start": { - "line": 449, + "line": 515, "column": 69 }, "end": { - "line": 449, + "line": 515, "column": 75 }, "identifierName": "target" @@ -22977,15 +26285,15 @@ }, "property": { "type": "Identifier", - "start": 16024, - "end": 16031, + "start": 17690, + "end": 17697, "loc": { "start": { - "line": 449, + "line": 515, "column": 76 }, "end": { - "line": 449, + "line": 515, "column": 83 }, "identifierName": "tagName" @@ -22996,15 +26304,15 @@ }, "property": { "type": "Identifier", - "start": 16032, - "end": 16043, + "start": 17698, + "end": 17709, "loc": { "start": { - "line": 449, + "line": 515, "column": 84 }, "end": { - "line": 449, + "line": 515, "column": 95 }, "identifierName": "toLowerCase" @@ -23036,15 +26344,15 @@ { "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, + "start": 17073, + "end": 17185, "loc": { "start": { - "line": 432, + "line": 498, "column": 2 }, "end": { - "line": 434, + "line": 500, "column": 5 } } @@ -23054,15 +26362,15 @@ { "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, + "start": 17745, + "end": 17865, "loc": { "start": { - "line": 454, + "line": 520, "column": 2 }, "end": { - "line": 456, + "line": 522, "column": 5 } } @@ -23071,15 +26379,15 @@ }, { "type": "ClassMethod", - "start": 16203, - "end": 16439, + "start": 17869, + "end": 18105, "loc": { "start": { - "line": 457, + "line": 523, "column": 2 }, "end": { - "line": 469, + "line": 535, "column": 3 } }, @@ -23087,15 +26395,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16203, - "end": 16209, + "start": 17869, + "end": 17875, "loc": { "start": { - "line": 457, + "line": 523, "column": 2 }, "end": { - "line": 457, + "line": 523, "column": 8 }, "identifierName": "onInit" @@ -23111,87 +26419,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 16211, - "end": 16439, + "start": 17877, + "end": 18105, "loc": { "start": { - "line": 457, + "line": 523, "column": 10 }, "end": { - "line": 469, + "line": 535, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 16218, - "end": 16283, + "start": 17884, + "end": 17949, "loc": { "start": { - "line": 458, + "line": 524, "column": 4 }, "end": { - "line": 460, + "line": 526, "column": 5 } }, "test": { "type": "MemberExpression", - "start": 16221, - "end": 16239, + "start": 17887, + "end": 17905, "loc": { "start": { - "line": 458, + "line": 524, "column": 7 }, "end": { - "line": 458, + "line": 524, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 16221, - "end": 16233, + "start": 17887, + "end": 17899, "loc": { "start": { - "line": 458, + "line": 524, "column": 7 }, "end": { - "line": 458, + "line": 524, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 16221, - "end": 16225, + "start": 17887, + "end": 17891, "loc": { "start": { - "line": 458, + "line": 524, "column": 7 }, "end": { - "line": 458, + "line": 524, "column": 11 } } }, "property": { "type": "Identifier", - "start": 16226, - "end": 16233, + "start": 17892, + "end": 17899, "loc": { "start": { - "line": 458, + "line": 524, "column": 12 }, "end": { - "line": 458, + "line": 524, "column": 19 }, "identifierName": "options" @@ -23202,15 +26510,15 @@ }, "property": { "type": "Identifier", - "start": 16234, - "end": 16239, + "start": 17900, + "end": 17905, "loc": { "start": { - "line": 458, + "line": 524, "column": 20 }, "end": { - "line": 458, + "line": 524, "column": 25 }, "identifierName": "debug" @@ -23221,72 +26529,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 16240, - "end": 16283, + "start": 17906, + "end": 17949, "loc": { "start": { - "line": 458, + "line": 524, "column": 26 }, "end": { - "line": 460, + "line": 526, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 16249, - "end": 16276, + "start": 17915, + "end": 17942, "loc": { "start": { - "line": 459, + "line": 525, "column": 6 }, "end": { - "line": 459, + "line": 525, "column": 33 } }, "expression": { "type": "CallExpression", - "start": 16249, - "end": 16275, + "start": 17915, + "end": 17941, "loc": { "start": { - "line": 459, + "line": 525, "column": 6 }, "end": { - "line": 459, + "line": 525, "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 16249, - "end": 16260, + "start": 17915, + "end": 17926, "loc": { "start": { - "line": 459, + "line": 525, "column": 6 }, "end": { - "line": 459, + "line": 525, "column": 17 } }, "object": { "type": "Identifier", - "start": 16249, - "end": 16256, + "start": 17915, + "end": 17922, "loc": { "start": { - "line": 459, + "line": 525, "column": 6 }, "end": { - "line": 459, + "line": 525, "column": 13 }, "identifierName": "console" @@ -23295,15 +26603,15 @@ }, "property": { "type": "Identifier", - "start": 16257, - "end": 16260, + "start": 17923, + "end": 17926, "loc": { "start": { - "line": 459, + "line": 525, "column": 14 }, "end": { - "line": 459, + "line": 525, "column": 17 }, "identifierName": "log" @@ -23315,15 +26623,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 16261, - "end": 16274, + "start": 17927, + "end": 17940, "loc": { "start": { - "line": 459, + "line": 525, "column": 18 }, "end": { - "line": 459, + "line": 525, "column": 31 } }, @@ -23345,15 +26653,15 @@ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", - "start": 16291, - "end": 16326, + "start": 17957, + "end": 17992, "loc": { "start": { - "line": 462, + "line": 528, "column": 4 }, "end": { - "line": 464, + "line": 530, "column": 7 } } @@ -23362,57 +26670,57 @@ }, { "type": "ExpressionStatement", - "start": 16332, - "end": 16351, + "start": 17998, + "end": 18017, "loc": { "start": { - "line": 465, + "line": 531, "column": 4 }, "end": { - "line": 465, + "line": 531, "column": 23 } }, "expression": { "type": "CallExpression", - "start": 16332, - "end": 16350, + "start": 17998, + "end": 18016, "loc": { "start": { - "line": 465, + "line": 531, "column": 4 }, "end": { - "line": 465, + "line": 531, "column": 22 } }, "callee": { "type": "MemberExpression", - "start": 16332, - "end": 16348, + "start": 17998, + "end": 18014, "loc": { "start": { - "line": 465, + "line": 531, "column": 4 }, "end": { - "line": 465, + "line": 531, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 16332, - "end": 16336, + "start": 17998, + "end": 18002, "loc": { "start": { - "line": 465, + "line": 531, "column": 4 }, "end": { - "line": 465, + "line": 531, "column": 8 } }, @@ -23420,15 +26728,15 @@ }, "property": { "type": "Identifier", - "start": 16337, - "end": 16348, + "start": 18003, + "end": 18014, "loc": { "start": { - "line": 465, + "line": 531, "column": 9 }, "end": { - "line": 465, + "line": 531, "column": 20 }, "identifierName": "handleCaret" @@ -23445,15 +26753,15 @@ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", - "start": 16291, - "end": 16326, + "start": 17957, + "end": 17992, "loc": { "start": { - "line": 462, + "line": 528, "column": 4 }, "end": { - "line": 464, + "line": 530, "column": 7 } } @@ -23462,43 +26770,43 @@ }, { "type": "IfStatement", - "start": 16359, - "end": 16434, + "start": 18025, + "end": 18100, "loc": { "start": { - "line": 467, + "line": 533, "column": 4 }, "end": { - "line": 468, + "line": 534, "column": 28 } }, "test": { "type": "BinaryExpression", - "start": 16362, - "end": 16403, + "start": 18028, + "end": 18069, "loc": { "start": { - "line": 467, + "line": 533, "column": 7 }, "end": { - "line": 467, + "line": 533, "column": 48 } }, "left": { "type": "UnaryExpression", - "start": 16362, - "end": 16388, + "start": 18028, + "end": 18054, "loc": { "start": { - "line": 467, + "line": 533, "column": 7 }, "end": { - "line": 467, + "line": 533, "column": 33 } }, @@ -23506,58 +26814,58 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 16369, - "end": 16388, + "start": 18035, + "end": 18054, "loc": { "start": { - "line": 467, + "line": 533, "column": 14 }, "end": { - "line": 467, + "line": 533, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 16369, - "end": 16381, + "start": 18035, + "end": 18047, "loc": { "start": { - "line": 467, + "line": 533, "column": 14 }, "end": { - "line": 467, + "line": 533, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 16369, - "end": 16373, + "start": 18035, + "end": 18039, "loc": { "start": { - "line": 467, + "line": 533, "column": 14 }, "end": { - "line": 467, + "line": 533, "column": 18 } } }, "property": { "type": "Identifier", - "start": 16374, - "end": 16381, + "start": 18040, + "end": 18047, "loc": { "start": { - "line": 467, + "line": 533, "column": 19 }, "end": { - "line": 467, + "line": 533, "column": 26 }, "identifierName": "options" @@ -23568,15 +26876,15 @@ }, "property": { "type": "Identifier", - "start": 16382, - "end": 16388, + "start": 18048, + "end": 18054, "loc": { "start": { - "line": 467, + "line": 533, "column": 27 }, "end": { - "line": 467, + "line": 533, "column": 33 }, "identifierName": "onInit" @@ -23592,15 +26900,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 16393, - "end": 16403, + "start": 18059, + "end": 18069, "loc": { "start": { - "line": 467, + "line": 533, "column": 38 }, "end": { - "line": 467, + "line": 533, "column": 48 } }, @@ -23613,86 +26921,86 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 16412, - "end": 16434, + "start": 18078, + "end": 18100, "loc": { "start": { - "line": 468, + "line": 534, "column": 6 }, "end": { - "line": 468, + "line": 534, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 16412, - "end": 16433, + "start": 18078, + "end": 18099, "loc": { "start": { - "line": 468, + "line": 534, "column": 6 }, "end": { - "line": 468, + "line": 534, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 16412, - "end": 16431, + "start": 18078, + "end": 18097, "loc": { "start": { - "line": 468, + "line": 534, "column": 6 }, "end": { - "line": 468, + "line": 534, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 16412, - "end": 16424, + "start": 18078, + "end": 18090, "loc": { "start": { - "line": 468, + "line": 534, "column": 6 }, "end": { - "line": 468, + "line": 534, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 16412, - "end": 16416, + "start": 18078, + "end": 18082, "loc": { "start": { - "line": 468, + "line": 534, "column": 6 }, "end": { - "line": 468, + "line": 534, "column": 10 } } }, "property": { "type": "Identifier", - "start": 16417, - "end": 16424, + "start": 18083, + "end": 18090, "loc": { "start": { - "line": 468, + "line": 534, "column": 11 }, "end": { - "line": 468, + "line": 534, "column": 18 }, "identifierName": "options" @@ -23703,15 +27011,15 @@ }, "property": { "type": "Identifier", - "start": 16425, - "end": 16431, + "start": 18091, + "end": 18097, "loc": { "start": { - "line": 468, + "line": 534, "column": 19 }, "end": { - "line": 468, + "line": 534, "column": 25 }, "identifierName": "onInit" @@ -23733,15 +27041,15 @@ { "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, + "start": 17745, + "end": 17865, "loc": { "start": { - "line": 454, + "line": 520, "column": 2 }, "end": { - "line": 456, + "line": 522, "column": 5 } } @@ -23751,15 +27059,15 @@ { "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, + "start": 18111, + "end": 18229, "loc": { "start": { - "line": 471, + "line": 537, "column": 2 }, "end": { - "line": 473, + "line": 539, "column": 5 } } @@ -23768,15 +27076,15 @@ }, { "type": "ClassMethod", - "start": 16567, - "end": 16668, + "start": 18233, + "end": 18334, "loc": { "start": { - "line": 474, + "line": 540, "column": 2 }, "end": { - "line": 477, + "line": 543, "column": 3 } }, @@ -23784,15 +27092,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16567, - "end": 16575, + "start": 18233, + "end": 18241, "loc": { "start": { - "line": 474, + "line": 540, "column": 2 }, "end": { - "line": 474, + "line": 540, "column": 10 }, "identifierName": "onRender" @@ -23808,58 +27116,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 16577, - "end": 16668, + "start": 18243, + "end": 18334, "loc": { "start": { - "line": 474, + "line": 540, "column": 12 }, "end": { - "line": 477, + "line": 543, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 16584, - "end": 16663, + "start": 18250, + "end": 18329, "loc": { "start": { - "line": 475, + "line": 541, "column": 4 }, "end": { - "line": 476, + "line": 542, "column": 30 } }, "test": { "type": "BinaryExpression", - "start": 16587, - "end": 16630, + "start": 18253, + "end": 18296, "loc": { "start": { - "line": 475, + "line": 541, "column": 7 }, "end": { - "line": 475, + "line": 541, "column": 50 } }, "left": { "type": "UnaryExpression", - "start": 16587, - "end": 16615, + "start": 18253, + "end": 18281, "loc": { "start": { - "line": 475, + "line": 541, "column": 7 }, "end": { - "line": 475, + "line": 541, "column": 35 } }, @@ -23867,58 +27175,58 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 16594, - "end": 16615, + "start": 18260, + "end": 18281, "loc": { "start": { - "line": 475, + "line": 541, "column": 14 }, "end": { - "line": 475, + "line": 541, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 16594, - "end": 16606, + "start": 18260, + "end": 18272, "loc": { "start": { - "line": 475, + "line": 541, "column": 14 }, "end": { - "line": 475, + "line": 541, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 16594, - "end": 16598, + "start": 18260, + "end": 18264, "loc": { "start": { - "line": 475, + "line": 541, "column": 14 }, "end": { - "line": 475, + "line": 541, "column": 18 } } }, "property": { "type": "Identifier", - "start": 16599, - "end": 16606, + "start": 18265, + "end": 18272, "loc": { "start": { - "line": 475, + "line": 541, "column": 19 }, "end": { - "line": 475, + "line": 541, "column": 26 }, "identifierName": "options" @@ -23929,15 +27237,15 @@ }, "property": { "type": "Identifier", - "start": 16607, - "end": 16615, + "start": 18273, + "end": 18281, "loc": { "start": { - "line": 475, + "line": 541, "column": 27 }, "end": { - "line": 475, + "line": 541, "column": 35 }, "identifierName": "onRender" @@ -23953,15 +27261,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 16620, - "end": 16630, + "start": 18286, + "end": 18296, "loc": { "start": { - "line": 475, + "line": 541, "column": 40 }, "end": { - "line": 475, + "line": 541, "column": 50 } }, @@ -23974,86 +27282,86 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 16639, - "end": 16663, + "start": 18305, + "end": 18329, "loc": { "start": { - "line": 476, + "line": 542, "column": 6 }, "end": { - "line": 476, + "line": 542, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 16639, - "end": 16662, + "start": 18305, + "end": 18328, "loc": { "start": { - "line": 476, + "line": 542, "column": 6 }, "end": { - "line": 476, + "line": 542, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 16639, - "end": 16660, + "start": 18305, + "end": 18326, "loc": { "start": { - "line": 476, + "line": 542, "column": 6 }, "end": { - "line": 476, + "line": 542, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 16639, - "end": 16651, + "start": 18305, + "end": 18317, "loc": { "start": { - "line": 476, + "line": 542, "column": 6 }, "end": { - "line": 476, + "line": 542, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 16639, - "end": 16643, + "start": 18305, + "end": 18309, "loc": { "start": { - "line": 476, + "line": 542, "column": 6 }, "end": { - "line": 476, + "line": 542, "column": 10 } } }, "property": { "type": "Identifier", - "start": 16644, - "end": 16651, + "start": 18310, + "end": 18317, "loc": { "start": { - "line": 476, + "line": 542, "column": 11 }, "end": { - "line": 476, + "line": 542, "column": 18 }, "identifierName": "options" @@ -24064,15 +27372,15 @@ }, "property": { "type": "Identifier", - "start": 16652, - "end": 16660, + "start": 18318, + "end": 18326, "loc": { "start": { - "line": 476, + "line": 542, "column": 19 }, "end": { - "line": 476, + "line": 542, "column": 27 }, "identifierName": "onRender" @@ -24094,15 +27402,15 @@ { "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, + "start": 18111, + "end": 18229, "loc": { "start": { - "line": 471, + "line": 537, "column": 2 }, "end": { - "line": 473, + "line": 539, "column": 5 } } @@ -24112,15 +27420,15 @@ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", - "start": 16674, - "end": 16706, + "start": 18340, + "end": 18372, "loc": { "start": { - "line": 479, + "line": 545, "column": 2 }, "end": { - "line": 481, + "line": 547, "column": 5 } } @@ -24129,15 +27437,15 @@ }, { "type": "ClassProperty", - "start": 16710, - "end": 16828, + "start": 18376, + "end": 18525, "loc": { "start": { - "line": 482, + "line": 548, "column": 2 }, "end": { - "line": 486, + "line": 553, "column": 3 } }, @@ -24145,15 +27453,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16710, - "end": 16724, + "start": 18376, + "end": 18390, "loc": { "start": { - "line": 482, + "line": 548, "column": 2 }, "end": { - "line": 482, + "line": 548, "column": 16 }, "identifierName": "registerModule" @@ -24163,15 +27471,15 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 16727, - "end": 16828, + "start": 18393, + "end": 18525, "loc": { "start": { - "line": 482, + "line": 548, "column": 19 }, "end": { - "line": 486, + "line": 553, "column": 3 } }, @@ -24182,15 +27490,15 @@ "params": [ { "type": "Identifier", - "start": 16728, - "end": 16732, + "start": 18394, + "end": 18398, "loc": { "start": { - "line": 482, + "line": 548, "column": 20 }, "end": { - "line": 482, + "line": 548, "column": 24 }, "identifierName": "name" @@ -24199,15 +27507,15 @@ }, { "type": "Identifier", - "start": 16734, - "end": 16746, + "start": 18400, + "end": 18412, "loc": { "start": { - "line": 482, + "line": 548, "column": 26 }, "end": { - "line": 482, + "line": 548, "column": 38 }, "identifierName": "initCallback" @@ -24217,103 +27525,104 @@ ], "body": { "type": "BlockStatement", - "start": 16751, - "end": 16828, + "start": 18417, + "end": 18525, "loc": { "start": { - "line": 482, + "line": 548, "column": 43 }, "end": { - "line": 486, + "line": 553, "column": 3 } }, "body": [ { - "type": "ExpressionStatement", - "start": 16758, - "end": 16782, + "type": "IfStatement", + "start": 18424, + "end": 18479, "loc": { "start": { - "line": 483, + "line": 549, "column": 4 }, "end": { - "line": 483, - "column": 28 + "line": 550, + "column": 30 } }, - "expression": { - "type": "AssignmentExpression", - "start": 16758, - "end": 16781, + "test": { + "type": "UnaryExpression", + "start": 18427, + "end": 18446, "loc": { "start": { - "line": 483, - "column": 4 + "line": 549, + "column": 7 }, "end": { - "line": 483, - "column": 27 + "line": 549, + "column": 26 } }, - "operator": "=", - "left": { + "operator": "!", + "prefix": true, + "argument": { "type": "MemberExpression", - "start": 16758, - "end": 16776, + "start": 18428, + "end": 18446, "loc": { "start": { - "line": 483, - "column": 4 + "line": 549, + "column": 8 }, "end": { - "line": 483, - "column": 22 + "line": 549, + "column": 26 } }, "object": { "type": "MemberExpression", - "start": 16758, - "end": 16770, + "start": 18428, + "end": 18440, "loc": { "start": { - "line": 483, - "column": 4 + "line": 549, + "column": 8 }, "end": { - "line": 483, - "column": 16 + "line": 549, + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 16758, - "end": 16762, + "start": 18428, + "end": 18432, "loc": { "start": { - "line": 483, - "column": 4 + "line": 549, + "column": 8 }, "end": { - "line": 483, - "column": 8 + "line": 549, + "column": 12 } } }, "property": { "type": "Identifier", - "start": 16763, - "end": 16770, + "start": 18433, + "end": 18440, "loc": { "start": { - "line": 483, - "column": 9 + "line": 549, + "column": 13 }, "end": { - "line": 483, - "column": 16 + "line": 549, + "column": 20 }, "identifierName": "modules" }, @@ -24323,16 +27632,16 @@ }, "property": { "type": "Identifier", - "start": 16771, - "end": 16775, + "start": 18441, + "end": 18445, "loc": { "start": { - "line": 483, - "column": 17 + "line": 549, + "column": 21 }, "end": { - "line": 483, - "column": 21 + "line": 549, + "column": 25 }, "identifierName": "name" }, @@ -24340,63 +27649,179 @@ }, "computed": true }, - "right": { - "type": "ObjectExpression", - "start": 16779, - "end": 16781, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 18455, + "end": 18479, + "loc": { + "start": { + "line": 550, + "column": 6 + }, + "end": { + "line": 550, + "column": 30 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 18455, + "end": 18478, "loc": { "start": { - "line": 483, - "column": 25 + "line": 550, + "column": 6 }, "end": { - "line": 483, - "column": 27 + "line": 550, + "column": 29 } }, - "properties": [] + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 18455, + "end": 18473, + "loc": { + "start": { + "line": 550, + "column": 6 + }, + "end": { + "line": 550, + "column": 24 + } + }, + "object": { + "type": "MemberExpression", + "start": 18455, + "end": 18467, + "loc": { + "start": { + "line": 550, + "column": 6 + }, + "end": { + "line": 550, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 18455, + "end": 18459, + "loc": { + "start": { + "line": 550, + "column": 6 + }, + "end": { + "line": 550, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 18460, + "end": 18467, + "loc": { + "start": { + "line": 550, + "column": 11 + }, + "end": { + "line": 550, + "column": 18 + }, + "identifierName": "modules" + }, + "name": "modules" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18468, + "end": 18472, + "loc": { + "start": { + "line": 550, + "column": 19 + }, + "end": { + "line": 550, + "column": 23 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": true + }, + "right": { + "type": "ObjectExpression", + "start": 18476, + "end": 18478, + "loc": { + "start": { + "line": 550, + "column": 27 + }, + "end": { + "line": 550, + "column": 29 + } + }, + "properties": [] + } } - } + }, + "alternate": null }, { "type": "ExpressionStatement", - "start": 16790, - "end": 16823, + "start": 18487, + "end": 18520, "loc": { "start": { - "line": 485, + "line": 552, "column": 4 }, "end": { - "line": 485, + "line": 552, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 16790, - "end": 16822, + "start": 18487, + "end": 18519, "loc": { "start": { - "line": 485, + "line": 552, "column": 4 }, "end": { - "line": 485, + "line": 552, "column": 36 } }, "callee": { "type": "Identifier", - "start": 16790, - "end": 16802, + "start": 18487, + "end": 18499, "loc": { "start": { - "line": 485, + "line": 552, "column": 4 }, "end": { - "line": 485, + "line": 552, "column": 16 }, "identifierName": "initCallback" @@ -24406,58 +27831,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 16803, - "end": 16821, + "start": 18500, + "end": 18518, "loc": { "start": { - "line": 485, + "line": 552, "column": 17 }, "end": { - "line": 485, + "line": 552, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 16803, - "end": 16815, + "start": 18500, + "end": 18512, "loc": { "start": { - "line": 485, + "line": 552, "column": 17 }, "end": { - "line": 485, + "line": 552, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 16803, - "end": 16807, + "start": 18500, + "end": 18504, "loc": { "start": { - "line": 485, + "line": 552, "column": 17 }, "end": { - "line": 485, + "line": 552, "column": 21 } } }, "property": { "type": "Identifier", - "start": 16808, - "end": 16815, + "start": 18505, + "end": 18512, "loc": { "start": { - "line": 485, + "line": 552, "column": 22 }, "end": { - "line": 485, + "line": 552, "column": 29 }, "identifierName": "modules" @@ -24468,15 +27893,15 @@ }, "property": { "type": "Identifier", - "start": 16816, - "end": 16820, + "start": 18513, + "end": 18517, "loc": { "start": { - "line": 485, + "line": 552, "column": 30 }, "end": { - "line": 485, + "line": 552, "column": 34 }, "identifierName": "name" @@ -24498,15 +27923,1353 @@ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", - "start": 16674, - "end": 16706, + "start": 18340, + "end": 18372, "loc": { "start": { - "line": 479, + "line": 545, "column": 2 }, "end": { - "line": 481, + "line": 547, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Load modules\r\n ", + "start": 18531, + "end": 18560, + "loc": { + "start": { + "line": 555, + "column": 2 + }, + "end": { + "line": 557, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 18564, + "end": 19022, + "loc": { + "start": { + "line": 558, + "column": 2 + }, + "end": { + "line": 573, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 18564, + "end": 18575, + "loc": { + "start": { + "line": 558, + "column": 2 + }, + "end": { + "line": 558, + "column": 13 + }, + "identifierName": "loadModules" + }, + "name": "loadModules", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 18577, + "end": 19022, + "loc": { + "start": { + "line": 558, + "column": 15 + }, + "end": { + "line": 573, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 18584, + "end": 19017, + "loc": { + "start": { + "line": 559, + "column": 4 + }, + "end": { + "line": 572, + "column": 5 + } + }, + "test": { + "type": "CallExpression", + "start": 18587, + "end": 18622, + "loc": { + "start": { + "line": 559, + "column": 7 + }, + "end": { + "line": 559, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 18587, + "end": 18600, + "loc": { + "start": { + "line": 559, + "column": 7 + }, + "end": { + "line": 559, + "column": 20 + } + }, + "object": { + "type": "Identifier", + "start": 18587, + "end": 18592, + "loc": { + "start": { + "line": 559, + "column": 7 + }, + "end": { + "line": 559, + "column": 12 + }, + "identifierName": "Array" + }, + "name": "Array" + }, + "property": { + "type": "Identifier", + "start": 18593, + "end": 18600, + "loc": { + "start": { + "line": 559, + "column": 13 + }, + "end": { + "line": 559, + "column": 20 + }, + "identifierName": "isArray" + }, + "name": "isArray" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 18601, + "end": 18621, + "loc": { + "start": { + "line": 559, + "column": 21 + }, + "end": { + "line": 559, + "column": 41 + } + }, + "object": { + "type": "MemberExpression", + "start": 18601, + "end": 18613, + "loc": { + "start": { + "line": 559, + "column": 21 + }, + "end": { + "line": 559, + "column": 33 + } + }, + "object": { + "type": "ThisExpression", + "start": 18601, + "end": 18605, + "loc": { + "start": { + "line": 559, + "column": 21 + }, + "end": { + "line": 559, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "start": 18606, + "end": 18613, + "loc": { + "start": { + "line": 559, + "column": 26 + }, + "end": { + "line": 559, + "column": 33 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18614, + "end": 18621, + "loc": { + "start": { + "line": 559, + "column": 34 + }, + "end": { + "line": 559, + "column": 41 + }, + "identifierName": "modules" + }, + "name": "modules" + }, + "computed": false + } + ] + }, + "consequent": { + "type": "BlockStatement", + "start": 18623, + "end": 19017, + "loc": { + "start": { + "line": 559, + "column": 43 + }, + "end": { + "line": 572, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 18632, + "end": 19010, + "loc": { + "start": { + "line": 560, + "column": 6 + }, + "end": { + "line": 571, + "column": 9 + } + }, + "expression": { + "type": "CallExpression", + "start": 18632, + "end": 19009, + "loc": { + "start": { + "line": 560, + "column": 6 + }, + "end": { + "line": 571, + "column": 8 + } + }, + "callee": { + "type": "MemberExpression", + "start": 18632, + "end": 18660, + "loc": { + "start": { + "line": 560, + "column": 6 + }, + "end": { + "line": 560, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 18632, + "end": 18652, + "loc": { + "start": { + "line": 560, + "column": 6 + }, + "end": { + "line": 560, + "column": 26 + } + }, + "object": { + "type": "MemberExpression", + "start": 18632, + "end": 18644, + "loc": { + "start": { + "line": 560, + "column": 6 + }, + "end": { + "line": 560, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 18632, + "end": 18636, + "loc": { + "start": { + "line": 560, + "column": 6 + }, + "end": { + "line": 560, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 18637, + "end": 18644, + "loc": { + "start": { + "line": 560, + "column": 11 + }, + "end": { + "line": 560, + "column": 18 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18645, + "end": 18652, + "loc": { + "start": { + "line": 560, + "column": 19 + }, + "end": { + "line": 560, + "column": 26 + }, + "identifierName": "modules" + }, + "name": "modules" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18653, + "end": 18660, + "loc": { + "start": { + "line": 560, + "column": 27 + }, + "end": { + "line": 560, + "column": 34 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 18661, + "end": 19008, + "loc": { + "start": { + "line": 560, + "column": 35 + }, + "end": { + "line": 571, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 18661, + "end": 18667, + "loc": { + "start": { + "line": 560, + "column": 35 + }, + "end": { + "line": 560, + "column": 41 + }, + "identifierName": "Module" + }, + "name": "Module" + } + ], + "body": { + "type": "BlockStatement", + "start": 18671, + "end": 19008, + "loc": { + "start": { + "line": 560, + "column": 45 + }, + "end": { + "line": 571, + "column": 7 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 18682, + "end": 18708, + "loc": { + "start": { + "line": 561, + "column": 8 + }, + "end": { + "line": 561, + "column": 34 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 18686, + "end": 18707, + "loc": { + "start": { + "line": 561, + "column": 12 + }, + "end": { + "line": 561, + "column": 33 + } + }, + "id": { + "type": "Identifier", + "start": 18686, + "end": 18692, + "loc": { + "start": { + "line": 561, + "column": 12 + }, + "end": { + "line": 561, + "column": 18 + }, + "identifierName": "module" + }, + "name": "module" + }, + "init": { + "type": "NewExpression", + "start": 18695, + "end": 18707, + "loc": { + "start": { + "line": 561, + "column": 21 + }, + "end": { + "line": 561, + "column": 33 + } + }, + "callee": { + "type": "Identifier", + "start": 18699, + "end": 18705, + "loc": { + "start": { + "line": 561, + "column": 25 + }, + "end": { + "line": 561, + "column": 31 + }, + "identifierName": "Module" + }, + "name": "Module" + }, + "arguments": [] + } + } + ], + "kind": "let", + "trailingComments": [ + { + "type": "CommentBlock", + "value": " istanbul ignore next ", + "start": 18720, + "end": 18746, + "loc": { + "start": { + "line": 563, + "column": 8 + }, + "end": { + "line": 563, + "column": 34 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 18756, + "end": 18969, + "loc": { + "start": { + "line": 564, + "column": 8 + }, + "end": { + "line": 568, + "column": 9 + } + }, + "test": { + "type": "LogicalExpression", + "start": 18759, + "end": 18824, + "loc": { + "start": { + "line": 564, + "column": 11 + }, + "end": { + "line": 564, + "column": 76 + } + }, + "left": { + "type": "MemberExpression", + "start": 18759, + "end": 18782, + "loc": { + "start": { + "line": 564, + "column": 11 + }, + "end": { + "line": 564, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 18759, + "end": 18777, + "loc": { + "start": { + "line": 564, + "column": 11 + }, + "end": { + "line": 564, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 18759, + "end": 18765, + "loc": { + "start": { + "line": 564, + "column": 11 + }, + "end": { + "line": 564, + "column": 17 + }, + "identifierName": "module" + }, + "name": "module", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 18766, + "end": 18777, + "loc": { + "start": { + "line": 564, + "column": 18 + }, + "end": { + "line": 564, + "column": 29 + }, + "identifierName": "constructor" + }, + "name": "constructor" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 18778, + "end": 18782, + "loc": { + "start": { + "line": 564, + "column": 30 + }, + "end": { + "line": 564, + "column": 34 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": false, + "leadingComments": null + }, + "operator": "&&", + "right": { + "type": "BinaryExpression", + "start": 18786, + "end": 18824, + "loc": { + "start": { + "line": 564, + "column": 38 + }, + "end": { + "line": 564, + "column": 76 + } + }, + "left": { + "type": "MemberExpression", + "start": 18786, + "end": 18809, + "loc": { + "start": { + "line": 564, + "column": 38 + }, + "end": { + "line": 564, + "column": 61 + } + }, + "object": { + "type": "MemberExpression", + "start": 18786, + "end": 18804, + "loc": { + "start": { + "line": 564, + "column": 38 + }, + "end": { + "line": 564, + "column": 56 + } + }, + "object": { + "type": "Identifier", + "start": 18786, + "end": 18792, + "loc": { + "start": { + "line": 564, + "column": 38 + }, + "end": { + "line": 564, + "column": 44 + }, + "identifierName": "module" + }, + "name": "module" + }, + "property": { + "type": "Identifier", + "start": 18793, + "end": 18804, + "loc": { + "start": { + "line": 564, + "column": 45 + }, + "end": { + "line": 564, + "column": 56 + }, + "identifierName": "constructor" + }, + "name": "constructor" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18805, + "end": 18809, + "loc": { + "start": { + "line": 564, + "column": 57 + }, + "end": { + "line": 564, + "column": 61 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": false + }, + "operator": "!==", + "right": { + "type": "StringLiteral", + "start": 18814, + "end": 18824, + "loc": { + "start": { + "line": 564, + "column": 66 + }, + "end": { + "line": 564, + "column": 76 + } + }, + "extra": { + "rawValue": "Function", + "raw": "\"Function\"" + }, + "value": "Function" + } + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 18825, + "end": 18969, + "loc": { + "start": { + "line": 564, + "column": 77 + }, + "end": { + "line": 568, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 18838, + "end": 18958, + "loc": { + "start": { + "line": 565, + "column": 10 + }, + "end": { + "line": 567, + "column": 12 + } + }, + "expression": { + "type": "CallExpression", + "start": 18838, + "end": 18957, + "loc": { + "start": { + "line": 565, + "column": 10 + }, + "end": { + "line": 567, + "column": 11 + } + }, + "callee": { + "type": "MemberExpression", + "start": 18838, + "end": 18868, + "loc": { + "start": { + "line": 565, + "column": 10 + }, + "end": { + "line": 565, + "column": 40 + } + }, + "object": { + "type": "MemberExpression", + "start": 18838, + "end": 18864, + "loc": { + "start": { + "line": 565, + "column": 10 + }, + "end": { + "line": 565, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 18838, + "end": 18854, + "loc": { + "start": { + "line": 565, + "column": 10 + }, + "end": { + "line": 565, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 18838, + "end": 18842, + "loc": { + "start": { + "line": 565, + "column": 10 + }, + "end": { + "line": 565, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 18843, + "end": 18854, + "loc": { + "start": { + "line": 565, + "column": 15 + }, + "end": { + "line": 565, + "column": 26 + }, + "identifierName": "keyboardDOM" + }, + "name": "keyboardDOM" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18855, + "end": 18864, + "loc": { + "start": { + "line": 565, + "column": 27 + }, + "end": { + "line": 565, + "column": 36 + }, + "identifierName": "classList" + }, + "name": "classList" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18865, + "end": 18868, + "loc": { + "start": { + "line": 565, + "column": 37 + }, + "end": { + "line": 565, + "column": 40 + }, + "identifierName": "add" + }, + "name": "add" + }, + "computed": false + }, + "arguments": [ + { + "type": "TemplateLiteral", + "start": 18883, + "end": 18944, + "loc": { + "start": { + "line": 566, + "column": 12 + }, + "end": { + "line": 566, + "column": 73 + } + }, + "expressions": [ + { + "type": "CallExpression", + "start": 18893, + "end": 18942, + "loc": { + "start": { + "line": 566, + "column": 22 + }, + "end": { + "line": 566, + "column": 71 + } + }, + "callee": { + "type": "MemberExpression", + "start": 18893, + "end": 18917, + "loc": { + "start": { + "line": 566, + "column": 22 + }, + "end": { + "line": 566, + "column": 46 + } + }, + "object": { + "type": "MemberExpression", + "start": 18893, + "end": 18907, + "loc": { + "start": { + "line": 566, + "column": 22 + }, + "end": { + "line": 566, + "column": 36 + } + }, + "object": { + "type": "ThisExpression", + "start": 18893, + "end": 18897, + "loc": { + "start": { + "line": 566, + "column": 22 + }, + "end": { + "line": 566, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 18898, + "end": 18907, + "loc": { + "start": { + "line": 566, + "column": 27 + }, + "end": { + "line": 566, + "column": 36 + }, + "identifierName": "utilities" + }, + "name": "utilities" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18908, + "end": 18917, + "loc": { + "start": { + "line": 566, + "column": 37 + }, + "end": { + "line": 566, + "column": 46 + }, + "identifierName": "camelCase" + }, + "name": "camelCase" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 18918, + "end": 18941, + "loc": { + "start": { + "line": 566, + "column": 47 + }, + "end": { + "line": 566, + "column": 70 + } + }, + "object": { + "type": "MemberExpression", + "start": 18918, + "end": 18936, + "loc": { + "start": { + "line": 566, + "column": 47 + }, + "end": { + "line": 566, + "column": 65 + } + }, + "object": { + "type": "Identifier", + "start": 18918, + "end": 18924, + "loc": { + "start": { + "line": 566, + "column": 47 + }, + "end": { + "line": 566, + "column": 53 + }, + "identifierName": "module" + }, + "name": "module" + }, + "property": { + "type": "Identifier", + "start": 18925, + "end": 18936, + "loc": { + "start": { + "line": 566, + "column": 54 + }, + "end": { + "line": 566, + "column": 65 + }, + "identifierName": "constructor" + }, + "name": "constructor" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18937, + "end": 18941, + "loc": { + "start": { + "line": 566, + "column": 66 + }, + "end": { + "line": 566, + "column": 70 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": false + } + ] + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 18884, + "end": 18891, + "loc": { + "start": { + "line": 566, + "column": 13 + }, + "end": { + "line": 566, + "column": 20 + } + }, + "value": { + "raw": "module-", + "cooked": "module-" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 18943, + "end": 18943, + "loc": { + "start": { + "line": 566, + "column": 72 + }, + "end": { + "line": 566, + "column": 72 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + ] + } + } + ], + "directives": [] + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": " istanbul ignore next ", + "start": 18720, + "end": 18746, + "loc": { + "start": { + "line": 563, + "column": 8 + }, + "end": { + "line": 563, + "column": 34 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 18981, + "end": 18999, + "loc": { + "start": { + "line": 570, + "column": 8 + }, + "end": { + "line": 570, + "column": 26 + } + }, + "expression": { + "type": "CallExpression", + "start": 18981, + "end": 18998, + "loc": { + "start": { + "line": 570, + "column": 8 + }, + "end": { + "line": 570, + "column": 25 + } + }, + "callee": { + "type": "MemberExpression", + "start": 18981, + "end": 18992, + "loc": { + "start": { + "line": 570, + "column": 8 + }, + "end": { + "line": 570, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 18981, + "end": 18987, + "loc": { + "start": { + "line": 570, + "column": 8 + }, + "end": { + "line": 570, + "column": 14 + }, + "identifierName": "module" + }, + "name": "module" + }, + "property": { + "type": "Identifier", + "start": 18988, + "end": 18992, + "loc": { + "start": { + "line": 570, + "column": 15 + }, + "end": { + "line": 570, + "column": 19 + }, + "identifierName": "init" + }, + "name": "init" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 18993, + "end": 18997, + "loc": { + "start": { + "line": 570, + "column": 20 + }, + "end": { + "line": 570, + "column": 24 + } + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Load modules\r\n ", + "start": 18531, + "end": 18560, + "loc": { + "start": { + "line": 555, + "column": 2 + }, + "end": { + "line": 557, "column": 5 } } @@ -24516,15 +29279,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", - "start": 16834, - "end": 16866, + "start": 19028, + "end": 19060, "loc": { "start": { - "line": 488, + "line": 575, "column": 2 }, "end": { - "line": 490, + "line": 577, "column": 5 } } @@ -24533,15 +29296,15 @@ }, { "type": "ClassProperty", - "start": 16870, - "end": 17002, + "start": 19064, + "end": 19196, "loc": { "start": { - "line": 491, + "line": 578, "column": 2 }, "end": { - "line": 496, + "line": 583, "column": 3 } }, @@ -24549,15 +29312,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16870, - "end": 16883, + "start": 19064, + "end": 19077, "loc": { "start": { - "line": 491, + "line": 578, "column": 2 }, "end": { - "line": 491, + "line": 578, "column": 15 }, "identifierName": "getModuleProp" @@ -24567,15 +29330,15 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 16886, - "end": 17002, + "start": 19080, + "end": 19196, "loc": { "start": { - "line": 491, + "line": 578, "column": 18 }, "end": { - "line": 496, + "line": 583, "column": 3 } }, @@ -24586,15 +29349,15 @@ "params": [ { "type": "Identifier", - "start": 16887, - "end": 16891, + "start": 19081, + "end": 19085, "loc": { "start": { - "line": 491, + "line": 578, "column": 19 }, "end": { - "line": 491, + "line": 578, "column": 23 }, "identifierName": "name" @@ -24603,15 +29366,15 @@ }, { "type": "Identifier", - "start": 16893, - "end": 16897, + "start": 19087, + "end": 19091, "loc": { "start": { - "line": 491, + "line": 578, "column": 25 }, "end": { - "line": 491, + "line": 578, "column": 29 }, "identifierName": "prop" @@ -24621,44 +29384,44 @@ ], "body": { "type": "BlockStatement", - "start": 16902, - "end": 17002, + "start": 19096, + "end": 19196, "loc": { "start": { - "line": 491, + "line": 578, "column": 34 }, "end": { - "line": 496, + "line": 583, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 16909, - "end": 16953, + "start": 19103, + "end": 19147, "loc": { "start": { - "line": 492, + "line": 579, "column": 4 }, "end": { - "line": 493, + "line": 580, "column": 19 } }, "test": { "type": "UnaryExpression", - "start": 16912, - "end": 16931, + "start": 19106, + "end": 19125, "loc": { "start": { - "line": 492, + "line": 579, "column": 7 }, "end": { - "line": 492, + "line": 579, "column": 26 } }, @@ -24666,58 +29429,58 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 16913, - "end": 16931, + "start": 19107, + "end": 19125, "loc": { "start": { - "line": 492, + "line": 579, "column": 8 }, "end": { - "line": 492, + "line": 579, "column": 26 } }, "object": { "type": "MemberExpression", - "start": 16913, - "end": 16925, + "start": 19107, + "end": 19119, "loc": { "start": { - "line": 492, + "line": 579, "column": 8 }, "end": { - "line": 492, + "line": 579, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 16913, - "end": 16917, + "start": 19107, + "end": 19111, "loc": { "start": { - "line": 492, + "line": 579, "column": 8 }, "end": { - "line": 492, + "line": 579, "column": 12 } } }, "property": { "type": "Identifier", - "start": 16918, - "end": 16925, + "start": 19112, + "end": 19119, "loc": { "start": { - "line": 492, + "line": 579, "column": 13 }, "end": { - "line": 492, + "line": 579, "column": 20 }, "identifierName": "modules" @@ -24728,15 +29491,15 @@ }, "property": { "type": "Identifier", - "start": 16926, - "end": 16930, + "start": 19120, + "end": 19124, "loc": { "start": { - "line": 492, + "line": 579, "column": 21 }, "end": { - "line": 492, + "line": 579, "column": 25 }, "identifierName": "name" @@ -24751,29 +29514,29 @@ }, "consequent": { "type": "ReturnStatement", - "start": 16940, - "end": 16953, + "start": 19134, + "end": 19147, "loc": { "start": { - "line": 493, + "line": 580, "column": 6 }, "end": { - "line": 493, + "line": 580, "column": 19 } }, "argument": { "type": "BooleanLiteral", - "start": 16947, - "end": 16952, + "start": 19141, + "end": 19146, "loc": { "start": { - "line": 493, + "line": 580, "column": 13 }, "end": { - "line": 493, + "line": 580, "column": 18 } }, @@ -24784,86 +29547,86 @@ }, { "type": "ReturnStatement", - "start": 16965, - "end": 16997, + "start": 19159, + "end": 19191, "loc": { "start": { - "line": 495, + "line": 582, "column": 4 }, "end": { - "line": 495, + "line": 582, "column": 36 } }, "argument": { "type": "MemberExpression", - "start": 16972, - "end": 16996, + "start": 19166, + "end": 19190, "loc": { "start": { - "line": 495, + "line": 582, "column": 11 }, "end": { - "line": 495, + "line": 582, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 16972, - "end": 16990, + "start": 19166, + "end": 19184, "loc": { "start": { - "line": 495, + "line": 582, "column": 11 }, "end": { - "line": 495, + "line": 582, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 16972, - "end": 16984, + "start": 19166, + "end": 19178, "loc": { "start": { - "line": 495, + "line": 582, "column": 11 }, "end": { - "line": 495, + "line": 582, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 16972, - "end": 16976, + "start": 19166, + "end": 19170, "loc": { "start": { - "line": 495, + "line": 582, "column": 11 }, "end": { - "line": 495, + "line": 582, "column": 15 } } }, "property": { "type": "Identifier", - "start": 16977, - "end": 16984, + "start": 19171, + "end": 19178, "loc": { "start": { - "line": 495, + "line": 582, "column": 16 }, "end": { - "line": 495, + "line": 582, "column": 23 }, "identifierName": "modules" @@ -24874,15 +29637,15 @@ }, "property": { "type": "Identifier", - "start": 16985, - "end": 16989, + "start": 19179, + "end": 19183, "loc": { "start": { - "line": 495, + "line": 582, "column": 24 }, "end": { - "line": 495, + "line": 582, "column": 28 }, "identifierName": "name" @@ -24893,15 +29656,15 @@ }, "property": { "type": "Identifier", - "start": 16991, - "end": 16995, + "start": 19185, + "end": 19189, "loc": { "start": { - "line": 495, + "line": 582, "column": 30 }, "end": { - "line": 495, + "line": 582, "column": 34 }, "identifierName": "prop" @@ -24921,15 +29684,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", - "start": 16834, - "end": 16866, + "start": 19028, + "end": 19060, "loc": { "start": { - "line": 488, + "line": 575, "column": 2 }, "end": { - "line": 490, + "line": 577, "column": 5 } } @@ -24939,15 +29702,15 @@ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", - "start": 17008, - "end": 17039, + "start": 19202, + "end": 19233, "loc": { "start": { - "line": 498, + "line": 585, "column": 2 }, "end": { - "line": 500, + "line": 587, "column": 5 } } @@ -24956,15 +29719,15 @@ }, { "type": "ClassProperty", - "start": 17043, - "end": 17111, + "start": 19237, + "end": 19305, "loc": { "start": { - "line": 501, + "line": 588, "column": 2 }, "end": { - "line": 503, + "line": 590, "column": 3 } }, @@ -24972,15 +29735,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 17043, - "end": 17057, + "start": 19237, + "end": 19251, "loc": { "start": { - "line": 501, + "line": 588, "column": 2 }, "end": { - "line": 501, + "line": 588, "column": 16 }, "identifierName": "getModulesList" @@ -24990,15 +29753,15 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 17060, - "end": 17111, + "start": 19254, + "end": 19305, "loc": { "start": { - "line": 501, + "line": 588, "column": 19 }, "end": { - "line": 503, + "line": 590, "column": 3 } }, @@ -25009,72 +29772,72 @@ "params": [], "body": { "type": "BlockStatement", - "start": 17066, - "end": 17111, + "start": 19260, + "end": 19305, "loc": { "start": { - "line": 501, + "line": 588, "column": 25 }, "end": { - "line": 503, + "line": 590, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 17073, - "end": 17106, + "start": 19267, + "end": 19300, "loc": { "start": { - "line": 502, + "line": 589, "column": 4 }, "end": { - "line": 502, + "line": 589, "column": 37 } }, "argument": { "type": "CallExpression", - "start": 17080, - "end": 17105, + "start": 19274, + "end": 19299, "loc": { "start": { - "line": 502, + "line": 589, "column": 11 }, "end": { - "line": 502, + "line": 589, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 17080, - "end": 17091, + "start": 19274, + "end": 19285, "loc": { "start": { - "line": 502, + "line": 589, "column": 11 }, "end": { - "line": 502, + "line": 589, "column": 22 } }, "object": { "type": "Identifier", - "start": 17080, - "end": 17086, + "start": 19274, + "end": 19280, "loc": { "start": { - "line": 502, + "line": 589, "column": 11 }, "end": { - "line": 502, + "line": 589, "column": 17 }, "identifierName": "Object" @@ -25083,15 +29846,15 @@ }, "property": { "type": "Identifier", - "start": 17087, - "end": 17091, + "start": 19281, + "end": 19285, "loc": { "start": { - "line": 502, + "line": 589, "column": 18 }, "end": { - "line": 502, + "line": 589, "column": 22 }, "identifierName": "keys" @@ -25103,44 +29866,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 17092, - "end": 17104, + "start": 19286, + "end": 19298, "loc": { "start": { - "line": 502, + "line": 589, "column": 23 }, "end": { - "line": 502, + "line": 589, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 17092, - "end": 17096, + "start": 19286, + "end": 19290, "loc": { "start": { - "line": 502, + "line": 589, "column": 23 }, "end": { - "line": 502, + "line": 589, "column": 27 } } }, "property": { "type": "Identifier", - "start": 17097, - "end": 17104, + "start": 19291, + "end": 19298, "loc": { "start": { - "line": 502, + "line": 589, "column": 28 }, "end": { - "line": 502, + "line": 589, "column": 35 }, "identifierName": "modules" @@ -25162,15 +29925,15 @@ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", - "start": 17008, - "end": 17039, + "start": 19202, + "end": 19233, "loc": { "start": { - "line": 498, + "line": 585, "column": 2 }, "end": { - "line": 500, + "line": 587, "column": 5 } } @@ -25180,15 +29943,15 @@ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", - "start": 17117, - "end": 17173, + "start": 19311, + "end": 19367, "loc": { "start": { - "line": 505, + "line": 592, "column": 2 }, "end": { - "line": 507, + "line": 594, "column": 5 } } @@ -25197,15 +29960,15 @@ }, { "type": "ClassMethod", - "start": 17177, - "end": 21299, + "start": 19371, + "end": 23685, "loc": { "start": { - "line": 508, + "line": 595, "column": 2 }, "end": { - "line": 644, + "line": 737, "column": 3 } }, @@ -25213,15 +29976,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 17177, - "end": 17183, + "start": 19371, + "end": 19377, "loc": { "start": { - "line": 508, + "line": 595, "column": 2 }, "end": { - "line": 508, + "line": 595, "column": 8 }, "identifierName": "render" @@ -25237,72 +30000,72 @@ "params": [], "body": { "type": "BlockStatement", - "start": 17185, - "end": 21299, + "start": 19379, + "end": 23685, "loc": { "start": { - "line": 508, + "line": 595, "column": 10 }, "end": { - "line": 644, + "line": 737, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 17233, - "end": 17246, + "start": 19427, + "end": 19440, "loc": { "start": { - "line": 512, + "line": 599, "column": 4 }, "end": { - "line": 512, + "line": 599, "column": 17 } }, "expression": { "type": "CallExpression", - "start": 17233, - "end": 17245, + "start": 19427, + "end": 19439, "loc": { "start": { - "line": 512, + "line": 599, "column": 4 }, "end": { - "line": 512, + "line": 599, "column": 16 } }, "callee": { "type": "MemberExpression", - "start": 17233, - "end": 17243, + "start": 19427, + "end": 19437, "loc": { "start": { - "line": 512, + "line": 599, "column": 4 }, "end": { - "line": 512, + "line": 599, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 17233, - "end": 17237, + "start": 19427, + "end": 19431, "loc": { "start": { - "line": 512, + "line": 599, "column": 4 }, "end": { - "line": 512, + "line": 599, "column": 8 } }, @@ -25310,15 +30073,15 @@ }, "property": { "type": "Identifier", - "start": 17238, - "end": 17243, + "start": 19432, + "end": 19437, "loc": { "start": { - "line": 512, + "line": 599, "column": 9 }, "end": { - "line": 512, + "line": 599, "column": 14 }, "identifierName": "clear" @@ -25335,15 +30098,15 @@ { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", - "start": 17192, - "end": 17227, + "start": 19386, + "end": 19421, "loc": { "start": { - "line": 509, + "line": 596, "column": 4 }, "end": { - "line": 511, + "line": 598, "column": 7 } } @@ -25352,44 +30115,44 @@ }, { "type": "VariableDeclaration", - "start": 17254, - "end": 17354, + "start": 19448, + "end": 19548, "loc": { "start": { - "line": 514, + "line": 601, "column": 4 }, "end": { - "line": 514, + "line": 601, "column": 104 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17258, - "end": 17353, + "start": 19452, + "end": 19547, "loc": { "start": { - "line": 514, + "line": 601, "column": 8 }, "end": { - "line": 514, + "line": 601, "column": 103 } }, "id": { "type": "Identifier", - "start": 17258, - "end": 17269, + "start": 19452, + "end": 19463, "loc": { "start": { - "line": 514, + "line": 601, "column": 8 }, "end": { - "line": 514, + "line": 601, "column": 19 }, "identifierName": "layoutClass" @@ -25398,72 +30161,72 @@ }, "init": { "type": "ConditionalExpression", - "start": 17272, - "end": 17353, + "start": 19466, + "end": 19547, "loc": { "start": { - "line": 514, + "line": 601, "column": 22 }, "end": { - "line": 514, + "line": 601, "column": 103 } }, "test": { "type": "MemberExpression", - "start": 17272, - "end": 17291, + "start": 19466, + "end": 19485, "loc": { "start": { - "line": 514, + "line": 601, "column": 22 }, "end": { - "line": 514, + "line": 601, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 17272, - "end": 17284, + "start": 19466, + "end": 19478, "loc": { "start": { - "line": 514, + "line": 601, "column": 22 }, "end": { - "line": 514, + "line": 601, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 17272, - "end": 17276, + "start": 19466, + "end": 19470, "loc": { "start": { - "line": 514, + "line": 601, "column": 22 }, "end": { - "line": 514, + "line": 601, "column": 26 } } }, "property": { "type": "Identifier", - "start": 17277, - "end": 17284, + "start": 19471, + "end": 19478, "loc": { "start": { - "line": 514, + "line": 601, "column": 27 }, "end": { - "line": 514, + "line": 601, "column": 34 }, "identifierName": "options" @@ -25474,15 +30237,15 @@ }, "property": { "type": "Identifier", - "start": 17285, - "end": 17291, + "start": 19479, + "end": 19485, "loc": { "start": { - "line": 514, + "line": 601, "column": 35 }, "end": { - "line": 514, + "line": 601, "column": 41 }, "identifierName": "layout" @@ -25493,15 +30256,15 @@ }, "consequent": { "type": "StringLiteral", - "start": 17294, - "end": 17312, + "start": 19488, + "end": 19506, "loc": { "start": { - "line": 514, + "line": 601, "column": 44 }, "end": { - "line": 514, + "line": 601, "column": 62 } }, @@ -25513,73 +30276,73 @@ }, "alternate": { "type": "TemplateLiteral", - "start": 17315, - "end": 17353, + "start": 19509, + "end": 19547, "loc": { "start": { - "line": 514, + "line": 601, "column": 65 }, "end": { - "line": 514, + "line": 601, "column": 103 } }, "expressions": [ { "type": "MemberExpression", - "start": 17328, - "end": 17351, + "start": 19522, + "end": 19545, "loc": { "start": { - "line": 514, + "line": 601, "column": 78 }, "end": { - "line": 514, + "line": 601, "column": 101 } }, "object": { "type": "MemberExpression", - "start": 17328, - "end": 17340, + "start": 19522, + "end": 19534, "loc": { "start": { - "line": 514, + "line": 601, "column": 78 }, "end": { - "line": 514, + "line": 601, "column": 90 } }, "object": { "type": "ThisExpression", - "start": 17328, - "end": 17332, + "start": 19522, + "end": 19526, "loc": { "start": { - "line": 514, + "line": 601, "column": 78 }, "end": { - "line": 514, + "line": 601, "column": 82 } } }, "property": { "type": "Identifier", - "start": 17333, - "end": 17340, + "start": 19527, + "end": 19534, "loc": { "start": { - "line": 514, + "line": 601, "column": 83 }, "end": { - "line": 514, + "line": 601, "column": 90 }, "identifierName": "options" @@ -25590,15 +30353,15 @@ }, "property": { "type": "Identifier", - "start": 17341, - "end": 17351, + "start": 19535, + "end": 19545, "loc": { "start": { - "line": 514, + "line": 601, "column": 91 }, "end": { - "line": 514, + "line": 601, "column": 101 }, "identifierName": "layoutName" @@ -25611,15 +30374,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 17316, - "end": 17326, + "start": 19510, + "end": 19520, "loc": { "start": { - "line": 514, + "line": 601, "column": 66 }, "end": { - "line": 514, + "line": 601, "column": 76 } }, @@ -25631,15 +30394,15 @@ }, { "type": "TemplateElement", - "start": 17352, - "end": 17352, + "start": 19546, + "end": 19546, "loc": { "start": { - "line": 514, + "line": 601, "column": 102 }, "end": { - "line": 514, + "line": 601, "column": 102 } }, @@ -25658,44 +30421,44 @@ }, { "type": "VariableDeclaration", - "start": 17360, - "end": 17430, + "start": 19554, + "end": 19624, "loc": { "start": { - "line": 515, + "line": 602, "column": 4 }, "end": { - "line": 515, + "line": 602, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17364, - "end": 17429, + "start": 19558, + "end": 19623, "loc": { "start": { - "line": 515, + "line": 602, "column": 8 }, "end": { - "line": 515, + "line": 602, "column": 73 } }, "id": { "type": "Identifier", - "start": 17364, - "end": 17370, + "start": 19558, + "end": 19564, "loc": { "start": { - "line": 515, + "line": 602, "column": 8 }, "end": { - "line": 515, + "line": 602, "column": 14 }, "identifierName": "layout" @@ -25704,72 +30467,72 @@ }, "init": { "type": "LogicalExpression", - "start": 17373, - "end": 17429, + "start": 19567, + "end": 19623, "loc": { "start": { - "line": 515, + "line": 602, "column": 17 }, "end": { - "line": 515, + "line": 602, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 17373, - "end": 17392, + "start": 19567, + "end": 19586, "loc": { "start": { - "line": 515, + "line": 602, "column": 17 }, "end": { - "line": 515, + "line": 602, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 17373, - "end": 17385, + "start": 19567, + "end": 19579, "loc": { "start": { - "line": 515, + "line": 602, "column": 17 }, "end": { - "line": 515, + "line": 602, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 17373, - "end": 17377, + "start": 19567, + "end": 19571, "loc": { "start": { - "line": 515, + "line": 602, "column": 17 }, "end": { - "line": 515, + "line": 602, "column": 21 } } }, "property": { "type": "Identifier", - "start": 17378, - "end": 17385, + "start": 19572, + "end": 19579, "loc": { "start": { - "line": 515, + "line": 602, "column": 22 }, "end": { - "line": 515, + "line": 602, "column": 29 }, "identifierName": "options" @@ -25780,15 +30543,15 @@ }, "property": { "type": "Identifier", - "start": 17386, - "end": 17392, + "start": 19580, + "end": 19586, "loc": { "start": { - "line": 515, + "line": 602, "column": 30 }, "end": { - "line": 515, + "line": 602, "column": 36 }, "identifierName": "layout" @@ -25800,43 +30563,43 @@ "operator": "||", "right": { "type": "CallExpression", - "start": 17396, - "end": 17429, + "start": 19590, + "end": 19623, "loc": { "start": { - "line": 515, + "line": 602, "column": 40 }, "end": { - "line": 515, + "line": 602, "column": 73 } }, "callee": { "type": "MemberExpression", - "start": 17396, - "end": 17427, + "start": 19590, + "end": 19621, "loc": { "start": { - "line": 515, + "line": 602, "column": 40 }, "end": { - "line": 515, + "line": 602, "column": 71 } }, "object": { "type": "Identifier", - "start": 17396, - "end": 17410, + "start": 19590, + "end": 19604, "loc": { "start": { - "line": 515, + "line": 602, "column": 40 }, "end": { - "line": 515, + "line": 602, "column": 54 }, "identifierName": "KeyboardLayout" @@ -25845,15 +30608,15 @@ }, "property": { "type": "Identifier", - "start": 17411, - "end": 17427, + "start": 19605, + "end": 19621, "loc": { "start": { - "line": 515, + "line": 602, "column": 55 }, "end": { - "line": 515, + "line": 602, "column": 71 }, "identifierName": "getDefaultLayout" @@ -25872,15 +30635,15 @@ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", - "start": 17438, - "end": 17490, + "start": 19632, + "end": 19684, "loc": { "start": { - "line": 517, + "line": 604, "column": 4 }, "end": { - "line": 519, + "line": 606, "column": 7 } } @@ -25889,44 +30652,44 @@ }, { "type": "VariableDeclaration", - "start": 17496, - "end": 17524, + "start": 19690, + "end": 19718, "loc": { "start": { - "line": 520, + "line": 607, "column": 4 }, "end": { - "line": 520, + "line": 607, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17500, - "end": 17523, + "start": 19694, + "end": 19717, "loc": { "start": { - "line": 520, + "line": 607, "column": 8 }, "end": { - "line": 520, + "line": 607, "column": 31 } }, "id": { "type": "Identifier", - "start": 17500, - "end": 17518, + "start": 19694, + "end": 19712, "loc": { "start": { - "line": 520, + "line": 607, "column": 8 }, "end": { - "line": 520, + "line": 607, "column": 26 }, "identifierName": "buttonThemesParsed" @@ -25936,15 +30699,15 @@ }, "init": { "type": "ObjectExpression", - "start": 17521, - "end": 17523, + "start": 19715, + "end": 19717, "loc": { "start": { - "line": 520, + "line": 607, "column": 29 }, "end": { - "line": 520, + "line": 607, "column": 31 } }, @@ -25958,15 +30721,15 @@ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", - "start": 17438, - "end": 17490, + "start": 19632, + "end": 19684, "loc": { "start": { - "line": 517, + "line": 604, "column": 4 }, "end": { - "line": 519, + "line": 606, "column": 7 } } @@ -25975,57 +30738,57 @@ }, { "type": "IfStatement", - "start": 17530, - "end": 18669, + "start": 19724, + "end": 20863, "loc": { "start": { - "line": 521, + "line": 608, "column": 4 }, "end": { - "line": 549, + "line": 636, "column": 5 } }, "test": { "type": "CallExpression", - "start": 17533, - "end": 17572, + "start": 19727, + "end": 19766, "loc": { "start": { - "line": 521, + "line": 608, "column": 7 }, "end": { - "line": 521, + "line": 608, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 17533, - "end": 17546, + "start": 19727, + "end": 19740, "loc": { "start": { - "line": 521, + "line": 608, "column": 7 }, "end": { - "line": 521, + "line": 608, "column": 20 } }, "object": { "type": "Identifier", - "start": 17533, - "end": 17538, + "start": 19727, + "end": 19732, "loc": { "start": { - "line": 521, + "line": 608, "column": 7 }, "end": { - "line": 521, + "line": 608, "column": 12 }, "identifierName": "Array" @@ -26034,15 +30797,15 @@ }, "property": { "type": "Identifier", - "start": 17539, - "end": 17546, + "start": 19733, + "end": 19740, "loc": { "start": { - "line": 521, + "line": 608, "column": 13 }, "end": { - "line": 521, + "line": 608, "column": 20 }, "identifierName": "isArray" @@ -26054,58 +30817,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 17547, - "end": 17571, + "start": 19741, + "end": 19765, "loc": { "start": { - "line": 521, + "line": 608, "column": 21 }, "end": { - "line": 521, + "line": 608, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 17547, - "end": 17559, + "start": 19741, + "end": 19753, "loc": { "start": { - "line": 521, + "line": 608, "column": 21 }, "end": { - "line": 521, + "line": 608, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 17547, - "end": 17551, + "start": 19741, + "end": 19745, "loc": { "start": { - "line": 521, + "line": 608, "column": 21 }, "end": { - "line": 521, + "line": 608, "column": 25 } } }, "property": { "type": "Identifier", - "start": 17552, - "end": 17559, + "start": 19746, + "end": 19753, "loc": { "start": { - "line": 521, + "line": 608, "column": 26 }, "end": { - "line": 521, + "line": 608, "column": 33 }, "identifierName": "options" @@ -26116,15 +30879,15 @@ }, "property": { "type": "Identifier", - "start": 17560, - "end": 17571, + "start": 19754, + "end": 19765, "loc": { "start": { - "line": 521, + "line": 608, "column": 34 }, "end": { - "line": 521, + "line": 608, "column": 45 }, "identifierName": "buttonTheme" @@ -26137,115 +30900,115 @@ }, "consequent": { "type": "BlockStatement", - "start": 17573, - "end": 18669, + "start": 19767, + "end": 20863, "loc": { "start": { - "line": 521, + "line": 608, "column": 47 }, "end": { - "line": 549, + "line": 636, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 17582, - "end": 18662, + "start": 19776, + "end": 20856, "loc": { "start": { - "line": 522, + "line": 609, "column": 6 }, "end": { - "line": 548, + "line": 635, "column": 9 } }, "expression": { "type": "CallExpression", - "start": 17582, - "end": 18661, + "start": 19776, + "end": 20855, "loc": { "start": { - "line": 522, + "line": 609, "column": 6 }, "end": { - "line": 548, + "line": 635, "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 17582, - "end": 17614, + "start": 19776, + "end": 19808, "loc": { "start": { - "line": 522, + "line": 609, "column": 6 }, "end": { - "line": 522, + "line": 609, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 17582, - "end": 17606, + "start": 19776, + "end": 19800, "loc": { "start": { - "line": 522, + "line": 609, "column": 6 }, "end": { - "line": 522, + "line": 609, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 17582, - "end": 17594, + "start": 19776, + "end": 19788, "loc": { "start": { - "line": 522, + "line": 609, "column": 6 }, "end": { - "line": 522, + "line": 609, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 17582, - "end": 17586, + "start": 19776, + "end": 19780, "loc": { "start": { - "line": 522, + "line": 609, "column": 6 }, "end": { - "line": 522, + "line": 609, "column": 10 } } }, "property": { "type": "Identifier", - "start": 17587, - "end": 17594, + "start": 19781, + "end": 19788, "loc": { "start": { - "line": 522, + "line": 609, "column": 11 }, "end": { - "line": 522, + "line": 609, "column": 18 }, "identifierName": "options" @@ -26256,15 +31019,15 @@ }, "property": { "type": "Identifier", - "start": 17595, - "end": 17606, + "start": 19789, + "end": 19800, "loc": { "start": { - "line": 522, + "line": 609, "column": 19 }, "end": { - "line": 522, + "line": 609, "column": 30 }, "identifierName": "buttonTheme" @@ -26275,15 +31038,15 @@ }, "property": { "type": "Identifier", - "start": 17607, - "end": 17614, + "start": 19801, + "end": 19808, "loc": { "start": { - "line": 522, + "line": 609, "column": 31 }, "end": { - "line": 522, + "line": 609, "column": 38 }, "identifierName": "forEach" @@ -26295,15 +31058,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 17615, - "end": 18660, + "start": 19809, + "end": 20854, "loc": { "start": { - "line": 522, + "line": 609, "column": 39 }, "end": { - "line": 548, + "line": 635, "column": 7 } }, @@ -26314,15 +31077,15 @@ "params": [ { "type": "Identifier", - "start": 17615, - "end": 17623, + "start": 19809, + "end": 19817, "loc": { "start": { - "line": 522, + "line": 609, "column": 39 }, "end": { - "line": 522, + "line": 609, "column": 47 }, "identifierName": "themeObj" @@ -26332,72 +31095,72 @@ ], "body": { "type": "BlockStatement", - "start": 17627, - "end": 18660, + "start": 19821, + "end": 20854, "loc": { "start": { - "line": 522, + "line": 609, "column": 51 }, "end": { - "line": 548, + "line": 635, "column": 7 } }, "body": [ { "type": "IfStatement", - "start": 17638, - "end": 18651, + "start": 19832, + "end": 20845, "loc": { "start": { - "line": 523, + "line": 610, "column": 8 }, "end": { - "line": 547, + "line": 634, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 17641, - "end": 17675, + "start": 19835, + "end": 19869, "loc": { "start": { - "line": 523, + "line": 610, "column": 11 }, "end": { - "line": 523, + "line": 610, "column": 45 } }, "left": { "type": "MemberExpression", - "start": 17641, - "end": 17657, + "start": 19835, + "end": 19851, "loc": { "start": { - "line": 523, + "line": 610, "column": 11 }, "end": { - "line": 523, + "line": 610, "column": 27 } }, "object": { "type": "Identifier", - "start": 17641, - "end": 17649, + "start": 19835, + "end": 19843, "loc": { "start": { - "line": 523, + "line": 610, "column": 11 }, "end": { - "line": 523, + "line": 610, "column": 19 }, "identifierName": "themeObj" @@ -26406,15 +31169,15 @@ }, "property": { "type": "Identifier", - "start": 17650, - "end": 17657, + "start": 19844, + "end": 19851, "loc": { "start": { - "line": 523, + "line": 610, "column": 20 }, "end": { - "line": 523, + "line": 610, "column": 27 }, "identifierName": "buttons" @@ -26426,29 +31189,29 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 17661, - "end": 17675, + "start": 19855, + "end": 19869, "loc": { "start": { - "line": 523, + "line": 610, "column": 31 }, "end": { - "line": 523, + "line": 610, "column": 45 } }, "object": { "type": "Identifier", - "start": 17661, - "end": 17669, + "start": 19855, + "end": 19863, "loc": { "start": { - "line": 523, + "line": 610, "column": 31 }, "end": { - "line": 523, + "line": 610, "column": 39 }, "identifierName": "themeObj" @@ -26457,15 +31220,15 @@ }, "property": { "type": "Identifier", - "start": 17670, - "end": 17675, + "start": 19864, + "end": 19869, "loc": { "start": { - "line": 523, + "line": 610, "column": 40 }, "end": { - "line": 523, + "line": 610, "column": 45 }, "identifierName": "class" @@ -26477,59 +31240,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 17676, - "end": 18517, + "start": 19870, + "end": 20711, "loc": { "start": { - "line": 523, + "line": 610, "column": 46 }, "end": { - "line": 545, + "line": 632, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 17689, - "end": 17706, + "start": 19883, + "end": 19900, "loc": { "start": { - "line": 524, + "line": 611, "column": 10 }, "end": { - "line": 524, + "line": 611, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17693, - "end": 17705, + "start": 19887, + "end": 19899, "loc": { "start": { - "line": 524, + "line": 611, "column": 14 }, "end": { - "line": 524, + "line": 611, "column": 26 } }, "id": { "type": "Identifier", - "start": 17693, - "end": 17705, + "start": 19887, + "end": 19899, "loc": { "start": { - "line": 524, + "line": 611, "column": 14 }, "end": { - "line": 524, + "line": 611, "column": 26 }, "identifierName": "themeButtons" @@ -26543,43 +31306,43 @@ }, { "type": "IfStatement", - "start": 17720, - "end": 17831, + "start": 19914, + "end": 20025, "loc": { "start": { - "line": 526, + "line": 613, "column": 10 }, "end": { - "line": 528, + "line": 615, "column": 11 } }, "test": { "type": "BinaryExpression", - "start": 17723, - "end": 17759, + "start": 19917, + "end": 19953, "loc": { "start": { - "line": 526, + "line": 613, "column": 13 }, "end": { - "line": 526, + "line": 613, "column": 49 } }, "left": { "type": "UnaryExpression", - "start": 17723, - "end": 17746, + "start": 19917, + "end": 19940, "loc": { "start": { - "line": 526, + "line": 613, "column": 13 }, "end": { - "line": 526, + "line": 613, "column": 36 } }, @@ -26587,29 +31350,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 17730, - "end": 17746, + "start": 19924, + "end": 19940, "loc": { "start": { - "line": 526, + "line": 613, "column": 20 }, "end": { - "line": 526, + "line": 613, "column": 36 } }, "object": { "type": "Identifier", - "start": 17730, - "end": 17738, + "start": 19924, + "end": 19932, "loc": { "start": { - "line": 526, + "line": 613, "column": 20 }, "end": { - "line": 526, + "line": 613, "column": 28 }, "identifierName": "themeObj" @@ -26618,15 +31381,15 @@ }, "property": { "type": "Identifier", - "start": 17739, - "end": 17746, + "start": 19933, + "end": 19940, "loc": { "start": { - "line": 526, + "line": 613, "column": 29 }, "end": { - "line": 526, + "line": 613, "column": 36 }, "identifierName": "buttons" @@ -26642,15 +31405,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 17751, - "end": 17759, + "start": 19945, + "end": 19953, "loc": { "start": { - "line": 526, + "line": 613, "column": 41 }, "end": { - "line": 526, + "line": 613, "column": 49 } }, @@ -26663,59 +31426,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 17760, - "end": 17831, + "start": 19954, + "end": 20025, "loc": { "start": { - "line": 526, + "line": 613, "column": 50 }, "end": { - "line": 528, + "line": 615, "column": 11 } }, "body": [ { "type": "ExpressionStatement", - "start": 17775, - "end": 17818, + "start": 19969, + "end": 20012, "loc": { "start": { - "line": 527, + "line": 614, "column": 12 }, "end": { - "line": 527, + "line": 614, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 17775, - "end": 17817, + "start": 19969, + "end": 20011, "loc": { "start": { - "line": 527, + "line": 614, "column": 12 }, "end": { - "line": 527, + "line": 614, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", - "start": 17775, - "end": 17787, + "start": 19969, + "end": 19981, "loc": { "start": { - "line": 527, + "line": 614, "column": 12 }, "end": { - "line": 527, + "line": 614, "column": 24 }, "identifierName": "themeButtons" @@ -26724,57 +31487,57 @@ }, "right": { "type": "CallExpression", - "start": 17790, - "end": 17817, + "start": 19984, + "end": 20011, "loc": { "start": { - "line": 527, + "line": 614, "column": 27 }, "end": { - "line": 527, + "line": 614, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 17790, - "end": 17812, + "start": 19984, + "end": 20006, "loc": { "start": { - "line": 527, + "line": 614, "column": 27 }, "end": { - "line": 527, + "line": 614, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 17790, - "end": 17806, + "start": 19984, + "end": 20000, "loc": { "start": { - "line": 527, + "line": 614, "column": 27 }, "end": { - "line": 527, + "line": 614, "column": 43 } }, "object": { "type": "Identifier", - "start": 17790, - "end": 17798, + "start": 19984, + "end": 19992, "loc": { "start": { - "line": 527, + "line": 614, "column": 27 }, "end": { - "line": 527, + "line": 614, "column": 35 }, "identifierName": "themeObj" @@ -26783,15 +31546,15 @@ }, "property": { "type": "Identifier", - "start": 17799, - "end": 17806, + "start": 19993, + "end": 20000, "loc": { "start": { - "line": 527, + "line": 614, "column": 36 }, "end": { - "line": 527, + "line": 614, "column": 43 }, "identifierName": "buttons" @@ -26802,15 +31565,15 @@ }, "property": { "type": "Identifier", - "start": 17807, - "end": 17812, + "start": 20001, + "end": 20006, "loc": { "start": { - "line": 527, + "line": 614, "column": 44 }, "end": { - "line": 527, + "line": 614, "column": 49 }, "identifierName": "split" @@ -26822,15 +31585,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 17813, - "end": 17816, + "start": 20007, + "end": 20010, "loc": { "start": { - "line": 527, + "line": 614, "column": 50 }, "end": { - "line": 527, + "line": 614, "column": 53 } }, @@ -26851,29 +31614,29 @@ }, { "type": "IfStatement", - "start": 17845, - "end": 18506, + "start": 20039, + "end": 20700, "loc": { "start": { - "line": 530, + "line": 617, "column": 10 }, "end": { - "line": 544, + "line": 631, "column": 11 } }, "test": { "type": "Identifier", - "start": 17848, - "end": 17860, + "start": 20042, + "end": 20054, "loc": { "start": { - "line": 530, + "line": 617, "column": 13 }, "end": { - "line": 530, + "line": 617, "column": 25 }, "identifierName": "themeButtons" @@ -26882,72 +31645,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 17861, - "end": 18506, + "start": 20055, + "end": 20700, "loc": { "start": { - "line": 530, + "line": 617, "column": 26 }, "end": { - "line": 544, + "line": 631, "column": 11 } }, "body": [ { "type": "ExpressionStatement", - "start": 17876, - "end": 18493, + "start": 20070, + "end": 20687, "loc": { "start": { - "line": 531, + "line": 618, "column": 12 }, "end": { - "line": 543, + "line": 630, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 17876, - "end": 18492, + "start": 20070, + "end": 20686, "loc": { "start": { - "line": 531, + "line": 618, "column": 12 }, "end": { - "line": 543, + "line": 630, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 17876, - "end": 17896, + "start": 20070, + "end": 20090, "loc": { "start": { - "line": 531, + "line": 618, "column": 12 }, "end": { - "line": 531, + "line": 618, "column": 32 } }, "object": { "type": "Identifier", - "start": 17876, - "end": 17888, + "start": 20070, + "end": 20082, "loc": { "start": { - "line": 531, + "line": 618, "column": 12 }, "end": { - "line": 531, + "line": 618, "column": 24 }, "identifierName": "themeButtons" @@ -26956,15 +31719,15 @@ }, "property": { "type": "Identifier", - "start": 17889, - "end": 17896, + "start": 20083, + "end": 20090, "loc": { "start": { - "line": 531, + "line": 618, "column": 25 }, "end": { - "line": 531, + "line": 618, "column": 32 }, "identifierName": "forEach" @@ -26976,15 +31739,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 17897, - "end": 18491, + "start": 20091, + "end": 20685, "loc": { "start": { - "line": 531, + "line": 618, "column": 33 }, "end": { - "line": 543, + "line": 630, "column": 13 } }, @@ -26995,15 +31758,15 @@ "params": [ { "type": "Identifier", - "start": 17897, - "end": 17908, + "start": 20091, + "end": 20102, "loc": { "start": { - "line": 531, + "line": 618, "column": 33 }, "end": { - "line": 531, + "line": 618, "column": 44 }, "identifierName": "themeButton" @@ -27013,59 +31776,59 @@ ], "body": { "type": "BlockStatement", - "start": 17912, - "end": 18491, + "start": 20106, + "end": 20685, "loc": { "start": { - "line": 531, + "line": 618, "column": 48 }, "end": { - "line": 543, + "line": 630, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 17929, - "end": 17979, + "start": 20123, + "end": 20173, "loc": { "start": { - "line": 532, + "line": 619, "column": 14 }, "end": { - "line": 532, + "line": 619, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17933, - "end": 17978, + "start": 20127, + "end": 20172, "loc": { "start": { - "line": 532, + "line": 619, "column": 18 }, "end": { - "line": 532, + "line": 619, "column": 63 } }, "id": { "type": "Identifier", - "start": 17933, - "end": 17944, + "start": 20127, + "end": 20138, "loc": { "start": { - "line": 532, + "line": 619, "column": 18 }, "end": { - "line": 532, + "line": 619, "column": 29 }, "identifierName": "themeParsed" @@ -27074,29 +31837,29 @@ }, "init": { "type": "MemberExpression", - "start": 17947, - "end": 17978, + "start": 20141, + "end": 20172, "loc": { "start": { - "line": 532, + "line": 619, "column": 32 }, "end": { - "line": 532, + "line": 619, "column": 63 } }, "object": { "type": "Identifier", - "start": 17947, - "end": 17965, + "start": 20141, + "end": 20159, "loc": { "start": { - "line": 532, + "line": 619, "column": 32 }, "end": { - "line": 532, + "line": 619, "column": 50 }, "identifierName": "buttonThemesParsed" @@ -27105,15 +31868,15 @@ }, "property": { "type": "Identifier", - "start": 17966, - "end": 17977, + "start": 20160, + "end": 20171, "loc": { "start": { - "line": 532, + "line": 619, "column": 51 }, "end": { - "line": 532, + "line": 619, "column": 62 }, "identifierName": "themeButton" @@ -27129,15 +31892,15 @@ { "type": "CommentLine", "value": " If the button has already been added", - "start": 17997, - "end": 18036, + "start": 20191, + "end": 20230, "loc": { "start": { - "line": 534, + "line": 621, "column": 14 }, "end": { - "line": 534, + "line": 621, "column": 53 } } @@ -27146,29 +31909,29 @@ }, { "type": "IfStatement", - "start": 18052, - "end": 18476, + "start": 20246, + "end": 20670, "loc": { "start": { - "line": 535, + "line": 622, "column": 14 }, "end": { - "line": 542, + "line": 629, "column": 15 } }, "test": { "type": "Identifier", - "start": 18055, - "end": 18066, + "start": 20249, + "end": 20260, "loc": { "start": { - "line": 535, + "line": 622, "column": 17 }, "end": { - "line": 535, + "line": 622, "column": 28 }, "identifierName": "themeParsed" @@ -27178,44 +31941,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 18067, - "end": 18385, + "start": 20261, + "end": 20579, "loc": { "start": { - "line": 535, + "line": 622, "column": 29 }, "end": { - "line": 540, + "line": 627, "column": 15 } }, "body": [ { "type": "IfStatement", - "start": 18187, - "end": 18368, + "start": 20381, + "end": 20562, "loc": { "start": { - "line": 537, + "line": 624, "column": 16 }, "end": { - "line": 539, + "line": 626, "column": 17 } }, "test": { "type": "UnaryExpression", - "start": 18190, - "end": 18258, + "start": 20384, + "end": 20452, "loc": { "start": { - "line": 537, + "line": 624, "column": 19 }, "end": { - "line": 537, + "line": 624, "column": 87 } }, @@ -27223,57 +31986,57 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 18191, - "end": 18258, + "start": 20385, + "end": 20452, "loc": { "start": { - "line": 537, + "line": 624, "column": 20 }, "end": { - "line": 537, + "line": 624, "column": 87 } }, "callee": { "type": "MemberExpression", - "start": 18191, - "end": 18218, + "start": 20385, + "end": 20412, "loc": { "start": { - "line": 537, + "line": 624, "column": 20 }, "end": { - "line": 537, + "line": 624, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 18191, - "end": 18205, + "start": 20385, + "end": 20399, "loc": { "start": { - "line": 537, + "line": 624, "column": 20 }, "end": { - "line": 537, + "line": 624, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 18191, - "end": 18195, + "start": 20385, + "end": 20389, "loc": { "start": { - "line": 537, + "line": 624, "column": 20 }, "end": { - "line": 537, + "line": 624, "column": 24 } }, @@ -27281,15 +32044,15 @@ }, "property": { "type": "Identifier", - "start": 18196, - "end": 18205, + "start": 20390, + "end": 20399, "loc": { "start": { - "line": 537, + "line": 624, "column": 25 }, "end": { - "line": 537, + "line": 624, "column": 34 }, "identifierName": "utilities" @@ -27301,15 +32064,15 @@ }, "property": { "type": "Identifier", - "start": 18206, - "end": 18218, + "start": 20400, + "end": 20412, "loc": { "start": { - "line": 537, + "line": 624, "column": 35 }, "end": { - "line": 537, + "line": 624, "column": 47 }, "identifierName": "countInArray" @@ -27322,43 +32085,43 @@ "arguments": [ { "type": "CallExpression", - "start": 18219, - "end": 18241, + "start": 20413, + "end": 20435, "loc": { "start": { - "line": 537, + "line": 624, "column": 48 }, "end": { - "line": 537, + "line": 624, "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 18219, - "end": 18236, + "start": 20413, + "end": 20430, "loc": { "start": { - "line": 537, + "line": 624, "column": 48 }, "end": { - "line": 537, + "line": 624, "column": 65 } }, "object": { "type": "Identifier", - "start": 18219, - "end": 18230, + "start": 20413, + "end": 20424, "loc": { "start": { - "line": 537, + "line": 624, "column": 48 }, "end": { - "line": 537, + "line": 624, "column": 59 }, "identifierName": "themeParsed" @@ -27367,15 +32130,15 @@ }, "property": { "type": "Identifier", - "start": 18231, - "end": 18236, + "start": 20425, + "end": 20430, "loc": { "start": { - "line": 537, + "line": 624, "column": 60 }, "end": { - "line": 537, + "line": 624, "column": 65 }, "identifierName": "split" @@ -27387,15 +32150,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 18237, - "end": 18240, + "start": 20431, + "end": 20434, "loc": { "start": { - "line": 537, + "line": 624, "column": 66 }, "end": { - "line": 537, + "line": 624, "column": 69 } }, @@ -27409,29 +32172,29 @@ }, { "type": "MemberExpression", - "start": 18243, - "end": 18257, + "start": 20437, + "end": 20451, "loc": { "start": { - "line": 537, + "line": 624, "column": 72 }, "end": { - "line": 537, + "line": 624, "column": 86 } }, "object": { "type": "Identifier", - "start": 18243, - "end": 18251, + "start": 20437, + "end": 20445, "loc": { "start": { - "line": 537, + "line": 624, "column": 72 }, "end": { - "line": 537, + "line": 624, "column": 80 }, "identifierName": "themeObj" @@ -27440,15 +32203,15 @@ }, "property": { "type": "Identifier", - "start": 18252, - "end": 18257, + "start": 20446, + "end": 20451, "loc": { "start": { - "line": 537, + "line": 624, "column": 81 }, "end": { - "line": 537, + "line": 624, "column": 86 }, "identifierName": "class" @@ -27467,73 +32230,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 18259, - "end": 18368, + "start": 20453, + "end": 20562, "loc": { "start": { - "line": 537, + "line": 624, "column": 88 }, "end": { - "line": 539, + "line": 626, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 18280, - "end": 18349, + "start": 20474, + "end": 20543, "loc": { "start": { - "line": 538, + "line": 625, "column": 18 }, "end": { - "line": 538, + "line": 625, "column": 87 } }, "expression": { "type": "AssignmentExpression", - "start": 18280, - "end": 18348, + "start": 20474, + "end": 20542, "loc": { "start": { - "line": 538, + "line": 625, "column": 18 }, "end": { - "line": 538, + "line": 625, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 18280, - "end": 18311, + "start": 20474, + "end": 20505, "loc": { "start": { - "line": 538, + "line": 625, "column": 18 }, "end": { - "line": 538, + "line": 625, "column": 49 } }, "object": { "type": "Identifier", - "start": 18280, - "end": 18298, + "start": 20474, + "end": 20492, "loc": { "start": { - "line": 538, + "line": 625, "column": 18 }, "end": { - "line": 538, + "line": 625, "column": 36 }, "identifierName": "buttonThemesParsed" @@ -27542,15 +32305,15 @@ }, "property": { "type": "Identifier", - "start": 18299, - "end": 18310, + "start": 20493, + "end": 20504, "loc": { "start": { - "line": 538, + "line": 625, "column": 37 }, "end": { - "line": 538, + "line": 625, "column": 48 }, "identifierName": "themeButton" @@ -27561,30 +32324,30 @@ }, "right": { "type": "TemplateLiteral", - "start": 18314, - "end": 18348, + "start": 20508, + "end": 20542, "loc": { "start": { - "line": 538, + "line": 625, "column": 52 }, "end": { - "line": 538, + "line": 625, "column": 86 } }, "expressions": [ { "type": "Identifier", - "start": 18317, - "end": 18328, + "start": 20511, + "end": 20522, "loc": { "start": { - "line": 538, + "line": 625, "column": 55 }, "end": { - "line": 538, + "line": 625, "column": 66 }, "identifierName": "themeParsed" @@ -27593,29 +32356,29 @@ }, { "type": "MemberExpression", - "start": 18332, - "end": 18346, + "start": 20526, + "end": 20540, "loc": { "start": { - "line": 538, + "line": 625, "column": 70 }, "end": { - "line": 538, + "line": 625, "column": 84 } }, "object": { "type": "Identifier", - "start": 18332, - "end": 18340, + "start": 20526, + "end": 20534, "loc": { "start": { - "line": 538, + "line": 625, "column": 70 }, "end": { - "line": 538, + "line": 625, "column": 78 }, "identifierName": "themeObj" @@ -27624,15 +32387,15 @@ }, "property": { "type": "Identifier", - "start": 18341, - "end": 18346, + "start": 20535, + "end": 20540, "loc": { "start": { - "line": 538, + "line": 625, "column": 79 }, "end": { - "line": 538, + "line": 625, "column": 84 }, "identifierName": "class" @@ -27645,15 +32408,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 18315, - "end": 18315, + "start": 20509, + "end": 20509, "loc": { "start": { - "line": 538, + "line": 625, "column": 53 }, "end": { - "line": 538, + "line": 625, "column": 53 } }, @@ -27665,15 +32428,15 @@ }, { "type": "TemplateElement", - "start": 18329, - "end": 18330, + "start": 20523, + "end": 20524, "loc": { "start": { - "line": 538, + "line": 625, "column": 67 }, "end": { - "line": 538, + "line": 625, "column": 68 } }, @@ -27685,15 +32448,15 @@ }, { "type": "TemplateElement", - "start": 18347, - "end": 18347, + "start": 20541, + "end": 20541, "loc": { "start": { - "line": 538, + "line": 625, "column": 85 }, "end": { - "line": 538, + "line": 625, "column": 85 } }, @@ -27715,15 +32478,15 @@ { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", - "start": 18086, - "end": 18169, + "start": 20280, + "end": 20363, "loc": { "start": { - "line": 536, + "line": 623, "column": 16 }, "end": { - "line": 536, + "line": 623, "column": 99 } } @@ -27735,73 +32498,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 18391, - "end": 18476, + "start": 20585, + "end": 20670, "loc": { "start": { - "line": 540, + "line": 627, "column": 21 }, "end": { - "line": 542, + "line": 629, "column": 15 } }, "body": [ { "type": "ExpressionStatement", - "start": 18410, - "end": 18459, + "start": 20604, + "end": 20653, "loc": { "start": { - "line": 541, + "line": 628, "column": 16 }, "end": { - "line": 541, + "line": 628, "column": 65 } }, "expression": { "type": "AssignmentExpression", - "start": 18410, - "end": 18458, + "start": 20604, + "end": 20652, "loc": { "start": { - "line": 541, + "line": 628, "column": 16 }, "end": { - "line": 541, + "line": 628, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 18410, - "end": 18441, + "start": 20604, + "end": 20635, "loc": { "start": { - "line": 541, + "line": 628, "column": 16 }, "end": { - "line": 541, + "line": 628, "column": 47 } }, "object": { "type": "Identifier", - "start": 18410, - "end": 18428, + "start": 20604, + "end": 20622, "loc": { "start": { - "line": 541, + "line": 628, "column": 16 }, "end": { - "line": 541, + "line": 628, "column": 34 }, "identifierName": "buttonThemesParsed" @@ -27810,15 +32573,15 @@ }, "property": { "type": "Identifier", - "start": 18429, - "end": 18440, + "start": 20623, + "end": 20634, "loc": { "start": { - "line": 541, + "line": 628, "column": 35 }, "end": { - "line": 541, + "line": 628, "column": 46 }, "identifierName": "themeButton" @@ -27829,29 +32592,29 @@ }, "right": { "type": "MemberExpression", - "start": 18444, - "end": 18458, + "start": 20638, + "end": 20652, "loc": { "start": { - "line": 541, + "line": 628, "column": 50 }, "end": { - "line": 541, + "line": 628, "column": 64 } }, "object": { "type": "Identifier", - "start": 18444, - "end": 18452, + "start": 20638, + "end": 20646, "loc": { "start": { - "line": 541, + "line": 628, "column": 50 }, "end": { - "line": 541, + "line": 628, "column": 58 }, "identifierName": "themeObj" @@ -27860,15 +32623,15 @@ }, "property": { "type": "Identifier", - "start": 18453, - "end": 18458, + "start": 20647, + "end": 20652, "loc": { "start": { - "line": 541, + "line": 628, "column": 59 }, "end": { - "line": 541, + "line": 628, "column": 64 }, "identifierName": "class" @@ -27886,15 +32649,15 @@ { "type": "CommentLine", "value": " If the button has already been added", - "start": 17997, - "end": 18036, + "start": 20191, + "end": 20230, "loc": { "start": { - "line": 534, + "line": 621, "column": 14 }, "end": { - "line": 534, + "line": 621, "column": 53 } } @@ -27918,72 +32681,72 @@ }, "alternate": { "type": "BlockStatement", - "start": 18523, - "end": 18651, + "start": 20717, + "end": 20845, "loc": { "start": { - "line": 545, + "line": 632, "column": 15 }, "end": { - "line": 547, + "line": 634, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 18536, - "end": 18640, + "start": 20730, + "end": 20834, "loc": { "start": { - "line": 546, + "line": 633, "column": 10 }, "end": { - "line": 546, + "line": 633, "column": 114 } }, "expression": { "type": "CallExpression", - "start": 18536, - "end": 18640, + "start": 20730, + "end": 20834, "loc": { "start": { - "line": 546, + "line": 633, "column": 10 }, "end": { - "line": 546, + "line": 633, "column": 114 } }, "callee": { "type": "MemberExpression", - "start": 18536, - "end": 18548, + "start": 20730, + "end": 20742, "loc": { "start": { - "line": 546, + "line": 633, "column": 10 }, "end": { - "line": 546, + "line": 633, "column": 22 } }, "object": { "type": "Identifier", - "start": 18536, - "end": 18543, + "start": 20730, + "end": 20737, "loc": { "start": { - "line": 546, + "line": 633, "column": 10 }, "end": { - "line": 546, + "line": 633, "column": 17 }, "identifierName": "console" @@ -27992,15 +32755,15 @@ }, "property": { "type": "Identifier", - "start": 18544, - "end": 18548, + "start": 20738, + "end": 20742, "loc": { "start": { - "line": 546, + "line": 633, "column": 18 }, "end": { - "line": 546, + "line": 633, "column": 22 }, "identifierName": "warn" @@ -28012,15 +32775,15 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 18549, - "end": 18639, + "start": 20743, + "end": 20833, "loc": { "start": { - "line": 546, + "line": 633, "column": 23 }, "end": { - "line": 546, + "line": 633, "column": 113 } }, @@ -28028,15 +32791,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 18550, - "end": 18638, + "start": 20744, + "end": 20832, "loc": { "start": { - "line": 546, + "line": 633, "column": 24 }, "end": { - "line": 546, + "line": 633, "column": 112 } }, @@ -28071,15 +32834,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", - "start": 18677, - "end": 18743, + "start": 20871, + "end": 20937, "loc": { "start": { - "line": 551, + "line": 638, "column": 4 }, "end": { - "line": 553, + "line": 640, "column": 7 } } @@ -28088,72 +32851,72 @@ }, { "type": "ExpressionStatement", - "start": 18749, - "end": 18819, + "start": 20943, + "end": 21013, "loc": { "start": { - "line": 554, + "line": 641, "column": 4 }, "end": { - "line": 554, + "line": 641, "column": 74 } }, "expression": { "type": "AssignmentExpression", - "start": 18749, - "end": 18818, + "start": 20943, + "end": 21012, "loc": { "start": { - "line": 554, + "line": 641, "column": 4 }, "end": { - "line": 554, + "line": 641, "column": 73 } }, "operator": "+=", "left": { "type": "MemberExpression", - "start": 18749, - "end": 18775, + "start": 20943, + "end": 20969, "loc": { "start": { - "line": 554, + "line": 641, "column": 4 }, "end": { - "line": 554, + "line": 641, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 18749, - "end": 18765, + "start": 20943, + "end": 20959, "loc": { "start": { - "line": 554, + "line": 641, "column": 4 }, "end": { - "line": 554, + "line": 641, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 18749, - "end": 18753, + "start": 20943, + "end": 20947, "loc": { "start": { - "line": 554, + "line": 641, "column": 4 }, "end": { - "line": 554, + "line": 641, "column": 8 } }, @@ -28161,15 +32924,15 @@ }, "property": { "type": "Identifier", - "start": 18754, - "end": 18765, + "start": 20948, + "end": 20959, "loc": { "start": { - "line": 554, + "line": 641, "column": 9 }, "end": { - "line": 554, + "line": 641, "column": 20 }, "identifierName": "keyboardDOM" @@ -28181,15 +32944,15 @@ }, "property": { "type": "Identifier", - "start": 18766, - "end": 18775, + "start": 20960, + "end": 20969, "loc": { "start": { - "line": 554, + "line": 641, "column": 21 }, "end": { - "line": 554, + "line": 641, "column": 30 }, "identifierName": "className" @@ -28201,73 +32964,73 @@ }, "right": { "type": "TemplateLiteral", - "start": 18779, - "end": 18818, + "start": 20973, + "end": 21012, "loc": { "start": { - "line": 554, + "line": 641, "column": 34 }, "end": { - "line": 554, + "line": 641, "column": 73 } }, "expressions": [ { "type": "MemberExpression", - "start": 18783, - "end": 18801, + "start": 20977, + "end": 20995, "loc": { "start": { - "line": 554, + "line": 641, "column": 38 }, "end": { - "line": 554, + "line": 641, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 18783, - "end": 18795, + "start": 20977, + "end": 20989, "loc": { "start": { - "line": 554, + "line": 641, "column": 38 }, "end": { - "line": 554, + "line": 641, "column": 50 } }, "object": { "type": "ThisExpression", - "start": 18783, - "end": 18787, + "start": 20977, + "end": 20981, "loc": { "start": { - "line": 554, + "line": 641, "column": 38 }, "end": { - "line": 554, + "line": 641, "column": 42 } } }, "property": { "type": "Identifier", - "start": 18788, - "end": 18795, + "start": 20982, + "end": 20989, "loc": { "start": { - "line": 554, + "line": 641, "column": 43 }, "end": { - "line": 554, + "line": 641, "column": 50 }, "identifierName": "options" @@ -28278,15 +33041,15 @@ }, "property": { "type": "Identifier", - "start": 18796, - "end": 18801, + "start": 20990, + "end": 20995, "loc": { "start": { - "line": 554, + "line": 641, "column": 51 }, "end": { - "line": 554, + "line": 641, "column": 56 }, "identifierName": "theme" @@ -28297,15 +33060,15 @@ }, { "type": "Identifier", - "start": 18805, - "end": 18816, + "start": 20999, + "end": 21010, "loc": { "start": { - "line": 554, + "line": 641, "column": 60 }, "end": { - "line": 554, + "line": 641, "column": 71 }, "identifierName": "layoutClass" @@ -28316,15 +33079,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 18780, - "end": 18781, + "start": 20974, + "end": 20975, "loc": { "start": { - "line": 554, + "line": 641, "column": 35 }, "end": { - "line": 554, + "line": 641, "column": 36 } }, @@ -28336,15 +33099,15 @@ }, { "type": "TemplateElement", - "start": 18802, - "end": 18803, + "start": 20996, + "end": 20997, "loc": { "start": { - "line": 554, + "line": 641, "column": 57 }, "end": { - "line": 554, + "line": 641, "column": 58 } }, @@ -28356,15 +33119,15 @@ }, { "type": "TemplateElement", - "start": 18817, - "end": 18817, + "start": 21011, + "end": 21011, "loc": { "start": { - "line": 554, + "line": 641, "column": 72 }, "end": { - "line": 554, + "line": 641, "column": 72 } }, @@ -28382,15 +33145,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", - "start": 18677, - "end": 18743, + "start": 20871, + "end": 20937, "loc": { "start": { - "line": 551, + "line": 638, "column": 4 }, "end": { - "line": 553, + "line": 640, "column": 7 } } @@ -28400,15 +33163,15 @@ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", - "start": 18827, - "end": 18874, + "start": 21021, + "end": 21068, "loc": { "start": { - "line": 556, + "line": 643, "column": 4 }, "end": { - "line": 558, + "line": 645, "column": 7 } } @@ -28417,71 +33180,71 @@ }, { "type": "ExpressionStatement", - "start": 18880, - "end": 20997, + "start": 21074, + "end": 23270, "loc": { "start": { - "line": 559, + "line": 646, "column": 4 }, "end": { - "line": 626, + "line": 714, "column": 7 } }, "expression": { "type": "CallExpression", - "start": 18880, - "end": 20996, + "start": 21074, + "end": 23269, "loc": { "start": { - "line": 559, + "line": 646, "column": 4 }, "end": { - "line": 626, + "line": 714, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 18880, - "end": 18919, + "start": 21074, + "end": 21113, "loc": { "start": { - "line": 559, + "line": 646, "column": 4 }, "end": { - "line": 559, + "line": 646, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 18880, - "end": 18911, + "start": 21074, + "end": 21105, "loc": { "start": { - "line": 559, + "line": 646, "column": 4 }, "end": { - "line": 559, + "line": 646, "column": 35 } }, "object": { "type": "Identifier", - "start": 18880, - "end": 18886, + "start": 21074, + "end": 21080, "loc": { "start": { - "line": 559, + "line": 646, "column": 4 }, "end": { - "line": 559, + "line": 646, "column": 10 }, "identifierName": "layout" @@ -28491,58 +33254,58 @@ }, "property": { "type": "MemberExpression", - "start": 18887, - "end": 18910, + "start": 21081, + "end": 21104, "loc": { "start": { - "line": 559, + "line": 646, "column": 11 }, "end": { - "line": 559, + "line": 646, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 18887, - "end": 18899, + "start": 21081, + "end": 21093, "loc": { "start": { - "line": 559, + "line": 646, "column": 11 }, "end": { - "line": 559, + "line": 646, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18887, - "end": 18891, + "start": 21081, + "end": 21085, "loc": { "start": { - "line": 559, + "line": 646, "column": 11 }, "end": { - "line": 559, + "line": 646, "column": 15 } } }, "property": { "type": "Identifier", - "start": 18892, - "end": 18899, + "start": 21086, + "end": 21093, "loc": { "start": { - "line": 559, + "line": 646, "column": 16 }, "end": { - "line": 559, + "line": 646, "column": 23 }, "identifierName": "options" @@ -28553,15 +33316,15 @@ }, "property": { "type": "Identifier", - "start": 18900, - "end": 18910, + "start": 21094, + "end": 21104, "loc": { "start": { - "line": 559, + "line": 646, "column": 24 }, "end": { - "line": 559, + "line": 646, "column": 34 }, "identifierName": "layoutName" @@ -28575,15 +33338,15 @@ }, "property": { "type": "Identifier", - "start": 18912, - "end": 18919, + "start": 21106, + "end": 21113, "loc": { "start": { - "line": 559, + "line": 646, "column": 36 }, "end": { - "line": 559, + "line": 646, "column": 43 }, "identifierName": "forEach" @@ -28596,15 +33359,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 18920, - "end": 20995, + "start": 21114, + "end": 23268, "loc": { "start": { - "line": 559, + "line": 646, "column": 44 }, "end": { - "line": 626, + "line": 714, "column": 5 } }, @@ -28615,15 +33378,15 @@ "params": [ { "type": "Identifier", - "start": 18921, - "end": 18924, + "start": 21115, + "end": 21118, "loc": { "start": { - "line": 559, + "line": 646, "column": 45 }, "end": { - "line": 559, + "line": 646, "column": 48 }, "identifierName": "row" @@ -28632,15 +33395,15 @@ }, { "type": "Identifier", - "start": 18926, - "end": 18932, + "start": 21120, + "end": 21126, "loc": { "start": { - "line": 559, + "line": 646, "column": 50 }, "end": { - "line": 559, + "line": 646, "column": 56 }, "identifierName": "rIndex" @@ -28650,59 +33413,59 @@ ], "body": { "type": "BlockStatement", - "start": 18937, - "end": 20995, + "start": 21131, + "end": 23268, "loc": { "start": { - "line": 559, + "line": 646, "column": 61 }, "end": { - "line": 626, + "line": 714, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 18946, - "end": 18976, + "start": 21140, + "end": 21170, "loc": { "start": { - "line": 560, + "line": 647, "column": 6 }, "end": { - "line": 560, + "line": 647, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 18950, - "end": 18975, + "start": 21144, + "end": 21169, "loc": { "start": { - "line": 560, + "line": 647, "column": 10 }, "end": { - "line": 560, + "line": 647, "column": 35 } }, "id": { "type": "Identifier", - "start": 18950, - "end": 18958, + "start": 21144, + "end": 21152, "loc": { "start": { - "line": 560, + "line": 647, "column": 10 }, "end": { - "line": 560, + "line": 647, "column": 18 }, "identifierName": "rowArray" @@ -28711,43 +33474,43 @@ }, "init": { "type": "CallExpression", - "start": 18961, - "end": 18975, + "start": 21155, + "end": 21169, "loc": { "start": { - "line": 560, + "line": 647, "column": 21 }, "end": { - "line": 560, + "line": 647, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 18961, - "end": 18970, + "start": 21155, + "end": 21164, "loc": { "start": { - "line": 560, + "line": 647, "column": 21 }, "end": { - "line": 560, + "line": 647, "column": 30 } }, "object": { "type": "Identifier", - "start": 18961, - "end": 18964, + "start": 21155, + "end": 21158, "loc": { "start": { - "line": 560, + "line": 647, "column": 21 }, "end": { - "line": 560, + "line": 647, "column": 24 }, "identifierName": "row" @@ -28756,15 +33519,15 @@ }, "property": { "type": "Identifier", - "start": 18965, - "end": 18970, + "start": 21159, + "end": 21164, "loc": { "start": { - "line": 560, + "line": 647, "column": 25 }, "end": { - "line": 560, + "line": 647, "column": 30 }, "identifierName": "split" @@ -28776,15 +33539,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 18971, - "end": 18974, + "start": 21165, + "end": 21168, "loc": { "start": { - "line": 560, + "line": 647, "column": 31 }, "end": { - "line": 560, + "line": 647, "column": 34 } }, @@ -28803,15 +33566,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", - "start": 18986, - "end": 19029, + "start": 21180, + "end": 21223, "loc": { "start": { - "line": 562, + "line": 649, "column": 6 }, "end": { - "line": 564, + "line": 651, "column": 9 } } @@ -28820,44 +33583,44 @@ }, { "type": "VariableDeclaration", - "start": 19037, - "end": 19080, + "start": 21231, + "end": 21274, "loc": { "start": { - "line": 565, + "line": 652, "column": 6 }, "end": { - "line": 565, + "line": 652, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 19041, - "end": 19079, + "start": 21235, + "end": 21273, "loc": { "start": { - "line": 565, + "line": 652, "column": 10 }, "end": { - "line": 565, + "line": 652, "column": 48 } }, "id": { "type": "Identifier", - "start": 19041, - "end": 19047, + "start": 21235, + "end": 21241, "loc": { "start": { - "line": 565, + "line": 652, "column": 10 }, "end": { - "line": 565, + "line": 652, "column": 16 }, "identifierName": "rowDOM" @@ -28867,43 +33630,43 @@ }, "init": { "type": "CallExpression", - "start": 19050, - "end": 19079, + "start": 21244, + "end": 21273, "loc": { "start": { - "line": 565, + "line": 652, "column": 19 }, "end": { - "line": 565, + "line": 652, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 19050, - "end": 19072, + "start": 21244, + "end": 21266, "loc": { "start": { - "line": 565, + "line": 652, "column": 19 }, "end": { - "line": 565, + "line": 652, "column": 41 } }, "object": { "type": "Identifier", - "start": 19050, - "end": 19058, + "start": 21244, + "end": 21252, "loc": { "start": { - "line": 565, + "line": 652, "column": 19 }, "end": { - "line": 565, + "line": 652, "column": 27 }, "identifierName": "document" @@ -28912,15 +33675,15 @@ }, "property": { "type": "Identifier", - "start": 19059, - "end": 19072, + "start": 21253, + "end": 21266, "loc": { "start": { - "line": 565, + "line": 652, "column": 28 }, "end": { - "line": 565, + "line": 652, "column": 41 }, "identifierName": "createElement" @@ -28932,15 +33695,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 19073, - "end": 19078, + "start": 21267, + "end": 21272, "loc": { "start": { - "line": 565, + "line": 652, "column": 42 }, "end": { - "line": 565, + "line": 652, "column": 47 } }, @@ -28960,15 +33723,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", - "start": 18986, - "end": 19029, + "start": 21180, + "end": 21223, "loc": { "start": { - "line": 562, + "line": 649, "column": 6 }, "end": { - "line": 564, + "line": 651, "column": 9 } } @@ -28977,58 +33740,58 @@ }, { "type": "ExpressionStatement", - "start": 19088, - "end": 19117, + "start": 21282, + "end": 21311, "loc": { "start": { - "line": 566, + "line": 653, "column": 6 }, "end": { - "line": 566, + "line": 653, "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 19088, - "end": 19116, + "start": 21282, + "end": 21310, "loc": { "start": { - "line": 566, + "line": 653, "column": 6 }, "end": { - "line": 566, + "line": 653, "column": 34 } }, "operator": "+=", "left": { "type": "MemberExpression", - "start": 19088, - "end": 19104, + "start": 21282, + "end": 21298, "loc": { "start": { - "line": 566, + "line": 653, "column": 6 }, "end": { - "line": 566, + "line": 653, "column": 22 } }, "object": { "type": "Identifier", - "start": 19088, - "end": 19094, + "start": 21282, + "end": 21288, "loc": { "start": { - "line": 566, + "line": 653, "column": 6 }, "end": { - "line": 566, + "line": 653, "column": 12 }, "identifierName": "rowDOM" @@ -29037,15 +33800,15 @@ }, "property": { "type": "Identifier", - "start": 19095, - "end": 19104, + "start": 21289, + "end": 21298, "loc": { "start": { - "line": 566, + "line": 653, "column": 13 }, "end": { - "line": 566, + "line": 653, "column": 22 }, "identifierName": "className" @@ -29056,15 +33819,15 @@ }, "right": { "type": "StringLiteral", - "start": 19108, - "end": 19116, + "start": 21302, + "end": 21310, "loc": { "start": { - "line": 566, + "line": 653, "column": 26 }, "end": { - "line": 566, + "line": 653, "column": 34 } }, @@ -29079,15 +33842,15 @@ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", - "start": 19127, - "end": 19188, + "start": 21321, + "end": 21382, "loc": { "start": { - "line": 568, + "line": 655, "column": 6 }, "end": { - "line": 570, + "line": 657, "column": 9 } } @@ -29096,57 +33859,57 @@ }, { "type": "ExpressionStatement", - "start": 19196, - "end": 20883, + "start": 21390, + "end": 23156, "loc": { "start": { - "line": 571, + "line": 658, "column": 6 }, "end": { - "line": 620, + "line": 708, "column": 9 } }, "expression": { "type": "CallExpression", - "start": 19196, - "end": 20882, + "start": 21390, + "end": 23155, "loc": { "start": { - "line": 571, + "line": 658, "column": 6 }, "end": { - "line": 620, + "line": 708, "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 19196, - "end": 19212, + "start": 21390, + "end": 21406, "loc": { "start": { - "line": 571, + "line": 658, "column": 6 }, "end": { - "line": 571, + "line": 658, "column": 22 } }, "object": { "type": "Identifier", - "start": 19196, - "end": 19204, + "start": 21390, + "end": 21398, "loc": { "start": { - "line": 571, + "line": 658, "column": 6 }, "end": { - "line": 571, + "line": 658, "column": 14 }, "identifierName": "rowArray" @@ -29156,15 +33919,15 @@ }, "property": { "type": "Identifier", - "start": 19205, - "end": 19212, + "start": 21399, + "end": 21406, "loc": { "start": { - "line": 571, + "line": 658, "column": 15 }, "end": { - "line": 571, + "line": 658, "column": 22 }, "identifierName": "forEach" @@ -29177,15 +33940,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 19213, - "end": 20881, + "start": 21407, + "end": 23154, "loc": { "start": { - "line": 571, + "line": 658, "column": 23 }, "end": { - "line": 620, + "line": 708, "column": 7 } }, @@ -29196,15 +33959,15 @@ "params": [ { "type": "Identifier", - "start": 19214, - "end": 19220, + "start": 21408, + "end": 21414, "loc": { "start": { - "line": 571, + "line": 658, "column": 24 }, "end": { - "line": 571, + "line": 658, "column": 30 }, "identifierName": "button" @@ -29213,15 +33976,15 @@ }, { "type": "Identifier", - "start": 19222, - "end": 19228, + "start": 21416, + "end": 21422, "loc": { "start": { - "line": 571, + "line": 658, "column": 32 }, "end": { - "line": 571, + "line": 658, "column": 38 }, "identifierName": "bIndex" @@ -29231,59 +33994,59 @@ ], "body": { "type": "BlockStatement", - "start": 19233, - "end": 20881, + "start": 21427, + "end": 23154, "loc": { "start": { - "line": 571, + "line": 658, "column": 43 }, "end": { - "line": 620, + "line": 708, "column": 7 } }, "body": [ { "type": "VariableDeclaration", - "start": 19244, - "end": 19300, + "start": 21438, + "end": 21494, "loc": { "start": { - "line": 572, + "line": 659, "column": 8 }, "end": { - "line": 572, + "line": 659, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 19248, - "end": 19299, + "start": 21442, + "end": 21493, "loc": { "start": { - "line": 572, + "line": 659, "column": 12 }, "end": { - "line": 572, + "line": 659, "column": 63 } }, "id": { "type": "Identifier", - "start": 19248, - "end": 19259, + "start": 21442, + "end": 21453, "loc": { "start": { - "line": 572, + "line": 659, "column": 12 }, "end": { - "line": 572, + "line": 659, "column": 23 }, "identifierName": "fctBtnClass" @@ -29292,72 +34055,72 @@ }, "init": { "type": "CallExpression", - "start": 19262, - "end": 19299, + "start": 21456, + "end": 21493, "loc": { "start": { - "line": 572, + "line": 659, "column": 26 }, "end": { - "line": 572, + "line": 659, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 19262, - "end": 19291, + "start": 21456, + "end": 21485, "loc": { "start": { - "line": 572, + "line": 659, "column": 26 }, "end": { - "line": 572, + "line": 659, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 19262, - "end": 19276, + "start": 21456, + "end": 21470, "loc": { "start": { - "line": 572, + "line": 659, "column": 26 }, "end": { - "line": 572, + "line": 659, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 19262, - "end": 19266, + "start": 21456, + "end": 21460, "loc": { "start": { - "line": 572, + "line": 659, "column": 26 }, "end": { - "line": 572, + "line": 659, "column": 30 } } }, "property": { "type": "Identifier", - "start": 19267, - "end": 19276, + "start": 21461, + "end": 21470, "loc": { "start": { - "line": 572, + "line": 659, "column": 31 }, "end": { - "line": 572, + "line": 659, "column": 40 }, "identifierName": "utilities" @@ -29368,15 +34131,15 @@ }, "property": { "type": "Identifier", - "start": 19277, - "end": 19291, + "start": 21471, + "end": 21485, "loc": { "start": { - "line": 572, + "line": 659, "column": 41 }, "end": { - "line": 572, + "line": 659, "column": 55 }, "identifierName": "getButtonClass" @@ -29388,15 +34151,15 @@ "arguments": [ { "type": "Identifier", - "start": 19292, - "end": 19298, + "start": 21486, + "end": 21492, "loc": { "start": { - "line": 572, + "line": 659, "column": 56 }, "end": { - "line": 572, + "line": 659, "column": 62 }, "identifierName": "button" @@ -29411,44 +34174,44 @@ }, { "type": "VariableDeclaration", - "start": 19310, - "end": 19360, + "start": 21504, + "end": 21554, "loc": { "start": { - "line": 573, + "line": 660, "column": 8 }, "end": { - "line": 573, + "line": 660, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 19314, - "end": 19359, + "start": 21508, + "end": 21553, "loc": { "start": { - "line": 573, + "line": 660, "column": 12 }, "end": { - "line": 573, + "line": 660, "column": 57 } }, "id": { "type": "Identifier", - "start": 19314, - "end": 19330, + "start": 21508, + "end": 21524, "loc": { "start": { - "line": 573, + "line": 660, "column": 12 }, "end": { - "line": 573, + "line": 660, "column": 28 }, "identifierName": "buttonThemeClass" @@ -29457,29 +34220,29 @@ }, "init": { "type": "MemberExpression", - "start": 19333, - "end": 19359, + "start": 21527, + "end": 21553, "loc": { "start": { - "line": 573, + "line": 660, "column": 31 }, "end": { - "line": 573, + "line": 660, "column": 57 } }, "object": { "type": "Identifier", - "start": 19333, - "end": 19351, + "start": 21527, + "end": 21545, "loc": { "start": { - "line": 573, + "line": 660, "column": 31 }, "end": { - "line": 573, + "line": 660, "column": 49 }, "identifierName": "buttonThemesParsed" @@ -29488,15 +34251,15 @@ }, "property": { "type": "Identifier", - "start": 19352, - "end": 19358, + "start": 21546, + "end": 21552, "loc": { "start": { - "line": 573, + "line": 660, "column": 50 }, "end": { - "line": 573, + "line": 660, "column": 56 }, "identifierName": "button" @@ -29511,44 +34274,44 @@ }, { "type": "VariableDeclaration", - "start": 19370, - "end": 19487, + "start": 21564, + "end": 21681, "loc": { "start": { - "line": 574, + "line": 661, "column": 8 }, "end": { - "line": 574, + "line": 661, "column": 125 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 19374, - "end": 19486, + "start": 21568, + "end": 21680, "loc": { "start": { - "line": 574, + "line": 661, "column": 12 }, "end": { - "line": 574, + "line": 661, "column": 124 } }, "id": { "type": "Identifier", - "start": 19374, - "end": 19391, + "start": 21568, + "end": 21585, "loc": { "start": { - "line": 574, + "line": 661, "column": 12 }, "end": { - "line": 574, + "line": 661, "column": 29 }, "identifierName": "buttonDisplayName" @@ -29557,72 +34320,72 @@ }, "init": { "type": "CallExpression", - "start": 19394, - "end": 19486, + "start": 21588, + "end": 21680, "loc": { "start": { - "line": 574, + "line": 661, "column": 32 }, "end": { - "line": 574, + "line": 661, "column": 124 } }, "callee": { "type": "MemberExpression", - "start": 19394, - "end": 19429, + "start": 21588, + "end": 21623, "loc": { "start": { - "line": 574, + "line": 661, "column": 32 }, "end": { - "line": 574, + "line": 661, "column": 67 } }, "object": { "type": "MemberExpression", - "start": 19394, - "end": 19408, + "start": 21588, + "end": 21602, "loc": { "start": { - "line": 574, + "line": 661, "column": 32 }, "end": { - "line": 574, + "line": 661, "column": 46 } }, "object": { "type": "ThisExpression", - "start": 19394, - "end": 19398, + "start": 21588, + "end": 21592, "loc": { "start": { - "line": 574, + "line": 661, "column": 32 }, "end": { - "line": 574, + "line": 661, "column": 36 } } }, "property": { "type": "Identifier", - "start": 19399, - "end": 19408, + "start": 21593, + "end": 21602, "loc": { "start": { - "line": 574, + "line": 661, "column": 37 }, "end": { - "line": 574, + "line": 661, "column": 46 }, "identifierName": "utilities" @@ -29633,15 +34396,15 @@ }, "property": { "type": "Identifier", - "start": 19409, - "end": 19429, + "start": 21603, + "end": 21623, "loc": { "start": { - "line": 574, + "line": 661, "column": 47 }, "end": { - "line": 574, + "line": 661, "column": 67 }, "identifierName": "getButtonDisplayName" @@ -29653,15 +34416,15 @@ "arguments": [ { "type": "Identifier", - "start": 19430, - "end": 19436, + "start": 21624, + "end": 21630, "loc": { "start": { - "line": 574, + "line": 661, "column": 68 }, "end": { - "line": 574, + "line": 661, "column": 74 }, "identifierName": "button" @@ -29670,58 +34433,58 @@ }, { "type": "MemberExpression", - "start": 19438, - "end": 19458, + "start": 21632, + "end": 21652, "loc": { "start": { - "line": 574, + "line": 661, "column": 76 }, "end": { - "line": 574, + "line": 661, "column": 96 } }, "object": { "type": "MemberExpression", - "start": 19438, - "end": 19450, + "start": 21632, + "end": 21644, "loc": { "start": { - "line": 574, + "line": 661, "column": 76 }, "end": { - "line": 574, + "line": 661, "column": 88 } }, "object": { "type": "ThisExpression", - "start": 19438, - "end": 19442, + "start": 21632, + "end": 21636, "loc": { "start": { - "line": 574, + "line": 661, "column": 76 }, "end": { - "line": 574, + "line": 661, "column": 80 } } }, "property": { "type": "Identifier", - "start": 19443, - "end": 19450, + "start": 21637, + "end": 21644, "loc": { "start": { - "line": 574, + "line": 661, "column": 81 }, "end": { - "line": 574, + "line": 661, "column": 88 }, "identifierName": "options" @@ -29732,15 +34495,15 @@ }, "property": { "type": "Identifier", - "start": 19451, - "end": 19458, + "start": 21645, + "end": 21652, "loc": { "start": { - "line": 574, + "line": 661, "column": 89 }, "end": { - "line": 574, + "line": 661, "column": 96 }, "identifierName": "display" @@ -29751,58 +34514,58 @@ }, { "type": "MemberExpression", - "start": 19460, - "end": 19485, + "start": 21654, + "end": 21679, "loc": { "start": { - "line": 574, + "line": 661, "column": 98 }, "end": { - "line": 574, + "line": 661, "column": 123 } }, "object": { "type": "MemberExpression", - "start": 19460, - "end": 19472, + "start": 21654, + "end": 21666, "loc": { "start": { - "line": 574, + "line": 661, "column": 98 }, "end": { - "line": 574, + "line": 661, "column": 110 } }, "object": { "type": "ThisExpression", - "start": 19460, - "end": 19464, + "start": 21654, + "end": 21658, "loc": { "start": { - "line": 574, + "line": 661, "column": 98 }, "end": { - "line": 574, + "line": 661, "column": 102 } } }, "property": { "type": "Identifier", - "start": 19465, - "end": 19472, + "start": 21659, + "end": 21666, "loc": { "start": { - "line": 574, + "line": 661, "column": 103 }, "end": { - "line": 574, + "line": 661, "column": 110 }, "identifierName": "options" @@ -29813,15 +34576,15 @@ }, "property": { "type": "Identifier", - "start": 19473, - "end": 19485, + "start": 21667, + "end": 21679, "loc": { "start": { - "line": 574, + "line": 661, "column": 111 }, "end": { - "line": 574, + "line": 661, "column": 123 }, "identifierName": "mergeDisplay" @@ -29839,15 +34602,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", - "start": 19499, - "end": 19543, + "start": 21693, + "end": 21737, "loc": { "start": { - "line": 576, + "line": 663, "column": 8 }, "end": { - "line": 578, + "line": 665, "column": 11 } } @@ -29856,44 +34619,44 @@ }, { "type": "VariableDeclaration", - "start": 19553, - "end": 19599, + "start": 21747, + "end": 21793, "loc": { "start": { - "line": 579, + "line": 666, "column": 8 }, "end": { - "line": 579, + "line": 666, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 19557, - "end": 19598, + "start": 21751, + "end": 21792, "loc": { "start": { - "line": 579, + "line": 666, "column": 12 }, "end": { - "line": 579, + "line": 666, "column": 53 } }, "id": { "type": "Identifier", - "start": 19557, - "end": 19566, + "start": 21751, + "end": 21760, "loc": { "start": { - "line": 579, + "line": 666, "column": 12 }, "end": { - "line": 579, + "line": 666, "column": 21 }, "identifierName": "buttonDOM" @@ -29903,43 +34666,43 @@ }, "init": { "type": "CallExpression", - "start": 19569, - "end": 19598, + "start": 21763, + "end": 21792, "loc": { "start": { - "line": 579, + "line": 666, "column": 24 }, "end": { - "line": 579, + "line": 666, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 19569, - "end": 19591, + "start": 21763, + "end": 21785, "loc": { "start": { - "line": 579, + "line": 666, "column": 24 }, "end": { - "line": 579, + "line": 666, "column": 46 } }, "object": { "type": "Identifier", - "start": 19569, - "end": 19577, + "start": 21763, + "end": 21771, "loc": { "start": { - "line": 579, + "line": 666, "column": 24 }, "end": { - "line": 579, + "line": 666, "column": 32 }, "identifierName": "document" @@ -29948,15 +34711,15 @@ }, "property": { "type": "Identifier", - "start": 19578, - "end": 19591, + "start": 21772, + "end": 21785, "loc": { "start": { - "line": 579, + "line": 666, "column": 33 }, "end": { - "line": 579, + "line": 666, "column": 46 }, "identifierName": "createElement" @@ -29968,15 +34731,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 19592, - "end": 19597, + "start": 21786, + "end": 21791, "loc": { "start": { - "line": 579, + "line": 666, "column": 47 }, "end": { - "line": 579, + "line": 666, "column": 52 } }, @@ -29996,15 +34759,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", - "start": 19499, - "end": 19543, + "start": 21693, + "end": 21737, "loc": { "start": { - "line": 576, + "line": 663, "column": 8 }, "end": { - "line": 578, + "line": 665, "column": 11 } } @@ -30013,58 +34776,58 @@ }, { "type": "ExpressionStatement", - "start": 19609, - "end": 19706, + "start": 21803, + "end": 21900, "loc": { "start": { - "line": 580, + "line": 667, "column": 8 }, "end": { - "line": 580, + "line": 667, "column": 105 } }, "expression": { "type": "AssignmentExpression", - "start": 19609, - "end": 19705, + "start": 21803, + "end": 21899, "loc": { "start": { - "line": 580, + "line": 667, "column": 8 }, "end": { - "line": 580, + "line": 667, "column": 104 } }, "operator": "+=", "left": { "type": "MemberExpression", - "start": 19609, - "end": 19628, + "start": 21803, + "end": 21822, "loc": { "start": { - "line": 580, + "line": 667, "column": 8 }, "end": { - "line": 580, + "line": 667, "column": 27 } }, "object": { "type": "Identifier", - "start": 19609, - "end": 19618, + "start": 21803, + "end": 21812, "loc": { "start": { - "line": 580, + "line": 667, "column": 8 }, "end": { - "line": 580, + "line": 667, "column": 17 }, "identifierName": "buttonDOM" @@ -30073,15 +34836,15 @@ }, "property": { "type": "Identifier", - "start": 19619, - "end": 19628, + "start": 21813, + "end": 21822, "loc": { "start": { - "line": 580, + "line": 667, "column": 18 }, "end": { - "line": 580, + "line": 667, "column": 27 }, "identifierName": "className" @@ -30092,30 +34855,30 @@ }, "right": { "type": "TemplateLiteral", - "start": 19632, - "end": 19705, + "start": 21826, + "end": 21899, "loc": { "start": { - "line": 580, + "line": 667, "column": 31 }, "end": { - "line": 580, + "line": 667, "column": 104 } }, "expressions": [ { "type": "Identifier", - "start": 19645, - "end": 19656, + "start": 21839, + "end": 21850, "loc": { "start": { - "line": 580, + "line": 667, "column": 44 }, "end": { - "line": 580, + "line": 667, "column": 55 }, "identifierName": "fctBtnClass" @@ -30124,29 +34887,29 @@ }, { "type": "ConditionalExpression", - "start": 19659, - "end": 19703, + "start": 21853, + "end": 21897, "loc": { "start": { - "line": 580, + "line": 667, "column": 58 }, "end": { - "line": 580, + "line": 667, "column": 102 } }, "test": { "type": "Identifier", - "start": 19659, - "end": 19675, + "start": 21853, + "end": 21869, "loc": { "start": { - "line": 580, + "line": 667, "column": 58 }, "end": { - "line": 580, + "line": 667, "column": 74 }, "identifierName": "buttonThemeClass" @@ -30155,29 +34918,29 @@ }, "consequent": { "type": "BinaryExpression", - "start": 19678, - "end": 19698, + "start": 21872, + "end": 21892, "loc": { "start": { - "line": 580, + "line": 667, "column": 77 }, "end": { - "line": 580, + "line": 667, "column": 97 } }, "left": { "type": "StringLiteral", - "start": 19678, - "end": 19681, + "start": 21872, + "end": 21875, "loc": { "start": { - "line": 580, + "line": 667, "column": 77 }, "end": { - "line": 580, + "line": 667, "column": 80 } }, @@ -30190,15 +34953,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 19682, - "end": 19698, + "start": 21876, + "end": 21892, "loc": { "start": { - "line": 580, + "line": 667, "column": 81 }, "end": { - "line": 580, + "line": 667, "column": 97 }, "identifierName": "buttonThemeClass" @@ -30208,15 +34971,15 @@ }, "alternate": { "type": "StringLiteral", - "start": 19701, - "end": 19703, + "start": 21895, + "end": 21897, "loc": { "start": { - "line": 580, + "line": 667, "column": 100 }, "end": { - "line": 580, + "line": 667, "column": 102 } }, @@ -30231,15 +34994,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 19633, - "end": 19643, + "start": 21827, + "end": 21837, "loc": { "start": { - "line": 580, + "line": 667, "column": 32 }, "end": { - "line": 580, + "line": 667, "column": 42 } }, @@ -30251,15 +35014,15 @@ }, { "type": "TemplateElement", - "start": 19657, - "end": 19657, + "start": 21851, + "end": 21851, "loc": { "start": { - "line": 580, + "line": 667, "column": 56 }, "end": { - "line": 580, + "line": 667, "column": 56 } }, @@ -30271,15 +35034,15 @@ }, { "type": "TemplateElement", - "start": 19704, - "end": 19704, + "start": 21898, + "end": 21898, "loc": { "start": { - "line": 580, + "line": 667, "column": 103 }, "end": { - "line": 580, + "line": 667, "column": 103 } }, @@ -30295,58 +35058,58 @@ }, { "type": "ExpressionStatement", - "start": 19716, - "end": 19775, + "start": 21910, + "end": 21969, "loc": { "start": { - "line": 581, + "line": 668, "column": 8 }, "end": { - "line": 581, + "line": 668, "column": 67 } }, "expression": { "type": "AssignmentExpression", - "start": 19716, - "end": 19774, + "start": 21910, + "end": 21968, "loc": { "start": { - "line": 581, + "line": 668, "column": 8 }, "end": { - "line": 581, + "line": 668, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 19716, - "end": 19733, + "start": 21910, + "end": 21927, "loc": { "start": { - "line": 581, + "line": 668, "column": 8 }, "end": { - "line": 581, + "line": 668, "column": 25 } }, "object": { "type": "Identifier", - "start": 19716, - "end": 19725, + "start": 21910, + "end": 21919, "loc": { "start": { - "line": 581, + "line": 668, "column": 8 }, "end": { - "line": 581, + "line": 668, "column": 17 }, "identifierName": "buttonDOM" @@ -30355,15 +35118,15 @@ }, "property": { "type": "Identifier", - "start": 19726, - "end": 19733, + "start": 21920, + "end": 21927, "loc": { "start": { - "line": 581, + "line": 668, "column": 18 }, "end": { - "line": 581, + "line": 668, "column": 25 }, "identifierName": "onclick" @@ -30374,15 +35137,15 @@ }, "right": { "type": "ArrowFunctionExpression", - "start": 19736, - "end": 19774, + "start": 21930, + "end": 21968, "loc": { "start": { - "line": 581, + "line": 668, "column": 28 }, "end": { - "line": 581, + "line": 668, "column": 66 } }, @@ -30393,58 +35156,58 @@ "params": [], "body": { "type": "CallExpression", - "start": 19742, - "end": 19774, + "start": 21936, + "end": 21968, "loc": { "start": { - "line": 581, + "line": 668, "column": 34 }, "end": { - "line": 581, + "line": 668, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 19742, - "end": 19766, + "start": 21936, + "end": 21960, "loc": { "start": { - "line": 581, + "line": 668, "column": 34 }, "end": { - "line": 581, + "line": 668, "column": 58 } }, "object": { "type": "ThisExpression", - "start": 19742, - "end": 19746, + "start": 21936, + "end": 21940, "loc": { "start": { - "line": 581, + "line": 668, "column": 34 }, "end": { - "line": 581, + "line": 668, "column": 38 } } }, "property": { "type": "Identifier", - "start": 19747, - "end": 19766, + "start": 21941, + "end": 21960, "loc": { "start": { - "line": 581, + "line": 668, "column": 39 }, "end": { - "line": 581, + "line": 668, "column": 58 }, "identifierName": "handleButtonClicked" @@ -30456,15 +35219,15 @@ "arguments": [ { "type": "Identifier", - "start": 19767, - "end": 19773, + "start": 21961, + "end": 21967, "loc": { "start": { - "line": 581, + "line": 668, "column": 59 }, "end": { - "line": 581, + "line": 668, "column": 65 }, "identifierName": "button" @@ -30474,20 +35237,238 @@ ] } } + } + }, + { + "type": "ExpressionStatement", + "start": 21979, + "end": 22048, + "loc": { + "start": { + "line": 669, + "column": 8 + }, + "end": { + "line": 669, + "column": 77 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 21979, + "end": 22047, + "loc": { + "start": { + "line": 669, + "column": 8 + }, + "end": { + "line": 669, + "column": 76 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 21979, + "end": 22000, + "loc": { + "start": { + "line": 669, + "column": 8 + }, + "end": { + "line": 669, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 21979, + "end": 21988, + "loc": { + "start": { + "line": 669, + "column": 8 + }, + "end": { + "line": 669, + "column": 17 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM" + }, + "property": { + "type": "Identifier", + "start": 21989, + "end": 22000, + "loc": { + "start": { + "line": 669, + "column": 18 + }, + "end": { + "line": 669, + "column": 29 + }, + "identifierName": "onmousedown" + }, + "name": "onmousedown" + }, + "computed": false + }, + "right": { + "type": "ArrowFunctionExpression", + "start": 22003, + "end": 22047, + "loc": { + "start": { + "line": 669, + "column": 32 + }, + "end": { + "line": 669, + "column": 76 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 22004, + "end": 22005, + "loc": { + "start": { + "line": 669, + "column": 33 + }, + "end": { + "line": 669, + "column": 34 + }, + "identifierName": "e" + }, + "name": "e" + } + ], + "body": { + "type": "CallExpression", + "start": 22010, + "end": 22047, + "loc": { + "start": { + "line": 669, + "column": 39 + }, + "end": { + "line": 669, + "column": 76 + } + }, + "callee": { + "type": "MemberExpression", + "start": 22010, + "end": 22036, + "loc": { + "start": { + "line": 669, + "column": 39 + }, + "end": { + "line": 669, + "column": 65 + } + }, + "object": { + "type": "ThisExpression", + "start": 22010, + "end": 22014, + "loc": { + "start": { + "line": 669, + "column": 39 + }, + "end": { + "line": 669, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "start": 22015, + "end": 22036, + "loc": { + "start": { + "line": 669, + "column": 44 + }, + "end": { + "line": 669, + "column": 65 + }, + "identifierName": "handleButtonMouseDown" + }, + "name": "handleButtonMouseDown" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 22037, + "end": 22043, + "loc": { + "start": { + "line": 669, + "column": 66 + }, + "end": { + "line": 669, + "column": 72 + }, + "identifierName": "button" + }, + "name": "button" + }, + { + "type": "Identifier", + "start": 22045, + "end": 22046, + "loc": { + "start": { + "line": 669, + "column": 74 + }, + "end": { + "line": 669, + "column": 75 + }, + "identifierName": "e" + }, + "name": "e" + } + ] + } + } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", - "start": 19787, - "end": 19833, + "start": 22060, + "end": 22106, "loc": { "start": { - "line": 583, + "line": 671, "column": 8 }, "end": { - "line": 585, + "line": 673, "column": 11 } } @@ -30496,57 +35477,57 @@ }, { "type": "ExpressionStatement", - "start": 19843, - "end": 19888, + "start": 22116, + "end": 22161, "loc": { "start": { - "line": 586, + "line": 674, "column": 8 }, "end": { - "line": 586, + "line": 674, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 19843, - "end": 19887, + "start": 22116, + "end": 22160, "loc": { "start": { - "line": 586, + "line": 674, "column": 8 }, "end": { - "line": 586, + "line": 674, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 19843, - "end": 19865, + "start": 22116, + "end": 22138, "loc": { "start": { - "line": 586, + "line": 674, "column": 8 }, "end": { - "line": 586, + "line": 674, "column": 30 } }, "object": { "type": "Identifier", - "start": 19843, - "end": 19852, + "start": 22116, + "end": 22125, "loc": { "start": { - "line": 586, + "line": 674, "column": 8 }, "end": { - "line": 586, + "line": 674, "column": 17 }, "identifierName": "buttonDOM" @@ -30556,15 +35537,15 @@ }, "property": { "type": "Identifier", - "start": 19853, - "end": 19865, + "start": 22126, + "end": 22138, "loc": { "start": { - "line": 586, + "line": 674, "column": 18 }, "end": { - "line": 586, + "line": 674, "column": 30 }, "identifierName": "setAttribute" @@ -30577,15 +35558,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 19866, - "end": 19878, + "start": 22139, + "end": 22151, "loc": { "start": { - "line": 586, + "line": 674, "column": 31 }, "end": { - "line": 586, + "line": 674, "column": 43 } }, @@ -30597,15 +35578,15 @@ }, { "type": "Identifier", - "start": 19880, - "end": 19886, + "start": 22153, + "end": 22159, "loc": { "start": { - "line": 586, + "line": 674, "column": 45 }, "end": { - "line": 586, + "line": 674, "column": 51 }, "identifierName": "button" @@ -30619,15 +35600,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", - "start": 19787, - "end": 19833, + "start": 22060, + "end": 22106, "loc": { "start": { - "line": 583, + "line": 671, "column": 8 }, "end": { - "line": 585, + "line": 673, "column": 11 } } @@ -30637,15 +35618,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": 19900, - "end": 20055, + "start": 22173, + "end": 22328, "loc": { "start": { - "line": 588, + "line": 676, "column": 8 }, "end": { - "line": 591, + "line": 679, "column": 11 } } @@ -30654,44 +35635,44 @@ }, { "type": "VariableDeclaration", - "start": 20065, - "end": 20131, + "start": 22338, + "end": 22404, "loc": { "start": { - "line": 592, + "line": 680, "column": 8 }, "end": { - "line": 592, + "line": 680, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 20069, - "end": 20130, + "start": 22342, + "end": 22403, "loc": { "start": { - "line": 592, + "line": 680, "column": 12 }, "end": { - "line": 592, + "line": 680, "column": 73 } }, "id": { "type": "Identifier", - "start": 20069, - "end": 20078, + "start": 22342, + "end": 22351, "loc": { "start": { - "line": 592, + "line": 680, "column": 12 }, "end": { - "line": 592, + "line": 680, "column": 21 }, "identifierName": "buttonUID" @@ -30701,73 +35682,73 @@ }, "init": { "type": "TemplateLiteral", - "start": 20081, - "end": 20130, + "start": 22354, + "end": 22403, "loc": { "start": { - "line": 592, + "line": 680, "column": 24 }, "end": { - "line": 592, + "line": 680, "column": 73 } }, "expressions": [ { "type": "MemberExpression", - "start": 20084, - "end": 20107, + "start": 22357, + "end": 22380, "loc": { "start": { - "line": 592, + "line": 680, "column": 27 }, "end": { - "line": 592, + "line": 680, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 20084, - "end": 20096, + "start": 22357, + "end": 22369, "loc": { "start": { - "line": 592, + "line": 680, "column": 27 }, "end": { - "line": 592, + "line": 680, "column": 39 } }, "object": { "type": "ThisExpression", - "start": 20084, - "end": 20088, + "start": 22357, + "end": 22361, "loc": { "start": { - "line": 592, + "line": 680, "column": 27 }, "end": { - "line": 592, + "line": 680, "column": 31 } } }, "property": { "type": "Identifier", - "start": 20089, - "end": 20096, + "start": 22362, + "end": 22369, "loc": { "start": { - "line": 592, + "line": 680, "column": 32 }, "end": { - "line": 592, + "line": 680, "column": 39 }, "identifierName": "options" @@ -30778,15 +35759,15 @@ }, "property": { "type": "Identifier", - "start": 20097, - "end": 20107, + "start": 22370, + "end": 22380, "loc": { "start": { - "line": 592, + "line": 680, "column": 40 }, "end": { - "line": 592, + "line": 680, "column": 50 }, "identifierName": "layoutName" @@ -30797,15 +35778,15 @@ }, { "type": "Identifier", - "start": 20112, - "end": 20118, + "start": 22385, + "end": 22391, "loc": { "start": { - "line": 592, + "line": 680, "column": 55 }, "end": { - "line": 592, + "line": 680, "column": 61 }, "identifierName": "rIndex" @@ -30814,15 +35795,15 @@ }, { "type": "Identifier", - "start": 20122, - "end": 20128, + "start": 22395, + "end": 22401, "loc": { "start": { - "line": 592, + "line": 680, "column": 65 }, "end": { - "line": 592, + "line": 680, "column": 71 }, "identifierName": "bIndex" @@ -30833,15 +35814,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 20082, - "end": 20082, + "start": 22355, + "end": 22355, "loc": { "start": { - "line": 592, + "line": 680, "column": 25 }, "end": { - "line": 592, + "line": 680, "column": 25 } }, @@ -30853,15 +35834,15 @@ }, { "type": "TemplateElement", - "start": 20108, - "end": 20110, + "start": 22381, + "end": 22383, "loc": { "start": { - "line": 592, + "line": 680, "column": 51 }, "end": { - "line": 592, + "line": 680, "column": 53 } }, @@ -30873,15 +35854,15 @@ }, { "type": "TemplateElement", - "start": 20119, - "end": 20120, + "start": 22392, + "end": 22393, "loc": { "start": { - "line": 592, + "line": 680, "column": 62 }, "end": { - "line": 592, + "line": 680, "column": 63 } }, @@ -30893,15 +35874,15 @@ }, { "type": "TemplateElement", - "start": 20129, - "end": 20129, + "start": 22402, + "end": 22402, "loc": { "start": { - "line": 592, + "line": 680, "column": 72 }, "end": { - "line": 592, + "line": 680, "column": 72 } }, @@ -30921,15 +35902,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": 19900, - "end": 20055, + "start": 22173, + "end": 22328, "loc": { "start": { - "line": 588, + "line": 676, "column": 8 }, "end": { - "line": 591, + "line": 679, "column": 11 } } @@ -30938,57 +35919,57 @@ }, { "type": "ExpressionStatement", - "start": 20141, - "end": 20192, + "start": 22414, + "end": 22465, "loc": { "start": { - "line": 593, + "line": 681, "column": 8 }, "end": { - "line": 593, + "line": 681, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 20141, - "end": 20191, + "start": 22414, + "end": 22464, "loc": { "start": { - "line": 593, + "line": 681, "column": 8 }, "end": { - "line": 593, + "line": 681, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 20141, - "end": 20163, + "start": 22414, + "end": 22436, "loc": { "start": { - "line": 593, + "line": 681, "column": 8 }, "end": { - "line": 593, + "line": 681, "column": 30 } }, "object": { "type": "Identifier", - "start": 20141, - "end": 20150, + "start": 22414, + "end": 22423, "loc": { "start": { - "line": 593, + "line": 681, "column": 8 }, "end": { - "line": 593, + "line": 681, "column": 17 }, "identifierName": "buttonDOM" @@ -30997,15 +35978,15 @@ }, "property": { "type": "Identifier", - "start": 20151, - "end": 20163, + "start": 22424, + "end": 22436, "loc": { "start": { - "line": 593, + "line": 681, "column": 18 }, "end": { - "line": 593, + "line": 681, "column": 30 }, "identifierName": "setAttribute" @@ -31017,15 +35998,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 20164, - "end": 20179, + "start": 22437, + "end": 22452, "loc": { "start": { - "line": 593, + "line": 681, "column": 31 }, "end": { - "line": 593, + "line": 681, "column": 46 } }, @@ -31037,15 +36018,15 @@ }, { "type": "Identifier", - "start": 20181, - "end": 20190, + "start": 22454, + "end": 22463, "loc": { "start": { - "line": 593, + "line": 681, "column": 48 }, "end": { - "line": 593, + "line": 681, "column": 57 }, "identifierName": "buttonUID" @@ -31058,15 +36039,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", - "start": 20204, - "end": 20253, + "start": 22477, + "end": 22526, "loc": { "start": { - "line": 595, + "line": 683, "column": 8 }, "end": { - "line": 597, + "line": 685, "column": 11 } } @@ -31075,57 +36056,57 @@ }, { "type": "ExpressionStatement", - "start": 20263, - "end": 20326, + "start": 22536, + "end": 22599, "loc": { "start": { - "line": 598, + "line": 686, "column": 8 }, "end": { - "line": 598, + "line": 686, "column": 71 } }, "expression": { "type": "CallExpression", - "start": 20263, - "end": 20325, + "start": 22536, + "end": 22598, "loc": { "start": { - "line": 598, + "line": 686, "column": 8 }, "end": { - "line": 598, + "line": 686, "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 20263, - "end": 20285, + "start": 22536, + "end": 22558, "loc": { "start": { - "line": 598, + "line": 686, "column": 8 }, "end": { - "line": 598, + "line": 686, "column": 30 } }, "object": { "type": "Identifier", - "start": 20263, - "end": 20272, + "start": 22536, + "end": 22545, "loc": { "start": { - "line": 598, + "line": 686, "column": 8 }, "end": { - "line": 598, + "line": 686, "column": 17 }, "identifierName": "buttonDOM" @@ -31135,15 +36116,15 @@ }, "property": { "type": "Identifier", - "start": 20273, - "end": 20285, + "start": 22546, + "end": 22558, "loc": { "start": { - "line": 598, + "line": 686, "column": 18 }, "end": { - "line": 598, + "line": 686, "column": 30 }, "identifierName": "setAttribute" @@ -31156,15 +36137,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 20286, - "end": 20305, + "start": 22559, + "end": 22578, "loc": { "start": { - "line": 598, + "line": 686, "column": 31 }, "end": { - "line": 598, + "line": 686, "column": 50 } }, @@ -31176,15 +36157,15 @@ }, { "type": "Identifier", - "start": 20307, - "end": 20324, + "start": 22580, + "end": 22597, "loc": { "start": { - "line": 598, + "line": 686, "column": 52 }, "end": { - "line": 598, + "line": 686, "column": 69 }, "identifierName": "buttonDisplayName" @@ -31198,15 +36179,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", - "start": 20204, - "end": 20253, + "start": 22477, + "end": 22526, "loc": { "start": { - "line": 595, + "line": 683, "column": 8 }, "end": { - "line": 597, + "line": 685, "column": 11 } } @@ -31216,15 +36197,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", - "start": 20338, - "end": 20396, + "start": 22611, + "end": 22669, "loc": { "start": { - "line": 600, + "line": 688, "column": 8 }, "end": { - "line": 602, + "line": 690, "column": 11 } } @@ -31233,44 +36214,44 @@ }, { "type": "VariableDeclaration", - "start": 20406, - "end": 20457, + "start": 22679, + "end": 22730, "loc": { "start": { - "line": 603, + "line": 691, "column": 8 }, "end": { - "line": 603, + "line": 691, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 20410, - "end": 20456, + "start": 22683, + "end": 22729, "loc": { "start": { - "line": 603, + "line": 691, "column": 12 }, "end": { - "line": 603, + "line": 691, "column": 58 } }, "id": { "type": "Identifier", - "start": 20410, - "end": 20423, + "start": 22683, + "end": 22696, "loc": { "start": { - "line": 603, + "line": 691, "column": 12 }, "end": { - "line": 603, + "line": 691, "column": 25 }, "identifierName": "buttonSpanDOM" @@ -31280,43 +36261,43 @@ }, "init": { "type": "CallExpression", - "start": 20426, - "end": 20456, + "start": 22699, + "end": 22729, "loc": { "start": { - "line": 603, + "line": 691, "column": 28 }, "end": { - "line": 603, + "line": 691, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 20426, - "end": 20448, + "start": 22699, + "end": 22721, "loc": { "start": { - "line": 603, + "line": 691, "column": 28 }, "end": { - "line": 603, + "line": 691, "column": 50 } }, "object": { "type": "Identifier", - "start": 20426, - "end": 20434, + "start": 22699, + "end": 22707, "loc": { "start": { - "line": 603, + "line": 691, "column": 28 }, "end": { - "line": 603, + "line": 691, "column": 36 }, "identifierName": "document" @@ -31325,15 +36306,15 @@ }, "property": { "type": "Identifier", - "start": 20435, - "end": 20448, + "start": 22708, + "end": 22721, "loc": { "start": { - "line": 603, + "line": 691, "column": 37 }, "end": { - "line": 603, + "line": 691, "column": 50 }, "identifierName": "createElement" @@ -31345,15 +36326,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 20449, - "end": 20455, + "start": 22722, + "end": 22728, "loc": { "start": { - "line": 603, + "line": 691, "column": 51 }, "end": { - "line": 603, + "line": 691, "column": 57 } }, @@ -31373,15 +36354,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", - "start": 20338, - "end": 20396, + "start": 22611, + "end": 22669, "loc": { "start": { - "line": 600, + "line": 688, "column": 8 }, "end": { - "line": 602, + "line": 690, "column": 11 } } @@ -31390,58 +36371,58 @@ }, { "type": "ExpressionStatement", - "start": 20467, - "end": 20511, + "start": 22740, + "end": 22784, "loc": { "start": { - "line": 604, + "line": 692, "column": 8 }, "end": { - "line": 604, + "line": 692, "column": 52 } }, "expression": { "type": "AssignmentExpression", - "start": 20467, - "end": 20510, + "start": 22740, + "end": 22783, "loc": { "start": { - "line": 604, + "line": 692, "column": 8 }, "end": { - "line": 604, + "line": 692, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 20467, - "end": 20490, + "start": 22740, + "end": 22763, "loc": { "start": { - "line": 604, + "line": 692, "column": 8 }, "end": { - "line": 604, + "line": 692, "column": 31 } }, "object": { "type": "Identifier", - "start": 20467, - "end": 20480, + "start": 22740, + "end": 22753, "loc": { "start": { - "line": 604, + "line": 692, "column": 8 }, "end": { - "line": 604, + "line": 692, "column": 21 }, "identifierName": "buttonSpanDOM" @@ -31450,15 +36431,15 @@ }, "property": { "type": "Identifier", - "start": 20481, - "end": 20490, + "start": 22754, + "end": 22763, "loc": { "start": { - "line": 604, + "line": 692, "column": 22 }, "end": { - "line": 604, + "line": 692, "column": 31 }, "identifierName": "innerHTML" @@ -31469,15 +36450,15 @@ }, "right": { "type": "Identifier", - "start": 20493, - "end": 20510, + "start": 22766, + "end": 22783, "loc": { "start": { - "line": 604, + "line": 692, "column": 34 }, "end": { - "line": 604, + "line": 692, "column": 51 }, "identifierName": "buttonDisplayName" @@ -31488,57 +36469,57 @@ }, { "type": "ExpressionStatement", - "start": 20521, - "end": 20558, + "start": 22794, + "end": 22831, "loc": { "start": { - "line": 605, + "line": 693, "column": 8 }, "end": { - "line": 605, + "line": 693, "column": 45 } }, "expression": { "type": "CallExpression", - "start": 20521, - "end": 20557, + "start": 22794, + "end": 22830, "loc": { "start": { - "line": 605, + "line": 693, "column": 8 }, "end": { - "line": 605, + "line": 693, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 20521, - "end": 20542, + "start": 22794, + "end": 22815, "loc": { "start": { - "line": 605, + "line": 693, "column": 8 }, "end": { - "line": 605, + "line": 693, "column": 29 } }, "object": { "type": "Identifier", - "start": 20521, - "end": 20530, + "start": 22794, + "end": 22803, "loc": { "start": { - "line": 605, + "line": 693, "column": 8 }, "end": { - "line": 605, + "line": 693, "column": 17 }, "identifierName": "buttonDOM" @@ -31547,15 +36528,15 @@ }, "property": { "type": "Identifier", - "start": 20531, - "end": 20542, + "start": 22804, + "end": 22815, "loc": { "start": { - "line": 605, + "line": 693, "column": 18 }, "end": { - "line": 605, + "line": 693, "column": 29 }, "identifierName": "appendChild" @@ -31567,15 +36548,15 @@ "arguments": [ { "type": "Identifier", - "start": 20543, - "end": 20556, + "start": 22816, + "end": 22829, "loc": { "start": { - "line": 605, + "line": 693, "column": 30 }, "end": { - "line": 605, + "line": 693, "column": 43 }, "identifierName": "buttonSpanDOM" @@ -31588,15 +36569,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", - "start": 20570, - "end": 20623, + "start": 22843, + "end": 22896, "loc": { "start": { - "line": 607, + "line": 695, "column": 8 }, "end": { - "line": 609, + "line": 697, "column": 11 } } @@ -31605,29 +36586,29 @@ }, { "type": "IfStatement", - "start": 20633, - "end": 20710, + "start": 22906, + "end": 22983, "loc": { "start": { - "line": 610, + "line": 698, "column": 8 }, "end": { - "line": 611, + "line": 699, "column": 43 } }, "test": { "type": "UnaryExpression", - "start": 20636, - "end": 20664, + "start": 22909, + "end": 22937, "loc": { "start": { - "line": 610, + "line": 698, "column": 11 }, "end": { - "line": 610, + "line": 698, "column": 39 } }, @@ -31635,43 +36616,43 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 20637, - "end": 20664, + "start": 22910, + "end": 22937, "loc": { "start": { - "line": 610, + "line": 698, "column": 12 }, "end": { - "line": 610, + "line": 698, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 20637, - "end": 20656, + "start": 22910, + "end": 22929, "loc": { "start": { - "line": 610, + "line": 698, "column": 12 }, "end": { - "line": 610, + "line": 698, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 20637, - "end": 20641, + "start": 22910, + "end": 22914, "loc": { "start": { - "line": 610, + "line": 698, "column": 12 }, "end": { - "line": 610, + "line": 698, "column": 16 } }, @@ -31679,15 +36660,15 @@ }, "property": { "type": "Identifier", - "start": 20642, - "end": 20656, + "start": 22915, + "end": 22929, "loc": { "start": { - "line": 610, + "line": 698, "column": 17 }, "end": { - "line": 610, + "line": 698, "column": 31 }, "identifierName": "buttonElements" @@ -31699,15 +36680,15 @@ }, "property": { "type": "Identifier", - "start": 20657, - "end": 20663, + "start": 22930, + "end": 22936, "loc": { "start": { - "line": 610, + "line": 698, "column": 32 }, "end": { - "line": 610, + "line": 698, "column": 38 }, "identifierName": "button" @@ -31724,87 +36705,87 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 20677, - "end": 20710, + "start": 22950, + "end": 22983, "loc": { "start": { - "line": 611, + "line": 699, "column": 10 }, "end": { - "line": 611, + "line": 699, "column": 43 } }, "expression": { "type": "AssignmentExpression", - "start": 20677, - "end": 20709, + "start": 22950, + "end": 22982, "loc": { "start": { - "line": 611, + "line": 699, "column": 10 }, "end": { - "line": 611, + "line": 699, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 20677, - "end": 20704, + "start": 22950, + "end": 22977, "loc": { "start": { - "line": 611, + "line": 699, "column": 10 }, "end": { - "line": 611, + "line": 699, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 20677, - "end": 20696, + "start": 22950, + "end": 22969, "loc": { "start": { - "line": 611, + "line": 699, "column": 10 }, "end": { - "line": 611, + "line": 699, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 20677, - "end": 20681, + "start": 22950, + "end": 22954, "loc": { "start": { - "line": 611, + "line": 699, "column": 10 }, "end": { - "line": 611, + "line": 699, "column": 14 } } }, "property": { "type": "Identifier", - "start": 20682, - "end": 20696, + "start": 22955, + "end": 22969, "loc": { "start": { - "line": 611, + "line": 699, "column": 15 }, "end": { - "line": 611, + "line": 699, "column": 29 }, "identifierName": "buttonElements" @@ -31815,15 +36796,15 @@ }, "property": { "type": "Identifier", - "start": 20697, - "end": 20703, + "start": 22970, + "end": 22976, "loc": { "start": { - "line": 611, + "line": 699, "column": 30 }, "end": { - "line": 611, + "line": 699, "column": 36 }, "identifierName": "button" @@ -31834,15 +36815,15 @@ }, "right": { "type": "ArrayExpression", - "start": 20707, - "end": 20709, + "start": 22980, + "end": 22982, "loc": { "start": { - "line": 611, + "line": 699, "column": 40 }, "end": { - "line": 611, + "line": 699, "column": 42 } }, @@ -31855,15 +36836,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", - "start": 20570, - "end": 20623, + "start": 22843, + "end": 22896, "loc": { "start": { - "line": 607, + "line": 695, "column": 8 }, "end": { - "line": 609, + "line": 697, "column": 11 } } @@ -31872,100 +36853,100 @@ }, { "type": "ExpressionStatement", - "start": 20722, - "end": 20766, + "start": 22995, + "end": 23039, "loc": { "start": { - "line": 613, + "line": 701, "column": 8 }, "end": { - "line": 613, + "line": 701, "column": 52 } }, "expression": { "type": "CallExpression", - "start": 20722, - "end": 20765, + "start": 22995, + "end": 23038, "loc": { "start": { - "line": 613, + "line": 701, "column": 8 }, "end": { - "line": 613, + "line": 701, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 20722, - "end": 20754, + "start": 22995, + "end": 23027, "loc": { "start": { - "line": 613, + "line": 701, "column": 8 }, "end": { - "line": 613, + "line": 701, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 20722, - "end": 20749, + "start": 22995, + "end": 23022, "loc": { "start": { - "line": 613, + "line": 701, "column": 8 }, "end": { - "line": 613, + "line": 701, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 20722, - "end": 20741, + "start": 22995, + "end": 23014, "loc": { "start": { - "line": 613, + "line": 701, "column": 8 }, "end": { - "line": 613, + "line": 701, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 20722, - "end": 20726, + "start": 22995, + "end": 22999, "loc": { "start": { - "line": 613, + "line": 701, "column": 8 }, "end": { - "line": 613, + "line": 701, "column": 12 } } }, "property": { "type": "Identifier", - "start": 20727, - "end": 20741, + "start": 23000, + "end": 23014, "loc": { "start": { - "line": 613, + "line": 701, "column": 13 }, "end": { - "line": 613, + "line": 701, "column": 27 }, "identifierName": "buttonElements" @@ -31976,15 +36957,15 @@ }, "property": { "type": "Identifier", - "start": 20742, - "end": 20748, + "start": 23015, + "end": 23021, "loc": { "start": { - "line": 613, + "line": 701, "column": 28 }, "end": { - "line": 613, + "line": 701, "column": 34 }, "identifierName": "button" @@ -31995,15 +36976,15 @@ }, "property": { "type": "Identifier", - "start": 20750, - "end": 20754, + "start": 23023, + "end": 23027, "loc": { "start": { - "line": 613, + "line": 701, "column": 36 }, "end": { - "line": 613, + "line": 701, "column": 40 }, "identifierName": "push" @@ -32015,15 +36996,15 @@ "arguments": [ { "type": "Identifier", - "start": 20755, - "end": 20764, + "start": 23028, + "end": 23037, "loc": { "start": { - "line": 613, + "line": 701, "column": 41 }, "end": { - "line": 613, + "line": 701, "column": 50 }, "identifierName": "buttonDOM" @@ -32036,15 +37017,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", - "start": 20778, - "end": 20830, + "start": 23051, + "end": 23103, "loc": { "start": { - "line": 615, + "line": 703, "column": 8 }, "end": { - "line": 617, + "line": 705, "column": 11 } } @@ -32053,57 +37034,57 @@ }, { "type": "ExpressionStatement", - "start": 20840, - "end": 20870, + "start": 23113, + "end": 23143, "loc": { "start": { - "line": 618, + "line": 706, "column": 8 }, "end": { - "line": 618, + "line": 706, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 20840, - "end": 20869, + "start": 23113, + "end": 23142, "loc": { "start": { - "line": 618, + "line": 706, "column": 8 }, "end": { - "line": 618, + "line": 706, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 20840, - "end": 20858, + "start": 23113, + "end": 23131, "loc": { "start": { - "line": 618, + "line": 706, "column": 8 }, "end": { - "line": 618, + "line": 706, "column": 26 } }, "object": { "type": "Identifier", - "start": 20840, - "end": 20846, + "start": 23113, + "end": 23119, "loc": { "start": { - "line": 618, + "line": 706, "column": 8 }, "end": { - "line": 618, + "line": 706, "column": 14 }, "identifierName": "rowDOM" @@ -32113,15 +37094,15 @@ }, "property": { "type": "Identifier", - "start": 20847, - "end": 20858, + "start": 23120, + "end": 23131, "loc": { "start": { - "line": 618, + "line": 706, "column": 15 }, "end": { - "line": 618, + "line": 706, "column": 26 }, "identifierName": "appendChild" @@ -32134,15 +37115,15 @@ "arguments": [ { "type": "Identifier", - "start": 20859, - "end": 20868, + "start": 23132, + "end": 23141, "loc": { "start": { - "line": 618, + "line": 706, "column": 27 }, "end": { - "line": 618, + "line": 706, "column": 36 }, "identifierName": "buttonDOM" @@ -32156,15 +37137,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", - "start": 20778, - "end": 20830, + "start": 23051, + "end": 23103, "loc": { "start": { - "line": 615, + "line": 703, "column": 8 }, "end": { - "line": 617, + "line": 705, "column": 11 } } @@ -32182,15 +37163,15 @@ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", - "start": 19127, - "end": 19188, + "start": 21321, + "end": 21382, "loc": { "start": { - "line": 568, + "line": 655, "column": 6 }, "end": { - "line": 570, + "line": 657, "column": 9 } } @@ -32200,15 +37181,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", - "start": 20893, - "end": 20943, + "start": 23166, + "end": 23216, "loc": { "start": { - "line": 622, + "line": 710, "column": 6 }, "end": { - "line": 624, + "line": 712, "column": 9 } } @@ -32217,71 +37198,71 @@ }, { "type": "ExpressionStatement", - "start": 20951, - "end": 20988, + "start": 23224, + "end": 23261, "loc": { "start": { - "line": 625, + "line": 713, "column": 6 }, "end": { - "line": 625, + "line": 713, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 20951, - "end": 20987, + "start": 23224, + "end": 23260, "loc": { "start": { - "line": 625, + "line": 713, "column": 6 }, "end": { - "line": 625, + "line": 713, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 20951, - "end": 20979, + "start": 23224, + "end": 23252, "loc": { "start": { - "line": 625, + "line": 713, "column": 6 }, "end": { - "line": 625, + "line": 713, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 20951, - "end": 20967, + "start": 23224, + "end": 23240, "loc": { "start": { - "line": 625, + "line": 713, "column": 6 }, "end": { - "line": 625, + "line": 713, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 20951, - "end": 20955, + "start": 23224, + "end": 23228, "loc": { "start": { - "line": 625, + "line": 713, "column": 6 }, "end": { - "line": 625, + "line": 713, "column": 10 } }, @@ -32289,15 +37270,15 @@ }, "property": { "type": "Identifier", - "start": 20956, - "end": 20967, + "start": 23229, + "end": 23240, "loc": { "start": { - "line": 625, + "line": 713, "column": 11 }, "end": { - "line": 625, + "line": 713, "column": 22 }, "identifierName": "keyboardDOM" @@ -32309,15 +37290,15 @@ }, "property": { "type": "Identifier", - "start": 20968, - "end": 20979, + "start": 23241, + "end": 23252, "loc": { "start": { - "line": 625, + "line": 713, "column": 23 }, "end": { - "line": 625, + "line": 713, "column": 34 }, "identifierName": "appendChild" @@ -32330,15 +37311,15 @@ "arguments": [ { "type": "Identifier", - "start": 20980, - "end": 20986, + "start": 23253, + "end": 23259, "loc": { "start": { - "line": 625, + "line": 713, "column": 35 }, "end": { - "line": 625, + "line": 713, "column": 41 }, "identifierName": "rowDOM" @@ -32352,15 +37333,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", - "start": 20893, - "end": 20943, + "start": 23166, + "end": 23216, "loc": { "start": { - "line": 622, + "line": 710, "column": 6 }, "end": { - "line": 624, + "line": 712, "column": 9 } } @@ -32378,15 +37359,15 @@ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", - "start": 18827, - "end": 18874, + "start": 21021, + "end": 21068, "loc": { "start": { - "line": 556, + "line": 643, "column": 4 }, "end": { - "line": 558, + "line": 645, "column": 7 } } @@ -32396,15 +37377,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", - "start": 21005, - "end": 21042, + "start": 23278, + "end": 23315, "loc": { "start": { - "line": 628, + "line": 716, "column": 4 }, "end": { - "line": 630, + "line": 718, "column": 7 } } @@ -32413,57 +37394,57 @@ }, { "type": "ExpressionStatement", - "start": 21048, - "end": 21064, + "start": 23321, + "end": 23337, "loc": { "start": { - "line": 631, + "line": 719, "column": 4 }, "end": { - "line": 631, + "line": 719, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 21048, - "end": 21063, + "start": 23321, + "end": 23336, "loc": { "start": { - "line": 631, + "line": 719, "column": 4 }, "end": { - "line": 631, + "line": 719, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 21048, - "end": 21061, + "start": 23321, + "end": 23334, "loc": { "start": { - "line": 631, + "line": 719, "column": 4 }, "end": { - "line": 631, + "line": 719, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 21048, - "end": 21052, + "start": 23321, + "end": 23325, "loc": { "start": { - "line": 631, + "line": 719, "column": 4 }, "end": { - "line": 631, + "line": 719, "column": 8 } }, @@ -32471,15 +37452,15 @@ }, "property": { "type": "Identifier", - "start": 21053, - "end": 21061, + "start": 23326, + "end": 23334, "loc": { "start": { - "line": 631, + "line": 719, "column": 9 }, "end": { - "line": 631, + "line": 719, "column": 17 }, "identifierName": "onRender" @@ -32496,15 +37477,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", - "start": 21005, - "end": 21042, + "start": 23278, + "end": 23315, "loc": { "start": { - "line": 628, + "line": 716, "column": 4 }, "end": { - "line": 630, + "line": 718, "column": 7 } } @@ -32513,29 +37494,29 @@ }, { "type": "IfStatement", - "start": 21072, - "end": 21294, + "start": 23345, + "end": 23680, "loc": { "start": { - "line": 633, + "line": 721, "column": 4 }, "end": { - "line": 643, + "line": 736, "column": 5 } }, "test": { "type": "UnaryExpression", - "start": 21075, - "end": 21092, + "start": 23348, + "end": 23365, "loc": { "start": { - "line": 633, + "line": 721, "column": 7 }, "end": { - "line": 633, + "line": 721, "column": 24 } }, @@ -32543,44 +37524,44 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 21076, - "end": 21092, + "start": 23349, + "end": 23365, "loc": { "start": { - "line": 633, + "line": 721, "column": 8 }, "end": { - "line": 633, + "line": 721, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 21076, - "end": 21080, + "start": 23349, + "end": 23353, "loc": { "start": { - "line": 633, + "line": 721, "column": 8 }, "end": { - "line": 633, + "line": 721, "column": 12 } } }, "property": { "type": "Identifier", - "start": 21081, - "end": 21092, + "start": 23354, + "end": 23365, "loc": { "start": { - "line": 633, + "line": 721, "column": 13 }, "end": { - "line": 633, + "line": 721, "column": 24 }, "identifierName": "initialized" @@ -32595,73 +37576,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 21093, - "end": 21294, + "start": 23366, + "end": 23680, "loc": { "start": { - "line": 633, + "line": 721, "column": 25 }, "end": { - "line": 643, + "line": 736, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 21192, - "end": 21216, + "start": 23465, + "end": 23489, "loc": { "start": { - "line": 637, + "line": 725, "column": 6 }, "end": { - "line": 637, + "line": 725, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 21192, - "end": 21215, + "start": 23465, + "end": 23488, "loc": { "start": { - "line": 637, + "line": 725, "column": 6 }, "end": { - "line": 637, + "line": 725, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 21192, - "end": 21208, + "start": 23465, + "end": 23481, "loc": { "start": { - "line": 637, + "line": 725, "column": 6 }, "end": { - "line": 637, + "line": 725, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 21192, - "end": 21196, + "start": 23465, + "end": 23469, "loc": { "start": { - "line": 637, + "line": 725, "column": 6 }, "end": { - "line": 637, + "line": 725, "column": 10 } }, @@ -32669,15 +37650,15 @@ }, "property": { "type": "Identifier", - "start": 21197, - "end": 21208, + "start": 23470, + "end": 23481, "loc": { "start": { - "line": 637, + "line": 725, "column": 11 }, "end": { - "line": 637, + "line": 725, "column": 22 }, "identifierName": "initialized" @@ -32689,15 +37670,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 21211, - "end": 21215, + "start": 23484, + "end": 23488, "loc": { "start": { - "line": 637, + "line": 725, "column": 25 }, "end": { - "line": 637, + "line": 725, "column": 29 } }, @@ -32709,15 +37690,219 @@ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", - "start": 21102, - "end": 21184, + "start": 23375, + "end": 23457, "loc": { "start": { - "line": 634, + "line": 722, "column": 6 }, "end": { - "line": 636, + "line": 724, + "column": 9 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Handling mouseup\r\n ", + "start": 23499, + "end": 23540, + "loc": { + "start": { + "line": 727, + "column": 6 + }, + "end": { + "line": 729, + "column": 9 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 23548, + "end": 23602, + "loc": { + "start": { + "line": 730, + "column": 6 + }, + "end": { + "line": 730, + "column": 60 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 23548, + "end": 23601, + "loc": { + "start": { + "line": 730, + "column": 6 + }, + "end": { + "line": 730, + "column": 59 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 23548, + "end": 23566, + "loc": { + "start": { + "line": 730, + "column": 6 + }, + "end": { + "line": 730, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 23548, + "end": 23556, + "loc": { + "start": { + "line": 730, + "column": 6 + }, + "end": { + "line": 730, + "column": 14 + }, + "identifierName": "document" + }, + "name": "document", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 23557, + "end": 23566, + "loc": { + "start": { + "line": 730, + "column": 15 + }, + "end": { + "line": 730, + "column": 24 + }, + "identifierName": "onmouseup" + }, + "name": "onmouseup" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ArrowFunctionExpression", + "start": 23569, + "end": 23601, + "loc": { + "start": { + "line": 730, + "column": 27 + }, + "end": { + "line": 730, + "column": 59 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [], + "body": { + "type": "CallExpression", + "start": 23575, + "end": 23601, + "loc": { + "start": { + "line": 730, + "column": 33 + }, + "end": { + "line": 730, + "column": 59 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23575, + "end": 23599, + "loc": { + "start": { + "line": 730, + "column": 33 + }, + "end": { + "line": 730, + "column": 57 + } + }, + "object": { + "type": "ThisExpression", + "start": 23575, + "end": 23579, + "loc": { + "start": { + "line": 730, + "column": 33 + }, + "end": { + "line": 730, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "start": 23580, + "end": 23599, + "loc": { + "start": { + "line": 730, + "column": 38 + }, + "end": { + "line": 730, + "column": 57 + }, + "identifierName": "handleButtonMouseUp" + }, + "name": "handleButtonMouseUp" + }, + "computed": false + }, + "arguments": [] + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Handling mouseup\r\n ", + "start": 23499, + "end": 23540, + "loc": { + "start": { + "line": 727, + "column": 6 + }, + "end": { + "line": 729, "column": 9 } } @@ -32727,15 +37912,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", - "start": 21226, - "end": 21265, + "start": 23612, + "end": 23651, "loc": { "start": { - "line": 639, + "line": 732, "column": 6 }, "end": { - "line": 641, + "line": 734, "column": 9 } } @@ -32744,57 +37929,57 @@ }, { "type": "ExpressionStatement", - "start": 21273, - "end": 21287, + "start": 23659, + "end": 23673, "loc": { "start": { - "line": 642, + "line": 735, "column": 6 }, "end": { - "line": 642, + "line": 735, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 21273, - "end": 21286, + "start": 23659, + "end": 23672, "loc": { "start": { - "line": 642, + "line": 735, "column": 6 }, "end": { - "line": 642, + "line": 735, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 21273, - "end": 21284, + "start": 23659, + "end": 23670, "loc": { "start": { - "line": 642, + "line": 735, "column": 6 }, "end": { - "line": 642, + "line": 735, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 21273, - "end": 21277, + "start": 23659, + "end": 23663, "loc": { "start": { - "line": 642, + "line": 735, "column": 6 }, "end": { - "line": 642, + "line": 735, "column": 10 } }, @@ -32802,15 +37987,15 @@ }, "property": { "type": "Identifier", - "start": 21278, - "end": 21284, + "start": 23664, + "end": 23670, "loc": { "start": { - "line": 642, + "line": 735, "column": 11 }, "end": { - "line": 642, + "line": 735, "column": 17 }, "identifierName": "onInit" @@ -32827,15 +38012,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", - "start": 21226, - "end": 21265, + "start": 23612, + "end": 23651, "loc": { "start": { - "line": 639, + "line": 732, "column": 6 }, "end": { - "line": 641, + "line": 734, "column": 9 } } @@ -32854,15 +38039,15 @@ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", - "start": 17117, - "end": 17173, + "start": 19311, + "end": 19367, "loc": { "start": { - "line": 505, + "line": 592, "column": 2 }, "end": { - "line": 507, + "line": 594, "column": 5 } } @@ -32877,29 +38062,29 @@ }, { "type": "Identifier", - "start": 21306, - "end": 21336, + "start": 23692, + "end": 23722, "loc": { "start": { - "line": 647, + "line": 740, "column": 0 }, "end": { - "line": 647, + "line": 740, "column": 30 } }, "declaration": { "type": "Identifier", - "start": 21321, - "end": 21335, + "start": 23707, + "end": 23721, "loc": { "start": { - "line": 647, + "line": 740, "column": 15 }, "end": { - "line": 647, + "line": 740, "column": 29 }, "identifierName": "SimpleKeyboard" @@ -32912,29 +38097,29 @@ }, { "type": "ExportDefaultDeclaration", - "start": 21306, - "end": 21336, + "start": 23692, + "end": 23722, "loc": { "start": { - "line": 647, + "line": 740, "column": 0 }, "end": { - "line": 647, + "line": 740, "column": 30 } }, "declaration": { "type": "ClassDeclaration", "start": 367, - "end": 21302, + "end": 23688, "loc": { "start": { "line": 15, "column": 0 }, "end": { - "line": 645, + "line": 738, "column": 1 } }, @@ -32960,14 +38145,14 @@ "body": { "type": "ClassBody", "start": 388, - "end": 21302, + "end": 23688, "loc": { "start": { "line": 15, "column": 21 }, "end": { - "line": 645, + "line": 738, "column": 1 } }, @@ -32975,14 +38160,14 @@ { "type": "ClassMethod", "start": 679, - "end": 6920, + "end": 7194, "loc": { "start": { "line": 20, "column": 2 }, "end": { - "line": 141, + "line": 146, "column": 3 } }, @@ -33048,14 +38233,14 @@ "body": { "type": "BlockStatement", "start": 701, - "end": 6920, + "end": 7194, "loc": { "start": { "line": 20, "column": 24 }, "end": { - "line": 141, + "line": 146, "column": 3 } }, @@ -34895,153 +40080,19 @@ } } }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Module namespace\r\n ", - "start": 4184, - "end": 4221, - "loc": { - "start": { - "line": 66, - "column": 4 - }, - "end": { - "line": 68, - "column": 7 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "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, + "start": 4184, + "end": 4213, "loc": { "start": { - "line": 71, + "line": 66, "column": 4 }, "end": { - "line": 73, + "line": 68, "column": 7 } } @@ -35050,58 +40101,58 @@ }, { "type": "ExpressionStatement", - "start": 4288, - "end": 4351, + "start": 4219, + "end": 4282, "loc": { "start": { - "line": 74, + "line": 69, "column": 4 }, "end": { - "line": 74, + "line": 69, "column": 67 } }, "expression": { "type": "AssignmentExpression", - "start": 4288, - "end": 4350, + "start": 4219, + "end": 4281, "loc": { "start": { - "line": 74, + "line": 69, "column": 4 }, "end": { - "line": 74, + "line": 69, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4288, - "end": 4312, + "start": 4219, + "end": 4243, "loc": { "start": { - "line": 74, + "line": 69, "column": 4 }, "end": { - "line": 74, + "line": 69, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 4288, - "end": 4292, + "start": 4219, + "end": 4223, "loc": { "start": { - "line": 74, + "line": 69, "column": 4 }, "end": { - "line": 74, + "line": 69, "column": 8 } }, @@ -35109,15 +40160,15 @@ }, "property": { "type": "Identifier", - "start": 4293, - "end": 4312, + "start": 4224, + "end": 4243, "loc": { "start": { - "line": 74, + "line": 69, "column": 9 }, "end": { - "line": 74, + "line": 69, "column": 28 }, "identifierName": "handleButtonClicked" @@ -35129,72 +40180,72 @@ }, "right": { "type": "CallExpression", - "start": 4315, - "end": 4350, + "start": 4246, + "end": 4281, "loc": { "start": { - "line": 74, + "line": 69, "column": 31 }, "end": { - "line": 74, + "line": 69, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 4315, - "end": 4344, + "start": 4246, + "end": 4275, "loc": { "start": { - "line": 74, + "line": 69, "column": 31 }, "end": { - "line": 74, + "line": 69, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 4315, - "end": 4339, + "start": 4246, + "end": 4270, "loc": { "start": { - "line": 74, + "line": 69, "column": 31 }, "end": { - "line": 74, + "line": 69, "column": 55 } }, "object": { "type": "ThisExpression", - "start": 4315, - "end": 4319, + "start": 4246, + "end": 4250, "loc": { "start": { - "line": 74, + "line": 69, "column": 31 }, "end": { - "line": 74, + "line": 69, "column": 35 } } }, "property": { "type": "Identifier", - "start": 4320, - "end": 4339, + "start": 4251, + "end": 4270, "loc": { "start": { - "line": 74, + "line": 69, "column": 36 }, "end": { - "line": 74, + "line": 69, "column": 55 }, "identifierName": "handleButtonClicked" @@ -35205,15 +40256,15 @@ }, "property": { "type": "Identifier", - "start": 4340, - "end": 4344, + "start": 4271, + "end": 4275, "loc": { "start": { - "line": 74, + "line": 69, "column": 56 }, "end": { - "line": 74, + "line": 69, "column": 60 }, "identifierName": "bind" @@ -35225,15 +40276,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4345, - "end": 4349, + "start": 4276, + "end": 4280, "loc": { "start": { - "line": 74, + "line": 69, "column": 61 }, "end": { - "line": 74, + "line": 69, "column": 65 } } @@ -35246,15 +40297,15 @@ { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", - "start": 4253, - "end": 4282, + "start": 4184, + "end": 4213, "loc": { "start": { - "line": 71, + "line": 66, "column": 4 }, "end": { - "line": 73, + "line": 68, "column": 7 } } @@ -35263,73 +40314,73 @@ }, { "type": "ExpressionStatement", - "start": 4357, - "end": 4418, + "start": 4288, + "end": 4349, "loc": { "start": { - "line": 75, + "line": 70, "column": 4 }, "end": { - "line": 75, + "line": 70, "column": 65 } }, "expression": { "type": "AssignmentExpression", - "start": 4357, - "end": 4417, + "start": 4288, + "end": 4348, "loc": { "start": { - "line": 75, + "line": 70, "column": 4 }, "end": { - "line": 75, + "line": 70, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4357, - "end": 4380, + "start": 4288, + "end": 4311, "loc": { "start": { - "line": 75, + "line": 70, "column": 4 }, "end": { - "line": 75, + "line": 70, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 4357, - "end": 4361, + "start": 4288, + "end": 4292, "loc": { "start": { - "line": 75, + "line": 70, "column": 4 }, "end": { - "line": 75, + "line": 70, "column": 8 } } }, "property": { "type": "Identifier", - "start": 4362, - "end": 4380, + "start": 4293, + "end": 4311, "loc": { "start": { - "line": 75, + "line": 70, "column": 9 }, "end": { - "line": 75, + "line": 70, "column": 27 }, "identifierName": "syncInstanceInputs" @@ -35340,72 +40391,72 @@ }, "right": { "type": "CallExpression", - "start": 4383, - "end": 4417, + "start": 4314, + "end": 4348, "loc": { "start": { - "line": 75, + "line": 70, "column": 30 }, "end": { - "line": 75, + "line": 70, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 4383, - "end": 4411, + "start": 4314, + "end": 4342, "loc": { "start": { - "line": 75, + "line": 70, "column": 30 }, "end": { - "line": 75, + "line": 70, "column": 58 } }, "object": { "type": "MemberExpression", - "start": 4383, - "end": 4406, + "start": 4314, + "end": 4337, "loc": { "start": { - "line": 75, + "line": 70, "column": 30 }, "end": { - "line": 75, + "line": 70, "column": 53 } }, "object": { "type": "ThisExpression", - "start": 4383, - "end": 4387, + "start": 4314, + "end": 4318, "loc": { "start": { - "line": 75, + "line": 70, "column": 30 }, "end": { - "line": 75, + "line": 70, "column": 34 } } }, "property": { "type": "Identifier", - "start": 4388, - "end": 4406, + "start": 4319, + "end": 4337, "loc": { "start": { - "line": 75, + "line": 70, "column": 35 }, "end": { - "line": 75, + "line": 70, "column": 53 }, "identifierName": "syncInstanceInputs" @@ -35416,15 +40467,15 @@ }, "property": { "type": "Identifier", - "start": 4407, - "end": 4411, + "start": 4338, + "end": 4342, "loc": { "start": { - "line": 75, + "line": 70, "column": 54 }, "end": { - "line": 75, + "line": 70, "column": 58 }, "identifierName": "bind" @@ -35436,15 +40487,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4412, - "end": 4416, + "start": 4343, + "end": 4347, "loc": { "start": { - "line": 75, + "line": 70, "column": 59 }, "end": { - "line": 75, + "line": 70, "column": 63 } } @@ -35455,73 +40506,73 @@ }, { "type": "ExpressionStatement", - "start": 4424, - "end": 4469, + "start": 4355, + "end": 4400, "loc": { "start": { - "line": 76, + "line": 71, "column": 4 }, "end": { - "line": 76, + "line": 71, "column": 49 } }, "expression": { "type": "AssignmentExpression", - "start": 4424, - "end": 4468, + "start": 4355, + "end": 4399, "loc": { "start": { - "line": 76, + "line": 71, "column": 4 }, "end": { - "line": 76, + "line": 71, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4424, - "end": 4439, + "start": 4355, + "end": 4370, "loc": { "start": { - "line": 76, + "line": 71, "column": 4 }, "end": { - "line": 76, + "line": 71, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 4424, - "end": 4428, + "start": 4355, + "end": 4359, "loc": { "start": { - "line": 76, + "line": 71, "column": 4 }, "end": { - "line": 76, + "line": 71, "column": 8 } } }, "property": { "type": "Identifier", - "start": 4429, - "end": 4439, + "start": 4360, + "end": 4370, "loc": { "start": { - "line": 76, + "line": 71, "column": 9 }, "end": { - "line": 76, + "line": 71, "column": 19 }, "identifierName": "clearInput" @@ -35532,72 +40583,72 @@ }, "right": { "type": "CallExpression", - "start": 4442, - "end": 4468, + "start": 4373, + "end": 4399, "loc": { "start": { - "line": 76, + "line": 71, "column": 22 }, "end": { - "line": 76, + "line": 71, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 4442, - "end": 4462, + "start": 4373, + "end": 4393, "loc": { "start": { - "line": 76, + "line": 71, "column": 22 }, "end": { - "line": 76, + "line": 71, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 4442, - "end": 4457, + "start": 4373, + "end": 4388, "loc": { "start": { - "line": 76, + "line": 71, "column": 22 }, "end": { - "line": 76, + "line": 71, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 4442, - "end": 4446, + "start": 4373, + "end": 4377, "loc": { "start": { - "line": 76, + "line": 71, "column": 22 }, "end": { - "line": 76, + "line": 71, "column": 26 } } }, "property": { "type": "Identifier", - "start": 4447, - "end": 4457, + "start": 4378, + "end": 4388, "loc": { "start": { - "line": 76, + "line": 71, "column": 27 }, "end": { - "line": 76, + "line": 71, "column": 37 }, "identifierName": "clearInput" @@ -35608,15 +40659,15 @@ }, "property": { "type": "Identifier", - "start": 4458, - "end": 4462, + "start": 4389, + "end": 4393, "loc": { "start": { - "line": 76, + "line": 71, "column": 38 }, "end": { - "line": 76, + "line": 71, "column": 42 }, "identifierName": "bind" @@ -35628,15 +40679,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4463, - "end": 4467, + "start": 4394, + "end": 4398, "loc": { "start": { - "line": 76, + "line": 71, "column": 43 }, "end": { - "line": 76, + "line": 71, "column": 47 } } @@ -35647,73 +40698,73 @@ }, { "type": "ExpressionStatement", - "start": 4475, - "end": 4516, + "start": 4406, + "end": 4447, "loc": { "start": { - "line": 77, + "line": 72, "column": 4 }, "end": { - "line": 77, + "line": 72, "column": 45 } }, "expression": { "type": "AssignmentExpression", - "start": 4475, - "end": 4515, + "start": 4406, + "end": 4446, "loc": { "start": { - "line": 77, + "line": 72, "column": 4 }, "end": { - "line": 77, + "line": 72, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4475, - "end": 4488, + "start": 4406, + "end": 4419, "loc": { "start": { - "line": 77, + "line": 72, "column": 4 }, "end": { - "line": 77, + "line": 72, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 4475, - "end": 4479, + "start": 4406, + "end": 4410, "loc": { "start": { - "line": 77, + "line": 72, "column": 4 }, "end": { - "line": 77, + "line": 72, "column": 8 } } }, "property": { "type": "Identifier", - "start": 4480, - "end": 4488, + "start": 4411, + "end": 4419, "loc": { "start": { - "line": 77, + "line": 72, "column": 9 }, "end": { - "line": 77, + "line": 72, "column": 17 }, "identifierName": "getInput" @@ -35724,72 +40775,72 @@ }, "right": { "type": "CallExpression", - "start": 4491, - "end": 4515, + "start": 4422, + "end": 4446, "loc": { "start": { - "line": 77, + "line": 72, "column": 20 }, "end": { - "line": 77, + "line": 72, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 4491, - "end": 4509, + "start": 4422, + "end": 4440, "loc": { "start": { - "line": 77, + "line": 72, "column": 20 }, "end": { - "line": 77, + "line": 72, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4491, - "end": 4504, + "start": 4422, + "end": 4435, "loc": { "start": { - "line": 77, + "line": 72, "column": 20 }, "end": { - "line": 77, + "line": 72, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 4491, - "end": 4495, + "start": 4422, + "end": 4426, "loc": { "start": { - "line": 77, + "line": 72, "column": 20 }, "end": { - "line": 77, + "line": 72, "column": 24 } } }, "property": { "type": "Identifier", - "start": 4496, - "end": 4504, + "start": 4427, + "end": 4435, "loc": { "start": { - "line": 77, + "line": 72, "column": 25 }, "end": { - "line": 77, + "line": 72, "column": 33 }, "identifierName": "getInput" @@ -35800,15 +40851,15 @@ }, "property": { "type": "Identifier", - "start": 4505, - "end": 4509, + "start": 4436, + "end": 4440, "loc": { "start": { - "line": 77, + "line": 72, "column": 34 }, "end": { - "line": 77, + "line": 72, "column": 38 }, "identifierName": "bind" @@ -35820,15 +40871,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4510, - "end": 4514, + "start": 4441, + "end": 4445, "loc": { "start": { - "line": 77, + "line": 72, "column": 39 }, "end": { - "line": 77, + "line": 72, "column": 43 } } @@ -35839,73 +40890,73 @@ }, { "type": "ExpressionStatement", - "start": 4522, - "end": 4563, + "start": 4453, + "end": 4494, "loc": { "start": { - "line": 78, + "line": 73, "column": 4 }, "end": { - "line": 78, + "line": 73, "column": 45 } }, "expression": { "type": "AssignmentExpression", - "start": 4522, - "end": 4562, + "start": 4453, + "end": 4493, "loc": { "start": { - "line": 78, + "line": 73, "column": 4 }, "end": { - "line": 78, + "line": 73, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4522, - "end": 4535, + "start": 4453, + "end": 4466, "loc": { "start": { - "line": 78, + "line": 73, "column": 4 }, "end": { - "line": 78, + "line": 73, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 4522, - "end": 4526, + "start": 4453, + "end": 4457, "loc": { "start": { - "line": 78, + "line": 73, "column": 4 }, "end": { - "line": 78, + "line": 73, "column": 8 } } }, "property": { "type": "Identifier", - "start": 4527, - "end": 4535, + "start": 4458, + "end": 4466, "loc": { "start": { - "line": 78, + "line": 73, "column": 9 }, "end": { - "line": 78, + "line": 73, "column": 17 }, "identifierName": "setInput" @@ -35916,72 +40967,72 @@ }, "right": { "type": "CallExpression", - "start": 4538, - "end": 4562, + "start": 4469, + "end": 4493, "loc": { "start": { - "line": 78, + "line": 73, "column": 20 }, "end": { - "line": 78, + "line": 73, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 4538, - "end": 4556, + "start": 4469, + "end": 4487, "loc": { "start": { - "line": 78, + "line": 73, "column": 20 }, "end": { - "line": 78, + "line": 73, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4538, - "end": 4551, + "start": 4469, + "end": 4482, "loc": { "start": { - "line": 78, + "line": 73, "column": 20 }, "end": { - "line": 78, + "line": 73, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 4538, - "end": 4542, + "start": 4469, + "end": 4473, "loc": { "start": { - "line": 78, + "line": 73, "column": 20 }, "end": { - "line": 78, + "line": 73, "column": 24 } } }, "property": { "type": "Identifier", - "start": 4543, - "end": 4551, + "start": 4474, + "end": 4482, "loc": { "start": { - "line": 78, + "line": 73, "column": 25 }, "end": { - "line": 78, + "line": 73, "column": 33 }, "identifierName": "setInput" @@ -35992,15 +41043,15 @@ }, "property": { "type": "Identifier", - "start": 4552, - "end": 4556, + "start": 4483, + "end": 4487, "loc": { "start": { - "line": 78, + "line": 73, "column": 34 }, "end": { - "line": 78, + "line": 73, "column": 38 }, "identifierName": "bind" @@ -36012,15 +41063,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4557, - "end": 4561, + "start": 4488, + "end": 4492, "loc": { "start": { - "line": 78, + "line": 73, "column": 39 }, "end": { - "line": 78, + "line": 73, "column": 43 } } @@ -36031,73 +41082,73 @@ }, { "type": "ExpressionStatement", - "start": 4569, - "end": 4618, + "start": 4500, + "end": 4549, "loc": { "start": { - "line": 79, + "line": 74, "column": 4 }, "end": { - "line": 79, + "line": 74, "column": 53 } }, "expression": { "type": "AssignmentExpression", - "start": 4569, - "end": 4617, + "start": 4500, + "end": 4548, "loc": { "start": { - "line": 79, + "line": 74, "column": 4 }, "end": { - "line": 79, + "line": 74, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4569, - "end": 4586, + "start": 4500, + "end": 4517, "loc": { "start": { - "line": 79, + "line": 74, "column": 4 }, "end": { - "line": 79, + "line": 74, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 4569, - "end": 4573, + "start": 4500, + "end": 4504, "loc": { "start": { - "line": 79, + "line": 74, "column": 4 }, "end": { - "line": 79, + "line": 74, "column": 8 } } }, "property": { "type": "Identifier", - "start": 4574, - "end": 4586, + "start": 4505, + "end": 4517, "loc": { "start": { - "line": 79, + "line": 74, "column": 9 }, "end": { - "line": 79, + "line": 74, "column": 21 }, "identifierName": "replaceInput" @@ -36108,72 +41159,72 @@ }, "right": { "type": "CallExpression", - "start": 4589, - "end": 4617, + "start": 4520, + "end": 4548, "loc": { "start": { - "line": 79, + "line": 74, "column": 24 }, "end": { - "line": 79, + "line": 74, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 4589, - "end": 4611, + "start": 4520, + "end": 4542, "loc": { "start": { - "line": 79, + "line": 74, "column": 24 }, "end": { - "line": 79, + "line": 74, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 4589, - "end": 4606, + "start": 4520, + "end": 4537, "loc": { "start": { - "line": 79, + "line": 74, "column": 24 }, "end": { - "line": 79, + "line": 74, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 4589, - "end": 4593, + "start": 4520, + "end": 4524, "loc": { "start": { - "line": 79, + "line": 74, "column": 24 }, "end": { - "line": 79, + "line": 74, "column": 28 } } }, "property": { "type": "Identifier", - "start": 4594, - "end": 4606, + "start": 4525, + "end": 4537, "loc": { "start": { - "line": 79, + "line": 74, "column": 29 }, "end": { - "line": 79, + "line": 74, "column": 41 }, "identifierName": "replaceInput" @@ -36184,15 +41235,15 @@ }, "property": { "type": "Identifier", - "start": 4607, - "end": 4611, + "start": 4538, + "end": 4542, "loc": { "start": { - "line": 79, + "line": 74, "column": 42 }, "end": { - "line": 79, + "line": 74, "column": 46 }, "identifierName": "bind" @@ -36204,15 +41255,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4612, - "end": 4616, + "start": 4543, + "end": 4547, "loc": { "start": { - "line": 79, + "line": 74, "column": 47 }, "end": { - "line": 79, + "line": 74, "column": 51 } } @@ -36223,73 +41274,73 @@ }, { "type": "ExpressionStatement", - "start": 4624, - "end": 4659, + "start": 4555, + "end": 4590, "loc": { "start": { - "line": 80, + "line": 75, "column": 4 }, "end": { - "line": 80, + "line": 75, "column": 39 } }, "expression": { "type": "AssignmentExpression", - "start": 4624, - "end": 4658, + "start": 4555, + "end": 4589, "loc": { "start": { - "line": 80, + "line": 75, "column": 4 }, "end": { - "line": 80, + "line": 75, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4624, - "end": 4634, + "start": 4555, + "end": 4565, "loc": { "start": { - "line": 80, + "line": 75, "column": 4 }, "end": { - "line": 80, + "line": 75, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 4624, - "end": 4628, + "start": 4555, + "end": 4559, "loc": { "start": { - "line": 80, + "line": 75, "column": 4 }, "end": { - "line": 80, + "line": 75, "column": 8 } } }, "property": { "type": "Identifier", - "start": 4629, - "end": 4634, + "start": 4560, + "end": 4565, "loc": { "start": { - "line": 80, + "line": 75, "column": 9 }, "end": { - "line": 80, + "line": 75, "column": 14 }, "identifierName": "clear" @@ -36300,72 +41351,72 @@ }, "right": { "type": "CallExpression", - "start": 4637, - "end": 4658, + "start": 4568, + "end": 4589, "loc": { "start": { - "line": 80, + "line": 75, "column": 17 }, "end": { - "line": 80, + "line": 75, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 4637, - "end": 4652, + "start": 4568, + "end": 4583, "loc": { "start": { - "line": 80, + "line": 75, "column": 17 }, "end": { - "line": 80, + "line": 75, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 4637, - "end": 4647, + "start": 4568, + "end": 4578, "loc": { "start": { - "line": 80, + "line": 75, "column": 17 }, "end": { - "line": 80, + "line": 75, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 4637, - "end": 4641, + "start": 4568, + "end": 4572, "loc": { "start": { - "line": 80, + "line": 75, "column": 17 }, "end": { - "line": 80, + "line": 75, "column": 21 } } }, "property": { "type": "Identifier", - "start": 4642, - "end": 4647, + "start": 4573, + "end": 4578, "loc": { "start": { - "line": 80, + "line": 75, "column": 22 }, "end": { - "line": 80, + "line": 75, "column": 27 }, "identifierName": "clear" @@ -36376,15 +41427,15 @@ }, "property": { "type": "Identifier", - "start": 4648, - "end": 4652, + "start": 4579, + "end": 4583, "loc": { "start": { - "line": 80, + "line": 75, "column": 28 }, "end": { - "line": 80, + "line": 75, "column": 32 }, "identifierName": "bind" @@ -36396,15 +41447,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4653, - "end": 4657, + "start": 4584, + "end": 4588, "loc": { "start": { - "line": 80, + "line": 75, "column": 33 }, "end": { - "line": 80, + "line": 75, "column": 37 } } @@ -36415,73 +41466,73 @@ }, { "type": "ExpressionStatement", - "start": 4665, - "end": 4706, + "start": 4596, + "end": 4637, "loc": { "start": { - "line": 81, + "line": 76, "column": 4 }, "end": { - "line": 81, + "line": 76, "column": 45 } }, "expression": { "type": "AssignmentExpression", - "start": 4665, - "end": 4705, + "start": 4596, + "end": 4636, "loc": { "start": { - "line": 81, + "line": 76, "column": 4 }, "end": { - "line": 81, + "line": 76, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4665, - "end": 4678, + "start": 4596, + "end": 4609, "loc": { "start": { - "line": 81, + "line": 76, "column": 4 }, "end": { - "line": 81, + "line": 76, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 4665, - "end": 4669, + "start": 4596, + "end": 4600, "loc": { "start": { - "line": 81, + "line": 76, "column": 4 }, "end": { - "line": 81, + "line": 76, "column": 8 } } }, "property": { "type": "Identifier", - "start": 4670, - "end": 4678, + "start": 4601, + "end": 4609, "loc": { "start": { - "line": 81, + "line": 76, "column": 9 }, "end": { - "line": 81, + "line": 76, "column": 17 }, "identifierName": "dispatch" @@ -36492,72 +41543,72 @@ }, "right": { "type": "CallExpression", - "start": 4681, - "end": 4705, + "start": 4612, + "end": 4636, "loc": { "start": { - "line": 81, + "line": 76, "column": 20 }, "end": { - "line": 81, + "line": 76, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 4681, - "end": 4699, + "start": 4612, + "end": 4630, "loc": { "start": { - "line": 81, + "line": 76, "column": 20 }, "end": { - "line": 81, + "line": 76, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 4681, - "end": 4694, + "start": 4612, + "end": 4625, "loc": { "start": { - "line": 81, + "line": 76, "column": 20 }, "end": { - "line": 81, + "line": 76, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 4681, - "end": 4685, + "start": 4612, + "end": 4616, "loc": { "start": { - "line": 81, + "line": 76, "column": 20 }, "end": { - "line": 81, + "line": 76, "column": 24 } } }, "property": { "type": "Identifier", - "start": 4686, - "end": 4694, + "start": 4617, + "end": 4625, "loc": { "start": { - "line": 81, + "line": 76, "column": 25 }, "end": { - "line": 81, + "line": 76, "column": 33 }, "identifierName": "dispatch" @@ -36568,15 +41619,15 @@ }, "property": { "type": "Identifier", - "start": 4695, - "end": 4699, + "start": 4626, + "end": 4630, "loc": { "start": { - "line": 81, + "line": 76, "column": 34 }, "end": { - "line": 81, + "line": 76, "column": 38 }, "identifierName": "bind" @@ -36588,15 +41639,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4700, - "end": 4704, + "start": 4631, + "end": 4635, "loc": { "start": { - "line": 81, + "line": 76, "column": 39 }, "end": { - "line": 81, + "line": 76, "column": 43 } } @@ -36607,73 +41658,73 @@ }, { "type": "ExpressionStatement", - "start": 4712, - "end": 4765, + "start": 4643, + "end": 4696, "loc": { "start": { - "line": 82, + "line": 77, "column": 4 }, "end": { - "line": 82, + "line": 77, "column": 57 } }, "expression": { "type": "AssignmentExpression", - "start": 4712, - "end": 4764, + "start": 4643, + "end": 4695, "loc": { "start": { - "line": 82, + "line": 77, "column": 4 }, "end": { - "line": 82, + "line": 77, "column": 56 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4712, - "end": 4731, + "start": 4643, + "end": 4662, "loc": { "start": { - "line": 82, + "line": 77, "column": 4 }, "end": { - "line": 82, + "line": 77, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 4712, - "end": 4716, + "start": 4643, + "end": 4647, "loc": { "start": { - "line": 82, + "line": 77, "column": 4 }, "end": { - "line": 82, + "line": 77, "column": 8 } } }, "property": { "type": "Identifier", - "start": 4717, - "end": 4731, + "start": 4648, + "end": 4662, "loc": { "start": { - "line": 82, + "line": 77, "column": 9 }, "end": { - "line": 82, + "line": 77, "column": 23 }, "identifierName": "addButtonTheme" @@ -36684,72 +41735,72 @@ }, "right": { "type": "CallExpression", - "start": 4734, - "end": 4764, + "start": 4665, + "end": 4695, "loc": { "start": { - "line": 82, + "line": 77, "column": 26 }, "end": { - "line": 82, + "line": 77, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 4734, - "end": 4758, + "start": 4665, + "end": 4689, "loc": { "start": { - "line": 82, + "line": 77, "column": 26 }, "end": { - "line": 82, + "line": 77, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 4734, - "end": 4753, + "start": 4665, + "end": 4684, "loc": { "start": { - "line": 82, + "line": 77, "column": 26 }, "end": { - "line": 82, + "line": 77, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 4734, - "end": 4738, + "start": 4665, + "end": 4669, "loc": { "start": { - "line": 82, + "line": 77, "column": 26 }, "end": { - "line": 82, + "line": 77, "column": 30 } } }, "property": { "type": "Identifier", - "start": 4739, - "end": 4753, + "start": 4670, + "end": 4684, "loc": { "start": { - "line": 82, + "line": 77, "column": 31 }, "end": { - "line": 82, + "line": 77, "column": 45 }, "identifierName": "addButtonTheme" @@ -36760,15 +41811,15 @@ }, "property": { "type": "Identifier", - "start": 4754, - "end": 4758, + "start": 4685, + "end": 4689, "loc": { "start": { - "line": 82, + "line": 77, "column": 46 }, "end": { - "line": 82, + "line": 77, "column": 50 }, "identifierName": "bind" @@ -36780,15 +41831,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4759, - "end": 4763, + "start": 4690, + "end": 4694, "loc": { "start": { - "line": 82, + "line": 77, "column": 51 }, "end": { - "line": 82, + "line": 77, "column": 55 } } @@ -36799,73 +41850,73 @@ }, { "type": "ExpressionStatement", - "start": 4771, - "end": 4830, + "start": 4702, + "end": 4761, "loc": { "start": { - "line": 83, + "line": 78, "column": 4 }, "end": { - "line": 83, + "line": 78, "column": 63 } }, "expression": { "type": "AssignmentExpression", - "start": 4771, - "end": 4829, + "start": 4702, + "end": 4760, "loc": { "start": { - "line": 83, + "line": 78, "column": 4 }, "end": { - "line": 83, + "line": 78, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4771, - "end": 4793, + "start": 4702, + "end": 4724, "loc": { "start": { - "line": 83, + "line": 78, "column": 4 }, "end": { - "line": 83, + "line": 78, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 4771, - "end": 4775, + "start": 4702, + "end": 4706, "loc": { "start": { - "line": 83, + "line": 78, "column": 4 }, "end": { - "line": 83, + "line": 78, "column": 8 } } }, "property": { "type": "Identifier", - "start": 4776, - "end": 4793, + "start": 4707, + "end": 4724, "loc": { "start": { - "line": 83, + "line": 78, "column": 9 }, "end": { - "line": 83, + "line": 78, "column": 26 }, "identifierName": "removeButtonTheme" @@ -36876,72 +41927,72 @@ }, "right": { "type": "CallExpression", - "start": 4796, - "end": 4829, + "start": 4727, + "end": 4760, "loc": { "start": { - "line": 83, + "line": 78, "column": 29 }, "end": { - "line": 83, + "line": 78, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 4796, - "end": 4823, + "start": 4727, + "end": 4754, "loc": { "start": { - "line": 83, + "line": 78, "column": 29 }, "end": { - "line": 83, + "line": 78, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 4796, - "end": 4818, + "start": 4727, + "end": 4749, "loc": { "start": { - "line": 83, + "line": 78, "column": 29 }, "end": { - "line": 83, + "line": 78, "column": 51 } }, "object": { "type": "ThisExpression", - "start": 4796, - "end": 4800, + "start": 4727, + "end": 4731, "loc": { "start": { - "line": 83, + "line": 78, "column": 29 }, "end": { - "line": 83, + "line": 78, "column": 33 } } }, "property": { "type": "Identifier", - "start": 4801, - "end": 4818, + "start": 4732, + "end": 4749, "loc": { "start": { - "line": 83, + "line": 78, "column": 34 }, "end": { - "line": 83, + "line": 78, "column": 51 }, "identifierName": "removeButtonTheme" @@ -36952,15 +42003,15 @@ }, "property": { "type": "Identifier", - "start": 4819, - "end": 4823, + "start": 4750, + "end": 4754, "loc": { "start": { - "line": 83, + "line": 78, "column": 52 }, "end": { - "line": 83, + "line": 78, "column": 56 }, "identifierName": "bind" @@ -36972,15 +42023,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 4824, - "end": 4828, + "start": 4755, + "end": 4759, "loc": { "start": { - "line": 83, + "line": 78, "column": 57 }, "end": { - "line": 83, + "line": 78, "column": 61 } } @@ -36991,8 +42042,968 @@ }, { "type": "ExpressionStatement", - "start": 4836, - "end": 4893, + "start": 4767, + "end": 4824, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 61 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4767, + "end": 4823, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 60 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4767, + "end": 4788, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 25 + } + }, + "object": { + "type": "ThisExpression", + "start": 4767, + "end": 4771, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4772, + "end": 4788, + "loc": { + "start": { + "line": 79, + "column": 9 + }, + "end": { + "line": 79, + "column": 25 + }, + "identifierName": "getButtonElement" + }, + "name": "getButtonElement" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4791, + "end": 4823, + "loc": { + "start": { + "line": 79, + "column": 28 + }, + "end": { + "line": 79, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4791, + "end": 4817, + "loc": { + "start": { + "line": 79, + "column": 28 + }, + "end": { + "line": 79, + "column": 54 + } + }, + "object": { + "type": "MemberExpression", + "start": 4791, + "end": 4812, + "loc": { + "start": { + "line": 79, + "column": 28 + }, + "end": { + "line": 79, + "column": 49 + } + }, + "object": { + "type": "ThisExpression", + "start": 4791, + "end": 4795, + "loc": { + "start": { + "line": 79, + "column": 28 + }, + "end": { + "line": 79, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "start": 4796, + "end": 4812, + "loc": { + "start": { + "line": 79, + "column": 33 + }, + "end": { + "line": 79, + "column": 49 + }, + "identifierName": "getButtonElement" + }, + "name": "getButtonElement" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4813, + "end": 4817, + "loc": { + "start": { + "line": 79, + "column": 50 + }, + "end": { + "line": 79, + "column": 54 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4818, + "end": 4822, + "loc": { + "start": { + "line": 79, + "column": 55 + }, + "end": { + "line": 79, + "column": 59 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4830, + "end": 4877, + "loc": { + "start": { + "line": 80, + "column": 4 + }, + "end": { + "line": 80, + "column": 51 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4830, + "end": 4876, + "loc": { + "start": { + "line": 80, + "column": 4 + }, + "end": { + "line": 80, + "column": 50 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4830, + "end": 4846, + "loc": { + "start": { + "line": 80, + "column": 4 + }, + "end": { + "line": 80, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 4830, + "end": 4834, + "loc": { + "start": { + "line": 80, + "column": 4 + }, + "end": { + "line": 80, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4835, + "end": 4846, + "loc": { + "start": { + "line": 80, + "column": 9 + }, + "end": { + "line": 80, + "column": 20 + }, + "identifierName": "handleCaret" + }, + "name": "handleCaret" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4849, + "end": 4876, + "loc": { + "start": { + "line": 80, + "column": 23 + }, + "end": { + "line": 80, + "column": 50 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4849, + "end": 4870, + "loc": { + "start": { + "line": 80, + "column": 23 + }, + "end": { + "line": 80, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 4849, + "end": 4865, + "loc": { + "start": { + "line": 80, + "column": 23 + }, + "end": { + "line": 80, + "column": 39 + } + }, + "object": { + "type": "ThisExpression", + "start": 4849, + "end": 4853, + "loc": { + "start": { + "line": 80, + "column": 23 + }, + "end": { + "line": 80, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "start": 4854, + "end": 4865, + "loc": { + "start": { + "line": 80, + "column": 28 + }, + "end": { + "line": 80, + "column": 39 + }, + "identifierName": "handleCaret" + }, + "name": "handleCaret" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4866, + "end": 4870, + "loc": { + "start": { + "line": 80, + "column": 40 + }, + "end": { + "line": 80, + "column": 44 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4871, + "end": 4875, + "loc": { + "start": { + "line": 80, + "column": 45 + }, + "end": { + "line": 80, + "column": 49 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4883, + "end": 4942, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 63 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4883, + "end": 4941, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 62 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4883, + "end": 4905, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 4883, + "end": 4887, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4888, + "end": 4905, + "loc": { + "start": { + "line": 81, + "column": 9 + }, + "end": { + "line": 81, + "column": 26 + }, + "identifierName": "caretEventHandler" + }, + "name": "caretEventHandler" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4908, + "end": 4941, + "loc": { + "start": { + "line": 81, + "column": 29 + }, + "end": { + "line": 81, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4908, + "end": 4935, + "loc": { + "start": { + "line": 81, + "column": 29 + }, + "end": { + "line": 81, + "column": 56 + } + }, + "object": { + "type": "MemberExpression", + "start": 4908, + "end": 4930, + "loc": { + "start": { + "line": 81, + "column": 29 + }, + "end": { + "line": 81, + "column": 51 + } + }, + "object": { + "type": "ThisExpression", + "start": 4908, + "end": 4912, + "loc": { + "start": { + "line": 81, + "column": 29 + }, + "end": { + "line": 81, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "start": 4913, + "end": 4930, + "loc": { + "start": { + "line": 81, + "column": 34 + }, + "end": { + "line": 81, + "column": 51 + }, + "identifierName": "caretEventHandler" + }, + "name": "caretEventHandler" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4931, + "end": 4935, + "loc": { + "start": { + "line": 81, + "column": 52 + }, + "end": { + "line": 81, + "column": 56 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4936, + "end": 4940, + "loc": { + "start": { + "line": 81, + "column": 57 + }, + "end": { + "line": 81, + "column": 61 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4948, + "end": 4985, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 41 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4948, + "end": 4984, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 40 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4948, + "end": 4959, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 4948, + "end": 4952, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4953, + "end": 4959, + "loc": { + "start": { + "line": 82, + "column": 9 + }, + "end": { + "line": 82, + "column": 15 + }, + "identifierName": "onInit" + }, + "name": "onInit" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4962, + "end": 4984, + "loc": { + "start": { + "line": 82, + "column": 18 + }, + "end": { + "line": 82, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4962, + "end": 4978, + "loc": { + "start": { + "line": 82, + "column": 18 + }, + "end": { + "line": 82, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 4962, + "end": 4973, + "loc": { + "start": { + "line": 82, + "column": 18 + }, + "end": { + "line": 82, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 4962, + "end": 4966, + "loc": { + "start": { + "line": 82, + "column": 18 + }, + "end": { + "line": 82, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 4967, + "end": 4973, + "loc": { + "start": { + "line": 82, + "column": 23 + }, + "end": { + "line": 82, + "column": 29 + }, + "identifierName": "onInit" + }, + "name": "onInit" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4974, + "end": 4978, + "loc": { + "start": { + "line": 82, + "column": 30 + }, + "end": { + "line": 82, + "column": 34 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 4979, + "end": 4983, + "loc": { + "start": { + "line": 82, + "column": 35 + }, + "end": { + "line": 82, + "column": 39 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4991, + "end": 5032, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 45 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4991, + "end": 5031, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 44 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4991, + "end": 5004, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 4991, + "end": 4995, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4996, + "end": 5004, + "loc": { + "start": { + "line": 83, + "column": 9 + }, + "end": { + "line": 83, + "column": 17 + }, + "identifierName": "onRender" + }, + "name": "onRender" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 5007, + "end": 5031, + "loc": { + "start": { + "line": 83, + "column": 20 + }, + "end": { + "line": 83, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5007, + "end": 5025, + "loc": { + "start": { + "line": 83, + "column": 20 + }, + "end": { + "line": 83, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 5007, + "end": 5020, + "loc": { + "start": { + "line": 83, + "column": 20 + }, + "end": { + "line": 83, + "column": 33 + } + }, + "object": { + "type": "ThisExpression", + "start": 5007, + "end": 5011, + "loc": { + "start": { + "line": 83, + "column": 20 + }, + "end": { + "line": 83, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 5012, + "end": 5020, + "loc": { + "start": { + "line": 83, + "column": 25 + }, + "end": { + "line": 83, + "column": 33 + }, + "identifierName": "onRender" + }, + "name": "onRender" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5021, + "end": 5025, + "loc": { + "start": { + "line": 83, + "column": 34 + }, + "end": { + "line": 83, + "column": 38 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 5026, + "end": 5030, + "loc": { + "start": { + "line": 83, + "column": 39 + }, + "end": { + "line": 83, + "column": 43 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 5038, + "end": 5075, "loc": { "start": { "line": 84, @@ -37000,13 +43011,13 @@ }, "end": { "line": 84, - "column": 61 + "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 4836, - "end": 4892, + "start": 5038, + "end": 5074, "loc": { "start": { "line": 84, @@ -37014,14 +43025,14 @@ }, "end": { "line": 84, - "column": 60 + "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4836, - "end": 4857, + "start": 5038, + "end": 5049, "loc": { "start": { "line": 84, @@ -37029,13 +43040,13 @@ }, "end": { "line": 84, - "column": 25 + "column": 15 } }, "object": { "type": "ThisExpression", - "start": 4836, - "end": 4840, + "start": 5038, + "end": 5042, "loc": { "start": { "line": 84, @@ -37049,8 +43060,8 @@ }, "property": { "type": "Identifier", - "start": 4841, - "end": 4857, + "start": 5043, + "end": 5049, "loc": { "start": { "line": 84, @@ -37058,102 +43069,102 @@ }, "end": { "line": 84, - "column": 25 + "column": 15 }, - "identifierName": "getButtonElement" + "identifierName": "render" }, - "name": "getButtonElement" + "name": "render" }, "computed": false }, "right": { "type": "CallExpression", - "start": 4860, - "end": 4892, + "start": 5052, + "end": 5074, "loc": { "start": { "line": 84, - "column": 28 + "column": 18 }, "end": { "line": 84, - "column": 60 + "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 4860, - "end": 4886, + "start": 5052, + "end": 5068, "loc": { "start": { "line": 84, - "column": 28 + "column": 18 }, "end": { "line": 84, - "column": 54 + "column": 34 } }, "object": { "type": "MemberExpression", - "start": 4860, - "end": 4881, + "start": 5052, + "end": 5063, "loc": { "start": { "line": 84, - "column": 28 + "column": 18 }, "end": { "line": 84, - "column": 49 + "column": 29 } }, "object": { "type": "ThisExpression", - "start": 4860, - "end": 4864, + "start": 5052, + "end": 5056, "loc": { "start": { "line": 84, - "column": 28 + "column": 18 }, "end": { "line": 84, - "column": 32 + "column": 22 } } }, "property": { "type": "Identifier", - "start": 4865, - "end": 4881, + "start": 5057, + "end": 5063, "loc": { "start": { "line": 84, - "column": 33 + "column": 23 }, "end": { "line": 84, - "column": 49 + "column": 29 }, - "identifierName": "getButtonElement" + "identifierName": "render" }, - "name": "getButtonElement" + "name": "render" }, "computed": false }, "property": { "type": "Identifier", - "start": 4882, - "end": 4886, + "start": 5064, + "end": 5068, "loc": { "start": { "line": 84, - "column": 50 + "column": 30 }, "end": { "line": 84, - "column": 54 + "column": 34 }, "identifierName": "bind" }, @@ -37164,16 +43175,16 @@ "arguments": [ { "type": "ThisExpression", - "start": 4887, - "end": 4891, + "start": 5069, + "end": 5073, "loc": { "start": { "line": 84, - "column": 55 + "column": 35 }, "end": { "line": 84, - "column": 59 + "column": 39 } } } @@ -37183,8 +43194,8 @@ }, { "type": "ExpressionStatement", - "start": 4899, - "end": 4946, + "start": 5081, + "end": 5128, "loc": { "start": { "line": 85, @@ -37197,8 +43208,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 4899, - "end": 4945, + "start": 5081, + "end": 5127, "loc": { "start": { "line": 85, @@ -37212,8 +43223,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 4899, - "end": 4915, + "start": 5081, + "end": 5097, "loc": { "start": { "line": 85, @@ -37226,8 +43237,8 @@ }, "object": { "type": "ThisExpression", - "start": 4899, - "end": 4903, + "start": 5081, + "end": 5085, "loc": { "start": { "line": 85, @@ -37241,8 +43252,8 @@ }, "property": { "type": "Identifier", - "start": 4904, - "end": 4915, + "start": 5086, + "end": 5097, "loc": { "start": { "line": 85, @@ -37252,16 +43263,16 @@ "line": 85, "column": 20 }, - "identifierName": "handleCaret" + "identifierName": "loadModules" }, - "name": "handleCaret" + "name": "loadModules" }, "computed": false }, "right": { "type": "CallExpression", - "start": 4918, - "end": 4945, + "start": 5100, + "end": 5127, "loc": { "start": { "line": 85, @@ -37274,8 +43285,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4918, - "end": 4939, + "start": 5100, + "end": 5121, "loc": { "start": { "line": 85, @@ -37288,8 +43299,8 @@ }, "object": { "type": "MemberExpression", - "start": 4918, - "end": 4934, + "start": 5100, + "end": 5116, "loc": { "start": { "line": 85, @@ -37302,8 +43313,8 @@ }, "object": { "type": "ThisExpression", - "start": 4918, - "end": 4922, + "start": 5100, + "end": 5104, "loc": { "start": { "line": 85, @@ -37317,8 +43328,8 @@ }, "property": { "type": "Identifier", - "start": 4923, - "end": 4934, + "start": 5105, + "end": 5116, "loc": { "start": { "line": 85, @@ -37328,16 +43339,16 @@ "line": 85, "column": 39 }, - "identifierName": "handleCaret" + "identifierName": "loadModules" }, - "name": "handleCaret" + "name": "loadModules" }, "computed": false }, "property": { "type": "Identifier", - "start": 4935, - "end": 4939, + "start": 5117, + "end": 5121, "loc": { "start": { "line": 85, @@ -37356,8 +43367,8 @@ "arguments": [ { "type": "ThisExpression", - "start": 4940, - "end": 4944, + "start": 5122, + "end": 5126, "loc": { "start": { "line": 85, @@ -37375,8 +43386,8 @@ }, { "type": "ExpressionStatement", - "start": 4952, - "end": 5011, + "start": 5134, + "end": 5197, "loc": { "start": { "line": 86, @@ -37384,13 +43395,13 @@ }, "end": { "line": 86, - "column": 63 + "column": 67 } }, "expression": { "type": "AssignmentExpression", - "start": 4952, - "end": 5010, + "start": 5134, + "end": 5196, "loc": { "start": { "line": 86, @@ -37398,14 +43409,14 @@ }, "end": { "line": 86, - "column": 62 + "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4952, - "end": 4974, + "start": 5134, + "end": 5158, "loc": { "start": { "line": 86, @@ -37413,13 +43424,13 @@ }, "end": { "line": 86, - "column": 26 + "column": 28 } }, "object": { "type": "ThisExpression", - "start": 4952, - "end": 4956, + "start": 5134, + "end": 5138, "loc": { "start": { "line": 86, @@ -37433,8 +43444,8 @@ }, "property": { "type": "Identifier", - "start": 4957, - "end": 4974, + "start": 5139, + "end": 5158, "loc": { "start": { "line": 86, @@ -37442,103 +43453,103 @@ }, "end": { "line": 86, - "column": 26 + "column": 28 }, - "identifierName": "caretEventHandler" + "identifierName": "handleButtonMouseUp" }, - "name": "caretEventHandler" + "name": "handleButtonMouseUp" }, "computed": false }, "right": { "type": "CallExpression", - "start": 4977, - "end": 5010, + "start": 5161, + "end": 5196, "loc": { "start": { "line": 86, - "column": 29 + "column": 31 }, "end": { "line": 86, - "column": 62 + "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 4977, - "end": 5004, + "start": 5161, + "end": 5190, "loc": { "start": { "line": 86, - "column": 29 + "column": 31 }, "end": { "line": 86, - "column": 56 + "column": 60 } }, "object": { "type": "MemberExpression", - "start": 4977, - "end": 4999, + "start": 5161, + "end": 5185, "loc": { "start": { "line": 86, - "column": 29 + "column": 31 }, "end": { "line": 86, - "column": 51 + "column": 55 } }, "object": { "type": "ThisExpression", - "start": 4977, - "end": 4981, + "start": 5161, + "end": 5165, "loc": { "start": { "line": 86, - "column": 29 + "column": 31 }, "end": { "line": 86, - "column": 33 + "column": 35 } } }, "property": { "type": "Identifier", - "start": 4982, - "end": 4999, + "start": 5166, + "end": 5185, "loc": { "start": { "line": 86, - "column": 34 + "column": 36 }, "end": { "line": 86, - "column": 51 + "column": 55 }, - "identifierName": "caretEventHandler" + "identifierName": "handleButtonMouseUp" }, - "name": "caretEventHandler" + "name": "handleButtonMouseUp" }, "computed": false }, "property": { "type": "Identifier", - "start": 5000, - "end": 5004, + "start": 5186, + "end": 5190, "loc": { "start": { - "line": 86, - "column": 52 - }, - "end": { "line": 86, "column": 56 }, + "end": { + "line": 86, + "column": 60 + }, "identifierName": "bind" }, "name": "bind" @@ -37548,16 +43559,16 @@ "arguments": [ { "type": "ThisExpression", - "start": 5005, - "end": 5009, + "start": 5191, + "end": 5195, "loc": { "start": { "line": 86, - "column": 57 + "column": 61 }, "end": { "line": 86, - "column": 61 + "column": 65 } } } @@ -37567,8 +43578,8 @@ }, { "type": "ExpressionStatement", - "start": 5017, - "end": 5054, + "start": 5203, + "end": 5270, "loc": { "start": { "line": 87, @@ -37576,13 +43587,13 @@ }, "end": { "line": 87, - "column": 41 + "column": 71 } }, "expression": { "type": "AssignmentExpression", - "start": 5017, - "end": 5053, + "start": 5203, + "end": 5269, "loc": { "start": { "line": 87, @@ -37590,14 +43601,14 @@ }, "end": { "line": 87, - "column": 40 + "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5017, - "end": 5028, + "start": 5203, + "end": 5229, "loc": { "start": { "line": 87, @@ -37605,13 +43616,13 @@ }, "end": { "line": 87, - "column": 15 + "column": 30 } }, "object": { "type": "ThisExpression", - "start": 5017, - "end": 5021, + "start": 5203, + "end": 5207, "loc": { "start": { "line": 87, @@ -37625,8 +43636,8 @@ }, "property": { "type": "Identifier", - "start": 5022, - "end": 5028, + "start": 5208, + "end": 5229, "loc": { "start": { "line": 87, @@ -37634,102 +43645,102 @@ }, "end": { "line": 87, - "column": 15 + "column": 30 }, - "identifierName": "onInit" + "identifierName": "handleButtonMouseDown" }, - "name": "onInit" + "name": "handleButtonMouseDown" }, "computed": false }, "right": { "type": "CallExpression", - "start": 5031, - "end": 5053, + "start": 5232, + "end": 5269, "loc": { "start": { "line": 87, - "column": 18 + "column": 33 }, "end": { "line": 87, - "column": 40 + "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 5031, - "end": 5047, + "start": 5232, + "end": 5263, "loc": { "start": { "line": 87, - "column": 18 + "column": 33 }, "end": { "line": 87, - "column": 34 + "column": 64 } }, "object": { "type": "MemberExpression", - "start": 5031, - "end": 5042, + "start": 5232, + "end": 5258, "loc": { "start": { "line": 87, - "column": 18 + "column": 33 }, "end": { "line": 87, - "column": 29 + "column": 59 } }, "object": { "type": "ThisExpression", - "start": 5031, - "end": 5035, + "start": 5232, + "end": 5236, "loc": { "start": { "line": 87, - "column": 18 + "column": 33 }, "end": { "line": 87, - "column": 22 + "column": 37 } } }, "property": { "type": "Identifier", - "start": 5036, - "end": 5042, + "start": 5237, + "end": 5258, "loc": { "start": { "line": 87, - "column": 23 + "column": 38 }, "end": { "line": 87, - "column": 29 + "column": 59 }, - "identifierName": "onInit" + "identifierName": "handleButtonMouseDown" }, - "name": "onInit" + "name": "handleButtonMouseDown" }, "computed": false }, "property": { "type": "Identifier", - "start": 5043, - "end": 5047, + "start": 5259, + "end": 5263, "loc": { "start": { "line": 87, - "column": 30 + "column": 60 }, "end": { "line": 87, - "column": 34 + "column": 64 }, "identifierName": "bind" }, @@ -37740,16 +43751,16 @@ "arguments": [ { "type": "ThisExpression", - "start": 5048, - "end": 5052, + "start": 5264, + "end": 5268, "loc": { "start": { "line": 87, - "column": 35 + "column": 65 }, "end": { "line": 87, - "column": 39 + "column": 69 } } } @@ -37759,8 +43770,8 @@ }, { "type": "ExpressionStatement", - "start": 5060, - "end": 5101, + "start": 5276, + "end": 5333, "loc": { "start": { "line": 88, @@ -37768,13 +43779,13 @@ }, "end": { "line": 88, - "column": 45 + "column": 61 } }, "expression": { "type": "AssignmentExpression", - "start": 5060, - "end": 5100, + "start": 5276, + "end": 5332, "loc": { "start": { "line": 88, @@ -37782,14 +43793,14 @@ }, "end": { "line": 88, - "column": 44 + "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5060, - "end": 5073, + "start": 5276, + "end": 5297, "loc": { "start": { "line": 88, @@ -37797,13 +43808,13 @@ }, "end": { "line": 88, - "column": 17 + "column": 25 } }, "object": { "type": "ThisExpression", - "start": 5060, - "end": 5064, + "start": 5276, + "end": 5280, "loc": { "start": { "line": 88, @@ -37817,8 +43828,8 @@ }, "property": { "type": "Identifier", - "start": 5065, - "end": 5073, + "start": 5281, + "end": 5297, "loc": { "start": { "line": 88, @@ -37826,102 +43837,102 @@ }, "end": { "line": 88, - "column": 17 + "column": 25 }, - "identifierName": "onRender" + "identifierName": "handleButtonHold" }, - "name": "onRender" + "name": "handleButtonHold" }, "computed": false }, "right": { "type": "CallExpression", - "start": 5076, - "end": 5100, + "start": 5300, + "end": 5332, "loc": { "start": { "line": 88, - "column": 20 + "column": 28 }, "end": { "line": 88, - "column": 44 + "column": 60 } }, "callee": { "type": "MemberExpression", - "start": 5076, - "end": 5094, + "start": 5300, + "end": 5326, "loc": { "start": { "line": 88, - "column": 20 + "column": 28 }, "end": { "line": 88, - "column": 38 + "column": 54 } }, "object": { "type": "MemberExpression", - "start": 5076, - "end": 5089, + "start": 5300, + "end": 5321, "loc": { "start": { "line": 88, - "column": 20 + "column": 28 }, "end": { "line": 88, - "column": 33 + "column": 49 } }, "object": { "type": "ThisExpression", - "start": 5076, - "end": 5080, + "start": 5300, + "end": 5304, "loc": { "start": { "line": 88, - "column": 20 + "column": 28 }, "end": { "line": 88, - "column": 24 + "column": 32 } } }, "property": { "type": "Identifier", - "start": 5081, - "end": 5089, + "start": 5305, + "end": 5321, "loc": { "start": { - "line": 88, - "column": 25 - }, - "end": { "line": 88, "column": 33 }, - "identifierName": "onRender" + "end": { + "line": 88, + "column": 49 + }, + "identifierName": "handleButtonHold" }, - "name": "onRender" + "name": "handleButtonHold" }, "computed": false }, "property": { "type": "Identifier", - "start": 5090, - "end": 5094, + "start": 5322, + "end": 5326, "loc": { "start": { "line": 88, - "column": 34 + "column": 50 }, "end": { "line": 88, - "column": 38 + "column": 54 }, "identifierName": "bind" }, @@ -37932,208 +43943,16 @@ "arguments": [ { "type": "ThisExpression", - "start": 5095, - "end": 5099, + "start": 5327, + "end": 5331, "loc": { "start": { "line": 88, - "column": 39 + "column": 55 }, "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 + "column": 59 } } } @@ -38144,15 +43963,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": 5152, - "end": 5811, + "start": 5341, + "end": 6000, "loc": { "start": { - "line": 91, + "line": 90, "column": 4 }, "end": { - "line": 104, + "line": 103, "column": 7 } } @@ -38161,58 +43980,58 @@ }, { "type": "ExpressionStatement", - "start": 5817, - "end": 5833, + "start": 6006, + "end": 6022, "loc": { "start": { - "line": 105, + "line": 104, "column": 4 }, "end": { - "line": 105, + "line": 104, "column": 20 } }, "expression": { "type": "AssignmentExpression", - "start": 5817, - "end": 5832, + "start": 6006, + "end": 6021, "loc": { "start": { - "line": 105, + "line": 104, "column": 4 }, "end": { - "line": 105, + "line": 104, "column": 19 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5817, - "end": 5827, + "start": 6006, + "end": 6016, "loc": { "start": { - "line": 105, + "line": 104, "column": 4 }, "end": { - "line": 105, + "line": 104, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 5817, - "end": 5821, + "start": 6006, + "end": 6010, "loc": { "start": { - "line": 105, + "line": 104, "column": 4 }, "end": { - "line": 105, + "line": 104, "column": 8 } }, @@ -38220,15 +44039,15 @@ }, "property": { "type": "Identifier", - "start": 5822, - "end": 5827, + "start": 6011, + "end": 6016, "loc": { "start": { - "line": 105, + "line": 104, "column": 9 }, "end": { - "line": 105, + "line": 104, "column": 14 }, "identifierName": "input" @@ -38240,15 +44059,15 @@ }, "right": { "type": "ObjectExpression", - "start": 5830, - "end": 5832, + "start": 6019, + "end": 6021, "loc": { "start": { - "line": 105, + "line": 104, "column": 17 }, "end": { - "line": 105, + "line": 104, "column": 19 } }, @@ -38260,15 +44079,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": 5152, - "end": 5811, + "start": 5341, + "end": 6000, "loc": { "start": { - "line": 91, + "line": 90, "column": 4 }, "end": { - "line": 104, + "line": 103, "column": 7 } } @@ -38277,87 +44096,87 @@ }, { "type": "ExpressionStatement", - "start": 5839, - "end": 5879, + "start": 6028, + "end": 6068, "loc": { "start": { - "line": 106, + "line": 105, "column": 4 }, "end": { - "line": 106, + "line": 105, "column": 44 } }, "expression": { "type": "AssignmentExpression", - "start": 5839, - "end": 5878, + "start": 6028, + "end": 6067, "loc": { "start": { - "line": 106, + "line": 105, "column": 4 }, "end": { - "line": 106, + "line": 105, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5839, - "end": 5873, + "start": 6028, + "end": 6062, "loc": { "start": { - "line": 106, + "line": 105, "column": 4 }, "end": { - "line": 106, + "line": 105, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 5839, - "end": 5849, + "start": 6028, + "end": 6038, "loc": { "start": { - "line": 106, + "line": 105, "column": 4 }, "end": { - "line": 106, + "line": 105, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 5839, - "end": 5843, + "start": 6028, + "end": 6032, "loc": { "start": { - "line": 106, + "line": 105, "column": 4 }, "end": { - "line": 106, + "line": 105, "column": 8 } } }, "property": { "type": "Identifier", - "start": 5844, - "end": 5849, + "start": 6033, + "end": 6038, "loc": { "start": { - "line": 106, + "line": 105, "column": 9 }, "end": { - "line": 106, + "line": 105, "column": 14 }, "identifierName": "input" @@ -38368,58 +44187,58 @@ }, "property": { "type": "MemberExpression", - "start": 5850, - "end": 5872, + "start": 6039, + "end": 6061, "loc": { "start": { - "line": 106, + "line": 105, "column": 15 }, "end": { - "line": 106, + "line": 105, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 5850, - "end": 5862, + "start": 6039, + "end": 6051, "loc": { "start": { - "line": 106, + "line": 105, "column": 15 }, "end": { - "line": 106, + "line": 105, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 5850, - "end": 5854, + "start": 6039, + "end": 6043, "loc": { "start": { - "line": 106, + "line": 105, "column": 15 }, "end": { - "line": 106, + "line": 105, "column": 19 } } }, "property": { "type": "Identifier", - "start": 5855, - "end": 5862, + "start": 6044, + "end": 6051, "loc": { "start": { - "line": 106, + "line": 105, "column": 20 }, "end": { - "line": 106, + "line": 105, "column": 27 }, "identifierName": "options" @@ -38430,15 +44249,15 @@ }, "property": { "type": "Identifier", - "start": 5863, - "end": 5872, + "start": 6052, + "end": 6061, "loc": { "start": { - "line": 106, + "line": 105, "column": 28 }, "end": { - "line": 106, + "line": 105, "column": 37 }, "identifierName": "inputName" @@ -38451,15 +44270,15 @@ }, "right": { "type": "StringLiteral", - "start": 5876, - "end": 5878, + "start": 6065, + "end": 6067, "loc": { "start": { - "line": 106, + "line": 105, "column": 41 }, "end": { - "line": 106, + "line": 105, "column": 43 } }, @@ -38474,15 +44293,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", - "start": 5887, - "end": 5996, + "start": 6076, + "end": 6185, "loc": { "start": { - "line": 108, + "line": 107, "column": 4 }, "end": { - "line": 110, + "line": 109, "column": 7 } } @@ -38491,58 +44310,58 @@ }, { "type": "ExpressionStatement", - "start": 6002, - "end": 6063, + "start": 6191, + "end": 6252, "loc": { "start": { - "line": 111, + "line": 110, "column": 4 }, "end": { - "line": 111, + "line": 110, "column": 65 } }, "expression": { "type": "AssignmentExpression", - "start": 6002, - "end": 6062, + "start": 6191, + "end": 6251, "loc": { "start": { - "line": 111, + "line": 110, "column": 4 }, "end": { - "line": 111, + "line": 110, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6002, - "end": 6023, + "start": 6191, + "end": 6212, "loc": { "start": { - "line": 111, + "line": 110, "column": 4 }, "end": { - "line": 111, + "line": 110, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 6002, - "end": 6006, + "start": 6191, + "end": 6195, "loc": { "start": { - "line": 111, + "line": 110, "column": 4 }, "end": { - "line": 111, + "line": 110, "column": 8 } }, @@ -38550,15 +44369,15 @@ }, "property": { "type": "Identifier", - "start": 6007, - "end": 6023, + "start": 6196, + "end": 6212, "loc": { "start": { - "line": 111, + "line": 110, "column": 9 }, "end": { - "line": 111, + "line": 110, "column": 25 }, "identifierName": "keyboardDOMClass" @@ -38570,71 +44389,71 @@ }, "right": { "type": "CallExpression", - "start": 6026, - "end": 6062, + "start": 6215, + "end": 6251, "loc": { "start": { - "line": 111, + "line": 110, "column": 28 }, "end": { - "line": 111, + "line": 110, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 6026, - "end": 6058, + "start": 6215, + "end": 6247, "loc": { "start": { - "line": 111, + "line": 110, "column": 28 }, "end": { - "line": 111, + "line": 110, "column": 60 } }, "object": { "type": "CallExpression", - "start": 6026, - "end": 6053, + "start": 6215, + "end": 6242, "loc": { "start": { - "line": 111, + "line": 110, "column": 28 }, "end": { - "line": 111, + "line": 110, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 6026, - "end": 6048, + "start": 6215, + "end": 6237, "loc": { "start": { - "line": 111, + "line": 110, "column": 28 }, "end": { - "line": 111, + "line": 110, "column": 50 } }, "object": { "type": "Identifier", - "start": 6026, - "end": 6042, + "start": 6215, + "end": 6231, "loc": { "start": { - "line": 111, + "line": 110, "column": 28 }, "end": { - "line": 111, + "line": 110, "column": 44 }, "identifierName": "keyboardDOMQuery" @@ -38643,15 +44462,15 @@ }, "property": { "type": "Identifier", - "start": 6043, - "end": 6048, + "start": 6232, + "end": 6237, "loc": { "start": { - "line": 111, + "line": 110, "column": 45 }, "end": { - "line": 111, + "line": 110, "column": 50 }, "identifierName": "split" @@ -38663,15 +44482,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 6049, - "end": 6052, + "start": 6238, + "end": 6241, "loc": { "start": { - "line": 111, + "line": 110, "column": 51 }, "end": { - "line": 111, + "line": 110, "column": 54 } }, @@ -38685,15 +44504,15 @@ }, "property": { "type": "Identifier", - "start": 6054, - "end": 6058, + "start": 6243, + "end": 6247, "loc": { "start": { - "line": 111, + "line": 110, "column": 56 }, "end": { - "line": 111, + "line": 110, "column": 60 }, "identifierName": "join" @@ -38705,15 +44524,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 6059, - "end": 6061, + "start": 6248, + "end": 6250, "loc": { "start": { - "line": 111, + "line": 110, "column": 61 }, "end": { - "line": 111, + "line": 110, "column": 63 } }, @@ -38731,15 +44550,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", - "start": 5887, - "end": 5996, + "start": 6076, + "end": 6185, "loc": { "start": { - "line": 108, + "line": 107, "column": 4 }, "end": { - "line": 110, + "line": 109, "column": 7 } } @@ -38749,15 +44568,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": 6071, - "end": 6216, + "start": 6260, + "end": 6405, "loc": { "start": { - "line": 113, + "line": 112, "column": 4 }, "end": { - "line": 115, + "line": 114, "column": 7 } } @@ -38766,58 +44585,58 @@ }, { "type": "ExpressionStatement", - "start": 6222, - "end": 6247, + "start": 6411, + "end": 6436, "loc": { "start": { - "line": 116, + "line": 115, "column": 4 }, "end": { - "line": 116, + "line": 115, "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 6222, - "end": 6246, + "start": 6411, + "end": 6435, "loc": { "start": { - "line": 116, + "line": 115, "column": 4 }, "end": { - "line": 116, + "line": 115, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6222, - "end": 6241, + "start": 6411, + "end": 6430, "loc": { "start": { - "line": 116, + "line": 115, "column": 4 }, "end": { - "line": 116, + "line": 115, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 6222, - "end": 6226, + "start": 6411, + "end": 6415, "loc": { "start": { - "line": 116, + "line": 115, "column": 4 }, "end": { - "line": 116, + "line": 115, "column": 8 } }, @@ -38825,15 +44644,15 @@ }, "property": { "type": "Identifier", - "start": 6227, - "end": 6241, + "start": 6416, + "end": 6430, "loc": { "start": { - "line": 116, + "line": 115, "column": 9 }, "end": { - "line": 116, + "line": 115, "column": 23 }, "identifierName": "buttonElements" @@ -38845,15 +44664,15 @@ }, "right": { "type": "ObjectExpression", - "start": 6244, - "end": 6246, + "start": 6433, + "end": 6435, "loc": { "start": { - "line": 116, + "line": 115, "column": 26 }, "end": { - "line": 116, + "line": 115, "column": 28 } }, @@ -38865,15 +44684,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": 6071, - "end": 6216, + "start": 6260, + "end": 6405, "loc": { "start": { - "line": 113, + "line": 112, "column": 4 }, "end": { - "line": 115, + "line": 114, "column": 7 } } @@ -38883,15 +44702,15 @@ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", - "start": 6255, - "end": 6294, + "start": 6444, + "end": 6483, "loc": { "start": { - "line": 118, + "line": 117, "column": 4 }, "end": { - "line": 120, + "line": 119, "column": 7 } } @@ -38900,43 +44719,43 @@ }, { "type": "IfStatement", - "start": 6300, - "end": 6479, + "start": 6489, + "end": 6668, "loc": { "start": { - "line": 121, + "line": 120, "column": 4 }, "end": { - "line": 126, + "line": 125, "column": 5 } }, "test": { "type": "MemberExpression", - "start": 6303, - "end": 6319, + "start": 6492, + "end": 6508, "loc": { "start": { - "line": 121, + "line": 120, "column": 7 }, "end": { - "line": 121, + "line": 120, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 6303, - "end": 6307, + "start": 6492, + "end": 6496, "loc": { "start": { - "line": 121, + "line": 120, "column": 7 }, "end": { - "line": 121, + "line": 120, "column": 11 } }, @@ -38944,15 +44763,15 @@ }, "property": { "type": "Identifier", - "start": 6308, - "end": 6319, + "start": 6497, + "end": 6508, "loc": { "start": { - "line": 121, + "line": 120, "column": 12 }, "end": { - "line": 121, + "line": 120, "column": 23 }, "identifierName": "keyboardDOM" @@ -38964,72 +44783,72 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 6328, - "end": 6342, + "start": 6517, + "end": 6531, "loc": { "start": { - "line": 122, + "line": 121, "column": 6 }, "end": { - "line": 122, + "line": 121, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 6328, - "end": 6341, + "start": 6517, + "end": 6530, "loc": { "start": { - "line": 122, + "line": 121, "column": 6 }, "end": { - "line": 122, + "line": 121, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 6328, - "end": 6339, + "start": 6517, + "end": 6528, "loc": { "start": { - "line": 122, + "line": 121, "column": 6 }, "end": { - "line": 122, + "line": 121, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 6328, - "end": 6332, + "start": 6517, + "end": 6521, "loc": { "start": { - "line": 122, + "line": 121, "column": 6 }, "end": { - "line": 122, + "line": 121, "column": 10 } } }, "property": { "type": "Identifier", - "start": 6333, - "end": 6339, + "start": 6522, + "end": 6528, "loc": { "start": { - "line": 122, + "line": 121, "column": 11 }, "end": { - "line": 122, + "line": 121, "column": 17 }, "identifierName": "render" @@ -39043,72 +44862,72 @@ }, "alternate": { "type": "BlockStatement", - "start": 6353, - "end": 6479, + "start": 6542, + "end": 6668, "loc": { "start": { - "line": 123, + "line": 122, "column": 9 }, "end": { - "line": 126, + "line": 125, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 6362, - "end": 6426, + "start": 6551, + "end": 6615, "loc": { "start": { - "line": 124, + "line": 123, "column": 6 }, "end": { - "line": 124, + "line": 123, "column": 70 } }, "expression": { "type": "CallExpression", - "start": 6362, - "end": 6425, + "start": 6551, + "end": 6614, "loc": { "start": { - "line": 124, + "line": 123, "column": 6 }, "end": { - "line": 124, + "line": 123, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 6362, - "end": 6374, + "start": 6551, + "end": 6563, "loc": { "start": { - "line": 124, + "line": 123, "column": 6 }, "end": { - "line": 124, + "line": 123, "column": 18 } }, "object": { "type": "Identifier", - "start": 6362, - "end": 6369, + "start": 6551, + "end": 6558, "loc": { "start": { - "line": 124, + "line": 123, "column": 6 }, "end": { - "line": 124, + "line": 123, "column": 13 }, "identifierName": "console" @@ -39117,15 +44936,15 @@ }, "property": { "type": "Identifier", - "start": 6370, - "end": 6374, + "start": 6559, + "end": 6563, "loc": { "start": { - "line": 124, + "line": 123, "column": 14 }, "end": { - "line": 124, + "line": 123, "column": 18 }, "identifierName": "warn" @@ -39137,30 +44956,30 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 6375, - "end": 6424, + "start": 6564, + "end": 6613, "loc": { "start": { - "line": 124, + "line": 123, "column": 19 }, "end": { - "line": 124, + "line": 123, "column": 68 } }, "expressions": [ { "type": "Identifier", - "start": 6379, - "end": 6395, + "start": 6568, + "end": 6584, "loc": { "start": { - "line": 124, + "line": 123, "column": 23 }, "end": { - "line": 124, + "line": 123, "column": 39 }, "identifierName": "keyboardDOMQuery" @@ -39171,15 +44990,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 6376, - "end": 6377, + "start": 6565, + "end": 6566, "loc": { "start": { - "line": 124, + "line": 123, "column": 20 }, "end": { - "line": 124, + "line": 123, "column": 21 } }, @@ -39191,15 +45010,15 @@ }, { "type": "TemplateElement", - "start": 6396, - "end": 6423, + "start": 6585, + "end": 6612, "loc": { "start": { - "line": 124, + "line": 123, "column": 40 }, "end": { - "line": 124, + "line": 123, "column": 67 } }, @@ -39216,43 +45035,43 @@ }, { "type": "ThrowStatement", - "start": 6434, - "end": 6472, + "start": 6623, + "end": 6661, "loc": { "start": { - "line": 125, + "line": 124, "column": 6 }, "end": { - "line": 125, + "line": 124, "column": 44 } }, "argument": { "type": "NewExpression", - "start": 6440, - "end": 6471, + "start": 6629, + "end": 6660, "loc": { "start": { - "line": 125, + "line": 124, "column": 12 }, "end": { - "line": 125, + "line": 124, "column": 43 } }, "callee": { "type": "Identifier", - "start": 6444, - "end": 6449, + "start": 6633, + "end": 6638, "loc": { "start": { - "line": 125, + "line": 124, "column": 16 }, "end": { - "line": 125, + "line": 124, "column": 21 }, "identifierName": "Error" @@ -39262,15 +45081,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 6450, - "end": 6470, + "start": 6639, + "end": 6659, "loc": { "start": { - "line": 125, + "line": 124, "column": 22 }, "end": { - "line": 125, + "line": 124, "column": 42 } }, @@ -39291,15 +45110,15 @@ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", - "start": 6255, - "end": 6294, + "start": 6444, + "end": 6483, "loc": { "start": { - "line": 118, + "line": 117, "column": 4 }, "end": { - "line": 120, + "line": 119, "column": 7 } } @@ -39309,15 +45128,15 @@ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", - "start": 6487, - "end": 6600, + "start": 6676, + "end": 6789, "loc": { "start": { - "line": 128, + "line": 127, "column": 4 }, "end": { - "line": 131, + "line": 130, "column": 7 } } @@ -39326,29 +45145,29 @@ }, { "type": "IfStatement", - "start": 6606, - "end": 6691, + "start": 6795, + "end": 6880, "loc": { "start": { - "line": 132, + "line": 131, "column": 4 }, "end": { - "line": 133, + "line": 132, "column": 45 } }, "test": { "type": "UnaryExpression", - "start": 6609, - "end": 6643, + "start": 6798, + "end": 6832, "loc": { "start": { - "line": 132, + "line": 131, "column": 7 }, "end": { - "line": 132, + "line": 131, "column": 41 } }, @@ -39356,29 +45175,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 6610, - "end": 6643, + "start": 6799, + "end": 6832, "loc": { "start": { - "line": 132, + "line": 131, "column": 8 }, "end": { - "line": 132, + "line": 131, "column": 41 } }, "object": { "type": "Identifier", - "start": 6610, - "end": 6616, + "start": 6799, + "end": 6805, "loc": { "start": { - "line": 132, + "line": 131, "column": 8 }, "end": { - "line": 132, + "line": 131, "column": 14 }, "identifierName": "window" @@ -39388,15 +45207,15 @@ }, "property": { "type": "StringLiteral", - "start": 6617, - "end": 6642, + "start": 6806, + "end": 6831, "loc": { "start": { - "line": 132, + "line": 131, "column": 15 }, "end": { - "line": 132, + "line": 131, "column": 40 } }, @@ -39416,58 +45235,58 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 6652, - "end": 6691, + "start": 6841, + "end": 6880, "loc": { "start": { - "line": 133, + "line": 132, "column": 6 }, "end": { - "line": 133, + "line": 132, "column": 45 } }, "expression": { "type": "AssignmentExpression", - "start": 6652, - "end": 6690, + "start": 6841, + "end": 6879, "loc": { "start": { - "line": 133, + "line": 132, "column": 6 }, "end": { - "line": 133, + "line": 132, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6652, - "end": 6685, + "start": 6841, + "end": 6874, "loc": { "start": { - "line": 133, + "line": 132, "column": 6 }, "end": { - "line": 133, + "line": 132, "column": 39 } }, "object": { "type": "Identifier", - "start": 6652, - "end": 6658, + "start": 6841, + "end": 6847, "loc": { "start": { - "line": 133, + "line": 132, "column": 6 }, "end": { - "line": 133, + "line": 132, "column": 12 }, "identifierName": "window" @@ -39476,15 +45295,15 @@ }, "property": { "type": "StringLiteral", - "start": 6659, - "end": 6684, + "start": 6848, + "end": 6873, "loc": { "start": { - "line": 133, + "line": 132, "column": 13 }, "end": { - "line": 133, + "line": 132, "column": 38 } }, @@ -39498,15 +45317,15 @@ }, "right": { "type": "ObjectExpression", - "start": 6688, - "end": 6690, + "start": 6877, + "end": 6879, "loc": { "start": { - "line": 133, + "line": 132, "column": 42 }, "end": { - "line": 133, + "line": 132, "column": 44 } }, @@ -39519,15 +45338,15 @@ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", - "start": 6487, - "end": 6600, + "start": 6676, + "end": 6789, "loc": { "start": { - "line": 128, + "line": 127, "column": 4 }, "end": { - "line": 131, + "line": 130, "column": 7 } } @@ -39536,72 +45355,72 @@ }, { "type": "ExpressionStatement", - "start": 6705, - "end": 6795, + "start": 6894, + "end": 6984, "loc": { "start": { - "line": 135, + "line": 134, "column": 4 }, "end": { - "line": 135, + "line": 134, "column": 94 } }, "expression": { "type": "AssignmentExpression", - "start": 6705, - "end": 6794, + "start": 6894, + "end": 6983, "loc": { "start": { - "line": 135, + "line": 134, "column": 4 }, "end": { - "line": 135, + "line": 134, "column": 93 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6705, - "end": 6787, + "start": 6894, + "end": 6976, "loc": { "start": { - "line": 135, + "line": 134, "column": 4 }, "end": { - "line": 135, + "line": 134, "column": 86 } }, "object": { "type": "MemberExpression", - "start": 6705, - "end": 6738, + "start": 6894, + "end": 6927, "loc": { "start": { - "line": 135, + "line": 134, "column": 4 }, "end": { - "line": 135, + "line": 134, "column": 37 } }, "object": { "type": "Identifier", - "start": 6705, - "end": 6711, + "start": 6894, + "end": 6900, "loc": { "start": { - "line": 135, + "line": 134, "column": 4 }, "end": { - "line": 135, + "line": 134, "column": 10 }, "identifierName": "window" @@ -39610,15 +45429,15 @@ }, "property": { "type": "StringLiteral", - "start": 6712, - "end": 6737, + "start": 6901, + "end": 6926, "loc": { "start": { - "line": 135, + "line": 134, "column": 11 }, "end": { - "line": 135, + "line": 134, "column": 36 } }, @@ -39632,72 +45451,72 @@ }, "property": { "type": "CallExpression", - "start": 6739, - "end": 6786, + "start": 6928, + "end": 6975, "loc": { "start": { - "line": 135, + "line": 134, "column": 38 }, "end": { - "line": 135, + "line": 134, "column": 85 } }, "callee": { "type": "MemberExpression", - "start": 6739, - "end": 6763, + "start": 6928, + "end": 6952, "loc": { "start": { - "line": 135, + "line": 134, "column": 38 }, "end": { - "line": 135, + "line": 134, "column": 62 } }, "object": { "type": "MemberExpression", - "start": 6739, - "end": 6753, + "start": 6928, + "end": 6942, "loc": { "start": { - "line": 135, + "line": 134, "column": 38 }, "end": { - "line": 135, + "line": 134, "column": 52 } }, "object": { "type": "ThisExpression", - "start": 6739, - "end": 6743, + "start": 6928, + "end": 6932, "loc": { "start": { - "line": 135, + "line": 134, "column": 38 }, "end": { - "line": 135, + "line": 134, "column": 42 } } }, "property": { "type": "Identifier", - "start": 6744, - "end": 6753, + "start": 6933, + "end": 6942, "loc": { "start": { - "line": 135, + "line": 134, "column": 43 }, "end": { - "line": 135, + "line": 134, "column": 52 }, "identifierName": "utilities" @@ -39708,15 +45527,15 @@ }, "property": { "type": "Identifier", - "start": 6754, - "end": 6763, + "start": 6943, + "end": 6952, "loc": { "start": { - "line": 135, + "line": 134, "column": 53 }, "end": { - "line": 135, + "line": 134, "column": 62 }, "identifierName": "camelCase" @@ -39728,44 +45547,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 6764, - "end": 6785, + "start": 6953, + "end": 6974, "loc": { "start": { - "line": 135, + "line": 134, "column": 63 }, "end": { - "line": 135, + "line": 134, "column": 84 } }, "object": { "type": "ThisExpression", - "start": 6764, - "end": 6768, + "start": 6953, + "end": 6957, "loc": { "start": { - "line": 135, + "line": 134, "column": 63 }, "end": { - "line": 135, + "line": 134, "column": 67 } } }, "property": { "type": "Identifier", - "start": 6769, - "end": 6785, + "start": 6958, + "end": 6974, "loc": { "start": { - "line": 135, + "line": 134, "column": 68 }, "end": { - "line": 135, + "line": 134, "column": 84 }, "identifierName": "keyboardDOMClass" @@ -39780,15 +45599,15 @@ }, "right": { "type": "ThisExpression", - "start": 6790, - "end": 6794, + "start": 6979, + "end": 6983, "loc": { "start": { - "line": 135, + "line": 134, "column": 89 }, "end": { - "line": 135, + "line": 134, "column": 93 } } @@ -39798,15 +45617,15 @@ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", - "start": 6803, - "end": 6849, + "start": 6992, + "end": 7038, "loc": { "start": { - "line": 137, + "line": 136, "column": 4 }, "end": { - "line": 139, + "line": 138, "column": 7 } } @@ -39815,58 +45634,58 @@ }, { "type": "ExpressionStatement", - "start": 6855, - "end": 6915, + "start": 7044, + "end": 7104, "loc": { "start": { - "line": 140, + "line": 139, "column": 4 }, "end": { - "line": 140, + "line": 139, "column": 64 } }, "expression": { "type": "AssignmentExpression", - "start": 6855, - "end": 6914, + "start": 7044, + "end": 7103, "loc": { "start": { - "line": 140, + "line": 139, "column": 4 }, "end": { - "line": 140, + "line": 139, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6855, - "end": 6885, + "start": 7044, + "end": 7074, "loc": { "start": { - "line": 140, + "line": 139, "column": 4 }, "end": { - "line": 140, + "line": 139, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 6855, - "end": 6859, + "start": 7044, + "end": 7048, "loc": { "start": { - "line": 140, + "line": 139, "column": 4 }, "end": { - "line": 140, + "line": 139, "column": 8 } }, @@ -39874,15 +45693,15 @@ }, "property": { "type": "Identifier", - "start": 6860, - "end": 6885, + "start": 7049, + "end": 7074, "loc": { "start": { - "line": 140, + "line": 139, "column": 9 }, "end": { - "line": 140, + "line": 139, "column": 34 }, "identifierName": "physicalKeyboardInterface" @@ -39894,29 +45713,29 @@ }, "right": { "type": "NewExpression", - "start": 6888, - "end": 6914, + "start": 7077, + "end": 7103, "loc": { "start": { - "line": 140, + "line": 139, "column": 37 }, "end": { - "line": 140, + "line": 139, "column": 63 } }, "callee": { "type": "Identifier", - "start": 6892, - "end": 6908, + "start": 7081, + "end": 7097, "loc": { "start": { - "line": 140, + "line": 139, "column": 41 }, "end": { - "line": 140, + "line": 139, "column": 57 }, "identifierName": "PhysicalKeyboard" @@ -39926,15 +45745,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 6909, - "end": 6913, + "start": 7098, + "end": 7102, "loc": { "start": { - "line": 140, + "line": 139, "column": 58 }, "end": { - "line": 140, + "line": 139, "column": 62 } } @@ -39947,20 +45766,233 @@ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", - "start": 6803, - "end": 6849, + "start": 6992, + "end": 7038, "loc": { "start": { - "line": 137, + "line": 136, "column": 4 }, "end": { - "line": 139, + "line": 138, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Modules\r\n ", + "start": 7112, + "end": 7140, + "loc": { + "start": { + "line": 141, + "column": 4 + }, + "end": { + "line": 143, "column": 7 } } } ] + }, + { + "type": "ExpressionStatement", + "start": 7146, + "end": 7164, + "loc": { + "start": { + "line": 144, + "column": 4 + }, + "end": { + "line": 144, + "column": 22 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 7146, + "end": 7163, + "loc": { + "start": { + "line": 144, + "column": 4 + }, + "end": { + "line": 144, + "column": 21 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7146, + "end": 7158, + "loc": { + "start": { + "line": 144, + "column": 4 + }, + "end": { + "line": 144, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 7146, + "end": 7150, + "loc": { + "start": { + "line": 144, + "column": 4 + }, + "end": { + "line": 144, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 7151, + "end": 7158, + "loc": { + "start": { + "line": 144, + "column": 9 + }, + "end": { + "line": 144, + "column": 16 + }, + "identifierName": "modules" + }, + "name": "modules" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ObjectExpression", + "start": 7161, + "end": 7163, + "loc": { + "start": { + "line": 144, + "column": 19 + }, + "end": { + "line": 144, + "column": 21 + } + }, + "properties": [] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Modules\r\n ", + "start": 7112, + "end": 7140, + "loc": { + "start": { + "line": 141, + "column": 4 + }, + "end": { + "line": 143, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 7170, + "end": 7189, + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 23 + } + }, + "expression": { + "type": "CallExpression", + "start": 7170, + "end": 7188, + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 22 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7170, + "end": 7186, + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 7170, + "end": 7174, + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 7175, + "end": 7186, + "loc": { + "start": { + "line": 145, + "column": 9 + }, + "end": { + "line": 145, + "column": 20 + }, + "identifierName": "loadModules" + }, + "name": "loadModules" + }, + "computed": false + }, + "arguments": [] + } } ], "directives": [], @@ -39988,15 +46020,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": 6924, - "end": 7036, + "start": 7200, + "end": 7312, "loc": { "start": { - "line": 142, + "line": 148, "column": 2 }, "end": { - "line": 145, + "line": 151, "column": 5 } } @@ -40005,15 +46037,15 @@ }, { "type": "ClassMethod", - "start": 7040, - "end": 8427, + "start": 7316, + "end": 8703, "loc": { "start": { - "line": 146, + "line": 152, "column": 2 }, "end": { - "line": 196, + "line": 202, "column": 3 } }, @@ -40021,15 +46053,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7040, - "end": 7059, + "start": 7316, + "end": 7335, "loc": { "start": { - "line": 146, + "line": 152, "column": 2 }, "end": { - "line": 146, + "line": 152, "column": 21 }, "identifierName": "handleButtonClicked" @@ -40045,15 +46077,15 @@ "params": [ { "type": "Identifier", - "start": 7060, - "end": 7066, + "start": 7336, + "end": 7342, "loc": { "start": { - "line": 146, + "line": 152, "column": 22 }, "end": { - "line": 146, + "line": 152, "column": 28 }, "identifierName": "button" @@ -40063,59 +46095,59 @@ ], "body": { "type": "BlockStatement", - "start": 7067, - "end": 8427, + "start": 7343, + "end": 8703, "loc": { "start": { - "line": 146, + "line": 152, "column": 29 }, "end": { - "line": 196, + "line": 202, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 7074, - "end": 7105, + "start": 7350, + "end": 7381, "loc": { "start": { - "line": 147, + "line": 153, "column": 4 }, "end": { - "line": 147, + "line": 153, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7078, - "end": 7104, + "start": 7354, + "end": 7380, "loc": { "start": { - "line": 147, + "line": 153, "column": 8 }, "end": { - "line": 147, + "line": 153, "column": 34 } }, "id": { "type": "Identifier", - "start": 7078, - "end": 7083, + "start": 7354, + "end": 7359, "loc": { "start": { - "line": 147, + "line": 153, "column": 8 }, "end": { - "line": 147, + "line": 153, "column": 13 }, "identifierName": "debug" @@ -40124,58 +46156,58 @@ }, "init": { "type": "MemberExpression", - "start": 7086, - "end": 7104, + "start": 7362, + "end": 7380, "loc": { "start": { - "line": 147, + "line": 153, "column": 16 }, "end": { - "line": 147, + "line": 153, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 7086, - "end": 7098, + "start": 7362, + "end": 7374, "loc": { "start": { - "line": 147, + "line": 153, "column": 16 }, "end": { - "line": 147, + "line": 153, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 7086, - "end": 7090, + "start": 7362, + "end": 7366, "loc": { "start": { - "line": 147, + "line": 153, "column": 16 }, "end": { - "line": 147, + "line": 153, "column": 20 } } }, "property": { "type": "Identifier", - "start": 7091, - "end": 7098, + "start": 7367, + "end": 7374, "loc": { "start": { - "line": 147, + "line": 153, "column": 21 }, "end": { - "line": 147, + "line": 153, "column": 28 }, "identifierName": "options" @@ -40186,15 +46218,15 @@ }, "property": { "type": "Identifier", - "start": 7099, - "end": 7104, + "start": 7375, + "end": 7380, "loc": { "start": { - "line": 147, + "line": 153, "column": 29 }, "end": { - "line": 147, + "line": 153, "column": 34 }, "identifierName": "debug" @@ -40210,147 +46242,8 @@ { "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 - } - } - } - ] - }, - { - "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": 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 - } - }, - "extra": { - "rawValue": "{//}", - "raw": "'{//}'" - }, - "value": "{//}" - }, - "leadingComments": null - }, - "consequent": { - "type": "ReturnStatement", - "start": 7197, - "end": 7210, - "loc": { - "start": { - "line": 153, - "column": 6 - }, - "end": { - "line": 153, - "column": 19 - } - }, - "argument": { - "type": "BooleanLiteral", - "start": 7204, - "end": 7209, - "loc": { - "start": { - "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, + "start": 7389, + "end": 7438, "loc": { "start": { "line": 155, @@ -40366,8 +46259,8 @@ }, { "type": "IfStatement", - "start": 7263, - "end": 7352, + "start": 7444, + "end": 7486, "loc": { "start": { "line": 158, @@ -40375,13 +46268,13 @@ }, "end": { "line": 159, - "column": 38 + "column": 19 } }, "test": { "type": "BinaryExpression", - "start": 7266, - "end": 7311, + "start": 7447, + "end": 7464, "loc": { "start": { "line": 158, @@ -40389,13 +46282,13 @@ }, "end": { "line": 158, - "column": 52 + "column": 24 } }, "left": { - "type": "UnaryExpression", - "start": 7266, - "end": 7296, + "type": "Identifier", + "start": 7447, + "end": 7453, "loc": { "start": { "line": 158, @@ -40403,6 +46296,145 @@ }, "end": { "line": 158, + "column": 13 + }, + "identifierName": "button" + }, + "name": "button", + "leadingComments": null + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 7458, + "end": 7464, + "loc": { + "start": { + "line": 158, + "column": 18 + }, + "end": { + "line": 158, + "column": 24 + } + }, + "extra": { + "rawValue": "{//}", + "raw": "'{//}'" + }, + "value": "{//}" + }, + "leadingComments": null + }, + "consequent": { + "type": "ReturnStatement", + "start": 7473, + "end": 7486, + "loc": { + "start": { + "line": 159, + "column": 6 + }, + "end": { + "line": 159, + "column": 19 + } + }, + "argument": { + "type": "BooleanLiteral", + "start": 7480, + "end": 7485, + "loc": { + "start": { + "line": 159, + "column": 13 + }, + "end": { + "line": 159, + "column": 18 + } + }, + "value": false + }, + "trailingComments": null + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Ignoring placeholder buttons\r\n ", + "start": 7389, + "end": 7438, + "loc": { + "start": { + "line": 155, + "column": 4 + }, + "end": { + "line": 157, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Calling onKeyPress\r\n ", + "start": 7494, + "end": 7533, + "loc": { + "start": { + "line": 161, + "column": 4 + }, + "end": { + "line": 163, + "column": 7 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 7539, + "end": 7628, + "loc": { + "start": { + "line": 164, + "column": 4 + }, + "end": { + "line": 165, + "column": 38 + } + }, + "test": { + "type": "BinaryExpression", + "start": 7542, + "end": 7587, + "loc": { + "start": { + "line": 164, + "column": 7 + }, + "end": { + "line": 164, + "column": 52 + } + }, + "left": { + "type": "UnaryExpression", + "start": 7542, + "end": 7572, + "loc": { + "start": { + "line": 164, + "column": 7 + }, + "end": { + "line": 164, "column": 37 } }, @@ -40410,43 +46442,43 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 7273, - "end": 7296, + "start": 7549, + "end": 7572, "loc": { "start": { - "line": 158, + "line": 164, "column": 14 }, "end": { - "line": 158, + "line": 164, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 7273, - "end": 7285, + "start": 7549, + "end": 7561, "loc": { "start": { - "line": 158, + "line": 164, "column": 14 }, "end": { - "line": 158, + "line": 164, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 7273, - "end": 7277, + "start": 7549, + "end": 7553, "loc": { "start": { - "line": 158, + "line": 164, "column": 14 }, "end": { - "line": 158, + "line": 164, "column": 18 } }, @@ -40454,15 +46486,15 @@ }, "property": { "type": "Identifier", - "start": 7278, - "end": 7285, + "start": 7554, + "end": 7561, "loc": { "start": { - "line": 158, + "line": 164, "column": 19 }, "end": { - "line": 158, + "line": 164, "column": 26 }, "identifierName": "options" @@ -40474,15 +46506,15 @@ }, "property": { "type": "Identifier", - "start": 7286, - "end": 7296, + "start": 7562, + "end": 7572, "loc": { "start": { - "line": 158, + "line": 164, "column": 27 }, "end": { - "line": 158, + "line": 164, "column": 37 }, "identifierName": "onKeyPress" @@ -40500,15 +46532,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 7301, - "end": 7311, + "start": 7577, + "end": 7587, "loc": { "start": { - "line": 158, + "line": 164, "column": 42 }, "end": { - "line": 158, + "line": 164, "column": 52 } }, @@ -40522,86 +46554,86 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 7320, - "end": 7352, + "start": 7596, + "end": 7628, "loc": { "start": { - "line": 159, + "line": 165, "column": 6 }, "end": { - "line": 159, + "line": 165, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 7320, - "end": 7351, + "start": 7596, + "end": 7627, "loc": { "start": { - "line": 159, + "line": 165, "column": 6 }, "end": { - "line": 159, + "line": 165, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 7320, - "end": 7343, + "start": 7596, + "end": 7619, "loc": { "start": { - "line": 159, + "line": 165, "column": 6 }, "end": { - "line": 159, + "line": 165, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 7320, - "end": 7332, + "start": 7596, + "end": 7608, "loc": { "start": { - "line": 159, + "line": 165, "column": 6 }, "end": { - "line": 159, + "line": 165, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 7320, - "end": 7324, + "start": 7596, + "end": 7600, "loc": { "start": { - "line": 159, + "line": 165, "column": 6 }, "end": { - "line": 159, + "line": 165, "column": 10 } } }, "property": { "type": "Identifier", - "start": 7325, - "end": 7332, + "start": 7601, + "end": 7608, "loc": { "start": { - "line": 159, + "line": 165, "column": 11 }, "end": { - "line": 159, + "line": 165, "column": 18 }, "identifierName": "options" @@ -40612,15 +46644,15 @@ }, "property": { "type": "Identifier", - "start": 7333, - "end": 7343, + "start": 7609, + "end": 7619, "loc": { "start": { - "line": 159, + "line": 165, "column": 19 }, "end": { - "line": 159, + "line": 165, "column": 29 }, "identifierName": "onKeyPress" @@ -40632,15 +46664,15 @@ "arguments": [ { "type": "Identifier", - "start": 7344, - "end": 7350, + "start": 7620, + "end": 7626, "loc": { "start": { - "line": 159, + "line": 165, "column": 30 }, "end": { - "line": 159, + "line": 165, "column": 36 }, "identifierName": "button" @@ -40655,15 +46687,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", - "start": 7218, - "end": 7257, + "start": 7494, + "end": 7533, "loc": { "start": { - "line": 155, + "line": 161, "column": 4 }, "end": { - "line": 157, + "line": 163, "column": 7 } } @@ -40672,29 +46704,29 @@ }, { "type": "IfStatement", - "start": 7364, - "end": 7451, + "start": 7640, + "end": 7727, "loc": { "start": { - "line": 161, + "line": 167, "column": 4 }, "end": { - "line": 162, + "line": 168, "column": 46 } }, "test": { "type": "UnaryExpression", - "start": 7367, - "end": 7402, + "start": 7643, + "end": 7678, "loc": { "start": { - "line": 161, + "line": 167, "column": 7 }, "end": { - "line": 161, + "line": 167, "column": 42 } }, @@ -40702,58 +46734,58 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 7368, - "end": 7402, + "start": 7644, + "end": 7678, "loc": { "start": { - "line": 161, + "line": 167, "column": 8 }, "end": { - "line": 161, + "line": 167, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 7368, - "end": 7378, + "start": 7644, + "end": 7654, "loc": { "start": { - "line": 161, + "line": 167, "column": 8 }, "end": { - "line": 161, + "line": 167, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 7368, - "end": 7372, + "start": 7644, + "end": 7648, "loc": { "start": { - "line": 161, + "line": 167, "column": 8 }, "end": { - "line": 161, + "line": 167, "column": 12 } } }, "property": { "type": "Identifier", - "start": 7373, - "end": 7378, + "start": 7649, + "end": 7654, "loc": { "start": { - "line": 161, + "line": 167, "column": 13 }, "end": { - "line": 161, + "line": 167, "column": 18 }, "identifierName": "input" @@ -40764,58 +46796,58 @@ }, "property": { "type": "MemberExpression", - "start": 7379, - "end": 7401, + "start": 7655, + "end": 7677, "loc": { "start": { - "line": 161, + "line": 167, "column": 19 }, "end": { - "line": 161, + "line": 167, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 7379, - "end": 7391, + "start": 7655, + "end": 7667, "loc": { "start": { - "line": 161, + "line": 167, "column": 19 }, "end": { - "line": 161, + "line": 167, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 7379, - "end": 7383, + "start": 7655, + "end": 7659, "loc": { "start": { - "line": 161, + "line": 167, "column": 19 }, "end": { - "line": 161, + "line": 167, "column": 23 } } }, "property": { "type": "Identifier", - "start": 7384, - "end": 7391, + "start": 7660, + "end": 7667, "loc": { "start": { - "line": 161, + "line": 167, "column": 24 }, "end": { - "line": 161, + "line": 167, "column": 31 }, "identifierName": "options" @@ -40826,15 +46858,15 @@ }, "property": { "type": "Identifier", - "start": 7392, - "end": 7401, + "start": 7668, + "end": 7677, "loc": { "start": { - "line": 161, + "line": 167, "column": 32 }, "end": { - "line": 161, + "line": 167, "column": 41 }, "identifierName": "inputName" @@ -40851,87 +46883,87 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 7411, - "end": 7451, + "start": 7687, + "end": 7727, "loc": { "start": { - "line": 162, + "line": 168, "column": 6 }, "end": { - "line": 162, + "line": 168, "column": 46 } }, "expression": { "type": "AssignmentExpression", - "start": 7411, - "end": 7450, + "start": 7687, + "end": 7726, "loc": { "start": { - "line": 162, + "line": 168, "column": 6 }, "end": { - "line": 162, + "line": 168, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 7411, - "end": 7445, + "start": 7687, + "end": 7721, "loc": { "start": { - "line": 162, + "line": 168, "column": 6 }, "end": { - "line": 162, + "line": 168, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 7411, - "end": 7421, + "start": 7687, + "end": 7697, "loc": { "start": { - "line": 162, + "line": 168, "column": 6 }, "end": { - "line": 162, + "line": 168, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 7411, - "end": 7415, + "start": 7687, + "end": 7691, "loc": { "start": { - "line": 162, + "line": 168, "column": 6 }, "end": { - "line": 162, + "line": 168, "column": 10 } } }, "property": { "type": "Identifier", - "start": 7416, - "end": 7421, + "start": 7692, + "end": 7697, "loc": { "start": { - "line": 162, + "line": 168, "column": 11 }, "end": { - "line": 162, + "line": 168, "column": 16 }, "identifierName": "input" @@ -40942,58 +46974,58 @@ }, "property": { "type": "MemberExpression", - "start": 7422, - "end": 7444, + "start": 7698, + "end": 7720, "loc": { "start": { - "line": 162, + "line": 168, "column": 17 }, "end": { - "line": 162, + "line": 168, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 7422, - "end": 7434, + "start": 7698, + "end": 7710, "loc": { "start": { - "line": 162, + "line": 168, "column": 17 }, "end": { - "line": 162, + "line": 168, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 7422, - "end": 7426, + "start": 7698, + "end": 7702, "loc": { "start": { - "line": 162, + "line": 168, "column": 17 }, "end": { - "line": 162, + "line": 168, "column": 21 } } }, "property": { "type": "Identifier", - "start": 7427, - "end": 7434, + "start": 7703, + "end": 7710, "loc": { "start": { - "line": 162, + "line": 168, "column": 22 }, "end": { - "line": 162, + "line": 168, "column": 29 }, "identifierName": "options" @@ -41004,15 +47036,15 @@ }, "property": { "type": "Identifier", - "start": 7435, - "end": 7444, + "start": 7711, + "end": 7720, "loc": { "start": { - "line": 162, + "line": 168, "column": 30 }, "end": { - "line": 162, + "line": 168, "column": 39 }, "identifierName": "inputName" @@ -41025,15 +47057,15 @@ }, "right": { "type": "StringLiteral", - "start": 7448, - "end": 7450, + "start": 7724, + "end": 7726, "loc": { "start": { - "line": 162, + "line": 168, "column": 43 }, "end": { - "line": 162, + "line": 168, "column": 45 } }, @@ -41049,44 +47081,44 @@ }, { "type": "VariableDeclaration", - "start": 7459, - "end": 7587, + "start": 7735, + "end": 7863, "loc": { "start": { - "line": 164, + "line": 170, "column": 4 }, "end": { - "line": 164, + "line": 170, "column": 132 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7463, - "end": 7586, + "start": 7739, + "end": 7862, "loc": { "start": { - "line": 164, + "line": 170, "column": 8 }, "end": { - "line": 164, + "line": 170, "column": 131 } }, "id": { "type": "Identifier", - "start": 7463, - "end": 7475, + "start": 7739, + "end": 7751, "loc": { "start": { - "line": 164, + "line": 170, "column": 8 }, "end": { - "line": 164, + "line": 170, "column": 20 }, "identifierName": "updatedInput" @@ -41095,72 +47127,72 @@ }, "init": { "type": "CallExpression", - "start": 7478, - "end": 7586, + "start": 7754, + "end": 7862, "loc": { "start": { - "line": 164, + "line": 170, "column": 23 }, "end": { - "line": 164, + "line": 170, "column": 131 } }, "callee": { "type": "MemberExpression", - "start": 7478, - "end": 7508, + "start": 7754, + "end": 7784, "loc": { "start": { - "line": 164, + "line": 170, "column": 23 }, "end": { - "line": 164, + "line": 170, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 7478, - "end": 7492, + "start": 7754, + "end": 7768, "loc": { "start": { - "line": 164, + "line": 170, "column": 23 }, "end": { - "line": 164, + "line": 170, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 7478, - "end": 7482, + "start": 7754, + "end": 7758, "loc": { "start": { - "line": 164, + "line": 170, "column": 23 }, "end": { - "line": 164, + "line": 170, "column": 27 } } }, "property": { "type": "Identifier", - "start": 7483, - "end": 7492, + "start": 7759, + "end": 7768, "loc": { "start": { - "line": 164, + "line": 170, "column": 28 }, "end": { - "line": 164, + "line": 170, "column": 37 }, "identifierName": "utilities" @@ -41171,15 +47203,15 @@ }, "property": { "type": "Identifier", - "start": 7493, - "end": 7508, + "start": 7769, + "end": 7784, "loc": { "start": { - "line": 164, + "line": 170, "column": 38 }, "end": { - "line": 164, + "line": 170, "column": 53 }, "identifierName": "getUpdatedInput" @@ -41191,15 +47223,15 @@ "arguments": [ { "type": "Identifier", - "start": 7509, - "end": 7515, + "start": 7785, + "end": 7791, "loc": { "start": { - "line": 164, + "line": 170, "column": 54 }, "end": { - "line": 164, + "line": 170, "column": 60 }, "identifierName": "button" @@ -41208,58 +47240,58 @@ }, { "type": "MemberExpression", - "start": 7517, - "end": 7551, + "start": 7793, + "end": 7827, "loc": { "start": { - "line": 164, + "line": 170, "column": 62 }, "end": { - "line": 164, + "line": 170, "column": 96 } }, "object": { "type": "MemberExpression", - "start": 7517, - "end": 7527, + "start": 7793, + "end": 7803, "loc": { "start": { - "line": 164, + "line": 170, "column": 62 }, "end": { - "line": 164, + "line": 170, "column": 72 } }, "object": { "type": "ThisExpression", - "start": 7517, - "end": 7521, + "start": 7793, + "end": 7797, "loc": { "start": { - "line": 164, + "line": 170, "column": 62 }, "end": { - "line": 164, + "line": 170, "column": 66 } } }, "property": { "type": "Identifier", - "start": 7522, - "end": 7527, + "start": 7798, + "end": 7803, "loc": { "start": { - "line": 164, + "line": 170, "column": 67 }, "end": { - "line": 164, + "line": 170, "column": 72 }, "identifierName": "input" @@ -41270,58 +47302,58 @@ }, "property": { "type": "MemberExpression", - "start": 7528, - "end": 7550, + "start": 7804, + "end": 7826, "loc": { "start": { - "line": 164, + "line": 170, "column": 73 }, "end": { - "line": 164, + "line": 170, "column": 95 } }, "object": { "type": "MemberExpression", - "start": 7528, - "end": 7540, + "start": 7804, + "end": 7816, "loc": { "start": { - "line": 164, + "line": 170, "column": 73 }, "end": { - "line": 164, + "line": 170, "column": 85 } }, "object": { "type": "ThisExpression", - "start": 7528, - "end": 7532, + "start": 7804, + "end": 7808, "loc": { "start": { - "line": 164, + "line": 170, "column": 73 }, "end": { - "line": 164, + "line": 170, "column": 77 } } }, "property": { "type": "Identifier", - "start": 7533, - "end": 7540, + "start": 7809, + "end": 7816, "loc": { "start": { - "line": 164, + "line": 170, "column": 78 }, "end": { - "line": 164, + "line": 170, "column": 85 }, "identifierName": "options" @@ -41332,15 +47364,15 @@ }, "property": { "type": "Identifier", - "start": 7541, - "end": 7550, + "start": 7817, + "end": 7826, "loc": { "start": { - "line": 164, + "line": 170, "column": 86 }, "end": { - "line": 164, + "line": 170, "column": 95 }, "identifierName": "inputName" @@ -41353,44 +47385,44 @@ }, { "type": "MemberExpression", - "start": 7553, - "end": 7565, + "start": 7829, + "end": 7841, "loc": { "start": { - "line": 164, + "line": 170, "column": 98 }, "end": { - "line": 164, + "line": 170, "column": 110 } }, "object": { "type": "ThisExpression", - "start": 7553, - "end": 7557, + "start": 7829, + "end": 7833, "loc": { "start": { - "line": 164, + "line": 170, "column": 98 }, "end": { - "line": 164, + "line": 170, "column": 102 } } }, "property": { "type": "Identifier", - "start": 7558, - "end": 7565, + "start": 7834, + "end": 7841, "loc": { "start": { - "line": 164, + "line": 170, "column": 103 }, "end": { - "line": 164, + "line": 170, "column": 110 }, "identifierName": "options" @@ -41401,44 +47433,44 @@ }, { "type": "MemberExpression", - "start": 7567, - "end": 7585, + "start": 7843, + "end": 7861, "loc": { "start": { - "line": 164, + "line": 170, "column": 112 }, "end": { - "line": 164, + "line": 170, "column": 130 } }, "object": { "type": "ThisExpression", - "start": 7567, - "end": 7571, + "start": 7843, + "end": 7847, "loc": { "start": { - "line": 164, + "line": 170, "column": 112 }, "end": { - "line": 164, + "line": 170, "column": 116 } } }, "property": { "type": "Identifier", - "start": 7572, - "end": 7585, + "start": 7848, + "end": 7861, "loc": { "start": { - "line": 164, + "line": 170, "column": 117 }, "end": { - "line": 164, + "line": 170, "column": 130 }, "identifierName": "caretPosition" @@ -41455,86 +47487,86 @@ }, { "type": "IfStatement", - "start": 7595, - "end": 8349, + "start": 7871, + "end": 8625, "loc": { "start": { - "line": 166, + "line": 172, "column": 4 }, "end": { - "line": 191, + "line": 197, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 7598, - "end": 7649, + "start": 7874, + "end": 7925, "loc": { "start": { - "line": 166, + "line": 172, "column": 7 }, "end": { - "line": 166, + "line": 172, "column": 58 } }, "left": { "type": "MemberExpression", - "start": 7598, - "end": 7632, + "start": 7874, + "end": 7908, "loc": { "start": { - "line": 166, + "line": 172, "column": 7 }, "end": { - "line": 166, + "line": 172, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 7598, - "end": 7608, + "start": 7874, + "end": 7884, "loc": { "start": { - "line": 166, + "line": 172, "column": 7 }, "end": { - "line": 166, + "line": 172, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 7598, - "end": 7602, + "start": 7874, + "end": 7878, "loc": { "start": { - "line": 166, + "line": 172, "column": 7 }, "end": { - "line": 166, + "line": 172, "column": 11 } } }, "property": { "type": "Identifier", - "start": 7603, - "end": 7608, + "start": 7879, + "end": 7884, "loc": { "start": { - "line": 166, + "line": 172, "column": 12 }, "end": { - "line": 166, + "line": 172, "column": 17 }, "identifierName": "input" @@ -41545,58 +47577,58 @@ }, "property": { "type": "MemberExpression", - "start": 7609, - "end": 7631, + "start": 7885, + "end": 7907, "loc": { "start": { - "line": 166, + "line": 172, "column": 18 }, "end": { - "line": 166, + "line": 172, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 7609, - "end": 7621, + "start": 7885, + "end": 7897, "loc": { "start": { - "line": 166, + "line": 172, "column": 18 }, "end": { - "line": 166, + "line": 172, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 7609, - "end": 7613, + "start": 7885, + "end": 7889, "loc": { "start": { - "line": 166, + "line": 172, "column": 18 }, "end": { - "line": 166, + "line": 172, "column": 22 } } }, "property": { "type": "Identifier", - "start": 7614, - "end": 7621, + "start": 7890, + "end": 7897, "loc": { "start": { - "line": 166, + "line": 172, "column": 23 }, "end": { - "line": 166, + "line": 172, "column": 30 }, "identifierName": "options" @@ -41607,15 +47639,15 @@ }, "property": { "type": "Identifier", - "start": 7622, - "end": 7631, + "start": 7898, + "end": 7907, "loc": { "start": { - "line": 166, + "line": 172, "column": 31 }, "end": { - "line": 166, + "line": 172, "column": 40 }, "identifierName": "inputName" @@ -41629,15 +47661,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 7637, - "end": 7649, + "start": 7913, + "end": 7925, "loc": { "start": { - "line": 166, + "line": 172, "column": 46 }, "end": { - "line": 166, + "line": 172, "column": 58 }, "identifierName": "updatedInput" @@ -41647,86 +47679,86 @@ }, "consequent": { "type": "BlockStatement", - "start": 7650, - "end": 8349, + "start": 7926, + "end": 8625, "loc": { "start": { - "line": 166, + "line": 172, "column": 59 }, "end": { - "line": 191, + "line": 197, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 7746, - "end": 7879, + "start": 8022, + "end": 8155, "loc": { "start": { - "line": 171, + "line": 177, "column": 6 }, "end": { - "line": 173, + "line": 179, "column": 7 } }, "test": { "type": "LogicalExpression", - "start": 7749, - "end": 7845, + "start": 8025, + "end": 8121, "loc": { "start": { - "line": 171, + "line": 177, "column": 9 }, "end": { - "line": 171, + "line": 177, "column": 105 } }, "left": { "type": "MemberExpression", - "start": 7749, - "end": 7771, + "start": 8025, + "end": 8047, "loc": { "start": { - "line": 171, + "line": 177, "column": 9 }, "end": { - "line": 171, + "line": 177, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 7749, - "end": 7761, + "start": 8025, + "end": 8037, "loc": { "start": { - "line": 171, + "line": 177, "column": 9 }, "end": { - "line": 171, + "line": 177, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 7749, - "end": 7753, + "start": 8025, + "end": 8029, "loc": { "start": { - "line": 171, + "line": 177, "column": 9 }, "end": { - "line": 171, + "line": 177, "column": 13 } }, @@ -41734,15 +47766,15 @@ }, "property": { "type": "Identifier", - "start": 7754, - "end": 7761, + "start": 8030, + "end": 8037, "loc": { "start": { - "line": 171, + "line": 177, "column": 14 }, "end": { - "line": 171, + "line": 177, "column": 21 }, "identifierName": "options" @@ -41754,15 +47786,15 @@ }, "property": { "type": "Identifier", - "start": 7762, - "end": 7771, + "start": 8038, + "end": 8047, "loc": { "start": { - "line": 171, + "line": 177, "column": 22 }, "end": { - "line": 171, + "line": 177, "column": 31 }, "identifierName": "maxLength" @@ -41775,72 +47807,72 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 7775, - "end": 7845, + "start": 8051, + "end": 8121, "loc": { "start": { - "line": 171, + "line": 177, "column": 35 }, "end": { - "line": 171, + "line": 177, "column": 105 } }, "callee": { "type": "MemberExpression", - "start": 7775, - "end": 7805, + "start": 8051, + "end": 8081, "loc": { "start": { - "line": 171, + "line": 177, "column": 35 }, "end": { - "line": 171, + "line": 177, "column": 65 } }, "object": { "type": "MemberExpression", - "start": 7775, - "end": 7789, + "start": 8051, + "end": 8065, "loc": { "start": { - "line": 171, + "line": 177, "column": 35 }, "end": { - "line": 171, + "line": 177, "column": 49 } }, "object": { "type": "ThisExpression", - "start": 7775, - "end": 7779, + "start": 8051, + "end": 8055, "loc": { "start": { - "line": 171, + "line": 177, "column": 35 }, "end": { - "line": 171, + "line": 177, "column": 39 } } }, "property": { "type": "Identifier", - "start": 7780, - "end": 7789, + "start": 8056, + "end": 8065, "loc": { "start": { - "line": 171, + "line": 177, "column": 40 }, "end": { - "line": 171, + "line": 177, "column": 49 }, "identifierName": "utilities" @@ -41851,15 +47883,15 @@ }, "property": { "type": "Identifier", - "start": 7790, - "end": 7805, + "start": 8066, + "end": 8081, "loc": { "start": { - "line": 171, + "line": 177, "column": 50 }, "end": { - "line": 171, + "line": 177, "column": 65 }, "identifierName": "handleMaxLength" @@ -41871,44 +47903,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 7806, - "end": 7816, + "start": 8082, + "end": 8092, "loc": { "start": { - "line": 171, + "line": 177, "column": 66 }, "end": { - "line": 171, + "line": 177, "column": 76 } }, "object": { "type": "ThisExpression", - "start": 7806, - "end": 7810, + "start": 8082, + "end": 8086, "loc": { "start": { - "line": 171, + "line": 177, "column": 66 }, "end": { - "line": 171, + "line": 177, "column": 70 } } }, "property": { "type": "Identifier", - "start": 7811, - "end": 7816, + "start": 8087, + "end": 8092, "loc": { "start": { - "line": 171, + "line": 177, "column": 71 }, "end": { - "line": 171, + "line": 177, "column": 76 }, "identifierName": "input" @@ -41919,44 +47951,44 @@ }, { "type": "MemberExpression", - "start": 7818, - "end": 7830, + "start": 8094, + "end": 8106, "loc": { "start": { - "line": 171, + "line": 177, "column": 78 }, "end": { - "line": 171, + "line": 177, "column": 90 } }, "object": { "type": "ThisExpression", - "start": 7818, - "end": 7822, + "start": 8094, + "end": 8098, "loc": { "start": { - "line": 171, + "line": 177, "column": 78 }, "end": { - "line": 171, + "line": 177, "column": 82 } } }, "property": { "type": "Identifier", - "start": 7823, - "end": 7830, + "start": 8099, + "end": 8106, "loc": { "start": { - "line": 171, + "line": 177, "column": 83 }, "end": { - "line": 171, + "line": 177, "column": 90 }, "identifierName": "options" @@ -41967,15 +47999,15 @@ }, { "type": "Identifier", - "start": 7832, - "end": 7844, + "start": 8108, + "end": 8120, "loc": { "start": { - "line": 171, + "line": 177, "column": 92 }, "end": { - "line": 171, + "line": 177, "column": 104 }, "identifierName": "updatedInput" @@ -41988,44 +48020,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 7846, - "end": 7879, + "start": 8122, + "end": 8155, "loc": { "start": { - "line": 171, + "line": 177, "column": 106 }, "end": { - "line": 173, + "line": 179, "column": 7 } }, "body": [ { "type": "ReturnStatement", - "start": 7857, - "end": 7870, + "start": 8133, + "end": 8146, "loc": { "start": { - "line": 172, + "line": 178, "column": 8 }, "end": { - "line": 172, + "line": 178, "column": 21 } }, "argument": { "type": "BooleanLiteral", - "start": 7864, - "end": 7869, + "start": 8140, + "end": 8145, "loc": { "start": { - "line": 172, + "line": 178, "column": 15 }, "end": { - "line": 172, + "line": 178, "column": 20 } }, @@ -42040,15 +48072,15 @@ { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", - "start": 7661, - "end": 7738, + "start": 7937, + "end": 8014, "loc": { "start": { - "line": 168, + "line": 174, "column": 6 }, "end": { - "line": 170, + "line": 176, "column": 9 } } @@ -42057,87 +48089,87 @@ }, { "type": "ExpressionStatement", - "start": 7889, - "end": 7939, + "start": 8165, + "end": 8215, "loc": { "start": { - "line": 175, + "line": 181, "column": 6 }, "end": { - "line": 175, + "line": 181, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 7889, - "end": 7938, + "start": 8165, + "end": 8214, "loc": { "start": { - "line": 175, + "line": 181, "column": 6 }, "end": { - "line": 175, + "line": 181, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 7889, - "end": 7923, + "start": 8165, + "end": 8199, "loc": { "start": { - "line": 175, + "line": 181, "column": 6 }, "end": { - "line": 175, + "line": 181, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 7889, - "end": 7899, + "start": 8165, + "end": 8175, "loc": { "start": { - "line": 175, + "line": 181, "column": 6 }, "end": { - "line": 175, + "line": 181, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 7889, - "end": 7893, + "start": 8165, + "end": 8169, "loc": { "start": { - "line": 175, + "line": 181, "column": 6 }, "end": { - "line": 175, + "line": 181, "column": 10 } } }, "property": { "type": "Identifier", - "start": 7894, - "end": 7899, + "start": 8170, + "end": 8175, "loc": { "start": { - "line": 175, + "line": 181, "column": 11 }, "end": { - "line": 175, + "line": 181, "column": 16 }, "identifierName": "input" @@ -42148,58 +48180,58 @@ }, "property": { "type": "MemberExpression", - "start": 7900, - "end": 7922, + "start": 8176, + "end": 8198, "loc": { "start": { - "line": 175, + "line": 181, "column": 17 }, "end": { - "line": 175, + "line": 181, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 7900, - "end": 7912, + "start": 8176, + "end": 8188, "loc": { "start": { - "line": 175, + "line": 181, "column": 17 }, "end": { - "line": 175, + "line": 181, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 7900, - "end": 7904, + "start": 8176, + "end": 8180, "loc": { "start": { - "line": 175, + "line": 181, "column": 17 }, "end": { - "line": 175, + "line": 181, "column": 21 } } }, "property": { "type": "Identifier", - "start": 7905, - "end": 7912, + "start": 8181, + "end": 8188, "loc": { "start": { - "line": 175, + "line": 181, "column": 22 }, "end": { - "line": 175, + "line": 181, "column": 29 }, "identifierName": "options" @@ -42210,15 +48242,15 @@ }, "property": { "type": "Identifier", - "start": 7913, - "end": 7922, + "start": 8189, + "end": 8198, "loc": { "start": { - "line": 175, + "line": 181, "column": 30 }, "end": { - "line": 175, + "line": 181, "column": 39 }, "identifierName": "inputName" @@ -42231,15 +48263,15 @@ }, "right": { "type": "Identifier", - "start": 7926, - "end": 7938, + "start": 8202, + "end": 8214, "loc": { "start": { - "line": 175, + "line": 181, "column": 43 }, "end": { - "line": 175, + "line": 181, "column": 55 }, "identifierName": "updatedInput" @@ -42250,29 +48282,29 @@ }, { "type": "IfStatement", - "start": 7949, - "end": 8010, + "start": 8225, + "end": 8286, "loc": { "start": { - "line": 177, + "line": 183, "column": 6 }, "end": { - "line": 178, + "line": 184, "column": 50 } }, "test": { "type": "Identifier", - "start": 7952, - "end": 7957, + "start": 8228, + "end": 8233, "loc": { "start": { - "line": 177, + "line": 183, "column": 9 }, "end": { - "line": 177, + "line": 183, "column": 14 }, "identifierName": "debug" @@ -42281,57 +48313,57 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 7968, - "end": 8010, + "start": 8244, + "end": 8286, "loc": { "start": { - "line": 178, + "line": 184, "column": 8 }, "end": { - "line": 178, + "line": 184, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 7968, - "end": 8009, + "start": 8244, + "end": 8285, "loc": { "start": { - "line": 178, + "line": 184, "column": 8 }, "end": { - "line": 178, + "line": 184, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 7968, - "end": 7979, + "start": 8244, + "end": 8255, "loc": { "start": { - "line": 178, + "line": 184, "column": 8 }, "end": { - "line": 178, + "line": 184, "column": 19 } }, "object": { "type": "Identifier", - "start": 7968, - "end": 7975, + "start": 8244, + "end": 8251, "loc": { "start": { - "line": 178, + "line": 184, "column": 8 }, "end": { - "line": 178, + "line": 184, "column": 15 }, "identifierName": "console" @@ -42340,15 +48372,15 @@ }, "property": { "type": "Identifier", - "start": 7976, - "end": 7979, + "start": 8252, + "end": 8255, "loc": { "start": { - "line": 178, + "line": 184, "column": 16 }, "end": { - "line": 178, + "line": 184, "column": 19 }, "identifierName": "log" @@ -42360,15 +48392,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 7980, - "end": 7996, + "start": 8256, + "end": 8272, "loc": { "start": { - "line": 178, + "line": 184, "column": 20 }, "end": { - "line": 178, + "line": 184, "column": 36 } }, @@ -42380,44 +48412,44 @@ }, { "type": "MemberExpression", - "start": 7998, - "end": 8008, + "start": 8274, + "end": 8284, "loc": { "start": { - "line": 178, + "line": 184, "column": 38 }, "end": { - "line": 178, + "line": 184, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 7998, - "end": 8002, + "start": 8274, + "end": 8278, "loc": { "start": { - "line": 178, + "line": 184, "column": 38 }, "end": { - "line": 178, + "line": 184, "column": 42 } } }, "property": { "type": "Identifier", - "start": 8003, - "end": 8008, + "start": 8279, + "end": 8284, "loc": { "start": { - "line": 178, + "line": 184, "column": 43 }, "end": { - "line": 178, + "line": 184, "column": 48 }, "identifierName": "input" @@ -42435,15 +48467,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8020, - "end": 8079, + "start": 8296, + "end": 8355, "loc": { "start": { - "line": 180, + "line": 186, "column": 6 }, "end": { - "line": 182, + "line": 188, "column": 9 } } @@ -42452,57 +48484,57 @@ }, { "type": "IfStatement", - "start": 8087, - "end": 8168, + "start": 8363, + "end": 8444, "loc": { "start": { - "line": 183, + "line": 189, "column": 6 }, "end": { - "line": 184, + "line": 190, "column": 44 } }, "test": { "type": "MemberExpression", - "start": 8090, - "end": 8121, + "start": 8366, + "end": 8397, "loc": { "start": { - "line": 183, + "line": 189, "column": 9 }, "end": { - "line": 183, + "line": 189, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 8090, - "end": 8102, + "start": 8366, + "end": 8378, "loc": { "start": { - "line": 183, + "line": 189, "column": 9 }, "end": { - "line": 183, + "line": 189, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 8090, - "end": 8094, + "start": 8366, + "end": 8370, "loc": { "start": { - "line": 183, + "line": 189, "column": 9 }, "end": { - "line": 183, + "line": 189, "column": 13 } }, @@ -42510,15 +48542,15 @@ }, "property": { "type": "Identifier", - "start": 8095, - "end": 8102, + "start": 8371, + "end": 8378, "loc": { "start": { - "line": 183, + "line": 189, "column": 14 }, "end": { - "line": 183, + "line": 189, "column": 21 }, "identifierName": "options" @@ -42530,15 +48562,15 @@ }, "property": { "type": "Identifier", - "start": 8103, - "end": 8121, + "start": 8379, + "end": 8397, "loc": { "start": { - "line": 183, + "line": 189, "column": 22 }, "end": { - "line": 183, + "line": 189, "column": 40 }, "identifierName": "syncInstanceInputs" @@ -42550,72 +48582,72 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 8132, - "end": 8168, + "start": 8408, + "end": 8444, "loc": { "start": { - "line": 184, + "line": 190, "column": 8 }, "end": { - "line": 184, + "line": 190, "column": 44 } }, "expression": { "type": "CallExpression", - "start": 8132, - "end": 8167, + "start": 8408, + "end": 8443, "loc": { "start": { - "line": 184, + "line": 190, "column": 8 }, "end": { - "line": 184, + "line": 190, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 8132, - "end": 8155, + "start": 8408, + "end": 8431, "loc": { "start": { - "line": 184, + "line": 190, "column": 8 }, "end": { - "line": 184, + "line": 190, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 8132, - "end": 8136, + "start": 8408, + "end": 8412, "loc": { "start": { - "line": 184, + "line": 190, "column": 8 }, "end": { - "line": 184, + "line": 190, "column": 12 } } }, "property": { "type": "Identifier", - "start": 8137, - "end": 8155, + "start": 8413, + "end": 8431, "loc": { "start": { - "line": 184, + "line": 190, "column": 13 }, "end": { - "line": 184, + "line": 190, "column": 31 }, "identifierName": "syncInstanceInputs" @@ -42627,44 +48659,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 8156, - "end": 8166, + "start": 8432, + "end": 8442, "loc": { "start": { - "line": 184, + "line": 190, "column": 32 }, "end": { - "line": 184, + "line": 190, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 8156, - "end": 8160, + "start": 8432, + "end": 8436, "loc": { "start": { - "line": 184, + "line": 190, "column": 32 }, "end": { - "line": 184, + "line": 190, "column": 36 } } }, "property": { "type": "Identifier", - "start": 8161, - "end": 8166, + "start": 8437, + "end": 8442, "loc": { "start": { - "line": 184, + "line": 190, "column": 37 }, "end": { - "line": 184, + "line": 190, "column": 42 }, "identifierName": "input" @@ -42682,26 +48714,8 @@ { "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, + "start": 8296, + "end": 8355, "loc": { "start": { "line": 186, @@ -42713,47 +48727,65 @@ } } } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Calling onChange\r\n ", + "start": 8454, + "end": 8495, + "loc": { + "start": { + "line": 192, + "column": 6 + }, + "end": { + "line": 194, + "column": 9 + } + } + } ] }, { "type": "IfStatement", - "start": 8227, - "end": 8342, + "start": 8503, + "end": 8618, "loc": { "start": { - "line": 189, + "line": 195, "column": 6 }, "end": { - "line": 190, + "line": 196, "column": 66 } }, "test": { "type": "BinaryExpression", - "start": 8230, - "end": 8273, + "start": 8506, + "end": 8549, "loc": { "start": { - "line": 189, + "line": 195, "column": 9 }, "end": { - "line": 189, + "line": 195, "column": 52 } }, "left": { "type": "UnaryExpression", - "start": 8230, - "end": 8258, + "start": 8506, + "end": 8534, "loc": { "start": { - "line": 189, + "line": 195, "column": 9 }, "end": { - "line": 189, + "line": 195, "column": 37 } }, @@ -42761,43 +48793,43 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 8237, - "end": 8258, + "start": 8513, + "end": 8534, "loc": { "start": { - "line": 189, + "line": 195, "column": 16 }, "end": { - "line": 189, + "line": 195, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 8237, - "end": 8249, + "start": 8513, + "end": 8525, "loc": { "start": { - "line": 189, + "line": 195, "column": 16 }, "end": { - "line": 189, + "line": 195, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 8237, - "end": 8241, + "start": 8513, + "end": 8517, "loc": { "start": { - "line": 189, + "line": 195, "column": 16 }, "end": { - "line": 189, + "line": 195, "column": 20 } }, @@ -42805,15 +48837,15 @@ }, "property": { "type": "Identifier", - "start": 8242, - "end": 8249, + "start": 8518, + "end": 8525, "loc": { "start": { - "line": 189, + "line": 195, "column": 21 }, "end": { - "line": 189, + "line": 195, "column": 28 }, "identifierName": "options" @@ -42825,15 +48857,15 @@ }, "property": { "type": "Identifier", - "start": 8250, - "end": 8258, + "start": 8526, + "end": 8534, "loc": { "start": { - "line": 189, + "line": 195, "column": 29 }, "end": { - "line": 189, + "line": 195, "column": 37 }, "identifierName": "onChange" @@ -42851,15 +48883,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 8263, - "end": 8273, + "start": 8539, + "end": 8549, "loc": { "start": { - "line": 189, + "line": 195, "column": 42 }, "end": { - "line": 189, + "line": 195, "column": 52 } }, @@ -42873,86 +48905,86 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 8284, - "end": 8342, + "start": 8560, + "end": 8618, "loc": { "start": { - "line": 190, + "line": 196, "column": 8 }, "end": { - "line": 190, + "line": 196, "column": 66 } }, "expression": { "type": "CallExpression", - "start": 8284, - "end": 8341, + "start": 8560, + "end": 8617, "loc": { "start": { - "line": 190, + "line": 196, "column": 8 }, "end": { - "line": 190, + "line": 196, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 8284, - "end": 8305, + "start": 8560, + "end": 8581, "loc": { "start": { - "line": 190, + "line": 196, "column": 8 }, "end": { - "line": 190, + "line": 196, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 8284, - "end": 8296, + "start": 8560, + "end": 8572, "loc": { "start": { - "line": 190, + "line": 196, "column": 8 }, "end": { - "line": 190, + "line": 196, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 8284, - "end": 8288, + "start": 8560, + "end": 8564, "loc": { "start": { - "line": 190, + "line": 196, "column": 8 }, "end": { - "line": 190, + "line": 196, "column": 12 } } }, "property": { "type": "Identifier", - "start": 8289, - "end": 8296, + "start": 8565, + "end": 8572, "loc": { "start": { - "line": 190, + "line": 196, "column": 13 }, "end": { - "line": 190, + "line": 196, "column": 20 }, "identifierName": "options" @@ -42963,15 +48995,15 @@ }, "property": { "type": "Identifier", - "start": 8297, - "end": 8305, + "start": 8573, + "end": 8581, "loc": { "start": { - "line": 190, + "line": 196, "column": 21 }, "end": { - "line": 190, + "line": 196, "column": 29 }, "identifierName": "onChange" @@ -42983,58 +49015,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 8306, - "end": 8340, + "start": 8582, + "end": 8616, "loc": { "start": { - "line": 190, + "line": 196, "column": 30 }, "end": { - "line": 190, + "line": 196, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 8306, - "end": 8316, + "start": 8582, + "end": 8592, "loc": { "start": { - "line": 190, + "line": 196, "column": 30 }, "end": { - "line": 190, + "line": 196, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 8306, - "end": 8310, + "start": 8582, + "end": 8586, "loc": { "start": { - "line": 190, + "line": 196, "column": 30 }, "end": { - "line": 190, + "line": 196, "column": 34 } } }, "property": { "type": "Identifier", - "start": 8311, - "end": 8316, + "start": 8587, + "end": 8592, "loc": { "start": { - "line": 190, + "line": 196, "column": 35 }, "end": { - "line": 190, + "line": 196, "column": 40 }, "identifierName": "input" @@ -43045,58 +49077,58 @@ }, "property": { "type": "MemberExpression", - "start": 8317, - "end": 8339, + "start": 8593, + "end": 8615, "loc": { "start": { - "line": 190, + "line": 196, "column": 41 }, "end": { - "line": 190, + "line": 196, "column": 63 } }, "object": { "type": "MemberExpression", - "start": 8317, - "end": 8329, + "start": 8593, + "end": 8605, "loc": { "start": { - "line": 190, + "line": 196, "column": 41 }, "end": { - "line": 190, + "line": 196, "column": 53 } }, "object": { "type": "ThisExpression", - "start": 8317, - "end": 8321, + "start": 8593, + "end": 8597, "loc": { "start": { - "line": 190, + "line": 196, "column": 41 }, "end": { - "line": 190, + "line": 196, "column": 45 } } }, "property": { "type": "Identifier", - "start": 8322, - "end": 8329, + "start": 8598, + "end": 8605, "loc": { "start": { - "line": 190, + "line": 196, "column": 46 }, "end": { - "line": 190, + "line": 196, "column": 53 }, "identifierName": "options" @@ -43107,15 +49139,15 @@ }, "property": { "type": "Identifier", - "start": 8330, - "end": 8339, + "start": 8606, + "end": 8615, "loc": { "start": { - "line": 190, + "line": 196, "column": 54 }, "end": { - "line": 190, + "line": 196, "column": 63 }, "identifierName": "inputName" @@ -43134,15 +49166,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", - "start": 8178, - "end": 8219, + "start": 8454, + "end": 8495, "loc": { "start": { - "line": 186, + "line": 192, "column": 6 }, "end": { - "line": 188, + "line": 194, "column": 9 } } @@ -43156,29 +49188,29 @@ }, { "type": "IfStatement", - "start": 8361, - "end": 8422, + "start": 8637, + "end": 8698, "loc": { "start": { - "line": 193, + "line": 199, "column": 4 }, "end": { - "line": 195, + "line": 201, "column": 5 } }, "test": { "type": "Identifier", - "start": 8364, - "end": 8369, + "start": 8640, + "end": 8645, "loc": { "start": { - "line": 193, + "line": 199, "column": 7 }, "end": { - "line": 193, + "line": 199, "column": 12 }, "identifierName": "debug" @@ -43187,72 +49219,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 8370, - "end": 8422, + "start": 8646, + "end": 8698, "loc": { "start": { - "line": 193, + "line": 199, "column": 13 }, "end": { - "line": 195, + "line": 201, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 8379, - "end": 8415, + "start": 8655, + "end": 8691, "loc": { "start": { - "line": 194, + "line": 200, "column": 6 }, "end": { - "line": 194, + "line": 200, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 8379, - "end": 8414, + "start": 8655, + "end": 8690, "loc": { "start": { - "line": 194, + "line": 200, "column": 6 }, "end": { - "line": 194, + "line": 200, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 8379, - "end": 8390, + "start": 8655, + "end": 8666, "loc": { "start": { - "line": 194, + "line": 200, "column": 6 }, "end": { - "line": 194, + "line": 200, "column": 17 } }, "object": { "type": "Identifier", - "start": 8379, - "end": 8386, + "start": 8655, + "end": 8662, "loc": { "start": { - "line": 194, + "line": 200, "column": 6 }, "end": { - "line": 194, + "line": 200, "column": 13 }, "identifierName": "console" @@ -43261,15 +49293,15 @@ }, "property": { "type": "Identifier", - "start": 8387, - "end": 8390, + "start": 8663, + "end": 8666, "loc": { "start": { - "line": 194, + "line": 200, "column": 14 }, "end": { - "line": 194, + "line": 200, "column": 17 }, "identifierName": "log" @@ -43281,15 +49313,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 8391, - "end": 8405, + "start": 8667, + "end": 8681, "loc": { "start": { - "line": 194, + "line": 200, "column": 18 }, "end": { - "line": 194, + "line": 200, "column": 32 } }, @@ -43301,15 +49333,15 @@ }, { "type": "Identifier", - "start": 8407, - "end": 8413, + "start": 8683, + "end": 8689, "loc": { "start": { - "line": 194, + "line": 200, "column": 34 }, "end": { - "line": 194, + "line": 200, "column": 40 }, "identifierName": "button" @@ -43332,15 +49364,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": 6924, - "end": 7036, + "start": 7200, + "end": 7312, "loc": { "start": { - "line": 142, + "line": 148, "column": 2 }, "end": { - "line": 145, + "line": 151, "column": 5 } } @@ -43349,16 +49381,1475 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", - "start": 8433, - "end": 8530, + "value": "*\r\n * Handles button mousedown\r\n ", + "start": 8709, + "end": 8750, "loc": { "start": { - "line": 198, + "line": 204, "column": 2 }, "end": { - "line": 200, + "line": 206, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": " istanbul ignore next ", + "start": 8754, + "end": 8780, + "loc": { + "start": { + "line": 207, + "column": 2 + }, + "end": { + "line": 207, + "column": 28 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 8784, + "end": 9487, + "loc": { + "start": { + "line": 208, + "column": 2 + }, + "end": { + "line": 234, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 8784, + "end": 8805, + "loc": { + "start": { + "line": 208, + "column": 2 + }, + "end": { + "line": 208, + "column": 23 + }, + "identifierName": "handleButtonMouseDown" + }, + "name": "handleButtonMouseDown", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 8806, + "end": 8812, + "loc": { + "start": { + "line": 208, + "column": 24 + }, + "end": { + "line": 208, + "column": 30 + }, + "identifierName": "button" + }, + "name": "button" + }, + { + "type": "Identifier", + "start": 8814, + "end": 8815, + "loc": { + "start": { + "line": 208, + "column": 32 + }, + "end": { + "line": 208, + "column": 33 + }, + "identifierName": "e" + }, + "name": "e" + } + ], + "body": { + "type": "BlockStatement", + "start": 8816, + "end": 9487, + "loc": { + "start": { + "line": 208, + "column": 34 + }, + "end": { + "line": 234, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8908, + "end": 8932, + "loc": { + "start": { + "line": 212, + "column": 4 + }, + "end": { + "line": 212, + "column": 28 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 8908, + "end": 8931, + "loc": { + "start": { + "line": 212, + "column": 4 + }, + "end": { + "line": 212, + "column": 27 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 8908, + "end": 8924, + "loc": { + "start": { + "line": 212, + "column": 4 + }, + "end": { + "line": 212, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 8908, + "end": 8912, + "loc": { + "start": { + "line": 212, + "column": 4 + }, + "end": { + "line": 212, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 8913, + "end": 8924, + "loc": { + "start": { + "line": 212, + "column": 9 + }, + "end": { + "line": 212, + "column": 20 + }, + "identifierName": "isMouseHold" + }, + "name": "isMouseHold" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "BooleanLiteral", + "start": 8927, + "end": 8931, + "loc": { + "start": { + "line": 212, + "column": 23 + }, + "end": { + "line": 212, + "column": 27 + } + }, + "value": true + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n ", + "start": 8823, + "end": 8902, + "loc": { + "start": { + "line": 209, + "column": 4 + }, + "end": { + "line": 211, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", + "start": 8940, + "end": 9017, + "loc": { + "start": { + "line": 214, + "column": 4 + }, + "end": { + "line": 216, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 9023, + "end": 9482, + "loc": { + "start": { + "line": 217, + "column": 4 + }, + "end": { + "line": 233, + "column": 12 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 9023, + "end": 9481, + "loc": { + "start": { + "line": 217, + "column": 4 + }, + "end": { + "line": 233, + "column": 11 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 9023, + "end": 9039, + "loc": { + "start": { + "line": 217, + "column": 4 + }, + "end": { + "line": 217, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 9023, + "end": 9027, + "loc": { + "start": { + "line": 217, + "column": 4 + }, + "end": { + "line": 217, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 9028, + "end": 9039, + "loc": { + "start": { + "line": 217, + "column": 9 + }, + "end": { + "line": 217, + "column": 20 + }, + "identifierName": "holdTimeout" + }, + "name": "holdTimeout" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "CallExpression", + "start": 9042, + "end": 9481, + "loc": { + "start": { + "line": 217, + "column": 23 + }, + "end": { + "line": 233, + "column": 11 + } + }, + "callee": { + "type": "Identifier", + "start": 9042, + "end": 9052, + "loc": { + "start": { + "line": 217, + "column": 23 + }, + "end": { + "line": 217, + "column": 33 + }, + "identifierName": "setTimeout" + }, + "name": "setTimeout" + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 9053, + "end": 9475, + "loc": { + "start": { + "line": 217, + "column": 34 + }, + "end": { + "line": 233, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 9059, + "end": 9475, + "loc": { + "start": { + "line": 217, + "column": 40 + }, + "end": { + "line": 233, + "column": 5 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 9068, + "end": 9429, + "loc": { + "start": { + "line": 218, + "column": 6 + }, + "end": { + "line": 231, + "column": 7 + } + }, + "test": { + "type": "LogicalExpression", + "start": 9081, + "end": 9285, + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 225, + "column": 9 + } + }, + "left": { + "type": "MemberExpression", + "start": 9081, + "end": 9097, + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 219, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 9081, + "end": 9085, + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 219, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 9086, + "end": 9097, + "loc": { + "start": { + "line": 219, + "column": 13 + }, + "end": { + "line": 219, + "column": 24 + }, + "identifierName": "isMouseHold" + }, + "name": "isMouseHold" + }, + "computed": false + }, + "operator": "&&", + "right": { + "type": "LogicalExpression", + "start": 9124, + "end": 9274, + "loc": { + "start": { + "line": 221, + "column": 10 + }, + "end": { + "line": 224, + "column": 28 + } + }, + "left": { + "type": "LogicalExpression", + "start": 9124, + "end": 9241, + "loc": { + "start": { + "line": 221, + "column": 10 + }, + "end": { + "line": 223, + "column": 30 + } + }, + "left": { + "type": "LogicalExpression", + "start": 9124, + "end": 9206, + "loc": { + "start": { + "line": 221, + "column": 10 + }, + "end": { + "line": 222, + "column": 29 + } + }, + "left": { + "type": "LogicalExpression", + "start": 9125, + "end": 9171, + "loc": { + "start": { + "line": 221, + "column": 11 + }, + "end": { + "line": 221, + "column": 57 + } + }, + "left": { + "type": "UnaryExpression", + "start": 9125, + "end": 9146, + "loc": { + "start": { + "line": 221, + "column": 11 + }, + "end": { + "line": 221, + "column": 32 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "CallExpression", + "start": 9126, + "end": 9146, + "loc": { + "start": { + "line": 221, + "column": 12 + }, + "end": { + "line": 221, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9126, + "end": 9141, + "loc": { + "start": { + "line": 221, + "column": 12 + }, + "end": { + "line": 221, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 9126, + "end": 9132, + "loc": { + "start": { + "line": 221, + "column": 12 + }, + "end": { + "line": 221, + "column": 18 + }, + "identifierName": "button" + }, + "name": "button" + }, + "property": { + "type": "Identifier", + "start": 9133, + "end": 9141, + "loc": { + "start": { + "line": 221, + "column": 19 + }, + "end": { + "line": 221, + "column": 27 + }, + "identifierName": "includes" + }, + "name": "includes" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 9142, + "end": 9145, + "loc": { + "start": { + "line": 221, + "column": 28 + }, + "end": { + "line": 221, + "column": 31 + } + }, + "extra": { + "rawValue": "{", + "raw": "\"{\"" + }, + "value": "{" + } + ] + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "&&", + "right": { + "type": "UnaryExpression", + "start": 9150, + "end": 9171, + "loc": { + "start": { + "line": 221, + "column": 36 + }, + "end": { + "line": 221, + "column": 57 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "CallExpression", + "start": 9151, + "end": 9171, + "loc": { + "start": { + "line": 221, + "column": 37 + }, + "end": { + "line": 221, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9151, + "end": 9166, + "loc": { + "start": { + "line": 221, + "column": 37 + }, + "end": { + "line": 221, + "column": 52 + } + }, + "object": { + "type": "Identifier", + "start": 9151, + "end": 9157, + "loc": { + "start": { + "line": 221, + "column": 37 + }, + "end": { + "line": 221, + "column": 43 + }, + "identifierName": "button" + }, + "name": "button" + }, + "property": { + "type": "Identifier", + "start": 9158, + "end": 9166, + "loc": { + "start": { + "line": 221, + "column": 44 + }, + "end": { + "line": 221, + "column": 52 + }, + "identifierName": "includes" + }, + "name": "includes" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 9167, + "end": 9170, + "loc": { + "start": { + "line": 221, + "column": 53 + }, + "end": { + "line": 221, + "column": 56 + } + }, + "extra": { + "rawValue": "}", + "raw": "\"}\"" + }, + "value": "}" + } + ] + }, + "extra": { + "parenthesizedArgument": false + } + }, + "extra": { + "parenthesized": true, + "parenStart": 9124 + } + }, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 9187, + "end": 9206, + "loc": { + "start": { + "line": 222, + "column": 10 + }, + "end": { + "line": 222, + "column": 29 + } + }, + "left": { + "type": "Identifier", + "start": 9187, + "end": 9193, + "loc": { + "start": { + "line": 222, + "column": 10 + }, + "end": { + "line": 222, + "column": 16 + }, + "identifierName": "button" + }, + "name": "button" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 9198, + "end": 9206, + "loc": { + "start": { + "line": 222, + "column": 21 + }, + "end": { + "line": 222, + "column": 29 + } + }, + "extra": { + "rawValue": "{bksp}", + "raw": "\"{bksp}\"" + }, + "value": "{bksp}" + } + } + }, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 9221, + "end": 9241, + "loc": { + "start": { + "line": 223, + "column": 10 + }, + "end": { + "line": 223, + "column": 30 + } + }, + "left": { + "type": "Identifier", + "start": 9221, + "end": 9227, + "loc": { + "start": { + "line": 223, + "column": 10 + }, + "end": { + "line": 223, + "column": 16 + }, + "identifierName": "button" + }, + "name": "button" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 9232, + "end": 9241, + "loc": { + "start": { + "line": 223, + "column": 21 + }, + "end": { + "line": 223, + "column": 30 + } + }, + "extra": { + "rawValue": "{space}", + "raw": "\"{space}\"" + }, + "value": "{space}" + } + } + }, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 9256, + "end": 9274, + "loc": { + "start": { + "line": 224, + "column": 10 + }, + "end": { + "line": 224, + "column": 28 + } + }, + "left": { + "type": "Identifier", + "start": 9256, + "end": 9262, + "loc": { + "start": { + "line": 224, + "column": 10 + }, + "end": { + "line": 224, + "column": 16 + }, + "identifierName": "button" + }, + "name": "button" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 9267, + "end": 9274, + "loc": { + "start": { + "line": 224, + "column": 21 + }, + "end": { + "line": 224, + "column": 28 + } + }, + "extra": { + "rawValue": "{tab}", + "raw": "\"{tab}\"" + }, + "value": "{tab}" + } + }, + "extra": { + "parenthesized": true, + "parenStart": 9111 + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 9294, + "end": 9429, + "loc": { + "start": { + "line": 226, + "column": 7 + }, + "end": { + "line": 231, + "column": 7 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 9305, + "end": 9375, + "loc": { + "start": { + "line": 227, + "column": 8 + }, + "end": { + "line": 228, + "column": 46 + } + }, + "test": { + "type": "MemberExpression", + "start": 9308, + "end": 9326, + "loc": { + "start": { + "line": 227, + "column": 11 + }, + "end": { + "line": 227, + "column": 29 + } + }, + "object": { + "type": "MemberExpression", + "start": 9308, + "end": 9320, + "loc": { + "start": { + "line": 227, + "column": 11 + }, + "end": { + "line": 227, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 9308, + "end": 9312, + "loc": { + "start": { + "line": 227, + "column": 11 + }, + "end": { + "line": 227, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 9313, + "end": 9320, + "loc": { + "start": { + "line": 227, + "column": 16 + }, + "end": { + "line": 227, + "column": 23 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 9321, + "end": 9326, + "loc": { + "start": { + "line": 227, + "column": 24 + }, + "end": { + "line": 227, + "column": 29 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "computed": false + }, + "consequent": { + "type": "ExpressionStatement", + "start": 9339, + "end": 9375, + "loc": { + "start": { + "line": 228, + "column": 10 + }, + "end": { + "line": 228, + "column": 46 + } + }, + "expression": { + "type": "CallExpression", + "start": 9339, + "end": 9374, + "loc": { + "start": { + "line": 228, + "column": 10 + }, + "end": { + "line": 228, + "column": 45 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9339, + "end": 9350, + "loc": { + "start": { + "line": 228, + "column": 10 + }, + "end": { + "line": 228, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 9339, + "end": 9346, + "loc": { + "start": { + "line": 228, + "column": 10 + }, + "end": { + "line": 228, + "column": 17 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 9347, + "end": 9350, + "loc": { + "start": { + "line": 228, + "column": 18 + }, + "end": { + "line": 228, + "column": 21 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 9351, + "end": 9365, + "loc": { + "start": { + "line": 228, + "column": 22 + }, + "end": { + "line": 228, + "column": 36 + } + }, + "extra": { + "rawValue": "Button held:", + "raw": "\"Button held:\"" + }, + "value": "Button held:" + }, + { + "type": "Identifier", + "start": 9367, + "end": 9373, + "loc": { + "start": { + "line": 228, + "column": 38 + }, + "end": { + "line": 228, + "column": 44 + }, + "identifierName": "button" + }, + "name": "button" + } + ] + } + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 9387, + "end": 9420, + "loc": { + "start": { + "line": 230, + "column": 8 + }, + "end": { + "line": 230, + "column": 41 + } + }, + "expression": { + "type": "CallExpression", + "start": 9387, + "end": 9419, + "loc": { + "start": { + "line": 230, + "column": 8 + }, + "end": { + "line": 230, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9387, + "end": 9408, + "loc": { + "start": { + "line": 230, + "column": 8 + }, + "end": { + "line": 230, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 9387, + "end": 9391, + "loc": { + "start": { + "line": 230, + "column": 8 + }, + "end": { + "line": 230, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 9392, + "end": 9408, + "loc": { + "start": { + "line": 230, + "column": 13 + }, + "end": { + "line": 230, + "column": 29 + }, + "identifierName": "handleButtonHold" + }, + "name": "handleButtonHold" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 9409, + "end": 9415, + "loc": { + "start": { + "line": 230, + "column": 30 + }, + "end": { + "line": 230, + "column": 36 + }, + "identifierName": "button" + }, + "name": "button" + }, + { + "type": "Identifier", + "start": 9417, + "end": 9418, + "loc": { + "start": { + "line": 230, + "column": 38 + }, + "end": { + "line": 230, + "column": 39 + }, + "identifierName": "e" + }, + "name": "e" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 9437, + "end": 9468, + "loc": { + "start": { + "line": 232, + "column": 6 + }, + "end": { + "line": 232, + "column": 37 + } + }, + "expression": { + "type": "CallExpression", + "start": 9437, + "end": 9467, + "loc": { + "start": { + "line": 232, + "column": 6 + }, + "end": { + "line": 232, + "column": 36 + } + }, + "callee": { + "type": "Identifier", + "start": 9437, + "end": 9449, + "loc": { + "start": { + "line": 232, + "column": 6 + }, + "end": { + "line": 232, + "column": 18 + }, + "identifierName": "clearTimeout" + }, + "name": "clearTimeout" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 9450, + "end": 9466, + "loc": { + "start": { + "line": 232, + "column": 19 + }, + "end": { + "line": 232, + "column": 35 + } + }, + "object": { + "type": "ThisExpression", + "start": 9450, + "end": 9454, + "loc": { + "start": { + "line": 232, + "column": 19 + }, + "end": { + "line": 232, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "start": 9455, + "end": 9466, + "loc": { + "start": { + "line": 232, + "column": 24 + }, + "end": { + "line": 232, + "column": 35 + }, + "identifierName": "holdTimeout" + }, + "name": "holdTimeout" + }, + "computed": false + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "NumericLiteral", + "start": 9477, + "end": 9480, + "loc": { + "start": { + "line": 233, + "column": 7 + }, + "end": { + "line": 233, + "column": 10 + } + }, + "extra": { + "rawValue": 500, + "raw": "500" + }, + "value": 500 + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", + "start": 8940, + "end": 9017, + "loc": { + "start": { + "line": 214, + "column": 4 + }, + "end": { + "line": 216, + "column": 7 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Handles button mousedown\r\n ", + "start": 8709, + "end": 8750, + "loc": { + "start": { + "line": 204, + "column": 2 + }, + "end": { + "line": 206, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": " istanbul ignore next ", + "start": 8754, + "end": 8780, + "loc": { + "start": { + "line": 207, + "column": 2 + }, + "end": { + "line": 207, + "column": 28 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Handles button mouseup\r\n ", + "start": 9493, + "end": 9532, + "loc": { + "start": { + "line": 236, + "column": 2 + }, + "end": { + "line": 238, "column": 5 } } @@ -43367,15 +50858,15 @@ }, { "type": "ClassMethod", - "start": 8534, - "end": 8646, + "start": 9536, + "end": 9681, "loc": { "start": { - "line": 201, + "line": 239, "column": 2 }, "end": { - "line": 205, + "line": 243, "column": 3 } }, @@ -43383,15 +50874,899 @@ "computed": false, "key": { "type": "Identifier", - "start": 8534, - "end": 8552, + "start": 9536, + "end": 9555, "loc": { "start": { - "line": 201, + "line": 239, "column": 2 }, "end": { - "line": 201, + "line": 239, + "column": 21 + }, + "identifierName": "handleButtonMouseUp" + }, + "name": "handleButtonMouseUp", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 9557, + "end": 9681, + "loc": { + "start": { + "line": 239, + "column": 23 + }, + "end": { + "line": 243, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 9564, + "end": 9589, + "loc": { + "start": { + "line": 240, + "column": 4 + }, + "end": { + "line": 240, + "column": 29 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 9564, + "end": 9588, + "loc": { + "start": { + "line": 240, + "column": 4 + }, + "end": { + "line": 240, + "column": 28 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 9564, + "end": 9580, + "loc": { + "start": { + "line": 240, + "column": 4 + }, + "end": { + "line": 240, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 9564, + "end": 9568, + "loc": { + "start": { + "line": 240, + "column": 4 + }, + "end": { + "line": 240, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 9569, + "end": 9580, + "loc": { + "start": { + "line": 240, + "column": 9 + }, + "end": { + "line": 240, + "column": 20 + }, + "identifierName": "isMouseHold" + }, + "name": "isMouseHold" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 9583, + "end": 9588, + "loc": { + "start": { + "line": 240, + "column": 23 + }, + "end": { + "line": 240, + "column": 28 + } + }, + "value": false + } + } + }, + { + "type": "IfStatement", + "start": 9595, + "end": 9676, + "loc": { + "start": { + "line": 241, + "column": 4 + }, + "end": { + "line": 242, + "column": 48 + } + }, + "test": { + "type": "MemberExpression", + "start": 9598, + "end": 9625, + "loc": { + "start": { + "line": 241, + "column": 7 + }, + "end": { + "line": 241, + "column": 34 + } + }, + "object": { + "type": "ThisExpression", + "start": 9598, + "end": 9602, + "loc": { + "start": { + "line": 241, + "column": 7 + }, + "end": { + "line": 241, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "start": 9603, + "end": 9625, + "loc": { + "start": { + "line": 241, + "column": 12 + }, + "end": { + "line": 241, + "column": 34 + }, + "identifierName": "holdInteractionTimeout" + }, + "name": "holdInteractionTimeout" + }, + "computed": false + }, + "consequent": { + "type": "ExpressionStatement", + "start": 9634, + "end": 9676, + "loc": { + "start": { + "line": 242, + "column": 6 + }, + "end": { + "line": 242, + "column": 48 + } + }, + "expression": { + "type": "CallExpression", + "start": 9634, + "end": 9675, + "loc": { + "start": { + "line": 242, + "column": 6 + }, + "end": { + "line": 242, + "column": 47 + } + }, + "callee": { + "type": "Identifier", + "start": 9634, + "end": 9646, + "loc": { + "start": { + "line": 242, + "column": 6 + }, + "end": { + "line": 242, + "column": 18 + }, + "identifierName": "clearTimeout" + }, + "name": "clearTimeout" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 9647, + "end": 9674, + "loc": { + "start": { + "line": 242, + "column": 19 + }, + "end": { + "line": 242, + "column": 46 + } + }, + "object": { + "type": "ThisExpression", + "start": 9647, + "end": 9651, + "loc": { + "start": { + "line": 242, + "column": 19 + }, + "end": { + "line": 242, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "start": 9652, + "end": 9674, + "loc": { + "start": { + "line": 242, + "column": 24 + }, + "end": { + "line": 242, + "column": 46 + }, + "identifierName": "holdInteractionTimeout" + }, + "name": "holdInteractionTimeout" + }, + "computed": false + } + ] + } + }, + "alternate": null + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Handles button mouseup\r\n ", + "start": 9493, + "end": 9532, + "loc": { + "start": { + "line": 236, + "column": 2 + }, + "end": { + "line": 238, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Handles button hold\r\n ", + "start": 9687, + "end": 9723, + "loc": { + "start": { + "line": 245, + "column": 2 + }, + "end": { + "line": 247, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": " istanbul ignore next ", + "start": 9727, + "end": 9753, + "loc": { + "start": { + "line": 248, + "column": 2 + }, + "end": { + "line": 248, + "column": 28 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 9757, + "end": 10026, + "loc": { + "start": { + "line": 249, + "column": 2 + }, + "end": { + "line": 257, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 9757, + "end": 9773, + "loc": { + "start": { + "line": 249, + "column": 2 + }, + "end": { + "line": 249, + "column": 18 + }, + "identifierName": "handleButtonHold" + }, + "name": "handleButtonHold", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 9774, + "end": 9780, + "loc": { + "start": { + "line": 249, + "column": 19 + }, + "end": { + "line": 249, + "column": 25 + }, + "identifierName": "button" + }, + "name": "button" + } + ], + "body": { + "type": "BlockStatement", + "start": 9781, + "end": 10026, + "loc": { + "start": { + "line": 249, + "column": 26 + }, + "end": { + "line": 257, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 9880, + "end": 10021, + "loc": { + "start": { + "line": 253, + "column": 4 + }, + "end": { + "line": 256, + "column": 12 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 9880, + "end": 10020, + "loc": { + "start": { + "line": 253, + "column": 4 + }, + "end": { + "line": 256, + "column": 11 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 9880, + "end": 9907, + "loc": { + "start": { + "line": 253, + "column": 4 + }, + "end": { + "line": 253, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 9880, + "end": 9884, + "loc": { + "start": { + "line": 253, + "column": 4 + }, + "end": { + "line": 253, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 9885, + "end": 9907, + "loc": { + "start": { + "line": 253, + "column": 9 + }, + "end": { + "line": 253, + "column": 31 + }, + "identifierName": "holdInteractionTimeout" + }, + "name": "holdInteractionTimeout" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "CallExpression", + "start": 9910, + "end": 10020, + "loc": { + "start": { + "line": 253, + "column": 34 + }, + "end": { + "line": 256, + "column": 11 + } + }, + "callee": { + "type": "Identifier", + "start": 9910, + "end": 9920, + "loc": { + "start": { + "line": 253, + "column": 34 + }, + "end": { + "line": 253, + "column": 44 + }, + "identifierName": "setTimeout" + }, + "name": "setTimeout" + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 9921, + "end": 10014, + "loc": { + "start": { + "line": 253, + "column": 45 + }, + "end": { + "line": 256, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 9927, + "end": 10014, + "loc": { + "start": { + "line": 253, + "column": 51 + }, + "end": { + "line": 256, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 9936, + "end": 9969, + "loc": { + "start": { + "line": 254, + "column": 6 + }, + "end": { + "line": 254, + "column": 39 + } + }, + "expression": { + "type": "CallExpression", + "start": 9936, + "end": 9968, + "loc": { + "start": { + "line": 254, + "column": 6 + }, + "end": { + "line": 254, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9936, + "end": 9960, + "loc": { + "start": { + "line": 254, + "column": 6 + }, + "end": { + "line": 254, + "column": 30 + } + }, + "object": { + "type": "ThisExpression", + "start": 9936, + "end": 9940, + "loc": { + "start": { + "line": 254, + "column": 6 + }, + "end": { + "line": 254, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 9941, + "end": 9960, + "loc": { + "start": { + "line": 254, + "column": 11 + }, + "end": { + "line": 254, + "column": 30 + }, + "identifierName": "handleButtonClicked" + }, + "name": "handleButtonClicked" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 9961, + "end": 9967, + "loc": { + "start": { + "line": 254, + "column": 31 + }, + "end": { + "line": 254, + "column": 37 + }, + "identifierName": "button" + }, + "name": "button" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 9977, + "end": 10007, + "loc": { + "start": { + "line": 255, + "column": 6 + }, + "end": { + "line": 255, + "column": 36 + } + }, + "expression": { + "type": "CallExpression", + "start": 9977, + "end": 10006, + "loc": { + "start": { + "line": 255, + "column": 6 + }, + "end": { + "line": 255, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9977, + "end": 9998, + "loc": { + "start": { + "line": 255, + "column": 6 + }, + "end": { + "line": 255, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 9977, + "end": 9981, + "loc": { + "start": { + "line": 255, + "column": 6 + }, + "end": { + "line": 255, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 9982, + "end": 9998, + "loc": { + "start": { + "line": 255, + "column": 11 + }, + "end": { + "line": 255, + "column": 27 + }, + "identifierName": "handleButtonHold" + }, + "name": "handleButtonHold" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 9999, + "end": 10005, + "loc": { + "start": { + "line": 255, + "column": 28 + }, + "end": { + "line": 255, + "column": 34 + }, + "identifierName": "button" + }, + "name": "button" + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "NumericLiteral", + "start": 10016, + "end": 10019, + "loc": { + "start": { + "line": 256, + "column": 7 + }, + "end": { + "line": 256, + "column": 10 + } + }, + "extra": { + "rawValue": 100, + "raw": "100" + }, + "value": 100 + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", + "start": 9788, + "end": 9874, + "loc": { + "start": { + "line": 250, + "column": 4 + }, + "end": { + "line": 252, + "column": 7 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Handles button hold\r\n ", + "start": 9687, + "end": 9723, + "loc": { + "start": { + "line": 245, + "column": 2 + }, + "end": { + "line": 247, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": " istanbul ignore next ", + "start": 9727, + "end": 9753, + "loc": { + "start": { + "line": 248, + "column": 2 + }, + "end": { + "line": 248, + "column": 28 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", + "start": 10032, + "end": 10129, + "loc": { + "start": { + "line": 259, + "column": 2 + }, + "end": { + "line": 261, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 10133, + "end": 10245, + "loc": { + "start": { + "line": 262, + "column": 2 + }, + "end": { + "line": 266, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10133, + "end": 10151, + "loc": { + "start": { + "line": 262, + "column": 2 + }, + "end": { + "line": 262, "column": 20 }, "identifierName": "syncInstanceInputs" @@ -43407,87 +51782,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 8554, - "end": 8646, + "start": 10153, + "end": 10245, "loc": { "start": { - "line": 201, + "line": 262, "column": 22 }, "end": { - "line": 205, + "line": 266, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 8561, - "end": 8641, + "start": 10160, + "end": 10240, "loc": { "start": { - "line": 202, + "line": 263, "column": 4 }, "end": { - "line": 204, + "line": 265, "column": 7 } }, "expression": { "type": "CallExpression", - "start": 8561, - "end": 8640, + "start": 10160, + "end": 10239, "loc": { "start": { - "line": 202, + "line": 263, "column": 4 }, "end": { - "line": 204, + "line": 265, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 8561, - "end": 8574, + "start": 10160, + "end": 10173, "loc": { "start": { - "line": 202, + "line": 263, "column": 4 }, "end": { - "line": 202, + "line": 263, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 8561, - "end": 8565, + "start": 10160, + "end": 10164, "loc": { "start": { - "line": 202, + "line": 263, "column": 4 }, "end": { - "line": 202, + "line": 263, "column": 8 } } }, "property": { "type": "Identifier", - "start": 8566, - "end": 8574, + "start": 10165, + "end": 10173, "loc": { "start": { - "line": 202, + "line": 263, "column": 9 }, "end": { - "line": 202, + "line": 263, "column": 17 }, "identifierName": "dispatch" @@ -43499,15 +51874,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 8575, - "end": 8639, + "start": 10174, + "end": 10238, "loc": { "start": { - "line": 202, + "line": 263, "column": 18 }, "end": { - "line": 204, + "line": 265, "column": 5 } }, @@ -43518,15 +51893,15 @@ "params": [ { "type": "Identifier", - "start": 8576, - "end": 8584, + "start": 10175, + "end": 10183, "loc": { "start": { - "line": 202, + "line": 263, "column": 19 }, "end": { - "line": 202, + "line": 263, "column": 27 }, "identifierName": "instance" @@ -43536,72 +51911,72 @@ ], "body": { "type": "BlockStatement", - "start": 8589, - "end": 8639, + "start": 10188, + "end": 10238, "loc": { "start": { - "line": 202, + "line": 263, "column": 32 }, "end": { - "line": 204, + "line": 265, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 8598, - "end": 8632, + "start": 10197, + "end": 10231, "loc": { "start": { - "line": 203, + "line": 264, "column": 6 }, "end": { - "line": 203, + "line": 264, "column": 40 } }, "expression": { "type": "CallExpression", - "start": 8598, - "end": 8631, + "start": 10197, + "end": 10230, "loc": { "start": { - "line": 203, + "line": 264, "column": 6 }, "end": { - "line": 203, + "line": 264, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 8598, - "end": 8619, + "start": 10197, + "end": 10218, "loc": { "start": { - "line": 203, + "line": 264, "column": 6 }, "end": { - "line": 203, + "line": 264, "column": 27 } }, "object": { "type": "Identifier", - "start": 8598, - "end": 8606, + "start": 10197, + "end": 10205, "loc": { "start": { - "line": 203, + "line": 264, "column": 6 }, "end": { - "line": 203, + "line": 264, "column": 14 }, "identifierName": "instance" @@ -43610,15 +51985,15 @@ }, "property": { "type": "Identifier", - "start": 8607, - "end": 8619, + "start": 10206, + "end": 10218, "loc": { "start": { - "line": 203, + "line": 264, "column": 15 }, "end": { - "line": 203, + "line": 264, "column": 27 }, "identifierName": "replaceInput" @@ -43630,44 +52005,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 8620, - "end": 8630, + "start": 10219, + "end": 10229, "loc": { "start": { - "line": 203, + "line": 264, "column": 28 }, "end": { - "line": 203, + "line": 264, "column": 38 } }, "object": { "type": "ThisExpression", - "start": 8620, - "end": 8624, + "start": 10219, + "end": 10223, "loc": { "start": { - "line": 203, + "line": 264, "column": 28 }, "end": { - "line": 203, + "line": 264, "column": 32 } } }, "property": { "type": "Identifier", - "start": 8625, - "end": 8630, + "start": 10224, + "end": 10229, "loc": { "start": { - "line": 203, + "line": 264, "column": 33 }, "end": { - "line": 203, + "line": 264, "column": 38 }, "identifierName": "input" @@ -43694,15 +52069,15 @@ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", - "start": 8433, - "end": 8530, + "start": 10032, + "end": 10129, "loc": { "start": { - "line": 198, + "line": 259, "column": 2 }, "end": { - "line": 200, + "line": 261, "column": 5 } } @@ -43712,15 +52087,15 @@ { "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, + "start": 10253, + "end": 10371, "loc": { "start": { - "line": 207, + "line": 268, "column": 2 }, "end": { - "line": 210, + "line": 271, "column": 5 } } @@ -43729,15 +52104,15 @@ }, { "type": "ClassMethod", - "start": 8776, - "end": 9051, + "start": 10375, + "end": 10650, "loc": { "start": { - "line": 211, + "line": 272, "column": 2 }, "end": { - "line": 220, + "line": 281, "column": 3 } }, @@ -43745,15 +52120,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8776, - "end": 8786, + "start": 10375, + "end": 10385, "loc": { "start": { - "line": 211, + "line": 272, "column": 2 }, "end": { - "line": 211, + "line": 272, "column": 12 }, "identifierName": "clearInput" @@ -43769,15 +52144,15 @@ "params": [ { "type": "Identifier", - "start": 8787, - "end": 8796, + "start": 10386, + "end": 10395, "loc": { "start": { - "line": 211, + "line": 272, "column": 13 }, "end": { - "line": 211, + "line": 272, "column": 22 }, "identifierName": "inputName" @@ -43787,59 +52162,59 @@ ], "body": { "type": "BlockStatement", - "start": 8797, - "end": 9051, + "start": 10396, + "end": 10650, "loc": { "start": { - "line": 211, + "line": 272, "column": 23 }, "end": { - "line": 220, + "line": 281, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 8804, - "end": 8852, + "start": 10403, + "end": 10451, "loc": { "start": { - "line": 212, + "line": 273, "column": 4 }, "end": { - "line": 212, + "line": 273, "column": 52 } }, "expression": { "type": "AssignmentExpression", - "start": 8804, - "end": 8851, + "start": 10403, + "end": 10450, "loc": { "start": { - "line": 212, + "line": 273, "column": 4 }, "end": { - "line": 212, + "line": 273, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", - "start": 8804, - "end": 8813, + "start": 10403, + "end": 10412, "loc": { "start": { - "line": 212, + "line": 273, "column": 4 }, "end": { - "line": 212, + "line": 273, "column": 13 }, "identifierName": "inputName" @@ -43848,29 +52223,29 @@ }, "right": { "type": "LogicalExpression", - "start": 8816, - "end": 8851, + "start": 10415, + "end": 10450, "loc": { "start": { - "line": 212, + "line": 273, "column": 16 }, "end": { - "line": 212, + "line": 273, "column": 51 } }, "left": { "type": "Identifier", - "start": 8816, - "end": 8825, + "start": 10415, + "end": 10424, "loc": { "start": { - "line": 212, + "line": 273, "column": 16 }, "end": { - "line": 212, + "line": 273, "column": 25 }, "identifierName": "inputName" @@ -43880,58 +52255,58 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 8829, - "end": 8851, + "start": 10428, + "end": 10450, "loc": { "start": { - "line": 212, + "line": 273, "column": 29 }, "end": { - "line": 212, + "line": 273, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 8829, - "end": 8841, + "start": 10428, + "end": 10440, "loc": { "start": { - "line": 212, + "line": 273, "column": 29 }, "end": { - "line": 212, + "line": 273, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 8829, - "end": 8833, + "start": 10428, + "end": 10432, "loc": { "start": { - "line": 212, + "line": 273, "column": 29 }, "end": { - "line": 212, + "line": 273, "column": 33 } } }, "property": { "type": "Identifier", - "start": 8834, - "end": 8841, + "start": 10433, + "end": 10440, "loc": { "start": { - "line": 212, + "line": 273, "column": 34 }, "end": { - "line": 212, + "line": 273, "column": 41 }, "identifierName": "options" @@ -43942,15 +52317,15 @@ }, "property": { "type": "Identifier", - "start": 8842, - "end": 8851, + "start": 10441, + "end": 10450, "loc": { "start": { - "line": 212, + "line": 273, "column": 42 }, "end": { - "line": 212, + "line": 273, "column": 51 }, "identifierName": "inputName" @@ -43964,87 +52339,87 @@ }, { "type": "ExpressionStatement", - "start": 8858, - "end": 8898, + "start": 10457, + "end": 10497, "loc": { "start": { - "line": 213, + "line": 274, "column": 4 }, "end": { - "line": 213, + "line": 274, "column": 44 } }, "expression": { "type": "AssignmentExpression", - "start": 8858, - "end": 8897, + "start": 10457, + "end": 10496, "loc": { "start": { - "line": 213, + "line": 274, "column": 4 }, "end": { - "line": 213, + "line": 274, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8858, - "end": 8892, + "start": 10457, + "end": 10491, "loc": { "start": { - "line": 213, + "line": 274, "column": 4 }, "end": { - "line": 213, + "line": 274, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 8858, - "end": 8868, + "start": 10457, + "end": 10467, "loc": { "start": { - "line": 213, + "line": 274, "column": 4 }, "end": { - "line": 213, + "line": 274, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 8858, - "end": 8862, + "start": 10457, + "end": 10461, "loc": { "start": { - "line": 213, + "line": 274, "column": 4 }, "end": { - "line": 213, + "line": 274, "column": 8 } } }, "property": { "type": "Identifier", - "start": 8863, - "end": 8868, + "start": 10462, + "end": 10467, "loc": { "start": { - "line": 213, + "line": 274, "column": 9 }, "end": { - "line": 213, + "line": 274, "column": 14 }, "identifierName": "input" @@ -44055,58 +52430,58 @@ }, "property": { "type": "MemberExpression", - "start": 8869, - "end": 8891, + "start": 10468, + "end": 10490, "loc": { "start": { - "line": 213, + "line": 274, "column": 15 }, "end": { - "line": 213, + "line": 274, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 8869, - "end": 8881, + "start": 10468, + "end": 10480, "loc": { "start": { - "line": 213, + "line": 274, "column": 15 }, "end": { - "line": 213, + "line": 274, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 8869, - "end": 8873, + "start": 10468, + "end": 10472, "loc": { "start": { - "line": 213, + "line": 274, "column": 15 }, "end": { - "line": 213, + "line": 274, "column": 19 } } }, "property": { "type": "Identifier", - "start": 8874, - "end": 8881, + "start": 10473, + "end": 10480, "loc": { "start": { - "line": 213, + "line": 274, "column": 20 }, "end": { - "line": 213, + "line": 274, "column": 27 }, "identifierName": "options" @@ -44117,15 +52492,15 @@ }, "property": { "type": "Identifier", - "start": 8882, - "end": 8891, + "start": 10481, + "end": 10490, "loc": { "start": { - "line": 213, + "line": 274, "column": 28 }, "end": { - "line": 213, + "line": 274, "column": 37 }, "identifierName": "inputName" @@ -44138,15 +52513,15 @@ }, "right": { "type": "StringLiteral", - "start": 8895, - "end": 8897, + "start": 10494, + "end": 10496, "loc": { "start": { - "line": 213, + "line": 274, "column": 41 }, "end": { - "line": 213, + "line": 274, "column": 43 } }, @@ -44161,15 +52536,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8906, - "end": 8961, + "start": 10505, + "end": 10560, "loc": { "start": { - "line": 215, + "line": 276, "column": 4 }, "end": { - "line": 217, + "line": 278, "column": 7 } } @@ -44178,57 +52553,57 @@ }, { "type": "IfStatement", - "start": 8967, - "end": 9046, + "start": 10566, + "end": 10645, "loc": { "start": { - "line": 218, + "line": 279, "column": 4 }, "end": { - "line": 219, + "line": 280, "column": 42 } }, "test": { "type": "MemberExpression", - "start": 8970, - "end": 9001, + "start": 10569, + "end": 10600, "loc": { "start": { - "line": 218, + "line": 279, "column": 7 }, "end": { - "line": 218, + "line": 279, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 8970, - "end": 8982, + "start": 10569, + "end": 10581, "loc": { "start": { - "line": 218, + "line": 279, "column": 7 }, "end": { - "line": 218, + "line": 279, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 8970, - "end": 8974, + "start": 10569, + "end": 10573, "loc": { "start": { - "line": 218, + "line": 279, "column": 7 }, "end": { - "line": 218, + "line": 279, "column": 11 } }, @@ -44236,15 +52611,15 @@ }, "property": { "type": "Identifier", - "start": 8975, - "end": 8982, + "start": 10574, + "end": 10581, "loc": { "start": { - "line": 218, + "line": 279, "column": 12 }, "end": { - "line": 218, + "line": 279, "column": 19 }, "identifierName": "options" @@ -44256,15 +52631,15 @@ }, "property": { "type": "Identifier", - "start": 8983, - "end": 9001, + "start": 10582, + "end": 10600, "loc": { "start": { - "line": 218, + "line": 279, "column": 20 }, "end": { - "line": 218, + "line": 279, "column": 38 }, "identifierName": "syncInstanceInputs" @@ -44276,72 +52651,72 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 9010, - "end": 9046, + "start": 10609, + "end": 10645, "loc": { "start": { - "line": 219, + "line": 280, "column": 6 }, "end": { - "line": 219, + "line": 280, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 9010, - "end": 9045, + "start": 10609, + "end": 10644, "loc": { "start": { - "line": 219, + "line": 280, "column": 6 }, "end": { - "line": 219, + "line": 280, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 9010, - "end": 9033, + "start": 10609, + "end": 10632, "loc": { "start": { - "line": 219, + "line": 280, "column": 6 }, "end": { - "line": 219, + "line": 280, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 9010, - "end": 9014, + "start": 10609, + "end": 10613, "loc": { "start": { - "line": 219, + "line": 280, "column": 6 }, "end": { - "line": 219, + "line": 280, "column": 10 } } }, "property": { "type": "Identifier", - "start": 9015, - "end": 9033, + "start": 10614, + "end": 10632, "loc": { "start": { - "line": 219, + "line": 280, "column": 11 }, "end": { - "line": 219, + "line": 280, "column": 29 }, "identifierName": "syncInstanceInputs" @@ -44353,44 +52728,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 9034, - "end": 9044, + "start": 10633, + "end": 10643, "loc": { "start": { - "line": 219, + "line": 280, "column": 30 }, "end": { - "line": 219, + "line": 280, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 9034, - "end": 9038, + "start": 10633, + "end": 10637, "loc": { "start": { - "line": 219, + "line": 280, "column": 30 }, "end": { - "line": 219, + "line": 280, "column": 34 } } }, "property": { "type": "Identifier", - "start": 9039, - "end": 9044, + "start": 10638, + "end": 10643, "loc": { "start": { - "line": 219, + "line": 280, "column": 35 }, "end": { - "line": 219, + "line": 280, "column": 40 }, "identifierName": "input" @@ -44407,15 +52782,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8906, - "end": 8961, + "start": 10505, + "end": 10560, "loc": { "start": { - "line": 215, + "line": 276, "column": 4 }, "end": { - "line": 217, + "line": 278, "column": 7 } } @@ -44430,15 +52805,15 @@ { "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, + "start": 10253, + "end": 10371, "loc": { "start": { - "line": 207, + "line": 268, "column": 2 }, "end": { - "line": 210, + "line": 271, "column": 5 } } @@ -44448,15 +52823,15 @@ { "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, + "start": 10656, + "end": 10818, "loc": { "start": { - "line": 222, + "line": 283, "column": 2 }, "end": { - "line": 225, + "line": 286, "column": 5 } } @@ -44465,15 +52840,15 @@ }, { "type": "ClassMethod", - "start": 9223, - "end": 9500, + "start": 10822, + "end": 11099, "loc": { "start": { - "line": 226, + "line": 287, "column": 2 }, "end": { - "line": 236, + "line": 297, "column": 3 } }, @@ -44481,15 +52856,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9223, - "end": 9231, + "start": 10822, + "end": 10830, "loc": { "start": { - "line": 226, + "line": 287, "column": 2 }, "end": { - "line": 226, + "line": 287, "column": 10 }, "identifierName": "getInput" @@ -44505,15 +52880,15 @@ "params": [ { "type": "Identifier", - "start": 9232, - "end": 9241, + "start": 10831, + "end": 10840, "loc": { "start": { - "line": 226, + "line": 287, "column": 11 }, "end": { - "line": 226, + "line": 287, "column": 20 }, "identifierName": "inputName" @@ -44523,59 +52898,59 @@ ], "body": { "type": "BlockStatement", - "start": 9242, - "end": 9500, + "start": 10841, + "end": 11099, "loc": { "start": { - "line": 226, + "line": 287, "column": 21 }, "end": { - "line": 236, + "line": 297, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 9249, - "end": 9297, + "start": 10848, + "end": 10896, "loc": { "start": { - "line": 227, + "line": 288, "column": 4 }, "end": { - "line": 227, + "line": 288, "column": 52 } }, "expression": { "type": "AssignmentExpression", - "start": 9249, - "end": 9296, + "start": 10848, + "end": 10895, "loc": { "start": { - "line": 227, + "line": 288, "column": 4 }, "end": { - "line": 227, + "line": 288, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", - "start": 9249, - "end": 9258, + "start": 10848, + "end": 10857, "loc": { "start": { - "line": 227, + "line": 288, "column": 4 }, "end": { - "line": 227, + "line": 288, "column": 13 }, "identifierName": "inputName" @@ -44584,29 +52959,29 @@ }, "right": { "type": "LogicalExpression", - "start": 9261, - "end": 9296, + "start": 10860, + "end": 10895, "loc": { "start": { - "line": 227, + "line": 288, "column": 16 }, "end": { - "line": 227, + "line": 288, "column": 51 } }, "left": { "type": "Identifier", - "start": 9261, - "end": 9270, + "start": 10860, + "end": 10869, "loc": { "start": { - "line": 227, + "line": 288, "column": 16 }, "end": { - "line": 227, + "line": 288, "column": 25 }, "identifierName": "inputName" @@ -44616,58 +52991,58 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 9274, - "end": 9296, + "start": 10873, + "end": 10895, "loc": { "start": { - "line": 227, + "line": 288, "column": 29 }, "end": { - "line": 227, + "line": 288, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 9274, - "end": 9286, + "start": 10873, + "end": 10885, "loc": { "start": { - "line": 227, + "line": 288, "column": 29 }, "end": { - "line": 227, + "line": 288, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 9274, - "end": 9278, + "start": 10873, + "end": 10877, "loc": { "start": { - "line": 227, + "line": 288, "column": 29 }, "end": { - "line": 227, + "line": 288, "column": 33 } } }, "property": { "type": "Identifier", - "start": 9279, - "end": 9286, + "start": 10878, + "end": 10885, "loc": { "start": { - "line": 227, + "line": 288, "column": 34 }, "end": { - "line": 227, + "line": 288, "column": 41 }, "identifierName": "options" @@ -44678,15 +53053,15 @@ }, "property": { "type": "Identifier", - "start": 9287, - "end": 9296, + "start": 10886, + "end": 10895, "loc": { "start": { - "line": 227, + "line": 288, "column": 42 }, "end": { - "line": 227, + "line": 288, "column": 51 }, "identifierName": "inputName" @@ -44701,15 +53076,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 9305, - "end": 9360, + "start": 10904, + "end": 10959, "loc": { "start": { - "line": 229, + "line": 290, "column": 4 }, "end": { - "line": 231, + "line": 292, "column": 7 } } @@ -44718,57 +53093,57 @@ }, { "type": "IfStatement", - "start": 9366, - "end": 9445, + "start": 10965, + "end": 11044, "loc": { "start": { - "line": 232, + "line": 293, "column": 4 }, "end": { - "line": 233, + "line": 294, "column": 42 } }, "test": { "type": "MemberExpression", - "start": 9369, - "end": 9400, + "start": 10968, + "end": 10999, "loc": { "start": { - "line": 232, + "line": 293, "column": 7 }, "end": { - "line": 232, + "line": 293, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 9369, - "end": 9381, + "start": 10968, + "end": 10980, "loc": { "start": { - "line": 232, + "line": 293, "column": 7 }, "end": { - "line": 232, + "line": 293, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 9369, - "end": 9373, + "start": 10968, + "end": 10972, "loc": { "start": { - "line": 232, + "line": 293, "column": 7 }, "end": { - "line": 232, + "line": 293, "column": 11 } }, @@ -44776,15 +53151,15 @@ }, "property": { "type": "Identifier", - "start": 9374, - "end": 9381, + "start": 10973, + "end": 10980, "loc": { "start": { - "line": 232, + "line": 293, "column": 12 }, "end": { - "line": 232, + "line": 293, "column": 19 }, "identifierName": "options" @@ -44796,15 +53171,15 @@ }, "property": { "type": "Identifier", - "start": 9382, - "end": 9400, + "start": 10981, + "end": 10999, "loc": { "start": { - "line": 232, + "line": 293, "column": 20 }, "end": { - "line": 232, + "line": 293, "column": 38 }, "identifierName": "syncInstanceInputs" @@ -44816,72 +53191,72 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 9409, - "end": 9445, + "start": 11008, + "end": 11044, "loc": { "start": { - "line": 233, + "line": 294, "column": 6 }, "end": { - "line": 233, + "line": 294, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 9409, - "end": 9444, + "start": 11008, + "end": 11043, "loc": { "start": { - "line": 233, + "line": 294, "column": 6 }, "end": { - "line": 233, + "line": 294, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 9409, - "end": 9432, + "start": 11008, + "end": 11031, "loc": { "start": { - "line": 233, + "line": 294, "column": 6 }, "end": { - "line": 233, + "line": 294, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 9409, - "end": 9413, + "start": 11008, + "end": 11012, "loc": { "start": { - "line": 233, + "line": 294, "column": 6 }, "end": { - "line": 233, + "line": 294, "column": 10 } } }, "property": { "type": "Identifier", - "start": 9414, - "end": 9432, + "start": 11013, + "end": 11031, "loc": { "start": { - "line": 233, + "line": 294, "column": 11 }, "end": { - "line": 233, + "line": 294, "column": 29 }, "identifierName": "syncInstanceInputs" @@ -44893,44 +53268,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 9433, - "end": 9443, + "start": 11032, + "end": 11042, "loc": { "start": { - "line": 233, + "line": 294, "column": 30 }, "end": { - "line": 233, + "line": 294, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 9433, - "end": 9437, + "start": 11032, + "end": 11036, "loc": { "start": { - "line": 233, + "line": 294, "column": 30 }, "end": { - "line": 233, + "line": 294, "column": 34 } } }, "property": { "type": "Identifier", - "start": 9438, - "end": 9443, + "start": 11037, + "end": 11042, "loc": { "start": { - "line": 233, + "line": 294, "column": 35 }, "end": { - "line": 233, + "line": 294, "column": 40 }, "identifierName": "input" @@ -44947,15 +53322,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 9305, - "end": 9360, + "start": 10904, + "end": 10959, "loc": { "start": { - "line": 229, + "line": 290, "column": 4 }, "end": { - "line": 231, + "line": 292, "column": 7 } } @@ -44964,72 +53339,72 @@ }, { "type": "ReturnStatement", - "start": 9453, - "end": 9495, + "start": 11052, + "end": 11094, "loc": { "start": { - "line": 235, + "line": 296, "column": 4 }, "end": { - "line": 235, + "line": 296, "column": 46 } }, "argument": { "type": "MemberExpression", - "start": 9460, - "end": 9494, + "start": 11059, + "end": 11093, "loc": { "start": { - "line": 235, + "line": 296, "column": 11 }, "end": { - "line": 235, + "line": 296, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 9460, - "end": 9470, + "start": 11059, + "end": 11069, "loc": { "start": { - "line": 235, + "line": 296, "column": 11 }, "end": { - "line": 235, + "line": 296, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 9460, - "end": 9464, + "start": 11059, + "end": 11063, "loc": { "start": { - "line": 235, + "line": 296, "column": 11 }, "end": { - "line": 235, + "line": 296, "column": 15 } } }, "property": { "type": "Identifier", - "start": 9465, - "end": 9470, + "start": 11064, + "end": 11069, "loc": { "start": { - "line": 235, + "line": 296, "column": 16 }, "end": { - "line": 235, + "line": 296, "column": 21 }, "identifierName": "input" @@ -45040,58 +53415,58 @@ }, "property": { "type": "MemberExpression", - "start": 9471, - "end": 9493, + "start": 11070, + "end": 11092, "loc": { "start": { - "line": 235, + "line": 296, "column": 22 }, "end": { - "line": 235, + "line": 296, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 9471, - "end": 9483, + "start": 11070, + "end": 11082, "loc": { "start": { - "line": 235, + "line": 296, "column": 22 }, "end": { - "line": 235, + "line": 296, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 9471, - "end": 9475, + "start": 11070, + "end": 11074, "loc": { "start": { - "line": 235, + "line": 296, "column": 22 }, "end": { - "line": 235, + "line": 296, "column": 26 } } }, "property": { "type": "Identifier", - "start": 9476, - "end": 9483, + "start": 11075, + "end": 11082, "loc": { "start": { - "line": 235, + "line": 296, "column": 27 }, "end": { - "line": 235, + "line": 296, "column": 34 }, "identifierName": "options" @@ -45102,15 +53477,15 @@ }, "property": { "type": "Identifier", - "start": 9484, - "end": 9493, + "start": 11083, + "end": 11092, "loc": { "start": { - "line": 235, + "line": 296, "column": 35 }, "end": { - "line": 235, + "line": 296, "column": 44 }, "identifierName": "inputName" @@ -45130,15 +53505,15 @@ { "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, + "start": 10656, + "end": 10818, "loc": { "start": { - "line": 222, + "line": 283, "column": 2 }, "end": { - "line": 225, + "line": 286, "column": 5 } } @@ -45148,15 +53523,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": 9506, - "end": 9666, + "start": 11105, + "end": 11265, "loc": { "start": { - "line": 238, + "line": 299, "column": 2 }, "end": { - "line": 242, + "line": 303, "column": 5 } } @@ -45165,15 +53540,15 @@ }, { "type": "ClassMethod", - "start": 9670, - "end": 9940, + "start": 11269, + "end": 11539, "loc": { "start": { - "line": 243, + "line": 304, "column": 2 }, "end": { - "line": 252, + "line": 313, "column": 3 } }, @@ -45181,15 +53556,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9670, - "end": 9678, + "start": 11269, + "end": 11277, "loc": { "start": { - "line": 243, + "line": 304, "column": 2 }, "end": { - "line": 243, + "line": 304, "column": 10 }, "identifierName": "setInput" @@ -45205,15 +53580,15 @@ "params": [ { "type": "Identifier", - "start": 9679, - "end": 9684, + "start": 11278, + "end": 11283, "loc": { "start": { - "line": 243, + "line": 304, "column": 11 }, "end": { - "line": 243, + "line": 304, "column": 16 }, "identifierName": "input" @@ -45222,15 +53597,15 @@ }, { "type": "Identifier", - "start": 9686, - "end": 9695, + "start": 11285, + "end": 11294, "loc": { "start": { - "line": 243, + "line": 304, "column": 18 }, "end": { - "line": 243, + "line": 304, "column": 27 }, "identifierName": "inputName" @@ -45240,59 +53615,59 @@ ], "body": { "type": "BlockStatement", - "start": 9696, - "end": 9940, + "start": 11295, + "end": 11539, "loc": { "start": { - "line": 243, + "line": 304, "column": 28 }, "end": { - "line": 252, + "line": 313, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 9703, - "end": 9751, + "start": 11302, + "end": 11350, "loc": { "start": { - "line": 244, + "line": 305, "column": 4 }, "end": { - "line": 244, + "line": 305, "column": 52 } }, "expression": { "type": "AssignmentExpression", - "start": 9703, - "end": 9750, + "start": 11302, + "end": 11349, "loc": { "start": { - "line": 244, + "line": 305, "column": 4 }, "end": { - "line": 244, + "line": 305, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", - "start": 9703, - "end": 9712, + "start": 11302, + "end": 11311, "loc": { "start": { - "line": 244, + "line": 305, "column": 4 }, "end": { - "line": 244, + "line": 305, "column": 13 }, "identifierName": "inputName" @@ -45301,29 +53676,29 @@ }, "right": { "type": "LogicalExpression", - "start": 9715, - "end": 9750, + "start": 11314, + "end": 11349, "loc": { "start": { - "line": 244, + "line": 305, "column": 16 }, "end": { - "line": 244, + "line": 305, "column": 51 } }, "left": { "type": "Identifier", - "start": 9715, - "end": 9724, + "start": 11314, + "end": 11323, "loc": { "start": { - "line": 244, + "line": 305, "column": 16 }, "end": { - "line": 244, + "line": 305, "column": 25 }, "identifierName": "inputName" @@ -45333,58 +53708,58 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 9728, - "end": 9750, + "start": 11327, + "end": 11349, "loc": { "start": { - "line": 244, + "line": 305, "column": 29 }, "end": { - "line": 244, + "line": 305, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 9728, - "end": 9740, + "start": 11327, + "end": 11339, "loc": { "start": { - "line": 244, + "line": 305, "column": 29 }, "end": { - "line": 244, + "line": 305, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 9728, - "end": 9732, + "start": 11327, + "end": 11331, "loc": { "start": { - "line": 244, + "line": 305, "column": 29 }, "end": { - "line": 244, + "line": 305, "column": 33 } } }, "property": { "type": "Identifier", - "start": 9733, - "end": 9740, + "start": 11332, + "end": 11339, "loc": { "start": { - "line": 244, + "line": 305, "column": 34 }, "end": { - "line": 244, + "line": 305, "column": 41 }, "identifierName": "options" @@ -45395,15 +53770,15 @@ }, "property": { "type": "Identifier", - "start": 9741, - "end": 9750, + "start": 11340, + "end": 11349, "loc": { "start": { - "line": 244, + "line": 305, "column": 42 }, "end": { - "line": 244, + "line": 305, "column": 51 }, "identifierName": "inputName" @@ -45417,87 +53792,87 @@ }, { "type": "ExpressionStatement", - "start": 9757, - "end": 9787, + "start": 11356, + "end": 11386, "loc": { "start": { - "line": 245, + "line": 306, "column": 4 }, "end": { - "line": 245, + "line": 306, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 9757, - "end": 9786, + "start": 11356, + "end": 11385, "loc": { "start": { - "line": 245, + "line": 306, "column": 4 }, "end": { - "line": 245, + "line": 306, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9757, - "end": 9778, + "start": 11356, + "end": 11377, "loc": { "start": { - "line": 245, + "line": 306, "column": 4 }, "end": { - "line": 245, + "line": 306, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 9757, - "end": 9767, + "start": 11356, + "end": 11366, "loc": { "start": { - "line": 245, + "line": 306, "column": 4 }, "end": { - "line": 245, + "line": 306, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 9757, - "end": 9761, + "start": 11356, + "end": 11360, "loc": { "start": { - "line": 245, + "line": 306, "column": 4 }, "end": { - "line": 245, + "line": 306, "column": 8 } } }, "property": { "type": "Identifier", - "start": 9762, - "end": 9767, + "start": 11361, + "end": 11366, "loc": { "start": { - "line": 245, + "line": 306, "column": 9 }, "end": { - "line": 245, + "line": 306, "column": 14 }, "identifierName": "input" @@ -45508,15 +53883,15 @@ }, "property": { "type": "Identifier", - "start": 9768, - "end": 9777, + "start": 11367, + "end": 11376, "loc": { "start": { - "line": 245, + "line": 306, "column": 15 }, "end": { - "line": 245, + "line": 306, "column": 24 }, "identifierName": "inputName" @@ -45527,15 +53902,15 @@ }, "right": { "type": "Identifier", - "start": 9781, - "end": 9786, + "start": 11380, + "end": 11385, "loc": { "start": { - "line": 245, + "line": 306, "column": 28 }, "end": { - "line": 245, + "line": 306, "column": 33 }, "identifierName": "input" @@ -45547,15 +53922,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 9795, - "end": 9850, + "start": 11394, + "end": 11449, "loc": { "start": { - "line": 247, + "line": 308, "column": 4 }, "end": { - "line": 249, + "line": 310, "column": 7 } } @@ -45564,57 +53939,57 @@ }, { "type": "IfStatement", - "start": 9856, - "end": 9935, + "start": 11455, + "end": 11534, "loc": { "start": { - "line": 250, + "line": 311, "column": 4 }, "end": { - "line": 251, + "line": 312, "column": 42 } }, "test": { "type": "MemberExpression", - "start": 9859, - "end": 9890, + "start": 11458, + "end": 11489, "loc": { "start": { - "line": 250, + "line": 311, "column": 7 }, "end": { - "line": 250, + "line": 311, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 9859, - "end": 9871, + "start": 11458, + "end": 11470, "loc": { "start": { - "line": 250, + "line": 311, "column": 7 }, "end": { - "line": 250, + "line": 311, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 9859, - "end": 9863, + "start": 11458, + "end": 11462, "loc": { "start": { - "line": 250, + "line": 311, "column": 7 }, "end": { - "line": 250, + "line": 311, "column": 11 } }, @@ -45622,15 +53997,15 @@ }, "property": { "type": "Identifier", - "start": 9864, - "end": 9871, + "start": 11463, + "end": 11470, "loc": { "start": { - "line": 250, + "line": 311, "column": 12 }, "end": { - "line": 250, + "line": 311, "column": 19 }, "identifierName": "options" @@ -45642,15 +54017,15 @@ }, "property": { "type": "Identifier", - "start": 9872, - "end": 9890, + "start": 11471, + "end": 11489, "loc": { "start": { - "line": 250, + "line": 311, "column": 20 }, "end": { - "line": 250, + "line": 311, "column": 38 }, "identifierName": "syncInstanceInputs" @@ -45662,72 +54037,72 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 9899, - "end": 9935, + "start": 11498, + "end": 11534, "loc": { "start": { - "line": 251, + "line": 312, "column": 6 }, "end": { - "line": 251, + "line": 312, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 9899, - "end": 9934, + "start": 11498, + "end": 11533, "loc": { "start": { - "line": 251, + "line": 312, "column": 6 }, "end": { - "line": 251, + "line": 312, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 9899, - "end": 9922, + "start": 11498, + "end": 11521, "loc": { "start": { - "line": 251, + "line": 312, "column": 6 }, "end": { - "line": 251, + "line": 312, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 9899, - "end": 9903, + "start": 11498, + "end": 11502, "loc": { "start": { - "line": 251, + "line": 312, "column": 6 }, "end": { - "line": 251, + "line": 312, "column": 10 } } }, "property": { "type": "Identifier", - "start": 9904, - "end": 9922, + "start": 11503, + "end": 11521, "loc": { "start": { - "line": 251, + "line": 312, "column": 11 }, "end": { - "line": 251, + "line": 312, "column": 29 }, "identifierName": "syncInstanceInputs" @@ -45739,44 +54114,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 9923, - "end": 9933, + "start": 11522, + "end": 11532, "loc": { "start": { - "line": 251, + "line": 312, "column": 30 }, "end": { - "line": 251, + "line": 312, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 9923, - "end": 9927, + "start": 11522, + "end": 11526, "loc": { "start": { - "line": 251, + "line": 312, "column": 30 }, "end": { - "line": 251, + "line": 312, "column": 34 } } }, "property": { "type": "Identifier", - "start": 9928, - "end": 9933, + "start": 11527, + "end": 11532, "loc": { "start": { - "line": 251, + "line": 312, "column": 35 }, "end": { - "line": 251, + "line": 312, "column": 40 }, "identifierName": "input" @@ -45793,15 +54168,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 9795, - "end": 9850, + "start": 11394, + "end": 11449, "loc": { "start": { - "line": 247, + "line": 308, "column": 4 }, "end": { - "line": 249, + "line": 310, "column": 7 } } @@ -45816,15 +54191,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": 9506, - "end": 9666, + "start": 11105, + "end": 11265, "loc": { "start": { - "line": 238, + "line": 299, "column": 2 }, "end": { - "line": 242, + "line": 303, "column": 5 } } @@ -45834,15 +54209,15 @@ { "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, + "start": 11547, + "end": 11656, "loc": { "start": { - "line": 254, + "line": 315, "column": 2 }, "end": { - "line": 257, + "line": 318, "column": 5 } } @@ -45851,15 +54226,15 @@ }, { "type": "ClassMethod", - "start": 10061, - "end": 10117, + "start": 11660, + "end": 11716, "loc": { "start": { - "line": 258, + "line": 319, "column": 2 }, "end": { - "line": 260, + "line": 321, "column": 3 } }, @@ -45867,15 +54242,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10061, - "end": 10073, + "start": 11660, + "end": 11672, "loc": { "start": { - "line": 258, + "line": 319, "column": 2 }, "end": { - "line": 258, + "line": 319, "column": 14 }, "identifierName": "replaceInput" @@ -45891,15 +54266,15 @@ "params": [ { "type": "Identifier", - "start": 10074, - "end": 10082, + "start": 11673, + "end": 11681, "loc": { "start": { - "line": 258, + "line": 319, "column": 15 }, "end": { - "line": 258, + "line": 319, "column": 23 }, "identifierName": "inputObj" @@ -45909,88 +54284,88 @@ ], "body": { "type": "BlockStatement", - "start": 10083, - "end": 10117, + "start": 11682, + "end": 11716, "loc": { "start": { - "line": 258, + "line": 319, "column": 24 }, "end": { - "line": 260, + "line": 321, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 10090, - "end": 10112, + "start": 11689, + "end": 11711, "loc": { "start": { - "line": 259, + "line": 320, "column": 4 }, "end": { - "line": 259, + "line": 320, "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 10090, - "end": 10111, + "start": 11689, + "end": 11710, "loc": { "start": { - "line": 259, + "line": 320, "column": 4 }, "end": { - "line": 259, + "line": 320, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 10090, - "end": 10100, + "start": 11689, + "end": 11699, "loc": { "start": { - "line": 259, + "line": 320, "column": 4 }, "end": { - "line": 259, + "line": 320, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 10090, - "end": 10094, + "start": 11689, + "end": 11693, "loc": { "start": { - "line": 259, + "line": 320, "column": 4 }, "end": { - "line": 259, + "line": 320, "column": 8 } } }, "property": { "type": "Identifier", - "start": 10095, - "end": 10100, + "start": 11694, + "end": 11699, "loc": { "start": { - "line": 259, + "line": 320, "column": 9 }, "end": { - "line": 259, + "line": 320, "column": 14 }, "identifierName": "input" @@ -46001,15 +54376,15 @@ }, "right": { "type": "Identifier", - "start": 10103, - "end": 10111, + "start": 11702, + "end": 11710, "loc": { "start": { - "line": 259, + "line": 320, "column": 17 }, "end": { - "line": 259, + "line": 320, "column": 25 }, "identifierName": "inputObj" @@ -46026,15 +54401,15 @@ { "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, + "start": 11547, + "end": 11656, "loc": { "start": { - "line": 254, + "line": 315, "column": 2 }, "end": { - "line": 257, + "line": 318, "column": 5 } } @@ -46044,15 +54419,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": 10123, - "end": 10249, + "start": 11722, + "end": 11848, "loc": { "start": { - "line": 262, + "line": 323, "column": 2 }, "end": { - "line": 265, + "line": 326, "column": 5 } } @@ -46061,15 +54436,15 @@ }, { "type": "ClassProperty", - "start": 10253, - "end": 10387, + "start": 11852, + "end": 12053, "loc": { "start": { - "line": 266, + "line": 327, "column": 2 }, "end": { - "line": 270, + "line": 336, "column": 3 } }, @@ -46077,15 +54452,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10253, - "end": 10263, + "start": 11852, + "end": 11862, "loc": { "start": { - "line": 266, + "line": 327, "column": 2 }, "end": { - "line": 266, + "line": 327, "column": 12 }, "identifierName": "setOptions" @@ -46095,15 +54470,15 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 10266, - "end": 10387, + "start": 11865, + "end": 12053, "loc": { "start": { - "line": 266, + "line": 327, "column": 15 }, "end": { - "line": 270, + "line": 336, "column": 3 } }, @@ -46114,15 +54489,15 @@ "params": [ { "type": "Identifier", - "start": 10266, - "end": 10272, + "start": 11865, + "end": 11871, "loc": { "start": { - "line": 266, + "line": 327, "column": 15 }, "end": { - "line": 266, + "line": 327, "column": 21 }, "identifierName": "option" @@ -46132,59 +54507,59 @@ ], "body": { "type": "BlockStatement", - "start": 10276, - "end": 10387, + "start": 11875, + "end": 12053, "loc": { "start": { - "line": 266, + "line": 327, "column": 25 }, "end": { - "line": 270, + "line": 336, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 10283, - "end": 10305, + "start": 11882, + "end": 11904, "loc": { "start": { - "line": 267, + "line": 328, "column": 4 }, "end": { - "line": 267, + "line": 328, "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 10283, - "end": 10304, + "start": 11882, + "end": 11903, "loc": { "start": { - "line": 267, + "line": 328, "column": 4 }, "end": { - "line": 267, + "line": 328, "column": 25 } }, "operator": "=", "left": { "type": "Identifier", - "start": 10283, - "end": 10289, + "start": 11882, + "end": 11888, "loc": { "start": { - "line": 267, + "line": 328, "column": 4 }, "end": { - "line": 267, + "line": 328, "column": 10 }, "identifierName": "option" @@ -46193,29 +54568,29 @@ }, "right": { "type": "LogicalExpression", - "start": 10292, - "end": 10304, + "start": 11891, + "end": 11903, "loc": { "start": { - "line": 267, + "line": 328, "column": 13 }, "end": { - "line": 267, + "line": 328, "column": 25 } }, "left": { "type": "Identifier", - "start": 10292, - "end": 10298, + "start": 11891, + "end": 11897, "loc": { "start": { - "line": 267, + "line": 328, "column": 13 }, "end": { - "line": 267, + "line": 328, "column": 19 }, "identifierName": "option" @@ -46225,15 +54600,15 @@ "operator": "||", "right": { "type": "ObjectExpression", - "start": 10302, - "end": 10304, + "start": 11901, + "end": 11903, "loc": { "start": { - "line": 267, + "line": 328, "column": 23 }, "end": { - "line": 267, + "line": 328, "column": 25 } }, @@ -46244,73 +54619,73 @@ }, { "type": "ExpressionStatement", - "start": 10311, - "end": 10362, + "start": 11910, + "end": 11961, "loc": { "start": { - "line": 268, + "line": 329, "column": 4 }, "end": { - "line": 268, + "line": 329, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 10311, - "end": 10361, + "start": 11910, + "end": 11960, "loc": { "start": { - "line": 268, + "line": 329, "column": 4 }, "end": { - "line": 268, + "line": 329, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 10311, - "end": 10323, + "start": 11910, + "end": 11922, "loc": { "start": { - "line": 268, + "line": 329, "column": 4 }, "end": { - "line": 268, + "line": 329, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 10311, - "end": 10315, + "start": 11910, + "end": 11914, "loc": { "start": { - "line": 268, + "line": 329, "column": 4 }, "end": { - "line": 268, + "line": 329, "column": 8 } } }, "property": { "type": "Identifier", - "start": 10316, - "end": 10323, + "start": 11915, + "end": 11922, "loc": { "start": { - "line": 268, + "line": 329, "column": 9 }, "end": { - "line": 268, + "line": 329, "column": 16 }, "identifierName": "options" @@ -46321,43 +54696,43 @@ }, "right": { "type": "CallExpression", - "start": 10326, - "end": 10361, + "start": 11925, + "end": 11960, "loc": { "start": { - "line": 268, + "line": 329, "column": 19 }, "end": { - "line": 268, + "line": 329, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 10326, - "end": 10339, + "start": 11925, + "end": 11938, "loc": { "start": { - "line": 268, + "line": 329, "column": 19 }, "end": { - "line": 268, + "line": 329, "column": 32 } }, "object": { "type": "Identifier", - "start": 10326, - "end": 10332, + "start": 11925, + "end": 11931, "loc": { "start": { - "line": 268, + "line": 329, "column": 19 }, "end": { - "line": 268, + "line": 329, "column": 25 }, "identifierName": "Object" @@ -46366,15 +54741,15 @@ }, "property": { "type": "Identifier", - "start": 10333, - "end": 10339, + "start": 11932, + "end": 11938, "loc": { "start": { - "line": 268, + "line": 329, "column": 26 }, "end": { - "line": 268, + "line": 329, "column": 32 }, "identifierName": "assign" @@ -46386,44 +54761,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 10340, - "end": 10352, + "start": 11939, + "end": 11951, "loc": { "start": { - "line": 268, + "line": 329, "column": 33 }, "end": { - "line": 268, + "line": 329, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 10340, - "end": 10344, + "start": 11939, + "end": 11943, "loc": { "start": { - "line": 268, + "line": 329, "column": 33 }, "end": { - "line": 268, + "line": 329, "column": 37 } } }, "property": { "type": "Identifier", - "start": 10345, - "end": 10352, + "start": 11944, + "end": 11951, "loc": { "start": { - "line": 268, + "line": 329, "column": 38 }, "end": { - "line": 268, + "line": 329, "column": 45 }, "identifierName": "options" @@ -46434,15 +54809,15 @@ }, { "type": "Identifier", - "start": 10354, - "end": 10360, + "start": 11953, + "end": 11959, "loc": { "start": { - "line": 268, + "line": 329, "column": 47 }, "end": { - "line": 268, + "line": 329, "column": 53 }, "identifierName": "option" @@ -46455,72 +54830,72 @@ }, { "type": "ExpressionStatement", - "start": 10368, - "end": 10382, + "start": 11967, + "end": 11981, "loc": { "start": { - "line": 269, + "line": 330, "column": 4 }, "end": { - "line": 269, + "line": 330, "column": 18 } }, "expression": { "type": "CallExpression", - "start": 10368, - "end": 10381, + "start": 11967, + "end": 11980, "loc": { "start": { - "line": 269, + "line": 330, "column": 4 }, "end": { - "line": 269, + "line": 330, "column": 17 } }, "callee": { "type": "MemberExpression", - "start": 10368, - "end": 10379, + "start": 11967, + "end": 11978, "loc": { "start": { - "line": 269, + "line": 330, "column": 4 }, "end": { - "line": 269, + "line": 330, "column": 15 } }, "object": { "type": "ThisExpression", - "start": 10368, - "end": 10372, + "start": 11967, + "end": 11971, "loc": { "start": { - "line": 269, + "line": 330, "column": 4 }, "end": { - "line": 269, + "line": 330, "column": 8 } } }, "property": { "type": "Identifier", - "start": 10373, - "end": 10379, + "start": 11972, + "end": 11978, "loc": { "start": { - "line": 269, + "line": 330, "column": 9 }, "end": { - "line": 269, + "line": 330, "column": 15 }, "identifierName": "render" @@ -46530,7 +54905,125 @@ "computed": false }, "arguments": [] - } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Apply modules\r\n ", + "start": 11989, + "end": 12023, + "loc": { + "start": { + "line": 332, + "column": 4 + }, + "end": { + "line": 334, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 12029, + "end": 12048, + "loc": { + "start": { + "line": 335, + "column": 4 + }, + "end": { + "line": 335, + "column": 23 + } + }, + "expression": { + "type": "CallExpression", + "start": 12029, + "end": 12047, + "loc": { + "start": { + "line": 335, + "column": 4 + }, + "end": { + "line": 335, + "column": 22 + } + }, + "callee": { + "type": "MemberExpression", + "start": 12029, + "end": 12045, + "loc": { + "start": { + "line": 335, + "column": 4 + }, + "end": { + "line": 335, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 12029, + "end": 12033, + "loc": { + "start": { + "line": 335, + "column": 4 + }, + "end": { + "line": 335, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 12034, + "end": 12045, + "loc": { + "start": { + "line": 335, + "column": 9 + }, + "end": { + "line": 335, + "column": 20 + }, + "identifierName": "loadModules" + }, + "name": "loadModules" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Apply modules\r\n ", + "start": 11989, + "end": 12023, + "loc": { + "start": { + "line": 332, + "column": 4 + }, + "end": { + "line": 334, + "column": 7 + } + } + } + ] } ], "directives": [], @@ -46542,15 +55035,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": 10123, - "end": 10249, + "start": 11722, + "end": 11848, "loc": { "start": { - "line": 262, + "line": 323, "column": 2 }, "end": { - "line": 265, + "line": 326, "column": 5 } } @@ -46560,15 +55053,15 @@ { "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, + "start": 12059, + "end": 12168, "loc": { "start": { - "line": 272, + "line": 338, "column": 2 }, "end": { - "line": 275, + "line": 341, "column": 5 } } @@ -46577,15 +55070,15 @@ }, { "type": "ClassMethod", - "start": 10506, - "end": 10645, + "start": 12172, + "end": 12311, "loc": { "start": { - "line": 276, + "line": 342, "column": 2 }, "end": { - "line": 280, + "line": 346, "column": 3 } }, @@ -46593,15 +55086,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10506, - "end": 10511, + "start": 12172, + "end": 12177, "loc": { "start": { - "line": 276, + "line": 342, "column": 2 }, "end": { - "line": 276, + "line": 342, "column": 7 }, "identifierName": "clear" @@ -46617,102 +55110,102 @@ "params": [], "body": { "type": "BlockStatement", - "start": 10513, - "end": 10645, + "start": 12179, + "end": 12311, "loc": { "start": { - "line": 276, + "line": 342, "column": 9 }, "end": { - "line": 280, + "line": 346, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 10520, - "end": 10552, + "start": 12186, + "end": 12218, "loc": { "start": { - "line": 277, + "line": 343, "column": 4 }, "end": { - "line": 277, + "line": 343, "column": 36 } }, "expression": { "type": "AssignmentExpression", - "start": 10520, - "end": 10551, + "start": 12186, + "end": 12217, "loc": { "start": { - "line": 277, + "line": 343, "column": 4 }, "end": { - "line": 277, + "line": 343, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 10520, - "end": 10546, + "start": 12186, + "end": 12212, "loc": { "start": { - "line": 277, + "line": 343, "column": 4 }, "end": { - "line": 277, + "line": 343, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 10520, - "end": 10536, + "start": 12186, + "end": 12202, "loc": { "start": { - "line": 277, + "line": 343, "column": 4 }, "end": { - "line": 277, + "line": 343, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 10520, - "end": 10524, + "start": 12186, + "end": 12190, "loc": { "start": { - "line": 277, + "line": 343, "column": 4 }, "end": { - "line": 277, + "line": 343, "column": 8 } } }, "property": { "type": "Identifier", - "start": 10525, - "end": 10536, + "start": 12191, + "end": 12202, "loc": { "start": { - "line": 277, + "line": 343, "column": 9 }, "end": { - "line": 277, + "line": 343, "column": 20 }, "identifierName": "keyboardDOM" @@ -46723,15 +55216,15 @@ }, "property": { "type": "Identifier", - "start": 10537, - "end": 10546, + "start": 12203, + "end": 12212, "loc": { "start": { - "line": 277, + "line": 343, "column": 21 }, "end": { - "line": 277, + "line": 343, "column": 30 }, "identifierName": "innerHTML" @@ -46742,15 +55235,15 @@ }, "right": { "type": "StringLiteral", - "start": 10549, - "end": 10551, + "start": 12215, + "end": 12217, "loc": { "start": { - "line": 277, + "line": 343, "column": 33 }, "end": { - "line": 277, + "line": 343, "column": 35 } }, @@ -46764,87 +55257,87 @@ }, { "type": "ExpressionStatement", - "start": 10558, - "end": 10609, + "start": 12224, + "end": 12275, "loc": { "start": { - "line": 278, + "line": 344, "column": 4 }, "end": { - "line": 278, + "line": 344, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 10558, - "end": 10608, + "start": 12224, + "end": 12274, "loc": { "start": { - "line": 278, + "line": 344, "column": 4 }, "end": { - "line": 278, + "line": 344, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 10558, - "end": 10584, + "start": 12224, + "end": 12250, "loc": { "start": { - "line": 278, + "line": 344, "column": 4 }, "end": { - "line": 278, + "line": 344, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 10558, - "end": 10574, + "start": 12224, + "end": 12240, "loc": { "start": { - "line": 278, + "line": 344, "column": 4 }, "end": { - "line": 278, + "line": 344, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 10558, - "end": 10562, + "start": 12224, + "end": 12228, "loc": { "start": { - "line": 278, + "line": 344, "column": 4 }, "end": { - "line": 278, + "line": 344, "column": 8 } } }, "property": { "type": "Identifier", - "start": 10563, - "end": 10574, + "start": 12229, + "end": 12240, "loc": { "start": { - "line": 278, + "line": 344, "column": 9 }, "end": { - "line": 278, + "line": 344, "column": 20 }, "identifierName": "keyboardDOM" @@ -46855,15 +55348,15 @@ }, "property": { "type": "Identifier", - "start": 10575, - "end": 10584, + "start": 12241, + "end": 12250, "loc": { "start": { - "line": 278, + "line": 344, "column": 21 }, "end": { - "line": 278, + "line": 344, "column": 30 }, "identifierName": "className" @@ -46874,44 +55367,44 @@ }, "right": { "type": "MemberExpression", - "start": 10587, - "end": 10608, + "start": 12253, + "end": 12274, "loc": { "start": { - "line": 278, + "line": 344, "column": 33 }, "end": { - "line": 278, + "line": 344, "column": 54 } }, "object": { "type": "ThisExpression", - "start": 10587, - "end": 10591, + "start": 12253, + "end": 12257, "loc": { "start": { - "line": 278, + "line": 344, "column": 33 }, "end": { - "line": 278, + "line": 344, "column": 37 } } }, "property": { "type": "Identifier", - "start": 10592, - "end": 10608, + "start": 12258, + "end": 12274, "loc": { "start": { - "line": 278, + "line": 344, "column": 38 }, "end": { - "line": 278, + "line": 344, "column": 54 }, "identifierName": "keyboardDOMClass" @@ -46924,73 +55417,73 @@ }, { "type": "ExpressionStatement", - "start": 10615, - "end": 10640, + "start": 12281, + "end": 12306, "loc": { "start": { - "line": 279, + "line": 345, "column": 4 }, "end": { - "line": 279, + "line": 345, "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 10615, - "end": 10639, + "start": 12281, + "end": 12305, "loc": { "start": { - "line": 279, + "line": 345, "column": 4 }, "end": { - "line": 279, + "line": 345, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 10615, - "end": 10634, + "start": 12281, + "end": 12300, "loc": { "start": { - "line": 279, + "line": 345, "column": 4 }, "end": { - "line": 279, + "line": 345, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 10615, - "end": 10619, + "start": 12281, + "end": 12285, "loc": { "start": { - "line": 279, + "line": 345, "column": 4 }, "end": { - "line": 279, + "line": 345, "column": 8 } } }, "property": { "type": "Identifier", - "start": 10620, - "end": 10634, + "start": 12286, + "end": 12300, "loc": { "start": { - "line": 279, + "line": 345, "column": 9 }, "end": { - "line": 279, + "line": 345, "column": 23 }, "identifierName": "buttonElements" @@ -47001,15 +55494,15 @@ }, "right": { "type": "ObjectExpression", - "start": 10637, - "end": 10639, + "start": 12303, + "end": 12305, "loc": { "start": { - "line": 279, + "line": 345, "column": 26 }, "end": { - "line": 279, + "line": 345, "column": 28 } }, @@ -47025,15 +55518,15 @@ { "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, + "start": 12059, + "end": 12168, "loc": { "start": { - "line": 272, + "line": 338, "column": 2 }, "end": { - "line": 275, + "line": 341, "column": 5 } } @@ -47043,15 +55536,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": 10651, - "end": 10856, + "start": 12317, + "end": 12522, "loc": { "start": { - "line": 282, + "line": 348, "column": 2 }, "end": { - "line": 285, + "line": 351, "column": 5 } } @@ -47060,15 +55553,15 @@ }, { "type": "ClassMethod", - "start": 10860, - "end": 11228, + "start": 12526, + "end": 12894, "loc": { "start": { - "line": 286, + "line": 352, "column": 2 }, "end": { - "line": 295, + "line": 361, "column": 3 } }, @@ -47076,15 +55569,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10860, - "end": 10868, + "start": 12526, + "end": 12534, "loc": { "start": { - "line": 286, + "line": 352, "column": 2 }, "end": { - "line": 286, + "line": 352, "column": 10 }, "identifierName": "dispatch" @@ -47100,15 +55593,15 @@ "params": [ { "type": "Identifier", - "start": 10869, - "end": 10877, + "start": 12535, + "end": 12543, "loc": { "start": { - "line": 286, + "line": 352, "column": 11 }, "end": { - "line": 286, + "line": 352, "column": 19 }, "identifierName": "callback" @@ -47118,44 +55611,44 @@ ], "body": { "type": "BlockStatement", - "start": 10878, - "end": 11228, + "start": 12544, + "end": 12894, "loc": { "start": { - "line": 286, + "line": 352, "column": 20 }, "end": { - "line": 295, + "line": 361, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 10885, - "end": 11069, + "start": 12551, + "end": 12735, "loc": { "start": { - "line": 287, + "line": 353, "column": 4 }, "end": { - "line": 290, + "line": 356, "column": 5 } }, "test": { "type": "UnaryExpression", - "start": 10888, - "end": 10922, + "start": 12554, + "end": 12588, "loc": { "start": { - "line": 287, + "line": 353, "column": 7 }, "end": { - "line": 287, + "line": 353, "column": 41 } }, @@ -47163,29 +55656,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 10889, - "end": 10922, + "start": 12555, + "end": 12588, "loc": { "start": { - "line": 287, + "line": 353, "column": 8 }, "end": { - "line": 287, + "line": 353, "column": 41 } }, "object": { "type": "Identifier", - "start": 10889, - "end": 10895, + "start": 12555, + "end": 12561, "loc": { "start": { - "line": 287, + "line": 353, "column": 8 }, "end": { - "line": 287, + "line": 353, "column": 14 }, "identifierName": "window" @@ -47194,15 +55687,15 @@ }, "property": { "type": "StringLiteral", - "start": 10896, - "end": 10921, + "start": 12562, + "end": 12587, "loc": { "start": { - "line": 287, + "line": 353, "column": 15 }, "end": { - "line": 287, + "line": 353, "column": 40 } }, @@ -47220,72 +55713,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 10923, - "end": 11069, + "start": 12589, + "end": 12735, "loc": { "start": { - "line": 287, + "line": 353, "column": 42 }, "end": { - "line": 290, + "line": 356, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 10932, - "end": 11015, + "start": 12598, + "end": 12681, "loc": { "start": { - "line": 288, + "line": 354, "column": 6 }, "end": { - "line": 288, + "line": 354, "column": 89 } }, "expression": { "type": "CallExpression", - "start": 10932, - "end": 11014, + "start": 12598, + "end": 12680, "loc": { "start": { - "line": 288, + "line": 354, "column": 6 }, "end": { - "line": 288, + "line": 354, "column": 88 } }, "callee": { "type": "MemberExpression", - "start": 10932, - "end": 10944, + "start": 12598, + "end": 12610, "loc": { "start": { - "line": 288, + "line": 354, "column": 6 }, "end": { - "line": 288, + "line": 354, "column": 18 } }, "object": { "type": "Identifier", - "start": 10932, - "end": 10939, + "start": 12598, + "end": 12605, "loc": { "start": { - "line": 288, + "line": 354, "column": 6 }, "end": { - "line": 288, + "line": 354, "column": 13 }, "identifierName": "console" @@ -47294,15 +55787,15 @@ }, "property": { "type": "Identifier", - "start": 10940, - "end": 10944, + "start": 12606, + "end": 12610, "loc": { "start": { - "line": 288, + "line": 354, "column": 14 }, "end": { - "line": 288, + "line": 354, "column": 18 }, "identifierName": "warn" @@ -47314,15 +55807,15 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 10945, - "end": 11013, + "start": 12611, + "end": 12679, "loc": { "start": { - "line": 288, + "line": 354, "column": 19 }, "end": { - "line": 288, + "line": 354, "column": 87 } }, @@ -47330,15 +55823,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 10946, - "end": 11012, + "start": 12612, + "end": 12678, "loc": { "start": { - "line": 288, + "line": 354, "column": 20 }, "end": { - "line": 288, + "line": 354, "column": 86 } }, @@ -47355,43 +55848,43 @@ }, { "type": "ThrowStatement", - "start": 11023, - "end": 11062, + "start": 12689, + "end": 12728, "loc": { "start": { - "line": 289, + "line": 355, "column": 6 }, "end": { - "line": 289, + "line": 355, "column": 45 } }, "argument": { "type": "NewExpression", - "start": 11029, - "end": 11061, + "start": 12695, + "end": 12727, "loc": { "start": { - "line": 289, + "line": 355, "column": 12 }, "end": { - "line": 289, + "line": 355, "column": 44 } }, "callee": { "type": "Identifier", - "start": 11033, - "end": 11038, + "start": 12699, + "end": 12704, "loc": { "start": { - "line": 289, + "line": 355, "column": 16 }, "end": { - "line": 289, + "line": 355, "column": 21 }, "identifierName": "Error" @@ -47401,15 +55894,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 11039, - "end": 11060, + "start": 12705, + "end": 12726, "loc": { "start": { - "line": 289, + "line": 355, "column": 22 }, "end": { - "line": 289, + "line": 355, "column": 43 } }, @@ -47429,85 +55922,85 @@ }, { "type": "ReturnStatement", - "start": 11081, - "end": 11223, + "start": 12747, + "end": 12889, "loc": { "start": { - "line": 292, + "line": 358, "column": 4 }, "end": { - "line": 294, + "line": 360, "column": 6 } }, "argument": { "type": "CallExpression", - "start": 11088, - "end": 11223, + "start": 12754, + "end": 12889, "loc": { "start": { - "line": 292, + "line": 358, "column": 11 }, "end": { - "line": 294, + "line": 360, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 11088, - "end": 11142, + "start": 12754, + "end": 12808, "loc": { "start": { - "line": 292, + "line": 358, "column": 11 }, "end": { - "line": 292, + "line": 358, "column": 65 } }, "object": { "type": "CallExpression", - "start": 11088, - "end": 11134, + "start": 12754, + "end": 12800, "loc": { "start": { - "line": 292, + "line": 358, "column": 11 }, "end": { - "line": 292, + "line": 358, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 11088, - "end": 11099, + "start": 12754, + "end": 12765, "loc": { "start": { - "line": 292, + "line": 358, "column": 11 }, "end": { - "line": 292, + "line": 358, "column": 22 } }, "object": { "type": "Identifier", - "start": 11088, - "end": 11094, + "start": 12754, + "end": 12760, "loc": { "start": { - "line": 292, + "line": 358, "column": 11 }, "end": { - "line": 292, + "line": 358, "column": 17 }, "identifierName": "Object" @@ -47516,15 +56009,15 @@ }, "property": { "type": "Identifier", - "start": 11095, - "end": 11099, + "start": 12761, + "end": 12765, "loc": { "start": { - "line": 292, + "line": 358, "column": 18 }, "end": { - "line": 292, + "line": 358, "column": 22 }, "identifierName": "keys" @@ -47536,29 +56029,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 11100, - "end": 11133, + "start": 12766, + "end": 12799, "loc": { "start": { - "line": 292, + "line": 358, "column": 23 }, "end": { - "line": 292, + "line": 358, "column": 56 } }, "object": { "type": "Identifier", - "start": 11100, - "end": 11106, + "start": 12766, + "end": 12772, "loc": { "start": { - "line": 292, + "line": 358, "column": 23 }, "end": { - "line": 292, + "line": 358, "column": 29 }, "identifierName": "window" @@ -47567,15 +56060,15 @@ }, "property": { "type": "StringLiteral", - "start": 11107, - "end": 11132, + "start": 12773, + "end": 12798, "loc": { "start": { - "line": 292, + "line": 358, "column": 30 }, "end": { - "line": 292, + "line": 358, "column": 55 } }, @@ -47591,15 +56084,15 @@ }, "property": { "type": "Identifier", - "start": 11135, - "end": 11142, + "start": 12801, + "end": 12808, "loc": { "start": { - "line": 292, + "line": 358, "column": 58 }, "end": { - "line": 292, + "line": 358, "column": 65 }, "identifierName": "forEach" @@ -47611,15 +56104,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 11143, - "end": 11222, + "start": 12809, + "end": 12888, "loc": { "start": { - "line": 292, + "line": 358, "column": 66 }, "end": { - "line": 294, + "line": 360, "column": 5 } }, @@ -47630,15 +56123,15 @@ "params": [ { "type": "Identifier", - "start": 11144, - "end": 11147, + "start": 12810, + "end": 12813, "loc": { "start": { - "line": 292, + "line": 358, "column": 67 }, "end": { - "line": 292, + "line": 358, "column": 70 }, "identifierName": "key" @@ -47648,58 +56141,58 @@ ], "body": { "type": "BlockStatement", - "start": 11152, - "end": 11222, + "start": 12818, + "end": 12888, "loc": { "start": { - "line": 292, + "line": 358, "column": 75 }, "end": { - "line": 294, + "line": 360, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 11161, - "end": 11215, + "start": 12827, + "end": 12881, "loc": { "start": { - "line": 293, + "line": 359, "column": 6 }, "end": { - "line": 293, + "line": 359, "column": 60 } }, "expression": { "type": "CallExpression", - "start": 11161, - "end": 11214, + "start": 12827, + "end": 12880, "loc": { "start": { - "line": 293, + "line": 359, "column": 6 }, "end": { - "line": 293, + "line": 359, "column": 59 } }, "callee": { "type": "Identifier", - "start": 11161, - "end": 11169, + "start": 12827, + "end": 12835, "loc": { "start": { - "line": 293, + "line": 359, "column": 6 }, "end": { - "line": 293, + "line": 359, "column": 14 }, "identifierName": "callback" @@ -47709,43 +56202,43 @@ "arguments": [ { "type": "MemberExpression", - "start": 11170, - "end": 11208, + "start": 12836, + "end": 12874, "loc": { "start": { - "line": 293, + "line": 359, "column": 15 }, "end": { - "line": 293, + "line": 359, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 11170, - "end": 11203, + "start": 12836, + "end": 12869, "loc": { "start": { - "line": 293, + "line": 359, "column": 15 }, "end": { - "line": 293, + "line": 359, "column": 48 } }, "object": { "type": "Identifier", - "start": 11170, - "end": 11176, + "start": 12836, + "end": 12842, "loc": { "start": { - "line": 293, + "line": 359, "column": 15 }, "end": { - "line": 293, + "line": 359, "column": 21 }, "identifierName": "window" @@ -47754,15 +56247,15 @@ }, "property": { "type": "StringLiteral", - "start": 11177, - "end": 11202, + "start": 12843, + "end": 12868, "loc": { "start": { - "line": 293, + "line": 359, "column": 22 }, "end": { - "line": 293, + "line": 359, "column": 47 } }, @@ -47776,15 +56269,15 @@ }, "property": { "type": "Identifier", - "start": 11204, - "end": 11207, + "start": 12870, + "end": 12873, "loc": { "start": { - "line": 293, + "line": 359, "column": 49 }, "end": { - "line": 293, + "line": 359, "column": 52 }, "identifierName": "key" @@ -47795,15 +56288,15 @@ }, { "type": "Identifier", - "start": 11210, - "end": 11213, + "start": 12876, + "end": 12879, "loc": { "start": { - "line": 293, + "line": 359, "column": 55 }, "end": { - "line": 293, + "line": 359, "column": 58 }, "identifierName": "key" @@ -47828,15 +56321,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": 10651, - "end": 10856, + "start": 12317, + "end": 12522, "loc": { "start": { - "line": 282, + "line": 348, "column": 2 }, "end": { - "line": 285, + "line": 351, "column": 5 } } @@ -47846,15 +56339,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": 11234, - "end": 11515, + "start": 12900, + "end": 13181, "loc": { "start": { - "line": 297, + "line": 363, "column": 2 }, "end": { - "line": 301, + "line": 367, "column": 5 } } @@ -47863,15 +56356,15 @@ }, { "type": "ClassMethod", - "start": 11519, - "end": 12751, + "start": 13185, + "end": 14417, "loc": { "start": { - "line": 302, + "line": 368, "column": 2 }, "end": { - "line": 345, + "line": 411, "column": 3 } }, @@ -47879,15 +56372,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11519, - "end": 11533, + "start": 13185, + "end": 13199, "loc": { "start": { - "line": 302, + "line": 368, "column": 2 }, "end": { - "line": 302, + "line": 368, "column": 16 }, "identifierName": "addButtonTheme" @@ -47903,15 +56396,15 @@ "params": [ { "type": "Identifier", - "start": 11534, - "end": 11541, + "start": 13200, + "end": 13207, "loc": { "start": { - "line": 302, + "line": 368, "column": 17 }, "end": { - "line": 302, + "line": 368, "column": 24 }, "identifierName": "buttons" @@ -47920,15 +56413,15 @@ }, { "type": "Identifier", - "start": 11543, - "end": 11552, + "start": 13209, + "end": 13218, "loc": { "start": { - "line": 302, + "line": 368, "column": 26 }, "end": { - "line": 302, + "line": 368, "column": 35 }, "identifierName": "className" @@ -47938,58 +56431,58 @@ ], "body": { "type": "BlockStatement", - "start": 11553, - "end": 12751, + "start": 13219, + "end": 14417, "loc": { "start": { - "line": 302, + "line": 368, "column": 36 }, "end": { - "line": 345, + "line": 411, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 11560, - "end": 11607, + "start": 13226, + "end": 13273, "loc": { "start": { - "line": 303, + "line": 369, "column": 4 }, "end": { - "line": 304, + "line": 370, "column": 19 } }, "test": { "type": "LogicalExpression", - "start": 11563, - "end": 11585, + "start": 13229, + "end": 13251, "loc": { "start": { - "line": 303, + "line": 369, "column": 7 }, "end": { - "line": 303, + "line": 369, "column": 29 } }, "left": { "type": "UnaryExpression", - "start": 11563, - "end": 11573, + "start": 13229, + "end": 13239, "loc": { "start": { - "line": 303, + "line": 369, "column": 7 }, "end": { - "line": 303, + "line": 369, "column": 17 } }, @@ -47997,15 +56490,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 11564, - "end": 11573, + "start": 13230, + "end": 13239, "loc": { "start": { - "line": 303, + "line": 369, "column": 8 }, "end": { - "line": 303, + "line": 369, "column": 17 }, "identifierName": "className" @@ -48019,15 +56512,15 @@ "operator": "||", "right": { "type": "UnaryExpression", - "start": 11577, - "end": 11585, + "start": 13243, + "end": 13251, "loc": { "start": { - "line": 303, + "line": 369, "column": 21 }, "end": { - "line": 303, + "line": 369, "column": 29 } }, @@ -48035,15 +56528,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 11578, - "end": 11585, + "start": 13244, + "end": 13251, "loc": { "start": { - "line": 303, + "line": 369, "column": 22 }, "end": { - "line": 303, + "line": 369, "column": 29 }, "identifierName": "buttons" @@ -48057,29 +56550,29 @@ }, "consequent": { "type": "ReturnStatement", - "start": 11594, - "end": 11607, + "start": 13260, + "end": 13273, "loc": { "start": { - "line": 304, + "line": 370, "column": 6 }, "end": { - "line": 304, + "line": 370, "column": 19 } }, "argument": { "type": "BooleanLiteral", - "start": 11601, - "end": 11606, + "start": 13267, + "end": 13272, "loc": { "start": { - "line": 304, + "line": 370, "column": 13 }, "end": { - "line": 304, + "line": 370, "column": 18 } }, @@ -48090,85 +56583,85 @@ }, { "type": "ExpressionStatement", - "start": 11615, - "end": 12724, + "start": 13281, + "end": 14390, "loc": { "start": { - "line": 306, + "line": 372, "column": 4 }, "end": { - "line": 342, + "line": 408, "column": 7 } }, "expression": { "type": "CallExpression", - "start": 11615, - "end": 12723, + "start": 13281, + "end": 14389, "loc": { "start": { - "line": 306, + "line": 372, "column": 4 }, "end": { - "line": 342, + "line": 408, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 11615, - "end": 11641, + "start": 13281, + "end": 13307, "loc": { "start": { - "line": 306, + "line": 372, "column": 4 }, "end": { - "line": 306, + "line": 372, "column": 30 } }, "object": { "type": "CallExpression", - "start": 11615, - "end": 11633, + "start": 13281, + "end": 13299, "loc": { "start": { - "line": 306, + "line": 372, "column": 4 }, "end": { - "line": 306, + "line": 372, "column": 22 } }, "callee": { "type": "MemberExpression", - "start": 11615, - "end": 11628, + "start": 13281, + "end": 13294, "loc": { "start": { - "line": 306, + "line": 372, "column": 4 }, "end": { - "line": 306, + "line": 372, "column": 17 } }, "object": { "type": "Identifier", - "start": 11615, - "end": 11622, + "start": 13281, + "end": 13288, "loc": { "start": { - "line": 306, + "line": 372, "column": 4 }, "end": { - "line": 306, + "line": 372, "column": 11 }, "identifierName": "buttons" @@ -48177,15 +56670,15 @@ }, "property": { "type": "Identifier", - "start": 11623, - "end": 11628, + "start": 13289, + "end": 13294, "loc": { "start": { - "line": 306, + "line": 372, "column": 12 }, "end": { - "line": 306, + "line": 372, "column": 17 }, "identifierName": "split" @@ -48197,15 +56690,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 11629, - "end": 11632, + "start": 13295, + "end": 13298, "loc": { "start": { - "line": 306, + "line": 372, "column": 18 }, "end": { - "line": 306, + "line": 372, "column": 21 } }, @@ -48219,15 +56712,15 @@ }, "property": { "type": "Identifier", - "start": 11634, - "end": 11641, + "start": 13300, + "end": 13307, "loc": { "start": { - "line": 306, + "line": 372, "column": 23 }, "end": { - "line": 306, + "line": 372, "column": 30 }, "identifierName": "forEach" @@ -48239,15 +56732,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 11642, - "end": 12722, + "start": 13308, + "end": 14388, "loc": { "start": { - "line": 306, + "line": 372, "column": 31 }, "end": { - "line": 342, + "line": 408, "column": 5 } }, @@ -48258,15 +56751,15 @@ "params": [ { "type": "Identifier", - "start": 11642, - "end": 11648, + "start": 13308, + "end": 13314, "loc": { "start": { - "line": 306, + "line": 372, "column": 31 }, "end": { - "line": 306, + "line": 372, "column": 37 }, "identifierName": "button" @@ -48276,100 +56769,100 @@ ], "body": { "type": "BlockStatement", - "start": 11652, - "end": 12722, + "start": 13318, + "end": 14388, "loc": { "start": { - "line": 306, + "line": 372, "column": 41 }, "end": { - "line": 342, + "line": 408, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 11661, - "end": 12715, + "start": 13327, + "end": 14381, "loc": { "start": { - "line": 307, + "line": 373, "column": 6 }, "end": { - "line": 341, + "line": 407, "column": 9 } }, "expression": { "type": "CallExpression", - "start": 11661, - "end": 12714, + "start": 13327, + "end": 14380, "loc": { "start": { - "line": 307, + "line": 373, "column": 6 }, "end": { - "line": 341, + "line": 407, "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 11661, - "end": 11689, + "start": 13327, + "end": 13355, "loc": { "start": { - "line": 307, + "line": 373, "column": 6 }, "end": { - "line": 307, + "line": 373, "column": 34 } }, "object": { "type": "CallExpression", - "start": 11661, - "end": 11681, + "start": 13327, + "end": 13347, "loc": { "start": { - "line": 307, + "line": 373, "column": 6 }, "end": { - "line": 307, + "line": 373, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 11661, - "end": 11676, + "start": 13327, + "end": 13342, "loc": { "start": { - "line": 307, + "line": 373, "column": 6 }, "end": { - "line": 307, + "line": 373, "column": 21 } }, "object": { "type": "Identifier", - "start": 11661, - "end": 11670, + "start": 13327, + "end": 13336, "loc": { "start": { - "line": 307, + "line": 373, "column": 6 }, "end": { - "line": 307, + "line": 373, "column": 15 }, "identifierName": "className" @@ -48378,15 +56871,15 @@ }, "property": { "type": "Identifier", - "start": 11671, - "end": 11676, + "start": 13337, + "end": 13342, "loc": { "start": { - "line": 307, + "line": 373, "column": 16 }, "end": { - "line": 307, + "line": 373, "column": 21 }, "identifierName": "split" @@ -48398,15 +56891,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 11677, - "end": 11680, + "start": 13343, + "end": 13346, "loc": { "start": { - "line": 307, + "line": 373, "column": 22 }, "end": { - "line": 307, + "line": 373, "column": 25 } }, @@ -48420,15 +56913,15 @@ }, "property": { "type": "Identifier", - "start": 11682, - "end": 11689, + "start": 13348, + "end": 13355, "loc": { "start": { - "line": 307, + "line": 373, "column": 27 }, "end": { - "line": 307, + "line": 373, "column": 34 }, "identifierName": "forEach" @@ -48440,15 +56933,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 11690, - "end": 12713, + "start": 13356, + "end": 14379, "loc": { "start": { - "line": 307, + "line": 373, "column": 35 }, "end": { - "line": 341, + "line": 407, "column": 7 } }, @@ -48459,15 +56952,15 @@ "params": [ { "type": "Identifier", - "start": 11690, - "end": 11703, + "start": 13356, + "end": 13369, "loc": { "start": { - "line": 307, + "line": 373, "column": 35 }, "end": { - "line": 307, + "line": 373, "column": 48 }, "identifierName": "classNameItem" @@ -48477,44 +56970,44 @@ ], "body": { "type": "BlockStatement", - "start": 11707, - "end": 12713, + "start": 13373, + "end": 14379, "loc": { "start": { - "line": 307, + "line": 373, "column": 52 }, "end": { - "line": 341, + "line": 407, "column": 7 } }, "body": [ { "type": "IfStatement", - "start": 11718, - "end": 11789, + "start": 13384, + "end": 13455, "loc": { "start": { - "line": 308, + "line": 374, "column": 8 }, "end": { - "line": 309, + "line": 375, "column": 40 } }, "test": { "type": "UnaryExpression", - "start": 11721, - "end": 11746, + "start": 13387, + "end": 13412, "loc": { "start": { - "line": 308, + "line": 374, "column": 11 }, "end": { - "line": 308, + "line": 374, "column": 36 } }, @@ -48522,58 +57015,58 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 11722, - "end": 11746, + "start": 13388, + "end": 13412, "loc": { "start": { - "line": 308, + "line": 374, "column": 12 }, "end": { - "line": 308, + "line": 374, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 11722, - "end": 11734, + "start": 13388, + "end": 13400, "loc": { "start": { - "line": 308, + "line": 374, "column": 12 }, "end": { - "line": 308, + "line": 374, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 11722, - "end": 11726, + "start": 13388, + "end": 13392, "loc": { "start": { - "line": 308, + "line": 374, "column": 12 }, "end": { - "line": 308, + "line": 374, "column": 16 } } }, "property": { "type": "Identifier", - "start": 11727, - "end": 11734, + "start": 13393, + "end": 13400, "loc": { "start": { - "line": 308, + "line": 374, "column": 17 }, "end": { - "line": 308, + "line": 374, "column": 24 }, "identifierName": "options" @@ -48584,15 +57077,15 @@ }, "property": { "type": "Identifier", - "start": 11735, - "end": 11746, + "start": 13401, + "end": 13412, "loc": { "start": { - "line": 308, + "line": 374, "column": 25 }, "end": { - "line": 308, + "line": 374, "column": 36 }, "identifierName": "buttonTheme" @@ -48607,87 +57100,87 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 11759, - "end": 11789, + "start": 13425, + "end": 13455, "loc": { "start": { - "line": 309, + "line": 375, "column": 10 }, "end": { - "line": 309, + "line": 375, "column": 40 } }, "expression": { "type": "AssignmentExpression", - "start": 11759, - "end": 11788, + "start": 13425, + "end": 13454, "loc": { "start": { - "line": 309, + "line": 375, "column": 10 }, "end": { - "line": 309, + "line": 375, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 11759, - "end": 11783, + "start": 13425, + "end": 13449, "loc": { "start": { - "line": 309, + "line": 375, "column": 10 }, "end": { - "line": 309, + "line": 375, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 11759, - "end": 11771, + "start": 13425, + "end": 13437, "loc": { "start": { - "line": 309, + "line": 375, "column": 10 }, "end": { - "line": 309, + "line": 375, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 11759, - "end": 11763, + "start": 13425, + "end": 13429, "loc": { "start": { - "line": 309, + "line": 375, "column": 10 }, "end": { - "line": 309, + "line": 375, "column": 14 } } }, "property": { "type": "Identifier", - "start": 11764, - "end": 11771, + "start": 13430, + "end": 13437, "loc": { "start": { - "line": 309, + "line": 375, "column": 15 }, "end": { - "line": 309, + "line": 375, "column": 22 }, "identifierName": "options" @@ -48698,15 +57191,15 @@ }, "property": { "type": "Identifier", - "start": 11772, - "end": 11783, + "start": 13438, + "end": 13449, "loc": { "start": { - "line": 309, + "line": 375, "column": 23 }, "end": { - "line": 309, + "line": 375, "column": 34 }, "identifierName": "buttonTheme" @@ -48717,15 +57210,15 @@ }, "right": { "type": "ArrayExpression", - "start": 11786, - "end": 11788, + "start": 13452, + "end": 13454, "loc": { "start": { - "line": 309, + "line": 375, "column": 37 }, "end": { - "line": 309, + "line": 375, "column": 39 } }, @@ -48737,44 +57230,44 @@ }, { "type": "VariableDeclaration", - "start": 11801, - "end": 11828, + "start": 13467, + "end": 13494, "loc": { "start": { - "line": 311, + "line": 377, "column": 8 }, "end": { - "line": 311, + "line": 377, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11805, - "end": 11827, + "start": 13471, + "end": 13493, "loc": { "start": { - "line": 311, + "line": 377, "column": 12 }, "end": { - "line": 311, + "line": 377, "column": 34 } }, "id": { "type": "Identifier", - "start": 11805, - "end": 11819, + "start": 13471, + "end": 13485, "loc": { "start": { - "line": 311, + "line": 377, "column": 12 }, "end": { - "line": 311, + "line": 377, "column": 26 }, "identifierName": "classNameFound" @@ -48783,15 +57276,15 @@ }, "init": { "type": "BooleanLiteral", - "start": 11822, - "end": 11827, + "start": 13488, + "end": 13493, "loc": { "start": { - "line": 311, + "line": 377, "column": 29 }, "end": { - "line": 311, + "line": 377, "column": 34 } }, @@ -48804,15 +57297,15 @@ { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", - "start": 11842, - "end": 11933, + "start": 13508, + "end": 13599, "loc": { "start": { - "line": 313, + "line": 379, "column": 8 }, "end": { - "line": 315, + "line": 381, "column": 11 } } @@ -48821,85 +57314,85 @@ }, { "type": "ExpressionStatement", - "start": 11943, - "end": 12451, + "start": 13609, + "end": 14117, "loc": { "start": { - "line": 316, + "line": 382, "column": 8 }, "end": { - "line": 329, + "line": 395, "column": 11 } }, "expression": { "type": "CallExpression", - "start": 11943, - "end": 12450, + "start": 13609, + "end": 14116, "loc": { "start": { - "line": 316, + "line": 382, "column": 8 }, "end": { - "line": 329, + "line": 395, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 11943, - "end": 11971, + "start": 13609, + "end": 13637, "loc": { "start": { - "line": 316, + "line": 382, "column": 8 }, "end": { - "line": 316, + "line": 382, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 11943, - "end": 11967, + "start": 13609, + "end": 13633, "loc": { "start": { - "line": 316, + "line": 382, "column": 8 }, "end": { - "line": 316, + "line": 382, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 11943, - "end": 11955, + "start": 13609, + "end": 13621, "loc": { "start": { - "line": 316, + "line": 382, "column": 8 }, "end": { - "line": 316, + "line": 382, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 11943, - "end": 11947, + "start": 13609, + "end": 13613, "loc": { "start": { - "line": 316, + "line": 382, "column": 8 }, "end": { - "line": 316, + "line": 382, "column": 12 } }, @@ -48907,15 +57400,15 @@ }, "property": { "type": "Identifier", - "start": 11948, - "end": 11955, + "start": 13614, + "end": 13621, "loc": { "start": { - "line": 316, + "line": 382, "column": 13 }, "end": { - "line": 316, + "line": 382, "column": 20 }, "identifierName": "options" @@ -48927,15 +57420,15 @@ }, "property": { "type": "Identifier", - "start": 11956, - "end": 11967, + "start": 13622, + "end": 13633, "loc": { "start": { - "line": 316, + "line": 382, "column": 21 }, "end": { - "line": 316, + "line": 382, "column": 32 }, "identifierName": "buttonTheme" @@ -48947,15 +57440,15 @@ }, "property": { "type": "Identifier", - "start": 11968, - "end": 11971, + "start": 13634, + "end": 13637, "loc": { "start": { - "line": 316, + "line": 382, "column": 33 }, "end": { - "line": 316, + "line": 382, "column": 36 }, "identifierName": "map" @@ -48968,15 +57461,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 11972, - "end": 12449, + "start": 13638, + "end": 14115, "loc": { "start": { - "line": 316, + "line": 382, "column": 37 }, "end": { - "line": 329, + "line": 395, "column": 9 } }, @@ -48987,15 +57480,15 @@ "params": [ { "type": "Identifier", - "start": 11972, - "end": 11983, + "start": 13638, + "end": 13649, "loc": { "start": { - "line": 316, + "line": 382, "column": 37 }, "end": { - "line": 316, + "line": 382, "column": 48 }, "identifierName": "buttonTheme" @@ -49005,114 +57498,114 @@ ], "body": { "type": "BlockStatement", - "start": 11987, - "end": 12449, + "start": 13653, + "end": 14115, "loc": { "start": { - "line": 316, + "line": 382, "column": 52 }, "end": { - "line": 329, + "line": 395, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 12002, - "end": 12407, + "start": 13668, + "end": 14073, "loc": { "start": { - "line": 318, + "line": 384, "column": 10 }, "end": { - "line": 327, + "line": 393, "column": 11 } }, "test": { "type": "CallExpression", - "start": 12005, - "end": 12057, + "start": 13671, + "end": 13723, "loc": { "start": { - "line": 318, + "line": 384, "column": 13 }, "end": { - "line": 318, + "line": 384, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 12005, - "end": 12042, + "start": 13671, + "end": 13708, "loc": { "start": { - "line": 318, + "line": 384, "column": 13 }, "end": { - "line": 318, + "line": 384, "column": 50 } }, "object": { "type": "CallExpression", - "start": 12005, - "end": 12033, + "start": 13671, + "end": 13699, "loc": { "start": { - "line": 318, + "line": 384, "column": 13 }, "end": { - "line": 318, + "line": 384, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 12005, - "end": 12028, + "start": 13671, + "end": 13694, "loc": { "start": { - "line": 318, + "line": 384, "column": 13 }, "end": { - "line": 318, + "line": 384, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 12005, - "end": 12022, + "start": 13671, + "end": 13688, "loc": { "start": { - "line": 318, + "line": 384, "column": 13 }, "end": { - "line": 318, + "line": 384, "column": 30 } }, "object": { "type": "Identifier", - "start": 12005, - "end": 12016, + "start": 13671, + "end": 13682, "loc": { "start": { - "line": 318, + "line": 384, "column": 13 }, "end": { - "line": 318, + "line": 384, "column": 24 }, "identifierName": "buttonTheme" @@ -49121,15 +57614,15 @@ }, "property": { "type": "Identifier", - "start": 12017, - "end": 12022, + "start": 13683, + "end": 13688, "loc": { "start": { - "line": 318, + "line": 384, "column": 25 }, "end": { - "line": 318, + "line": 384, "column": 30 }, "identifierName": "class" @@ -49140,15 +57633,15 @@ }, "property": { "type": "Identifier", - "start": 12023, - "end": 12028, + "start": 13689, + "end": 13694, "loc": { "start": { - "line": 318, + "line": 384, "column": 31 }, "end": { - "line": 318, + "line": 384, "column": 36 }, "identifierName": "split" @@ -49160,15 +57653,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 12029, - "end": 12032, + "start": 13695, + "end": 13698, "loc": { "start": { - "line": 318, + "line": 384, "column": 37 }, "end": { - "line": 318, + "line": 384, "column": 40 } }, @@ -49182,15 +57675,15 @@ }, "property": { "type": "Identifier", - "start": 12034, - "end": 12042, + "start": 13700, + "end": 13708, "loc": { "start": { - "line": 318, + "line": 384, "column": 42 }, "end": { - "line": 318, + "line": 384, "column": 50 }, "identifierName": "includes" @@ -49202,15 +57695,15 @@ "arguments": [ { "type": "Identifier", - "start": 12043, - "end": 12056, + "start": 13709, + "end": 13722, "loc": { "start": { - "line": 318, + "line": 384, "column": 51 }, "end": { - "line": 318, + "line": 384, "column": 64 }, "identifierName": "classNameItem" @@ -49221,59 +57714,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 12058, - "end": 12407, + "start": 13724, + "end": 14073, "loc": { "start": { - "line": 318, + "line": 384, "column": 66 }, "end": { - "line": 327, + "line": 393, "column": 11 } }, "body": [ { "type": "ExpressionStatement", - "start": 12073, - "end": 12095, + "start": 13739, + "end": 13761, "loc": { "start": { - "line": 319, + "line": 385, "column": 12 }, "end": { - "line": 319, + "line": 385, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 12073, - "end": 12094, + "start": 13739, + "end": 13760, "loc": { "start": { - "line": 319, + "line": 385, "column": 12 }, "end": { - "line": 319, + "line": 385, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", - "start": 12073, - "end": 12087, + "start": 13739, + "end": 13753, "loc": { "start": { - "line": 319, + "line": 385, "column": 12 }, "end": { - "line": 319, + "line": 385, "column": 26 }, "identifierName": "classNameFound" @@ -49282,15 +57775,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 12090, - "end": 12094, + "start": 13756, + "end": 13760, "loc": { "start": { - "line": 319, + "line": 385, "column": 29 }, "end": { - "line": 319, + "line": 385, "column": 33 } }, @@ -49300,44 +57793,44 @@ }, { "type": "VariableDeclaration", - "start": 12123, - "end": 12177, + "start": 13789, + "end": 13843, "loc": { "start": { - "line": 321, + "line": 387, "column": 12 }, "end": { - "line": 321, + "line": 387, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 12127, - "end": 12176, + "start": 13793, + "end": 13842, "loc": { "start": { - "line": 321, + "line": 387, "column": 16 }, "end": { - "line": 321, + "line": 387, "column": 65 } }, "id": { "type": "Identifier", - "start": 12127, - "end": 12143, + "start": 13793, + "end": 13809, "loc": { "start": { - "line": 321, + "line": 387, "column": 16 }, "end": { - "line": 321, + "line": 387, "column": 32 }, "identifierName": "buttonThemeArray" @@ -49346,57 +57839,57 @@ }, "init": { "type": "CallExpression", - "start": 12146, - "end": 12176, + "start": 13812, + "end": 13842, "loc": { "start": { - "line": 321, + "line": 387, "column": 35 }, "end": { - "line": 321, + "line": 387, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 12146, - "end": 12171, + "start": 13812, + "end": 13837, "loc": { "start": { - "line": 321, + "line": 387, "column": 35 }, "end": { - "line": 321, + "line": 387, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 12146, - "end": 12165, + "start": 13812, + "end": 13831, "loc": { "start": { - "line": 321, + "line": 387, "column": 35 }, "end": { - "line": 321, + "line": 387, "column": 54 } }, "object": { "type": "Identifier", - "start": 12146, - "end": 12157, + "start": 13812, + "end": 13823, "loc": { "start": { - "line": 321, + "line": 387, "column": 35 }, "end": { - "line": 321, + "line": 387, "column": 46 }, "identifierName": "buttonTheme" @@ -49405,15 +57898,15 @@ }, "property": { "type": "Identifier", - "start": 12158, - "end": 12165, + "start": 13824, + "end": 13831, "loc": { "start": { - "line": 321, + "line": 387, "column": 47 }, "end": { - "line": 321, + "line": 387, "column": 54 }, "identifierName": "buttons" @@ -49424,15 +57917,15 @@ }, "property": { "type": "Identifier", - "start": 12166, - "end": 12171, + "start": 13832, + "end": 13837, "loc": { "start": { - "line": 321, + "line": 387, "column": 55 }, "end": { - "line": 321, + "line": 387, "column": 60 }, "identifierName": "split" @@ -49444,15 +57937,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 12172, - "end": 12175, + "start": 13838, + "end": 13841, "loc": { "start": { - "line": 321, + "line": 387, "column": 61 }, "end": { - "line": 321, + "line": 387, "column": 64 } }, @@ -49470,29 +57963,29 @@ }, { "type": "IfStatement", - "start": 12191, - "end": 12394, + "start": 13857, + "end": 14060, "loc": { "start": { - "line": 322, + "line": 388, "column": 12 }, "end": { - "line": 326, + "line": 392, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 12194, - "end": 12228, + "start": 13860, + "end": 13894, "loc": { "start": { - "line": 322, + "line": 388, "column": 15 }, "end": { - "line": 322, + "line": 388, "column": 49 } }, @@ -49500,43 +57993,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 12195, - "end": 12228, + "start": 13861, + "end": 13894, "loc": { "start": { - "line": 322, + "line": 388, "column": 16 }, "end": { - "line": 322, + "line": 388, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 12195, - "end": 12220, + "start": 13861, + "end": 13886, "loc": { "start": { - "line": 322, + "line": 388, "column": 16 }, "end": { - "line": 322, + "line": 388, "column": 41 } }, "object": { "type": "Identifier", - "start": 12195, - "end": 12211, + "start": 13861, + "end": 13877, "loc": { "start": { - "line": 322, + "line": 388, "column": 16 }, "end": { - "line": 322, + "line": 388, "column": 32 }, "identifierName": "buttonThemeArray" @@ -49545,15 +58038,15 @@ }, "property": { "type": "Identifier", - "start": 12212, - "end": 12220, + "start": 13878, + "end": 13886, "loc": { "start": { - "line": 322, + "line": 388, "column": 33 }, "end": { - "line": 322, + "line": 388, "column": 41 }, "identifierName": "includes" @@ -49565,15 +58058,15 @@ "arguments": [ { "type": "Identifier", - "start": 12221, - "end": 12227, + "start": 13887, + "end": 13893, "loc": { "start": { - "line": 322, + "line": 388, "column": 42 }, "end": { - "line": 322, + "line": 388, "column": 48 }, "identifierName": "button" @@ -49588,59 +58081,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 12229, - "end": 12394, + "start": 13895, + "end": 14060, "loc": { "start": { - "line": 322, + "line": 388, "column": 50 }, "end": { - "line": 326, + "line": 392, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 12246, - "end": 12268, + "start": 13912, + "end": 13934, "loc": { "start": { - "line": 323, + "line": 389, "column": 14 }, "end": { - "line": 323, + "line": 389, "column": 36 } }, "expression": { "type": "AssignmentExpression", - "start": 12246, - "end": 12267, + "start": 13912, + "end": 13933, "loc": { "start": { - "line": 323, + "line": 389, "column": 14 }, "end": { - "line": 323, + "line": 389, "column": 35 } }, "operator": "=", "left": { "type": "Identifier", - "start": 12246, - "end": 12260, + "start": 13912, + "end": 13926, "loc": { "start": { - "line": 323, + "line": 389, "column": 14 }, "end": { - "line": 323, + "line": 389, "column": 28 }, "identifierName": "classNameFound" @@ -49649,15 +58142,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 12263, - "end": 12267, + "start": 13929, + "end": 13933, "loc": { "start": { - "line": 323, + "line": 389, "column": 31 }, "end": { - "line": 323, + "line": 389, "column": 35 } }, @@ -49667,57 +58160,57 @@ }, { "type": "ExpressionStatement", - "start": 12284, - "end": 12314, + "start": 13950, + "end": 13980, "loc": { "start": { - "line": 324, + "line": 390, "column": 14 }, "end": { - "line": 324, + "line": 390, "column": 44 } }, "expression": { "type": "CallExpression", - "start": 12284, - "end": 12313, + "start": 13950, + "end": 13979, "loc": { "start": { - "line": 324, + "line": 390, "column": 14 }, "end": { - "line": 324, + "line": 390, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 12284, - "end": 12305, + "start": 13950, + "end": 13971, "loc": { "start": { - "line": 324, + "line": 390, "column": 14 }, "end": { - "line": 324, + "line": 390, "column": 35 } }, "object": { "type": "Identifier", - "start": 12284, - "end": 12300, + "start": 13950, + "end": 13966, "loc": { "start": { - "line": 324, + "line": 390, "column": 14 }, "end": { - "line": 324, + "line": 390, "column": 30 }, "identifierName": "buttonThemeArray" @@ -49726,15 +58219,15 @@ }, "property": { "type": "Identifier", - "start": 12301, - "end": 12305, + "start": 13967, + "end": 13971, "loc": { "start": { - "line": 324, + "line": 390, "column": 31 }, "end": { - "line": 324, + "line": 390, "column": 35 }, "identifierName": "push" @@ -49746,15 +58239,15 @@ "arguments": [ { "type": "Identifier", - "start": 12306, - "end": 12312, + "start": 13972, + "end": 13978, "loc": { "start": { - "line": 324, + "line": 390, "column": 36 }, "end": { - "line": 324, + "line": 390, "column": 42 }, "identifierName": "button" @@ -49766,58 +58259,58 @@ }, { "type": "ExpressionStatement", - "start": 12330, - "end": 12379, + "start": 13996, + "end": 14045, "loc": { "start": { - "line": 325, + "line": 391, "column": 14 }, "end": { - "line": 325, + "line": 391, "column": 63 } }, "expression": { "type": "AssignmentExpression", - "start": 12330, - "end": 12378, + "start": 13996, + "end": 14044, "loc": { "start": { - "line": 325, + "line": 391, "column": 14 }, "end": { - "line": 325, + "line": 391, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 12330, - "end": 12349, + "start": 13996, + "end": 14015, "loc": { "start": { - "line": 325, + "line": 391, "column": 14 }, "end": { - "line": 325, + "line": 391, "column": 33 } }, "object": { "type": "Identifier", - "start": 12330, - "end": 12341, + "start": 13996, + "end": 14007, "loc": { "start": { - "line": 325, + "line": 391, "column": 14 }, "end": { - "line": 325, + "line": 391, "column": 25 }, "identifierName": "buttonTheme" @@ -49826,15 +58319,15 @@ }, "property": { "type": "Identifier", - "start": 12342, - "end": 12349, + "start": 14008, + "end": 14015, "loc": { "start": { - "line": 325, + "line": 391, "column": 26 }, "end": { - "line": 325, + "line": 391, "column": 33 }, "identifierName": "buttons" @@ -49845,43 +58338,43 @@ }, "right": { "type": "CallExpression", - "start": 12352, - "end": 12378, + "start": 14018, + "end": 14044, "loc": { "start": { - "line": 325, + "line": 391, "column": 36 }, "end": { - "line": 325, + "line": 391, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 12352, - "end": 12373, + "start": 14018, + "end": 14039, "loc": { "start": { - "line": 325, + "line": 391, "column": 36 }, "end": { - "line": 325, + "line": 391, "column": 57 } }, "object": { "type": "Identifier", - "start": 12352, - "end": 12368, + "start": 14018, + "end": 14034, "loc": { "start": { - "line": 325, + "line": 391, "column": 36 }, "end": { - "line": 325, + "line": 391, "column": 52 }, "identifierName": "buttonThemeArray" @@ -49890,15 +58383,15 @@ }, "property": { "type": "Identifier", - "start": 12369, - "end": 12373, + "start": 14035, + "end": 14039, "loc": { "start": { - "line": 325, + "line": 391, "column": 53 }, "end": { - "line": 325, + "line": 391, "column": 57 }, "identifierName": "join" @@ -49910,15 +58403,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 12374, - "end": 12377, + "start": 14040, + "end": 14043, "loc": { "start": { - "line": 325, + "line": 391, "column": 58 }, "end": { - "line": 325, + "line": 391, "column": 61 } }, @@ -49944,29 +58437,29 @@ }, { "type": "ReturnStatement", - "start": 12419, - "end": 12438, + "start": 14085, + "end": 14104, "loc": { "start": { - "line": 328, + "line": 394, "column": 10 }, "end": { - "line": 328, + "line": 394, "column": 29 } }, "argument": { "type": "Identifier", - "start": 12426, - "end": 12437, + "start": 14092, + "end": 14103, "loc": { "start": { - "line": 328, + "line": 394, "column": 17 }, "end": { - "line": 328, + "line": 394, "column": 28 }, "identifierName": "buttonTheme" @@ -49985,15 +58478,15 @@ { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", - "start": 11842, - "end": 11933, + "start": 13508, + "end": 13599, "loc": { "start": { - "line": 313, + "line": 379, "column": 8 }, "end": { - "line": 315, + "line": 381, "column": 11 } } @@ -50003,15 +58496,15 @@ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", - "start": 12463, - "end": 12538, + "start": 14129, + "end": 14204, "loc": { "start": { - "line": 331, + "line": 397, "column": 8 }, "end": { - "line": 333, + "line": 399, "column": 11 } } @@ -50020,29 +58513,29 @@ }, { "type": "IfStatement", - "start": 12548, - "end": 12702, + "start": 14214, + "end": 14368, "loc": { "start": { - "line": 334, + "line": 400, "column": 8 }, "end": { - "line": 339, + "line": 405, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 12551, - "end": 12566, + "start": 14217, + "end": 14232, "loc": { "start": { - "line": 334, + "line": 400, "column": 11 }, "end": { - "line": 334, + "line": 400, "column": 26 } }, @@ -50050,15 +58543,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 12552, - "end": 12566, + "start": 14218, + "end": 14232, "loc": { "start": { - "line": 334, + "line": 400, "column": 12 }, "end": { - "line": 334, + "line": 400, "column": 26 }, "identifierName": "classNameFound" @@ -50073,115 +58566,115 @@ }, "consequent": { "type": "BlockStatement", - "start": 12567, - "end": 12702, + "start": 14233, + "end": 14368, "loc": { "start": { - "line": 334, + "line": 400, "column": 27 }, "end": { - "line": 339, + "line": 405, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 12580, - "end": 12691, + "start": 14246, + "end": 14357, "loc": { "start": { - "line": 335, + "line": 401, "column": 10 }, "end": { - "line": 338, + "line": 404, "column": 13 } }, "expression": { "type": "CallExpression", - "start": 12580, - "end": 12690, + "start": 14246, + "end": 14356, "loc": { "start": { - "line": 335, + "line": 401, "column": 10 }, "end": { - "line": 338, + "line": 404, "column": 12 } }, "callee": { "type": "MemberExpression", - "start": 12580, - "end": 12609, + "start": 14246, + "end": 14275, "loc": { "start": { - "line": 335, + "line": 401, "column": 10 }, "end": { - "line": 335, + "line": 401, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 12580, - "end": 12604, + "start": 14246, + "end": 14270, "loc": { "start": { - "line": 335, + "line": 401, "column": 10 }, "end": { - "line": 335, + "line": 401, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 12580, - "end": 12592, + "start": 14246, + "end": 14258, "loc": { "start": { - "line": 335, + "line": 401, "column": 10 }, "end": { - "line": 335, + "line": 401, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 12580, - "end": 12584, + "start": 14246, + "end": 14250, "loc": { "start": { - "line": 335, + "line": 401, "column": 10 }, "end": { - "line": 335, + "line": 401, "column": 14 } } }, "property": { "type": "Identifier", - "start": 12585, - "end": 12592, + "start": 14251, + "end": 14258, "loc": { "start": { - "line": 335, + "line": 401, "column": 15 }, "end": { - "line": 335, + "line": 401, "column": 22 }, "identifierName": "options" @@ -50192,15 +58685,15 @@ }, "property": { "type": "Identifier", - "start": 12593, - "end": 12604, + "start": 14259, + "end": 14270, "loc": { "start": { - "line": 335, + "line": 401, "column": 23 }, "end": { - "line": 335, + "line": 401, "column": 34 }, "identifierName": "buttonTheme" @@ -50211,15 +58704,15 @@ }, "property": { "type": "Identifier", - "start": 12605, - "end": 12609, + "start": 14271, + "end": 14275, "loc": { "start": { - "line": 335, + "line": 401, "column": 35 }, "end": { - "line": 335, + "line": 401, "column": 39 }, "identifierName": "push" @@ -50231,30 +58724,30 @@ "arguments": [ { "type": "ObjectExpression", - "start": 12610, - "end": 12689, + "start": 14276, + "end": 14355, "loc": { "start": { - "line": 335, + "line": 401, "column": 40 }, "end": { - "line": 338, + "line": 404, "column": 11 } }, "properties": [ { "type": "ObjectProperty", - "start": 12625, - "end": 12645, + "start": 14291, + "end": 14311, "loc": { "start": { - "line": 336, + "line": 402, "column": 12 }, "end": { - "line": 336, + "line": 402, "column": 32 } }, @@ -50263,15 +58756,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12625, - "end": 12630, + "start": 14291, + "end": 14296, "loc": { "start": { - "line": 336, + "line": 402, "column": 12 }, "end": { - "line": 336, + "line": 402, "column": 17 }, "identifierName": "class" @@ -50280,15 +58773,15 @@ }, "value": { "type": "Identifier", - "start": 12632, - "end": 12645, + "start": 14298, + "end": 14311, "loc": { "start": { - "line": 336, + "line": 402, "column": 19 }, "end": { - "line": 336, + "line": 402, "column": 32 }, "identifierName": "classNameItem" @@ -50298,15 +58791,15 @@ }, { "type": "ObjectProperty", - "start": 12660, - "end": 12676, + "start": 14326, + "end": 14342, "loc": { "start": { - "line": 337, + "line": 403, "column": 12 }, "end": { - "line": 337, + "line": 403, "column": 28 } }, @@ -50315,15 +58808,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12660, - "end": 12667, + "start": 14326, + "end": 14333, "loc": { "start": { - "line": 337, + "line": 403, "column": 12 }, "end": { - "line": 337, + "line": 403, "column": 19 }, "identifierName": "buttons" @@ -50332,15 +58825,15 @@ }, "value": { "type": "Identifier", - "start": 12669, - "end": 12676, + "start": 14335, + "end": 14342, "loc": { "start": { - "line": 337, + "line": 403, "column": 21 }, "end": { - "line": 337, + "line": 403, "column": 28 }, "identifierName": "buttons" @@ -50361,15 +58854,15 @@ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", - "start": 12463, - "end": 12538, + "start": 14129, + "end": 14204, "loc": { "start": { - "line": 331, + "line": 397, "column": 8 }, "end": { - "line": 333, + "line": 399, "column": 11 } } @@ -50392,72 +58885,72 @@ }, { "type": "ExpressionStatement", - "start": 12732, - "end": 12746, + "start": 14398, + "end": 14412, "loc": { "start": { - "line": 344, + "line": 410, "column": 4 }, "end": { - "line": 344, + "line": 410, "column": 18 } }, "expression": { "type": "CallExpression", - "start": 12732, - "end": 12745, + "start": 14398, + "end": 14411, "loc": { "start": { - "line": 344, + "line": 410, "column": 4 }, "end": { - "line": 344, + "line": 410, "column": 17 } }, "callee": { "type": "MemberExpression", - "start": 12732, - "end": 12743, + "start": 14398, + "end": 14409, "loc": { "start": { - "line": 344, + "line": 410, "column": 4 }, "end": { - "line": 344, + "line": 410, "column": 15 } }, "object": { "type": "ThisExpression", - "start": 12732, - "end": 12736, + "start": 14398, + "end": 14402, "loc": { "start": { - "line": 344, + "line": 410, "column": 4 }, "end": { - "line": 344, + "line": 410, "column": 8 } } }, "property": { "type": "Identifier", - "start": 12737, - "end": 12743, + "start": 14403, + "end": 14409, "loc": { "start": { - "line": 344, + "line": 410, "column": 9 }, "end": { - "line": 344, + "line": 410, "column": 15 }, "identifierName": "render" @@ -50477,15 +58970,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": 11234, - "end": 11515, + "start": 12900, + "end": 13181, "loc": { "start": { - "line": 297, + "line": 363, "column": 2 }, "end": { - "line": 301, + "line": 367, "column": 5 } } @@ -50495,15 +58988,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": 12757, - "end": 13097, + "start": 14423, + "end": 14763, "loc": { "start": { - "line": 347, + "line": 413, "column": 2 }, "end": { - "line": 351, + "line": 417, "column": 5 } } @@ -50512,15 +59005,15 @@ }, { "type": "ClassMethod", - "start": 13101, - "end": 14518, + "start": 14767, + "end": 16184, "loc": { "start": { - "line": 352, + "line": 418, "column": 2 }, "end": { - "line": 398, + "line": 464, "column": 3 } }, @@ -50528,15 +59021,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13101, - "end": 13118, + "start": 14767, + "end": 14784, "loc": { "start": { - "line": 352, + "line": 418, "column": 2 }, "end": { - "line": 352, + "line": 418, "column": 19 }, "identifierName": "removeButtonTheme" @@ -50552,15 +59045,15 @@ "params": [ { "type": "Identifier", - "start": 13119, - "end": 13126, + "start": 14785, + "end": 14792, "loc": { "start": { - "line": 352, + "line": 418, "column": 20 }, "end": { - "line": 352, + "line": 418, "column": 27 }, "identifierName": "buttons" @@ -50569,15 +59062,15 @@ }, { "type": "Identifier", - "start": 13128, - "end": 13137, + "start": 14794, + "end": 14803, "loc": { "start": { - "line": 352, + "line": 418, "column": 29 }, "end": { - "line": 352, + "line": 418, "column": 38 }, "identifierName": "className" @@ -50587,58 +59080,58 @@ ], "body": { "type": "BlockStatement", - "start": 13138, - "end": 14518, + "start": 14804, + "end": 16184, "loc": { "start": { - "line": 352, + "line": 418, "column": 39 }, "end": { - "line": 398, + "line": 464, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 13231, - "end": 13346, + "start": 14897, + "end": 15012, "loc": { "start": { - "line": 356, + "line": 422, "column": 4 }, "end": { - "line": 360, + "line": 426, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 13234, - "end": 13256, + "start": 14900, + "end": 14922, "loc": { "start": { - "line": 356, + "line": 422, "column": 7 }, "end": { - "line": 356, + "line": 422, "column": 29 } }, "left": { "type": "UnaryExpression", - "start": 13234, - "end": 13242, + "start": 14900, + "end": 14908, "loc": { "start": { - "line": 356, + "line": 422, "column": 7 }, "end": { - "line": 356, + "line": 422, "column": 15 } }, @@ -50646,15 +59139,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 13235, - "end": 13242, + "start": 14901, + "end": 14908, "loc": { "start": { - "line": 356, + "line": 422, "column": 8 }, "end": { - "line": 356, + "line": 422, "column": 15 }, "identifierName": "buttons" @@ -50670,15 +59163,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 13246, - "end": 13256, + "start": 14912, + "end": 14922, "loc": { "start": { - "line": 356, + "line": 422, "column": 19 }, "end": { - "line": 356, + "line": 422, "column": 29 } }, @@ -50686,15 +59179,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 13247, - "end": 13256, + "start": 14913, + "end": 14922, "loc": { "start": { - "line": 356, + "line": 422, "column": 20 }, "end": { - "line": 356, + "line": 422, "column": 29 }, "identifierName": "className" @@ -50709,102 +59202,102 @@ }, "consequent": { "type": "BlockStatement", - "start": 13257, - "end": 13346, + "start": 14923, + "end": 15012, "loc": { "start": { - "line": 356, + "line": 422, "column": 30 }, "end": { - "line": 360, + "line": 426, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 13266, - "end": 13296, + "start": 14932, + "end": 14962, "loc": { "start": { - "line": 357, + "line": 423, "column": 6 }, "end": { - "line": 357, + "line": 423, "column": 36 } }, "expression": { "type": "AssignmentExpression", - "start": 13266, - "end": 13295, + "start": 14932, + "end": 14961, "loc": { "start": { - "line": 357, + "line": 423, "column": 6 }, "end": { - "line": 357, + "line": 423, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 13266, - "end": 13290, + "start": 14932, + "end": 14956, "loc": { "start": { - "line": 357, + "line": 423, "column": 6 }, "end": { - "line": 357, + "line": 423, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 13266, - "end": 13278, + "start": 14932, + "end": 14944, "loc": { "start": { - "line": 357, + "line": 423, "column": 6 }, "end": { - "line": 357, + "line": 423, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 13266, - "end": 13270, + "start": 14932, + "end": 14936, "loc": { "start": { - "line": 357, + "line": 423, "column": 6 }, "end": { - "line": 357, + "line": 423, "column": 10 } } }, "property": { "type": "Identifier", - "start": 13271, - "end": 13278, + "start": 14937, + "end": 14944, "loc": { "start": { - "line": 357, + "line": 423, "column": 11 }, "end": { - "line": 357, + "line": 423, "column": 18 }, "identifierName": "options" @@ -50815,15 +59308,15 @@ }, "property": { "type": "Identifier", - "start": 13279, - "end": 13290, + "start": 14945, + "end": 14956, "loc": { "start": { - "line": 357, + "line": 423, "column": 19 }, "end": { - "line": 357, + "line": 423, "column": 30 }, "identifierName": "buttonTheme" @@ -50834,15 +59327,15 @@ }, "right": { "type": "ArrayExpression", - "start": 13293, - "end": 13295, + "start": 14959, + "end": 14961, "loc": { "start": { - "line": 357, + "line": 423, "column": 33 }, "end": { - "line": 357, + "line": 423, "column": 35 } }, @@ -50852,72 +59345,72 @@ }, { "type": "ExpressionStatement", - "start": 13304, - "end": 13318, + "start": 14970, + "end": 14984, "loc": { "start": { - "line": 358, + "line": 424, "column": 6 }, "end": { - "line": 358, + "line": 424, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 13304, - "end": 13317, + "start": 14970, + "end": 14983, "loc": { "start": { - "line": 358, + "line": 424, "column": 6 }, "end": { - "line": 358, + "line": 424, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 13304, - "end": 13315, + "start": 14970, + "end": 14981, "loc": { "start": { - "line": 358, + "line": 424, "column": 6 }, "end": { - "line": 358, + "line": 424, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 13304, - "end": 13308, + "start": 14970, + "end": 14974, "loc": { "start": { - "line": 358, + "line": 424, "column": 6 }, "end": { - "line": 358, + "line": 424, "column": 10 } } }, "property": { "type": "Identifier", - "start": 13309, - "end": 13315, + "start": 14975, + "end": 14981, "loc": { "start": { - "line": 358, + "line": 424, "column": 11 }, "end": { - "line": 358, + "line": 424, "column": 17 }, "identifierName": "render" @@ -50931,29 +59424,29 @@ }, { "type": "ReturnStatement", - "start": 13326, - "end": 13339, + "start": 14992, + "end": 15005, "loc": { "start": { - "line": 359, + "line": 425, "column": 6 }, "end": { - "line": 359, + "line": 425, "column": 19 } }, "argument": { "type": "BooleanLiteral", - "start": 13333, - "end": 13338, + "start": 14999, + "end": 15004, "loc": { "start": { - "line": 359, + "line": 425, "column": 13 }, "end": { - "line": 359, + "line": 425, "column": 18 } }, @@ -50969,15 +59462,15 @@ { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", - "start": 13145, - "end": 13225, + "start": 14811, + "end": 14891, "loc": { "start": { - "line": 353, + "line": 419, "column": 4 }, "end": { - "line": 355, + "line": 421, "column": 7 } } @@ -50987,15 +59480,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", - "start": 13354, - "end": 13422, + "start": 15020, + "end": 15088, "loc": { "start": { - "line": 362, + "line": 428, "column": 4 }, "end": { - "line": 364, + "line": 430, "column": 7 } } @@ -51004,57 +59497,57 @@ }, { "type": "IfStatement", - "start": 13428, - "end": 14513, + "start": 15094, + "end": 16179, "loc": { "start": { - "line": 365, + "line": 431, "column": 4 }, "end": { - "line": 397, + "line": 463, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 13431, - "end": 13516, + "start": 15097, + "end": 15182, "loc": { "start": { - "line": 365, + "line": 431, "column": 7 }, "end": { - "line": 365, + "line": 431, "column": 92 } }, "left": { "type": "LogicalExpression", - "start": 13431, - "end": 13481, + "start": 15097, + "end": 15147, "loc": { "start": { - "line": 365, + "line": 431, "column": 7 }, "end": { - "line": 365, + "line": 431, "column": 57 } }, "left": { "type": "Identifier", - "start": 13431, - "end": 13438, + "start": 15097, + "end": 15104, "loc": { "start": { - "line": 365, + "line": 431, "column": 7 }, "end": { - "line": 365, + "line": 431, "column": 14 }, "identifierName": "buttons" @@ -51065,43 +59558,43 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 13442, - "end": 13481, + "start": 15108, + "end": 15147, "loc": { "start": { - "line": 365, + "line": 431, "column": 18 }, "end": { - "line": 365, + "line": 431, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 13442, - "end": 13455, + "start": 15108, + "end": 15121, "loc": { "start": { - "line": 365, + "line": 431, "column": 18 }, "end": { - "line": 365, + "line": 431, "column": 31 } }, "object": { "type": "Identifier", - "start": 13442, - "end": 13447, + "start": 15108, + "end": 15113, "loc": { "start": { - "line": 365, + "line": 431, "column": 18 }, "end": { - "line": 365, + "line": 431, "column": 23 }, "identifierName": "Array" @@ -51110,15 +59603,15 @@ }, "property": { "type": "Identifier", - "start": 13448, - "end": 13455, + "start": 15114, + "end": 15121, "loc": { "start": { - "line": 365, + "line": 431, "column": 24 }, "end": { - "line": 365, + "line": 431, "column": 31 }, "identifierName": "isArray" @@ -51130,58 +59623,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 13456, - "end": 13480, + "start": 15122, + "end": 15146, "loc": { "start": { - "line": 365, + "line": 431, "column": 32 }, "end": { - "line": 365, + "line": 431, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 13456, - "end": 13468, + "start": 15122, + "end": 15134, "loc": { "start": { - "line": 365, + "line": 431, "column": 32 }, "end": { - "line": 365, + "line": 431, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 13456, - "end": 13460, + "start": 15122, + "end": 15126, "loc": { "start": { - "line": 365, + "line": 431, "column": 32 }, "end": { - "line": 365, + "line": 431, "column": 36 } } }, "property": { "type": "Identifier", - "start": 13461, - "end": 13468, + "start": 15127, + "end": 15134, "loc": { "start": { - "line": 365, + "line": 431, "column": 37 }, "end": { - "line": 365, + "line": 431, "column": 44 }, "identifierName": "options" @@ -51192,15 +59685,15 @@ }, "property": { "type": "Identifier", - "start": 13469, - "end": 13480, + "start": 15135, + "end": 15146, "loc": { "start": { - "line": 365, + "line": 431, "column": 45 }, "end": { - "line": 365, + "line": 431, "column": 56 }, "identifierName": "buttonTheme" @@ -51216,72 +59709,72 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 13485, - "end": 13516, + "start": 15151, + "end": 15182, "loc": { "start": { - "line": 365, + "line": 431, "column": 61 }, "end": { - "line": 365, + "line": 431, "column": 92 } }, "object": { "type": "MemberExpression", - "start": 13485, - "end": 13509, + "start": 15151, + "end": 15175, "loc": { "start": { - "line": 365, + "line": 431, "column": 61 }, "end": { - "line": 365, + "line": 431, "column": 85 } }, "object": { "type": "MemberExpression", - "start": 13485, - "end": 13497, + "start": 15151, + "end": 15163, "loc": { "start": { - "line": 365, + "line": 431, "column": 61 }, "end": { - "line": 365, + "line": 431, "column": 73 } }, "object": { "type": "ThisExpression", - "start": 13485, - "end": 13489, + "start": 15151, + "end": 15155, "loc": { "start": { - "line": 365, + "line": 431, "column": 61 }, "end": { - "line": 365, + "line": 431, "column": 65 } } }, "property": { "type": "Identifier", - "start": 13490, - "end": 13497, + "start": 15156, + "end": 15163, "loc": { "start": { - "line": 365, + "line": 431, "column": 66 }, "end": { - "line": 365, + "line": 431, "column": 73 }, "identifierName": "options" @@ -51292,15 +59785,15 @@ }, "property": { "type": "Identifier", - "start": 13498, - "end": 13509, + "start": 15164, + "end": 15175, "loc": { "start": { - "line": 365, + "line": 431, "column": 74 }, "end": { - "line": 365, + "line": 431, "column": 85 }, "identifierName": "buttonTheme" @@ -51311,15 +59804,15 @@ }, "property": { "type": "Identifier", - "start": 13510, - "end": 13516, + "start": 15176, + "end": 15182, "loc": { "start": { - "line": 365, + "line": 431, "column": 86 }, "end": { - "line": 365, + "line": 431, "column": 92 }, "identifierName": "length" @@ -51332,59 +59825,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 13517, - "end": 14513, + "start": 15183, + "end": 16179, "loc": { "start": { - "line": 365, + "line": 431, "column": 93 }, "end": { - "line": 397, + "line": 463, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 13526, - "end": 13563, + "start": 15192, + "end": 15229, "loc": { "start": { - "line": 366, + "line": 432, "column": 6 }, "end": { - "line": 366, + "line": 432, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13530, - "end": 13562, + "start": 15196, + "end": 15228, "loc": { "start": { - "line": 366, + "line": 432, "column": 10 }, "end": { - "line": 366, + "line": 432, "column": 42 } }, "id": { "type": "Identifier", - "start": 13530, - "end": 13541, + "start": 15196, + "end": 15207, "loc": { "start": { - "line": 366, + "line": 432, "column": 10 }, "end": { - "line": 366, + "line": 432, "column": 21 }, "identifierName": "buttonArray" @@ -51393,43 +59886,43 @@ }, "init": { "type": "CallExpression", - "start": 13544, - "end": 13562, + "start": 15210, + "end": 15228, "loc": { "start": { - "line": 366, + "line": 432, "column": 24 }, "end": { - "line": 366, + "line": 432, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 13544, - "end": 13557, + "start": 15210, + "end": 15223, "loc": { "start": { - "line": 366, + "line": 432, "column": 24 }, "end": { - "line": 366, + "line": 432, "column": 37 } }, "object": { "type": "Identifier", - "start": 13544, - "end": 13551, + "start": 15210, + "end": 15217, "loc": { "start": { - "line": 366, + "line": 432, "column": 24 }, "end": { - "line": 366, + "line": 432, "column": 31 }, "identifierName": "buttons" @@ -51438,15 +59931,15 @@ }, "property": { "type": "Identifier", - "start": 13552, - "end": 13557, + "start": 15218, + "end": 15223, "loc": { "start": { - "line": 366, + "line": 432, "column": 32 }, "end": { - "line": 366, + "line": 432, "column": 37 }, "identifierName": "split" @@ -51458,15 +59951,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13558, - "end": 13561, + "start": 15224, + "end": 15227, "loc": { "start": { - "line": 366, + "line": 432, "column": 38 }, "end": { - "line": 366, + "line": 432, "column": 41 } }, @@ -51484,57 +59977,57 @@ }, { "type": "ExpressionStatement", - "start": 13571, - "end": 14482, + "start": 15237, + "end": 16148, "loc": { "start": { - "line": 367, + "line": 433, "column": 6 }, "end": { - "line": 394, + "line": 460, "column": 9 } }, "expression": { "type": "CallExpression", - "start": 13571, - "end": 14481, + "start": 15237, + "end": 16147, "loc": { "start": { - "line": 367, + "line": 433, "column": 6 }, "end": { - "line": 394, + "line": 460, "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 13571, - "end": 13590, + "start": 15237, + "end": 15256, "loc": { "start": { - "line": 367, + "line": 433, "column": 6 }, "end": { - "line": 367, + "line": 433, "column": 25 } }, "object": { "type": "Identifier", - "start": 13571, - "end": 13582, + "start": 15237, + "end": 15248, "loc": { "start": { - "line": 367, + "line": 433, "column": 6 }, "end": { - "line": 367, + "line": 433, "column": 17 }, "identifierName": "buttonArray" @@ -51543,15 +60036,15 @@ }, "property": { "type": "Identifier", - "start": 13583, - "end": 13590, + "start": 15249, + "end": 15256, "loc": { "start": { - "line": 367, + "line": 433, "column": 18 }, "end": { - "line": 367, + "line": 433, "column": 25 }, "identifierName": "forEach" @@ -51563,15 +60056,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 13591, - "end": 14480, + "start": 15257, + "end": 16146, "loc": { "start": { - "line": 367, + "line": 433, "column": 26 }, "end": { - "line": 394, + "line": 460, "column": 7 } }, @@ -51582,15 +60075,15 @@ "params": [ { "type": "Identifier", - "start": 13592, - "end": 13598, + "start": 15258, + "end": 15264, "loc": { "start": { - "line": 367, + "line": 433, "column": 27 }, "end": { - "line": 367, + "line": 433, "column": 33 }, "identifierName": "button" @@ -51599,15 +60092,15 @@ }, { "type": "Identifier", - "start": 13600, - "end": 13603, + "start": 15266, + "end": 15269, "loc": { "start": { - "line": 367, + "line": 433, "column": 35 }, "end": { - "line": 367, + "line": 433, "column": 38 }, "identifierName": "key" @@ -51617,115 +60110,115 @@ ], "body": { "type": "BlockStatement", - "start": 13608, - "end": 14480, + "start": 15274, + "end": 16146, "loc": { "start": { - "line": 367, + "line": 433, "column": 43 }, "end": { - "line": 394, + "line": 460, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 13619, - "end": 14471, + "start": 15285, + "end": 16137, "loc": { "start": { - "line": 368, + "line": 434, "column": 8 }, "end": { - "line": 393, + "line": 459, "column": 11 } }, "expression": { "type": "CallExpression", - "start": 13619, - "end": 14470, + "start": 15285, + "end": 16136, "loc": { "start": { - "line": 368, + "line": 434, "column": 8 }, "end": { - "line": 393, + "line": 459, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 13619, - "end": 13647, + "start": 15285, + "end": 15313, "loc": { "start": { - "line": 368, + "line": 434, "column": 8 }, "end": { - "line": 368, + "line": 434, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 13619, - "end": 13643, + "start": 15285, + "end": 15309, "loc": { "start": { - "line": 368, + "line": 434, "column": 8 }, "end": { - "line": 368, + "line": 434, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 13619, - "end": 13631, + "start": 15285, + "end": 15297, "loc": { "start": { - "line": 368, + "line": 434, "column": 8 }, "end": { - "line": 368, + "line": 434, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 13619, - "end": 13623, + "start": 15285, + "end": 15289, "loc": { "start": { - "line": 368, + "line": 434, "column": 8 }, "end": { - "line": 368, + "line": 434, "column": 12 } } }, "property": { "type": "Identifier", - "start": 13624, - "end": 13631, + "start": 15290, + "end": 15297, "loc": { "start": { - "line": 368, + "line": 434, "column": 13 }, "end": { - "line": 368, + "line": 434, "column": 20 }, "identifierName": "options" @@ -51736,15 +60229,15 @@ }, "property": { "type": "Identifier", - "start": 13632, - "end": 13643, + "start": 15298, + "end": 15309, "loc": { "start": { - "line": 368, + "line": 434, "column": 21 }, "end": { - "line": 368, + "line": 434, "column": 32 }, "identifierName": "buttonTheme" @@ -51755,15 +60248,15 @@ }, "property": { "type": "Identifier", - "start": 13644, - "end": 13647, + "start": 15310, + "end": 15313, "loc": { "start": { - "line": 368, + "line": 434, "column": 33 }, "end": { - "line": 368, + "line": 434, "column": 36 }, "identifierName": "map" @@ -51775,15 +60268,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 13648, - "end": 14469, + "start": 15314, + "end": 16135, "loc": { "start": { - "line": 368, + "line": 434, "column": 37 }, "end": { - "line": 393, + "line": 459, "column": 9 } }, @@ -51794,15 +60287,15 @@ "params": [ { "type": "Identifier", - "start": 13649, - "end": 13660, + "start": 15315, + "end": 15326, "loc": { "start": { - "line": 368, + "line": 434, "column": 38 }, "end": { - "line": 368, + "line": 434, "column": 49 }, "identifierName": "buttonTheme" @@ -51811,15 +60304,15 @@ }, { "type": "Identifier", - "start": 13662, - "end": 13667, + "start": 15328, + "end": 15333, "loc": { "start": { - "line": 368, + "line": 434, "column": 51 }, "end": { - "line": 368, + "line": 434, "column": 56 }, "identifierName": "index" @@ -51829,72 +60322,72 @@ ], "body": { "type": "BlockStatement", - "start": 13672, - "end": 14469, + "start": 15338, + "end": 16135, "loc": { "start": { - "line": 368, + "line": 434, "column": 61 }, "end": { - "line": 393, + "line": 459, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 13840, - "end": 14425, + "start": 15506, + "end": 16091, "loc": { "start": { - "line": 374, + "line": 440, "column": 10 }, "end": { - "line": 390, + "line": 456, "column": 11 } }, "test": { "type": "LogicalExpression", - "start": 13857, - "end": 13936, + "start": 15523, + "end": 15602, "loc": { "start": { - "line": 375, + "line": 441, "column": 12 }, "end": { - "line": 376, + "line": 442, "column": 22 } }, "left": { "type": "LogicalExpression", - "start": 13858, - "end": 13908, + "start": 15524, + "end": 15574, "loc": { "start": { - "line": 375, + "line": 441, "column": 13 }, "end": { - "line": 375, + "line": 441, "column": 63 } }, "left": { "type": "Identifier", - "start": 13858, - "end": 13867, + "start": 15524, + "end": 15533, "loc": { "start": { - "line": 375, + "line": 441, "column": 13 }, "end": { - "line": 375, + "line": 441, "column": 22 }, "identifierName": "className" @@ -51905,43 +60398,43 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 13871, - "end": 13908, + "start": 15537, + "end": 15574, "loc": { "start": { - "line": 375, + "line": 441, "column": 26 }, "end": { - "line": 375, + "line": 441, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 13871, - "end": 13889, + "start": 15537, + "end": 15555, "loc": { "start": { - "line": 375, + "line": 441, "column": 26 }, "end": { - "line": 375, + "line": 441, "column": 44 } }, "object": { "type": "Identifier", - "start": 13871, - "end": 13880, + "start": 15537, + "end": 15546, "loc": { "start": { - "line": 375, + "line": 441, "column": 26 }, "end": { - "line": 375, + "line": 441, "column": 35 }, "identifierName": "className" @@ -51950,15 +60443,15 @@ }, "property": { "type": "Identifier", - "start": 13881, - "end": 13889, + "start": 15547, + "end": 15555, "loc": { "start": { - "line": 375, + "line": 441, "column": 36 }, "end": { - "line": 375, + "line": 441, "column": 44 }, "identifierName": "includes" @@ -51970,29 +60463,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 13890, - "end": 13907, + "start": 15556, + "end": 15573, "loc": { "start": { - "line": 375, + "line": 441, "column": 45 }, "end": { - "line": 375, + "line": 441, "column": 62 } }, "object": { "type": "Identifier", - "start": 13890, - "end": 13901, + "start": 15556, + "end": 15567, "loc": { "start": { - "line": 375, + "line": 441, "column": 45 }, "end": { - "line": 375, + "line": 441, "column": 56 }, "identifierName": "buttonTheme" @@ -52001,15 +60494,15 @@ }, "property": { "type": "Identifier", - "start": 13902, - "end": 13907, + "start": 15568, + "end": 15573, "loc": { "start": { - "line": 375, + "line": 441, "column": 57 }, "end": { - "line": 375, + "line": 441, "column": 62 }, "identifierName": "class" @@ -52023,21 +60516,21 @@ "leadingComments": null, "extra": { "parenthesized": true, - "parenStart": 13857 + "parenStart": 15523 } }, "operator": "||", "right": { "type": "UnaryExpression", - "start": 13926, - "end": 13936, + "start": 15592, + "end": 15602, "loc": { "start": { - "line": 376, + "line": 442, "column": 12 }, "end": { - "line": 376, + "line": 442, "column": 22 } }, @@ -52045,15 +60538,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 13927, - "end": 13936, + "start": 15593, + "end": 15602, "loc": { "start": { - "line": 376, + "line": 442, "column": 13 }, "end": { - "line": 376, + "line": 442, "column": 22 }, "identifierName": "className" @@ -52068,59 +60561,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 13949, - "end": 14425, + "start": 15615, + "end": 16091, "loc": { "start": { - "line": 377, + "line": 443, "column": 11 }, "end": { - "line": 390, + "line": 456, "column": 11 } }, "body": [ { "type": "VariableDeclaration", - "start": 13964, - "end": 14053, + "start": 15630, + "end": 15719, "loc": { "start": { - "line": 378, + "line": 444, "column": 12 }, "end": { - "line": 378, + "line": 444, "column": 101 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13968, - "end": 14052, + "start": 15634, + "end": 15718, "loc": { "start": { - "line": 378, + "line": 444, "column": 16 }, "end": { - "line": 378, + "line": 444, "column": 100 } }, "id": { "type": "Identifier", - "start": 13968, - "end": 13987, + "start": 15634, + "end": 15653, "loc": { "start": { - "line": 378, + "line": 444, "column": 16 }, "end": { - "line": 378, + "line": 444, "column": 35 }, "identifierName": "filteredButtonArray" @@ -52129,85 +60622,85 @@ }, "init": { "type": "CallExpression", - "start": 13990, - "end": 14052, + "start": 15656, + "end": 15718, "loc": { "start": { - "line": 378, + "line": 444, "column": 38 }, "end": { - "line": 378, + "line": 444, "column": 100 } }, "callee": { "type": "MemberExpression", - "start": 13990, - "end": 14027, + "start": 15656, + "end": 15693, "loc": { "start": { - "line": 378, + "line": 444, "column": 38 }, "end": { - "line": 378, + "line": 444, "column": 75 } }, "object": { "type": "CallExpression", - "start": 13990, - "end": 14020, + "start": 15656, + "end": 15686, "loc": { "start": { - "line": 378, + "line": 444, "column": 38 }, "end": { - "line": 378, + "line": 444, "column": 68 } }, "callee": { "type": "MemberExpression", - "start": 13990, - "end": 14015, + "start": 15656, + "end": 15681, "loc": { "start": { - "line": 378, + "line": 444, "column": 38 }, "end": { - "line": 378, + "line": 444, "column": 63 } }, "object": { "type": "MemberExpression", - "start": 13990, - "end": 14009, + "start": 15656, + "end": 15675, "loc": { "start": { - "line": 378, + "line": 444, "column": 38 }, "end": { - "line": 378, + "line": 444, "column": 57 } }, "object": { "type": "Identifier", - "start": 13990, - "end": 14001, + "start": 15656, + "end": 15667, "loc": { "start": { - "line": 378, + "line": 444, "column": 38 }, "end": { - "line": 378, + "line": 444, "column": 49 }, "identifierName": "buttonTheme" @@ -52216,15 +60709,15 @@ }, "property": { "type": "Identifier", - "start": 14002, - "end": 14009, + "start": 15668, + "end": 15675, "loc": { "start": { - "line": 378, + "line": 444, "column": 50 }, "end": { - "line": 378, + "line": 444, "column": 57 }, "identifierName": "buttons" @@ -52235,15 +60728,15 @@ }, "property": { "type": "Identifier", - "start": 14010, - "end": 14015, + "start": 15676, + "end": 15681, "loc": { "start": { - "line": 378, + "line": 444, "column": 58 }, "end": { - "line": 378, + "line": 444, "column": 63 }, "identifierName": "split" @@ -52255,15 +60748,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14016, - "end": 14019, + "start": 15682, + "end": 15685, "loc": { "start": { - "line": 378, + "line": 444, "column": 64 }, "end": { - "line": 378, + "line": 444, "column": 67 } }, @@ -52277,15 +60770,15 @@ }, "property": { "type": "Identifier", - "start": 14021, - "end": 14027, + "start": 15687, + "end": 15693, "loc": { "start": { - "line": 378, + "line": 444, "column": 69 }, "end": { - "line": 378, + "line": 444, "column": 75 }, "identifierName": "filter" @@ -52297,15 +60790,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 14028, - "end": 14051, + "start": 15694, + "end": 15717, "loc": { "start": { - "line": 378, + "line": 444, "column": 76 }, "end": { - "line": 378, + "line": 444, "column": 99 } }, @@ -52316,15 +60809,15 @@ "params": [ { "type": "Identifier", - "start": 14028, - "end": 14032, + "start": 15694, + "end": 15698, "loc": { "start": { - "line": 378, + "line": 444, "column": 76 }, "end": { - "line": 378, + "line": 444, "column": 80 }, "identifierName": "item" @@ -52334,29 +60827,29 @@ ], "body": { "type": "BinaryExpression", - "start": 14036, - "end": 14051, + "start": 15702, + "end": 15717, "loc": { "start": { - "line": 378, + "line": 444, "column": 84 }, "end": { - "line": 378, + "line": 444, "column": 99 } }, "left": { "type": "Identifier", - "start": 14036, - "end": 14040, + "start": 15702, + "end": 15706, "loc": { "start": { - "line": 378, + "line": 444, "column": 84 }, "end": { - "line": 378, + "line": 444, "column": 88 }, "identifierName": "item" @@ -52366,15 +60859,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 14045, - "end": 14051, + "start": 15711, + "end": 15717, "loc": { "start": { - "line": 378, + "line": 444, "column": 93 }, "end": { - "line": 378, + "line": 444, "column": 99 }, "identifierName": "button" @@ -52392,15 +60885,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", - "start": 14069, - "end": 14166, + "start": 15735, + "end": 15832, "loc": { "start": { - "line": 380, + "line": 446, "column": 12 }, "end": { - "line": 382, + "line": 448, "column": 15 } } @@ -52409,43 +60902,43 @@ }, { "type": "IfStatement", - "start": 14180, - "end": 14409, + "start": 15846, + "end": 16075, "loc": { "start": { - "line": 383, + "line": 449, "column": 12 }, "end": { - "line": 388, + "line": 454, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 14183, - "end": 14209, + "start": 15849, + "end": 15875, "loc": { "start": { - "line": 383, + "line": 449, "column": 15 }, "end": { - "line": 383, + "line": 449, "column": 41 } }, "object": { "type": "Identifier", - "start": 14183, - "end": 14202, + "start": 15849, + "end": 15868, "loc": { "start": { - "line": 383, + "line": 449, "column": 15 }, "end": { - "line": 383, + "line": 449, "column": 34 }, "identifierName": "filteredButtonArray" @@ -52455,15 +60948,15 @@ }, "property": { "type": "Identifier", - "start": 14203, - "end": 14209, + "start": 15869, + "end": 15875, "loc": { "start": { - "line": 383, + "line": 449, "column": 35 }, "end": { - "line": 383, + "line": 449, "column": 41 }, "identifierName": "length" @@ -52475,73 +60968,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 14210, - "end": 14294, + "start": 15876, + "end": 15960, "loc": { "start": { - "line": 383, + "line": 449, "column": 42 }, "end": { - "line": 385, + "line": 451, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 14227, - "end": 14279, + "start": 15893, + "end": 15945, "loc": { "start": { - "line": 384, + "line": 450, "column": 14 }, "end": { - "line": 384, + "line": 450, "column": 66 } }, "expression": { "type": "AssignmentExpression", - "start": 14227, - "end": 14278, + "start": 15893, + "end": 15944, "loc": { "start": { - "line": 384, + "line": 450, "column": 14 }, "end": { - "line": 384, + "line": 450, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 14227, - "end": 14246, + "start": 15893, + "end": 15912, "loc": { "start": { - "line": 384, + "line": 450, "column": 14 }, "end": { - "line": 384, + "line": 450, "column": 33 } }, "object": { "type": "Identifier", - "start": 14227, - "end": 14238, + "start": 15893, + "end": 15904, "loc": { "start": { - "line": 384, + "line": 450, "column": 14 }, "end": { - "line": 384, + "line": 450, "column": 25 }, "identifierName": "buttonTheme" @@ -52550,15 +61043,15 @@ }, "property": { "type": "Identifier", - "start": 14239, - "end": 14246, + "start": 15905, + "end": 15912, "loc": { "start": { - "line": 384, + "line": 450, "column": 26 }, "end": { - "line": 384, + "line": 450, "column": 33 }, "identifierName": "buttons" @@ -52569,43 +61062,43 @@ }, "right": { "type": "CallExpression", - "start": 14249, - "end": 14278, + "start": 15915, + "end": 15944, "loc": { "start": { - "line": 384, + "line": 450, "column": 36 }, "end": { - "line": 384, + "line": 450, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 14249, - "end": 14273, + "start": 15915, + "end": 15939, "loc": { "start": { - "line": 384, + "line": 450, "column": 36 }, "end": { - "line": 384, + "line": 450, "column": 60 } }, "object": { "type": "Identifier", - "start": 14249, - "end": 14268, + "start": 15915, + "end": 15934, "loc": { "start": { - "line": 384, + "line": 450, "column": 36 }, "end": { - "line": 384, + "line": 450, "column": 55 }, "identifierName": "filteredButtonArray" @@ -52614,15 +61107,15 @@ }, "property": { "type": "Identifier", - "start": 14269, - "end": 14273, + "start": 15935, + "end": 15939, "loc": { "start": { - "line": 384, + "line": 450, "column": 56 }, "end": { - "line": 384, + "line": 450, "column": 60 }, "identifierName": "join" @@ -52634,15 +61127,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14274, - "end": 14277, + "start": 15940, + "end": 15943, "loc": { "start": { - "line": 384, + "line": 450, "column": 61 }, "end": { - "line": 384, + "line": 450, "column": 64 } }, @@ -52661,115 +61154,115 @@ }, "alternate": { "type": "BlockStatement", - "start": 14300, - "end": 14409, + "start": 15966, + "end": 16075, "loc": { "start": { - "line": 385, + "line": 451, "column": 19 }, "end": { - "line": 388, + "line": 454, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 14317, - "end": 14359, + "start": 15983, + "end": 16025, "loc": { "start": { - "line": 386, + "line": 452, "column": 14 }, "end": { - "line": 386, + "line": 452, "column": 56 } }, "expression": { "type": "CallExpression", - "start": 14317, - "end": 14358, + "start": 15983, + "end": 16024, "loc": { "start": { - "line": 386, + "line": 452, "column": 14 }, "end": { - "line": 386, + "line": 452, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 14317, - "end": 14348, + "start": 15983, + "end": 16014, "loc": { "start": { - "line": 386, + "line": 452, "column": 14 }, "end": { - "line": 386, + "line": 452, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 14317, - "end": 14341, + "start": 15983, + "end": 16007, "loc": { "start": { - "line": 386, + "line": 452, "column": 14 }, "end": { - "line": 386, + "line": 452, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 14317, - "end": 14329, + "start": 15983, + "end": 15995, "loc": { "start": { - "line": 386, + "line": 452, "column": 14 }, "end": { - "line": 386, + "line": 452, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 14317, - "end": 14321, + "start": 15983, + "end": 15987, "loc": { "start": { - "line": 386, + "line": 452, "column": 14 }, "end": { - "line": 386, + "line": 452, "column": 18 } } }, "property": { "type": "Identifier", - "start": 14322, - "end": 14329, + "start": 15988, + "end": 15995, "loc": { "start": { - "line": 386, + "line": 452, "column": 19 }, "end": { - "line": 386, + "line": 452, "column": 26 }, "identifierName": "options" @@ -52780,15 +61273,15 @@ }, "property": { "type": "Identifier", - "start": 14330, - "end": 14341, + "start": 15996, + "end": 16007, "loc": { "start": { - "line": 386, + "line": 452, "column": 27 }, "end": { - "line": 386, + "line": 452, "column": 38 }, "identifierName": "buttonTheme" @@ -52799,15 +61292,15 @@ }, "property": { "type": "Identifier", - "start": 14342, - "end": 14348, + "start": 16008, + "end": 16014, "loc": { "start": { - "line": 386, + "line": 452, "column": 39 }, "end": { - "line": 386, + "line": 452, "column": 45 }, "identifierName": "splice" @@ -52819,15 +61312,15 @@ "arguments": [ { "type": "Identifier", - "start": 14349, - "end": 14354, + "start": 16015, + "end": 16020, "loc": { "start": { - "line": 386, + "line": 452, "column": 46 }, "end": { - "line": 386, + "line": 452, "column": 51 }, "identifierName": "index" @@ -52836,15 +61329,15 @@ }, { "type": "NumericLiteral", - "start": 14356, - "end": 14357, + "start": 16022, + "end": 16023, "loc": { "start": { - "line": 386, + "line": 452, "column": 53 }, "end": { - "line": 386, + "line": 452, "column": 54 } }, @@ -52859,44 +61352,44 @@ }, { "type": "ExpressionStatement", - "start": 14375, - "end": 14394, + "start": 16041, + "end": 16060, "loc": { "start": { - "line": 387, + "line": 453, "column": 14 }, "end": { - "line": 387, + "line": 453, "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 14375, - "end": 14393, + "start": 16041, + "end": 16059, "loc": { "start": { - "line": 387, + "line": 453, "column": 14 }, "end": { - "line": 387, + "line": 453, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", - "start": 14375, - "end": 14386, + "start": 16041, + "end": 16052, "loc": { "start": { - "line": 387, + "line": 453, "column": 14 }, "end": { - "line": 387, + "line": 453, "column": 25 }, "identifierName": "buttonTheme" @@ -52905,15 +61398,15 @@ }, "right": { "type": "NullLiteral", - "start": 14389, - "end": 14393, + "start": 16055, + "end": 16059, "loc": { "start": { - "line": 387, + "line": 453, "column": 28 }, "end": { - "line": 387, + "line": 453, "column": 32 } } @@ -52927,15 +61420,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", - "start": 14069, - "end": 14166, + "start": 15735, + "end": 15832, "loc": { "start": { - "line": 380, + "line": 446, "column": 12 }, "end": { - "line": 382, + "line": 448, "column": 15 } } @@ -52950,15 +61443,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": 13687, - "end": 13828, + "start": 15353, + "end": 15494, "loc": { "start": { - "line": 370, + "line": 436, "column": 10 }, "end": { - "line": 373, + "line": 439, "column": 13 } } @@ -52967,29 +61460,29 @@ }, { "type": "ReturnStatement", - "start": 14439, - "end": 14458, + "start": 16105, + "end": 16124, "loc": { "start": { - "line": 392, + "line": 458, "column": 10 }, "end": { - "line": 392, + "line": 458, "column": 29 } }, "argument": { "type": "Identifier", - "start": 14446, - "end": 14457, + "start": 16112, + "end": 16123, "loc": { "start": { - "line": 392, + "line": 458, "column": 17 }, "end": { - "line": 392, + "line": 458, "column": 28 }, "identifierName": "buttonTheme" @@ -53013,72 +61506,72 @@ }, { "type": "ExpressionStatement", - "start": 14492, - "end": 14506, + "start": 16158, + "end": 16172, "loc": { "start": { - "line": 396, + "line": 462, "column": 6 }, "end": { - "line": 396, + "line": 462, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 14492, - "end": 14505, + "start": 16158, + "end": 16171, "loc": { "start": { - "line": 396, + "line": 462, "column": 6 }, "end": { - "line": 396, + "line": 462, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 14492, - "end": 14503, + "start": 16158, + "end": 16169, "loc": { "start": { - "line": 396, + "line": 462, "column": 6 }, "end": { - "line": 396, + "line": 462, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 14492, - "end": 14496, + "start": 16158, + "end": 16162, "loc": { "start": { - "line": 396, + "line": 462, "column": 6 }, "end": { - "line": 396, + "line": 462, "column": 10 } } }, "property": { "type": "Identifier", - "start": 14497, - "end": 14503, + "start": 16163, + "end": 16169, "loc": { "start": { - "line": 396, + "line": 462, "column": 11 }, "end": { - "line": 396, + "line": 462, "column": 17 }, "identifierName": "render" @@ -53098,15 +61591,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", - "start": 13354, - "end": 13422, + "start": 15020, + "end": 15088, "loc": { "start": { - "line": 362, + "line": 428, "column": 4 }, "end": { - "line": 364, + "line": 430, "column": 7 } } @@ -53121,15 +61614,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": 12757, - "end": 13097, + "start": 14423, + "end": 14763, "loc": { "start": { - "line": 347, + "line": 413, "column": 2 }, "end": { - "line": 351, + "line": 417, "column": 5 } } @@ -53139,15 +61632,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": 14524, - "end": 14727, + "start": 16190, + "end": 16393, "loc": { "start": { - "line": 400, + "line": 466, "column": 2 }, "end": { - "line": 403, + "line": 469, "column": 5 } } @@ -53156,15 +61649,15 @@ }, { "type": "ClassMethod", - "start": 14731, - "end": 14998, + "start": 16397, + "end": 16664, "loc": { "start": { - "line": 404, + "line": 470, "column": 2 }, "end": { - "line": 417, + "line": 483, "column": 3 } }, @@ -53172,15 +61665,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14731, - "end": 14747, + "start": 16397, + "end": 16413, "loc": { "start": { - "line": 404, + "line": 470, "column": 2 }, "end": { - "line": 404, + "line": 470, "column": 18 }, "identifierName": "getButtonElement" @@ -53196,15 +61689,15 @@ "params": [ { "type": "Identifier", - "start": 14748, - "end": 14754, + "start": 16414, + "end": 16420, "loc": { "start": { - "line": 404, + "line": 470, "column": 19 }, "end": { - "line": 404, + "line": 470, "column": 25 }, "identifierName": "button" @@ -53214,59 +61707,59 @@ ], "body": { "type": "BlockStatement", - "start": 14755, - "end": 14998, + "start": 16421, + "end": 16664, "loc": { "start": { - "line": 404, + "line": 470, "column": 26 }, "end": { - "line": 417, + "line": 483, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 14762, - "end": 14773, + "start": 16428, + "end": 16439, "loc": { "start": { - "line": 405, + "line": 471, "column": 4 }, "end": { - "line": 405, + "line": 471, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 14766, - "end": 14772, + "start": 16432, + "end": 16438, "loc": { "start": { - "line": 405, + "line": 471, "column": 8 }, "end": { - "line": 405, + "line": 471, "column": 14 } }, "id": { "type": "Identifier", - "start": 14766, - "end": 14772, + "start": 16432, + "end": 16438, "loc": { "start": { - "line": 405, + "line": 471, "column": 8 }, "end": { - "line": 405, + "line": 471, "column": 14 }, "identifierName": "output" @@ -53280,44 +61773,44 @@ }, { "type": "VariableDeclaration", - "start": 14781, - "end": 14825, + "start": 16447, + "end": 16491, "loc": { "start": { - "line": 407, + "line": 473, "column": 4 }, "end": { - "line": 407, + "line": 473, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 14785, - "end": 14824, + "start": 16451, + "end": 16490, "loc": { "start": { - "line": 407, + "line": 473, "column": 8 }, "end": { - "line": 407, + "line": 473, "column": 47 } }, "id": { "type": "Identifier", - "start": 14785, - "end": 14794, + "start": 16451, + "end": 16460, "loc": { "start": { - "line": 407, + "line": 473, "column": 8 }, "end": { - "line": 407, + "line": 473, "column": 17 }, "identifierName": "buttonArr" @@ -53326,58 +61819,58 @@ }, "init": { "type": "MemberExpression", - "start": 14797, - "end": 14824, + "start": 16463, + "end": 16490, "loc": { "start": { - "line": 407, + "line": 473, "column": 20 }, "end": { - "line": 407, + "line": 473, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 14797, - "end": 14816, + "start": 16463, + "end": 16482, "loc": { "start": { - "line": 407, + "line": 473, "column": 20 }, "end": { - "line": 407, + "line": 473, "column": 39 } }, "object": { "type": "ThisExpression", - "start": 14797, - "end": 14801, + "start": 16463, + "end": 16467, "loc": { "start": { - "line": 407, + "line": 473, "column": 20 }, "end": { - "line": 407, + "line": 473, "column": 24 } } }, "property": { "type": "Identifier", - "start": 14802, - "end": 14816, + "start": 16468, + "end": 16482, "loc": { "start": { - "line": 407, + "line": 473, "column": 25 }, "end": { - "line": 407, + "line": 473, "column": 39 }, "identifierName": "buttonElements" @@ -53388,15 +61881,15 @@ }, "property": { "type": "Identifier", - "start": 14817, - "end": 14823, + "start": 16483, + "end": 16489, "loc": { "start": { - "line": 407, + "line": 473, "column": 40 }, "end": { - "line": 407, + "line": 473, "column": 46 }, "identifierName": "button" @@ -53411,29 +61904,29 @@ }, { "type": "IfStatement", - "start": 14831, - "end": 14971, + "start": 16497, + "end": 16637, "loc": { "start": { - "line": 408, + "line": 474, "column": 4 }, "end": { - "line": 414, + "line": 480, "column": 5 } }, "test": { "type": "Identifier", - "start": 14834, - "end": 14843, + "start": 16500, + "end": 16509, "loc": { "start": { - "line": 408, + "line": 474, "column": 7 }, "end": { - "line": 408, + "line": 474, "column": 16 }, "identifierName": "buttonArr" @@ -53442,72 +61935,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 14844, - "end": 14971, + "start": 16510, + "end": 16637, "loc": { "start": { - "line": 408, + "line": 474, "column": 17 }, "end": { - "line": 414, + "line": 480, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 14853, - "end": 14964, + "start": 16519, + "end": 16630, "loc": { "start": { - "line": 409, + "line": 475, "column": 6 }, "end": { - "line": 413, + "line": 479, "column": 7 } }, "test": { "type": "BinaryExpression", - "start": 14856, - "end": 14876, + "start": 16522, + "end": 16542, "loc": { "start": { - "line": 409, + "line": 475, "column": 9 }, "end": { - "line": 409, + "line": 475, "column": 29 } }, "left": { "type": "MemberExpression", - "start": 14856, - "end": 14872, + "start": 16522, + "end": 16538, "loc": { "start": { - "line": 409, + "line": 475, "column": 9 }, "end": { - "line": 409, + "line": 475, "column": 25 } }, "object": { "type": "Identifier", - "start": 14856, - "end": 14865, + "start": 16522, + "end": 16531, "loc": { "start": { - "line": 409, + "line": 475, "column": 9 }, "end": { - "line": 409, + "line": 475, "column": 18 }, "identifierName": "buttonArr" @@ -53516,15 +62009,15 @@ }, "property": { "type": "Identifier", - "start": 14866, - "end": 14872, + "start": 16532, + "end": 16538, "loc": { "start": { - "line": 409, + "line": 475, "column": 19 }, "end": { - "line": 409, + "line": 475, "column": 25 }, "identifierName": "length" @@ -53536,15 +62029,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 14875, - "end": 14876, + "start": 16541, + "end": 16542, "loc": { "start": { - "line": 409, + "line": 475, "column": 28 }, "end": { - "line": 409, + "line": 475, "column": 29 } }, @@ -53557,59 +62050,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 14877, - "end": 14916, + "start": 16543, + "end": 16582, "loc": { "start": { - "line": 409, + "line": 475, "column": 30 }, "end": { - "line": 411, + "line": 477, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 14888, - "end": 14907, + "start": 16554, + "end": 16573, "loc": { "start": { - "line": 410, + "line": 476, "column": 8 }, "end": { - "line": 410, + "line": 476, "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 14888, - "end": 14906, + "start": 16554, + "end": 16572, "loc": { "start": { - "line": 410, + "line": 476, "column": 8 }, "end": { - "line": 410, + "line": 476, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", - "start": 14888, - "end": 14894, + "start": 16554, + "end": 16560, "loc": { "start": { - "line": 410, + "line": 476, "column": 8 }, "end": { - "line": 410, + "line": 476, "column": 14 }, "identifierName": "output" @@ -53618,15 +62111,15 @@ }, "right": { "type": "Identifier", - "start": 14897, - "end": 14906, + "start": 16563, + "end": 16572, "loc": { "start": { - "line": 410, + "line": 476, "column": 17 }, "end": { - "line": 410, + "line": 476, "column": 26 }, "identifierName": "buttonArr" @@ -53640,59 +62133,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 14922, - "end": 14964, + "start": 16588, + "end": 16630, "loc": { "start": { - "line": 411, + "line": 477, "column": 13 }, "end": { - "line": 413, + "line": 479, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 14933, - "end": 14955, + "start": 16599, + "end": 16621, "loc": { "start": { - "line": 412, + "line": 478, "column": 8 }, "end": { - "line": 412, + "line": 478, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 14933, - "end": 14954, + "start": 16599, + "end": 16620, "loc": { "start": { - "line": 412, + "line": 478, "column": 8 }, "end": { - "line": 412, + "line": 478, "column": 29 } }, "operator": "=", "left": { "type": "Identifier", - "start": 14933, - "end": 14939, + "start": 16599, + "end": 16605, "loc": { "start": { - "line": 412, + "line": 478, "column": 8 }, "end": { - "line": 412, + "line": 478, "column": 14 }, "identifierName": "output" @@ -53701,29 +62194,29 @@ }, "right": { "type": "MemberExpression", - "start": 14942, - "end": 14954, + "start": 16608, + "end": 16620, "loc": { "start": { - "line": 412, + "line": 478, "column": 17 }, "end": { - "line": 412, + "line": 478, "column": 29 } }, "object": { "type": "Identifier", - "start": 14942, - "end": 14951, + "start": 16608, + "end": 16617, "loc": { "start": { - "line": 412, + "line": 478, "column": 17 }, "end": { - "line": 412, + "line": 478, "column": 26 }, "identifierName": "buttonArr" @@ -53732,15 +62225,15 @@ }, "property": { "type": "NumericLiteral", - "start": 14952, - "end": 14953, + "start": 16618, + "end": 16619, "loc": { "start": { - "line": 412, + "line": 478, "column": 27 }, "end": { - "line": 412, + "line": 478, "column": 28 } }, @@ -53765,29 +62258,29 @@ }, { "type": "ReturnStatement", - "start": 14979, - "end": 14993, + "start": 16645, + "end": 16659, "loc": { "start": { - "line": 416, + "line": 482, "column": 4 }, "end": { - "line": 416, + "line": 482, "column": 18 } }, "argument": { "type": "Identifier", - "start": 14986, - "end": 14992, + "start": 16652, + "end": 16658, "loc": { "start": { - "line": 416, + "line": 482, "column": 11 }, "end": { - "line": 416, + "line": 482, "column": 17 }, "identifierName": "output" @@ -53803,15 +62296,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": 14524, - "end": 14727, + "start": 16190, + "end": 16393, "loc": { "start": { - "line": 400, + "line": 466, "column": 2 }, "end": { - "line": 403, + "line": 469, "column": 5 } } @@ -53821,15 +62314,15 @@ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", - "start": 15004, - "end": 15094, + "start": 16670, + "end": 16760, "loc": { "start": { - "line": 419, + "line": 485, "column": 2 }, "end": { - "line": 421, + "line": 487, "column": 5 } } @@ -53838,15 +62331,15 @@ }, { "type": "ClassMethod", - "start": 15098, - "end": 15401, + "start": 16764, + "end": 17067, "loc": { "start": { - "line": 422, + "line": 488, "column": 2 }, "end": { - "line": 430, + "line": 496, "column": 3 } }, @@ -53854,15 +62347,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15098, - "end": 15109, + "start": 16764, + "end": 16775, "loc": { "start": { - "line": 422, + "line": 488, "column": 2 }, "end": { - "line": 422, + "line": 488, "column": 13 }, "identifierName": "handleCaret" @@ -53878,87 +62371,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 15111, - "end": 15401, + "start": 16777, + "end": 17067, "loc": { "start": { - "line": 422, + "line": 488, "column": 15 }, "end": { - "line": 430, + "line": 496, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 15118, - "end": 15194, + "start": 16784, + "end": 16860, "loc": { "start": { - "line": 423, + "line": 489, "column": 4 }, "end": { - "line": 425, + "line": 491, "column": 5 } }, "test": { "type": "MemberExpression", - "start": 15121, - "end": 15139, + "start": 16787, + "end": 16805, "loc": { "start": { - "line": 423, + "line": 489, "column": 7 }, "end": { - "line": 423, + "line": 489, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 15121, - "end": 15133, + "start": 16787, + "end": 16799, "loc": { "start": { - "line": 423, + "line": 489, "column": 7 }, "end": { - "line": 423, + "line": 489, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 15121, - "end": 15125, + "start": 16787, + "end": 16791, "loc": { "start": { - "line": 423, + "line": 489, "column": 7 }, "end": { - "line": 423, + "line": 489, "column": 11 } } }, "property": { "type": "Identifier", - "start": 15126, - "end": 15133, + "start": 16792, + "end": 16799, "loc": { "start": { - "line": 423, + "line": 489, "column": 12 }, "end": { - "line": 423, + "line": 489, "column": 19 }, "identifierName": "options" @@ -53969,15 +62462,15 @@ }, "property": { "type": "Identifier", - "start": 15134, - "end": 15139, + "start": 16800, + "end": 16805, "loc": { "start": { - "line": 423, + "line": 489, "column": 20 }, "end": { - "line": 423, + "line": 489, "column": 25 }, "identifierName": "debug" @@ -53988,72 +62481,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 15140, - "end": 15194, + "start": 16806, + "end": 16860, "loc": { "start": { - "line": 423, + "line": 489, "column": 26 }, "end": { - "line": 425, + "line": 491, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 15149, - "end": 15187, + "start": 16815, + "end": 16853, "loc": { "start": { - "line": 424, + "line": 490, "column": 6 }, "end": { - "line": 424, + "line": 490, "column": 44 } }, "expression": { "type": "CallExpression", - "start": 15149, - "end": 15186, + "start": 16815, + "end": 16852, "loc": { "start": { - "line": 424, + "line": 490, "column": 6 }, "end": { - "line": 424, + "line": 490, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 15149, - "end": 15160, + "start": 16815, + "end": 16826, "loc": { "start": { - "line": 424, + "line": 490, "column": 6 }, "end": { - "line": 424, + "line": 490, "column": 17 } }, "object": { "type": "Identifier", - "start": 15149, - "end": 15156, + "start": 16815, + "end": 16822, "loc": { "start": { - "line": 424, + "line": 490, "column": 6 }, "end": { - "line": 424, + "line": 490, "column": 13 }, "identifierName": "console" @@ -54062,15 +62555,15 @@ }, "property": { "type": "Identifier", - "start": 15157, - "end": 15160, + "start": 16823, + "end": 16826, "loc": { "start": { - "line": 424, + "line": 490, "column": 14 }, "end": { - "line": 424, + "line": 490, "column": 17 }, "identifierName": "log" @@ -54082,15 +62575,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 15161, - "end": 15185, + "start": 16827, + "end": 16851, "loc": { "start": { - "line": 424, + "line": 490, "column": 18 }, "end": { - "line": 424, + "line": 490, "column": 42 } }, @@ -54110,57 +62603,57 @@ }, { "type": "ExpressionStatement", - "start": 15202, - "end": 15261, + "start": 16868, + "end": 16927, "loc": { "start": { - "line": 427, + "line": 493, "column": 4 }, "end": { - "line": 427, + "line": 493, "column": 63 } }, "expression": { "type": "CallExpression", - "start": 15202, - "end": 15260, + "start": 16868, + "end": 16926, "loc": { "start": { - "line": 427, + "line": 493, "column": 4 }, "end": { - "line": 427, + "line": 493, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 15202, - "end": 15227, + "start": 16868, + "end": 16893, "loc": { "start": { - "line": 427, + "line": 493, "column": 4 }, "end": { - "line": 427, + "line": 493, "column": 29 } }, "object": { "type": "Identifier", - "start": 15202, - "end": 15210, + "start": 16868, + "end": 16876, "loc": { "start": { - "line": 427, + "line": 493, "column": 4 }, "end": { - "line": 427, + "line": 493, "column": 12 }, "identifierName": "document" @@ -54169,15 +62662,15 @@ }, "property": { "type": "Identifier", - "start": 15211, - "end": 15227, + "start": 16877, + "end": 16893, "loc": { "start": { - "line": 427, + "line": 493, "column": 13 }, "end": { - "line": 427, + "line": 493, "column": 29 }, "identifierName": "addEventListener" @@ -54189,15 +62682,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 15228, - "end": 15235, + "start": 16894, + "end": 16901, "loc": { "start": { - "line": 427, + "line": 493, "column": 30 }, "end": { - "line": 427, + "line": 493, "column": 37 } }, @@ -54209,44 +62702,44 @@ }, { "type": "MemberExpression", - "start": 15237, - "end": 15259, + "start": 16903, + "end": 16925, "loc": { "start": { - "line": 427, + "line": 493, "column": 39 }, "end": { - "line": 427, + "line": 493, "column": 61 } }, "object": { "type": "ThisExpression", - "start": 15237, - "end": 15241, + "start": 16903, + "end": 16907, "loc": { "start": { - "line": 427, + "line": 493, "column": 39 }, "end": { - "line": 427, + "line": 493, "column": 43 } } }, "property": { "type": "Identifier", - "start": 15242, - "end": 15259, + "start": 16908, + "end": 16925, "loc": { "start": { - "line": 427, + "line": 493, "column": 44 }, "end": { - "line": 427, + "line": 493, "column": 61 }, "identifierName": "caretEventHandler" @@ -54260,57 +62753,57 @@ }, { "type": "ExpressionStatement", - "start": 15267, - "end": 15328, + "start": 16933, + "end": 16994, "loc": { "start": { - "line": 428, + "line": 494, "column": 4 }, "end": { - "line": 428, + "line": 494, "column": 65 } }, "expression": { "type": "CallExpression", - "start": 15267, - "end": 15327, + "start": 16933, + "end": 16993, "loc": { "start": { - "line": 428, + "line": 494, "column": 4 }, "end": { - "line": 428, + "line": 494, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 15267, - "end": 15292, + "start": 16933, + "end": 16958, "loc": { "start": { - "line": 428, + "line": 494, "column": 4 }, "end": { - "line": 428, + "line": 494, "column": 29 } }, "object": { "type": "Identifier", - "start": 15267, - "end": 15275, + "start": 16933, + "end": 16941, "loc": { "start": { - "line": 428, + "line": 494, "column": 4 }, "end": { - "line": 428, + "line": 494, "column": 12 }, "identifierName": "document" @@ -54319,15 +62812,15 @@ }, "property": { "type": "Identifier", - "start": 15276, - "end": 15292, + "start": 16942, + "end": 16958, "loc": { "start": { - "line": 428, + "line": 494, "column": 13 }, "end": { - "line": 428, + "line": 494, "column": 29 }, "identifierName": "addEventListener" @@ -54339,15 +62832,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 15293, - "end": 15302, + "start": 16959, + "end": 16968, "loc": { "start": { - "line": 428, + "line": 494, "column": 30 }, "end": { - "line": 428, + "line": 494, "column": 39 } }, @@ -54359,44 +62852,44 @@ }, { "type": "MemberExpression", - "start": 15304, - "end": 15326, + "start": 16970, + "end": 16992, "loc": { "start": { - "line": 428, + "line": 494, "column": 41 }, "end": { - "line": 428, + "line": 494, "column": 63 } }, "object": { "type": "ThisExpression", - "start": 15304, - "end": 15308, + "start": 16970, + "end": 16974, "loc": { "start": { - "line": 428, + "line": 494, "column": 41 }, "end": { - "line": 428, + "line": 494, "column": 45 } } }, "property": { "type": "Identifier", - "start": 15309, - "end": 15326, + "start": 16975, + "end": 16992, "loc": { "start": { - "line": 428, + "line": 494, "column": 46 }, "end": { - "line": 428, + "line": 494, "column": 63 }, "identifierName": "caretEventHandler" @@ -54410,57 +62903,57 @@ }, { "type": "ExpressionStatement", - "start": 15334, - "end": 15396, + "start": 17000, + "end": 17062, "loc": { "start": { - "line": 429, + "line": 495, "column": 4 }, "end": { - "line": 429, + "line": 495, "column": 66 } }, "expression": { "type": "CallExpression", - "start": 15334, - "end": 15395, + "start": 17000, + "end": 17061, "loc": { "start": { - "line": 429, + "line": 495, "column": 4 }, "end": { - "line": 429, + "line": 495, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 15334, - "end": 15359, + "start": 17000, + "end": 17025, "loc": { "start": { - "line": 429, + "line": 495, "column": 4 }, "end": { - "line": 429, + "line": 495, "column": 29 } }, "object": { "type": "Identifier", - "start": 15334, - "end": 15342, + "start": 17000, + "end": 17008, "loc": { "start": { - "line": 429, + "line": 495, "column": 4 }, "end": { - "line": 429, + "line": 495, "column": 12 }, "identifierName": "document" @@ -54469,15 +62962,15 @@ }, "property": { "type": "Identifier", - "start": 15343, - "end": 15359, + "start": 17009, + "end": 17025, "loc": { "start": { - "line": 429, + "line": 495, "column": 13 }, "end": { - "line": 429, + "line": 495, "column": 29 }, "identifierName": "addEventListener" @@ -54489,15 +62982,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 15360, - "end": 15370, + "start": 17026, + "end": 17036, "loc": { "start": { - "line": 429, + "line": 495, "column": 30 }, "end": { - "line": 429, + "line": 495, "column": 40 } }, @@ -54509,44 +63002,44 @@ }, { "type": "MemberExpression", - "start": 15372, - "end": 15394, + "start": 17038, + "end": 17060, "loc": { "start": { - "line": 429, + "line": 495, "column": 42 }, "end": { - "line": 429, + "line": 495, "column": 64 } }, "object": { "type": "ThisExpression", - "start": 15372, - "end": 15376, + "start": 17038, + "end": 17042, "loc": { "start": { - "line": 429, + "line": 495, "column": 42 }, "end": { - "line": 429, + "line": 495, "column": 46 } } }, "property": { "type": "Identifier", - "start": 15377, - "end": 15394, + "start": 17043, + "end": 17060, "loc": { "start": { - "line": 429, + "line": 495, "column": 47 }, "end": { - "line": 429, + "line": 495, "column": 64 }, "identifierName": "caretEventHandler" @@ -54566,15 +63059,15 @@ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", - "start": 15004, - "end": 15094, + "start": 16670, + "end": 16760, "loc": { "start": { - "line": 419, + "line": 485, "column": 2 }, "end": { - "line": 421, + "line": 487, "column": 5 } } @@ -54584,15 +63077,15 @@ { "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, + "start": 17073, + "end": 17185, "loc": { "start": { - "line": 432, + "line": 498, "column": 2 }, "end": { - "line": 434, + "line": 500, "column": 5 } } @@ -54601,15 +63094,15 @@ }, { "type": "ClassMethod", - "start": 15523, - "end": 16073, + "start": 17189, + "end": 17739, "loc": { "start": { - "line": 435, + "line": 501, "column": 2 }, "end": { - "line": 452, + "line": 518, "column": 3 } }, @@ -54617,15 +63110,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15523, - "end": 15540, + "start": 17189, + "end": 17206, "loc": { "start": { - "line": 435, + "line": 501, "column": 2 }, "end": { - "line": 435, + "line": 501, "column": 19 }, "identifierName": "caretEventHandler" @@ -54641,15 +63134,15 @@ "params": [ { "type": "Identifier", - "start": 15541, - "end": 15546, + "start": 17207, + "end": 17212, "loc": { "start": { - "line": 435, + "line": 501, "column": 20 }, "end": { - "line": 435, + "line": 501, "column": 25 }, "identifierName": "event" @@ -54659,59 +63152,59 @@ ], "body": { "type": "BlockStatement", - "start": 15547, - "end": 16073, + "start": 17213, + "end": 17739, "loc": { "start": { - "line": 435, + "line": 501, "column": 26 }, "end": { - "line": 452, + "line": 518, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 15554, - "end": 15609, + "start": 17220, + "end": 17275, "loc": { "start": { - "line": 436, + "line": 502, "column": 4 }, "end": { - "line": 436, + "line": 502, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 15558, - "end": 15608, + "start": 17224, + "end": 17274, "loc": { "start": { - "line": 436, + "line": 502, "column": 8 }, "end": { - "line": 436, + "line": 502, "column": 58 } }, "id": { "type": "Identifier", - "start": 15558, - "end": 15571, + "start": 17224, + "end": 17237, "loc": { "start": { - "line": 436, + "line": 502, "column": 8 }, "end": { - "line": 436, + "line": 502, "column": 21 }, "identifierName": "targetTagName" @@ -54720,71 +63213,71 @@ }, "init": { "type": "CallExpression", - "start": 15574, - "end": 15608, + "start": 17240, + "end": 17274, "loc": { "start": { - "line": 436, + "line": 502, "column": 24 }, "end": { - "line": 436, + "line": 502, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 15574, - "end": 15606, + "start": 17240, + "end": 17272, "loc": { "start": { - "line": 436, + "line": 502, "column": 24 }, "end": { - "line": 436, + "line": 502, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 15574, - "end": 15594, + "start": 17240, + "end": 17260, "loc": { "start": { - "line": 436, + "line": 502, "column": 24 }, "end": { - "line": 436, + "line": 502, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 15574, - "end": 15586, + "start": 17240, + "end": 17252, "loc": { "start": { - "line": 436, + "line": 502, "column": 24 }, "end": { - "line": 436, + "line": 502, "column": 36 } }, "object": { "type": "Identifier", - "start": 15574, - "end": 15579, + "start": 17240, + "end": 17245, "loc": { "start": { - "line": 436, + "line": 502, "column": 24 }, "end": { - "line": 436, + "line": 502, "column": 29 }, "identifierName": "event" @@ -54793,15 +63286,15 @@ }, "property": { "type": "Identifier", - "start": 15580, - "end": 15586, + "start": 17246, + "end": 17252, "loc": { "start": { - "line": 436, + "line": 502, "column": 30 }, "end": { - "line": 436, + "line": 502, "column": 36 }, "identifierName": "target" @@ -54812,15 +63305,15 @@ }, "property": { "type": "Identifier", - "start": 15587, - "end": 15594, + "start": 17253, + "end": 17260, "loc": { "start": { - "line": 436, + "line": 502, "column": 37 }, "end": { - "line": 436, + "line": 502, "column": 44 }, "identifierName": "tagName" @@ -54831,15 +63324,15 @@ }, "property": { "type": "Identifier", - "start": 15595, - "end": 15606, + "start": 17261, + "end": 17272, "loc": { "start": { - "line": 436, + "line": 502, "column": 45 }, "end": { - "line": 436, + "line": 502, "column": 56 }, "identifierName": "toLowerCase" @@ -54856,57 +63349,57 @@ }, { "type": "IfStatement", - "start": 15617, - "end": 16068, + "start": 17283, + "end": 17734, "loc": { "start": { - "line": 438, + "line": 504, "column": 4 }, "end": { - "line": 451, + "line": 517, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 15628, - "end": 15692, + "start": 17294, + "end": 17358, "loc": { "start": { - "line": 439, + "line": 505, "column": 6 }, "end": { - "line": 440, + "line": 506, "column": 31 } }, "left": { "type": "BinaryExpression", - "start": 15628, - "end": 15656, + "start": 17294, + "end": 17322, "loc": { "start": { - "line": 439, + "line": 505, "column": 6 }, "end": { - "line": 439, + "line": 505, "column": 34 } }, "left": { "type": "Identifier", - "start": 15628, - "end": 15641, + "start": 17294, + "end": 17307, "loc": { "start": { - "line": 439, + "line": 505, "column": 6 }, "end": { - "line": 439, + "line": 505, "column": 19 }, "identifierName": "targetTagName" @@ -54916,15 +63409,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 15646, - "end": 15656, + "start": 17312, + "end": 17322, "loc": { "start": { - "line": 439, + "line": 505, "column": 24 }, "end": { - "line": 439, + "line": 505, "column": 34 } }, @@ -54938,29 +63431,29 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 15667, - "end": 15692, + "start": 17333, + "end": 17358, "loc": { "start": { - "line": 440, + "line": 506, "column": 6 }, "end": { - "line": 440, + "line": 506, "column": 31 } }, "left": { "type": "Identifier", - "start": 15667, - "end": 15680, + "start": 17333, + "end": 17346, "loc": { "start": { - "line": 440, + "line": 506, "column": 6 }, "end": { - "line": 440, + "line": 506, "column": 19 }, "identifierName": "targetTagName" @@ -54970,15 +63463,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 15685, - "end": 15692, + "start": 17351, + "end": 17358, "loc": { "start": { - "line": 440, + "line": 506, "column": 24 }, "end": { - "line": 440, + "line": 506, "column": 31 } }, @@ -54992,73 +63485,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 15699, - "end": 16068, + "start": 17365, + "end": 17734, "loc": { "start": { - "line": 441, + "line": 507, "column": 5 }, "end": { - "line": 451, + "line": 517, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 15864, - "end": 15913, + "start": 17530, + "end": 17579, "loc": { "start": { - "line": 446, + "line": 512, "column": 6 }, "end": { - "line": 446, + "line": 512, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 15864, - "end": 15912, + "start": 17530, + "end": 17578, "loc": { "start": { - "line": 446, + "line": 512, "column": 6 }, "end": { - "line": 446, + "line": 512, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 15864, - "end": 15882, + "start": 17530, + "end": 17548, "loc": { "start": { - "line": 446, + "line": 512, "column": 6 }, "end": { - "line": 446, + "line": 512, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 15864, - "end": 15868, + "start": 17530, + "end": 17534, "loc": { "start": { - "line": 446, + "line": 512, "column": 6 }, "end": { - "line": 446, + "line": 512, "column": 10 } }, @@ -55066,15 +63559,15 @@ }, "property": { "type": "Identifier", - "start": 15869, - "end": 15882, + "start": 17535, + "end": 17548, "loc": { "start": { - "line": 446, + "line": 512, "column": 11 }, "end": { - "line": 446, + "line": 512, "column": 24 }, "identifierName": "caretPosition" @@ -55086,43 +63579,43 @@ }, "right": { "type": "MemberExpression", - "start": 15885, - "end": 15912, + "start": 17551, + "end": 17578, "loc": { "start": { - "line": 446, + "line": 512, "column": 27 }, "end": { - "line": 446, + "line": 512, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 15885, - "end": 15897, + "start": 17551, + "end": 17563, "loc": { "start": { - "line": 446, + "line": 512, "column": 27 }, "end": { - "line": 446, + "line": 512, "column": 39 } }, "object": { "type": "Identifier", - "start": 15885, - "end": 15890, + "start": 17551, + "end": 17556, "loc": { "start": { - "line": 446, + "line": 512, "column": 27 }, "end": { - "line": 446, + "line": 512, "column": 32 }, "identifierName": "event" @@ -55131,15 +63624,15 @@ }, "property": { "type": "Identifier", - "start": 15891, - "end": 15897, + "start": 17557, + "end": 17563, "loc": { "start": { - "line": 446, + "line": 512, "column": 33 }, "end": { - "line": 446, + "line": 512, "column": 39 }, "identifierName": "target" @@ -55150,15 +63643,15 @@ }, "property": { "type": "Identifier", - "start": 15898, - "end": 15912, + "start": 17564, + "end": 17578, "loc": { "start": { - "line": 446, + "line": 512, "column": 40 }, "end": { - "line": 446, + "line": 512, "column": 54 }, "identifierName": "selectionStart" @@ -55173,15 +63666,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": 15708, - "end": 15856, + "start": 17374, + "end": 17522, "loc": { "start": { - "line": 442, + "line": 508, "column": 6 }, "end": { - "line": 445, + "line": 511, "column": 9 } } @@ -55190,72 +63683,72 @@ }, { "type": "IfStatement", - "start": 15923, - "end": 16056, + "start": 17589, + "end": 17722, "loc": { "start": { - "line": 448, + "line": 514, "column": 6 }, "end": { - "line": 450, + "line": 516, "column": 7 } }, "test": { "type": "MemberExpression", - "start": 15926, - "end": 15944, + "start": 17592, + "end": 17610, "loc": { "start": { - "line": 448, + "line": 514, "column": 9 }, "end": { - "line": 448, + "line": 514, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 15926, - "end": 15938, + "start": 17592, + "end": 17604, "loc": { "start": { - "line": 448, + "line": 514, "column": 9 }, "end": { - "line": 448, + "line": 514, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 15926, - "end": 15930, + "start": 17592, + "end": 17596, "loc": { "start": { - "line": 448, + "line": 514, "column": 9 }, "end": { - "line": 448, + "line": 514, "column": 13 } } }, "property": { "type": "Identifier", - "start": 15931, - "end": 15938, + "start": 17597, + "end": 17604, "loc": { "start": { - "line": 448, + "line": 514, "column": 14 }, "end": { - "line": 448, + "line": 514, "column": 21 }, "identifierName": "options" @@ -55266,15 +63759,15 @@ }, "property": { "type": "Identifier", - "start": 15939, - "end": 15944, + "start": 17605, + "end": 17610, "loc": { "start": { - "line": 448, + "line": 514, "column": 22 }, "end": { - "line": 448, + "line": 514, "column": 27 }, "identifierName": "debug" @@ -55285,72 +63778,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 15945, - "end": 16056, + "start": 17611, + "end": 17722, "loc": { "start": { - "line": 448, + "line": 514, "column": 28 }, "end": { - "line": 450, + "line": 516, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 15956, - "end": 16047, + "start": 17622, + "end": 17713, "loc": { "start": { - "line": 449, + "line": 515, "column": 8 }, "end": { - "line": 449, + "line": 515, "column": 99 } }, "expression": { "type": "CallExpression", - "start": 15956, - "end": 16046, + "start": 17622, + "end": 17712, "loc": { "start": { - "line": 449, + "line": 515, "column": 8 }, "end": { - "line": 449, + "line": 515, "column": 98 } }, "callee": { "type": "MemberExpression", - "start": 15956, - "end": 15967, + "start": 17622, + "end": 17633, "loc": { "start": { - "line": 449, + "line": 515, "column": 8 }, "end": { - "line": 449, + "line": 515, "column": 19 } }, "object": { "type": "Identifier", - "start": 15956, - "end": 15963, + "start": 17622, + "end": 17629, "loc": { "start": { - "line": 449, + "line": 515, "column": 8 }, "end": { - "line": 449, + "line": 515, "column": 15 }, "identifierName": "console" @@ -55359,15 +63852,15 @@ }, "property": { "type": "Identifier", - "start": 15964, - "end": 15967, + "start": 17630, + "end": 17633, "loc": { "start": { - "line": 449, + "line": 515, "column": 16 }, "end": { - "line": 449, + "line": 515, "column": 19 }, "identifierName": "log" @@ -55379,15 +63872,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 15968, - "end": 15980, + "start": 17634, + "end": 17646, "loc": { "start": { - "line": 449, + "line": 515, "column": 20 }, "end": { - "line": 449, + "line": 515, "column": 32 } }, @@ -55399,43 +63892,43 @@ }, { "type": "MemberExpression", - "start": 15982, - "end": 16009, + "start": 17648, + "end": 17675, "loc": { "start": { - "line": 449, + "line": 515, "column": 34 }, "end": { - "line": 449, + "line": 515, "column": 61 } }, "object": { "type": "MemberExpression", - "start": 15982, - "end": 15994, + "start": 17648, + "end": 17660, "loc": { "start": { - "line": 449, + "line": 515, "column": 34 }, "end": { - "line": 449, + "line": 515, "column": 46 } }, "object": { "type": "Identifier", - "start": 15982, - "end": 15987, + "start": 17648, + "end": 17653, "loc": { "start": { - "line": 449, + "line": 515, "column": 34 }, "end": { - "line": 449, + "line": 515, "column": 39 }, "identifierName": "event" @@ -55444,15 +63937,15 @@ }, "property": { "type": "Identifier", - "start": 15988, - "end": 15994, + "start": 17654, + "end": 17660, "loc": { "start": { - "line": 449, + "line": 515, "column": 40 }, "end": { - "line": 449, + "line": 515, "column": 46 }, "identifierName": "target" @@ -55463,15 +63956,15 @@ }, "property": { "type": "Identifier", - "start": 15995, - "end": 16009, + "start": 17661, + "end": 17675, "loc": { "start": { - "line": 449, + "line": 515, "column": 47 }, "end": { - "line": 449, + "line": 515, "column": 61 }, "identifierName": "selectionStart" @@ -55482,71 +63975,71 @@ }, { "type": "CallExpression", - "start": 16011, - "end": 16045, + "start": 17677, + "end": 17711, "loc": { "start": { - "line": 449, + "line": 515, "column": 63 }, "end": { - "line": 449, + "line": 515, "column": 97 } }, "callee": { "type": "MemberExpression", - "start": 16011, - "end": 16043, + "start": 17677, + "end": 17709, "loc": { "start": { - "line": 449, + "line": 515, "column": 63 }, "end": { - "line": 449, + "line": 515, "column": 95 } }, "object": { "type": "MemberExpression", - "start": 16011, - "end": 16031, + "start": 17677, + "end": 17697, "loc": { "start": { - "line": 449, + "line": 515, "column": 63 }, "end": { - "line": 449, + "line": 515, "column": 83 } }, "object": { "type": "MemberExpression", - "start": 16011, - "end": 16023, + "start": 17677, + "end": 17689, "loc": { "start": { - "line": 449, + "line": 515, "column": 63 }, "end": { - "line": 449, + "line": 515, "column": 75 } }, "object": { "type": "Identifier", - "start": 16011, - "end": 16016, + "start": 17677, + "end": 17682, "loc": { "start": { - "line": 449, + "line": 515, "column": 63 }, "end": { - "line": 449, + "line": 515, "column": 68 }, "identifierName": "event" @@ -55555,15 +64048,15 @@ }, "property": { "type": "Identifier", - "start": 16017, - "end": 16023, + "start": 17683, + "end": 17689, "loc": { "start": { - "line": 449, + "line": 515, "column": 69 }, "end": { - "line": 449, + "line": 515, "column": 75 }, "identifierName": "target" @@ -55574,15 +64067,15 @@ }, "property": { "type": "Identifier", - "start": 16024, - "end": 16031, + "start": 17690, + "end": 17697, "loc": { "start": { - "line": 449, + "line": 515, "column": 76 }, "end": { - "line": 449, + "line": 515, "column": 83 }, "identifierName": "tagName" @@ -55593,15 +64086,15 @@ }, "property": { "type": "Identifier", - "start": 16032, - "end": 16043, + "start": 17698, + "end": 17709, "loc": { "start": { - "line": 449, + "line": 515, "column": 84 }, "end": { - "line": 449, + "line": 515, "column": 95 }, "identifierName": "toLowerCase" @@ -55633,15 +64126,15 @@ { "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, + "start": 17073, + "end": 17185, "loc": { "start": { - "line": 432, + "line": 498, "column": 2 }, "end": { - "line": 434, + "line": 500, "column": 5 } } @@ -55651,15 +64144,15 @@ { "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, + "start": 17745, + "end": 17865, "loc": { "start": { - "line": 454, + "line": 520, "column": 2 }, "end": { - "line": 456, + "line": 522, "column": 5 } } @@ -55668,15 +64161,15 @@ }, { "type": "ClassMethod", - "start": 16203, - "end": 16439, + "start": 17869, + "end": 18105, "loc": { "start": { - "line": 457, + "line": 523, "column": 2 }, "end": { - "line": 469, + "line": 535, "column": 3 } }, @@ -55684,15 +64177,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16203, - "end": 16209, + "start": 17869, + "end": 17875, "loc": { "start": { - "line": 457, + "line": 523, "column": 2 }, "end": { - "line": 457, + "line": 523, "column": 8 }, "identifierName": "onInit" @@ -55708,87 +64201,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 16211, - "end": 16439, + "start": 17877, + "end": 18105, "loc": { "start": { - "line": 457, + "line": 523, "column": 10 }, "end": { - "line": 469, + "line": 535, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 16218, - "end": 16283, + "start": 17884, + "end": 17949, "loc": { "start": { - "line": 458, + "line": 524, "column": 4 }, "end": { - "line": 460, + "line": 526, "column": 5 } }, "test": { "type": "MemberExpression", - "start": 16221, - "end": 16239, + "start": 17887, + "end": 17905, "loc": { "start": { - "line": 458, + "line": 524, "column": 7 }, "end": { - "line": 458, + "line": 524, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 16221, - "end": 16233, + "start": 17887, + "end": 17899, "loc": { "start": { - "line": 458, + "line": 524, "column": 7 }, "end": { - "line": 458, + "line": 524, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 16221, - "end": 16225, + "start": 17887, + "end": 17891, "loc": { "start": { - "line": 458, + "line": 524, "column": 7 }, "end": { - "line": 458, + "line": 524, "column": 11 } } }, "property": { "type": "Identifier", - "start": 16226, - "end": 16233, + "start": 17892, + "end": 17899, "loc": { "start": { - "line": 458, + "line": 524, "column": 12 }, "end": { - "line": 458, + "line": 524, "column": 19 }, "identifierName": "options" @@ -55799,15 +64292,15 @@ }, "property": { "type": "Identifier", - "start": 16234, - "end": 16239, + "start": 17900, + "end": 17905, "loc": { "start": { - "line": 458, + "line": 524, "column": 20 }, "end": { - "line": 458, + "line": 524, "column": 25 }, "identifierName": "debug" @@ -55818,72 +64311,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 16240, - "end": 16283, + "start": 17906, + "end": 17949, "loc": { "start": { - "line": 458, + "line": 524, "column": 26 }, "end": { - "line": 460, + "line": 526, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 16249, - "end": 16276, + "start": 17915, + "end": 17942, "loc": { "start": { - "line": 459, + "line": 525, "column": 6 }, "end": { - "line": 459, + "line": 525, "column": 33 } }, "expression": { "type": "CallExpression", - "start": 16249, - "end": 16275, + "start": 17915, + "end": 17941, "loc": { "start": { - "line": 459, + "line": 525, "column": 6 }, "end": { - "line": 459, + "line": 525, "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 16249, - "end": 16260, + "start": 17915, + "end": 17926, "loc": { "start": { - "line": 459, + "line": 525, "column": 6 }, "end": { - "line": 459, + "line": 525, "column": 17 } }, "object": { "type": "Identifier", - "start": 16249, - "end": 16256, + "start": 17915, + "end": 17922, "loc": { "start": { - "line": 459, + "line": 525, "column": 6 }, "end": { - "line": 459, + "line": 525, "column": 13 }, "identifierName": "console" @@ -55892,15 +64385,15 @@ }, "property": { "type": "Identifier", - "start": 16257, - "end": 16260, + "start": 17923, + "end": 17926, "loc": { "start": { - "line": 459, + "line": 525, "column": 14 }, "end": { - "line": 459, + "line": 525, "column": 17 }, "identifierName": "log" @@ -55912,15 +64405,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 16261, - "end": 16274, + "start": 17927, + "end": 17940, "loc": { "start": { - "line": 459, + "line": 525, "column": 18 }, "end": { - "line": 459, + "line": 525, "column": 31 } }, @@ -55942,15 +64435,15 @@ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", - "start": 16291, - "end": 16326, + "start": 17957, + "end": 17992, "loc": { "start": { - "line": 462, + "line": 528, "column": 4 }, "end": { - "line": 464, + "line": 530, "column": 7 } } @@ -55959,57 +64452,57 @@ }, { "type": "ExpressionStatement", - "start": 16332, - "end": 16351, + "start": 17998, + "end": 18017, "loc": { "start": { - "line": 465, + "line": 531, "column": 4 }, "end": { - "line": 465, + "line": 531, "column": 23 } }, "expression": { "type": "CallExpression", - "start": 16332, - "end": 16350, + "start": 17998, + "end": 18016, "loc": { "start": { - "line": 465, + "line": 531, "column": 4 }, "end": { - "line": 465, + "line": 531, "column": 22 } }, "callee": { "type": "MemberExpression", - "start": 16332, - "end": 16348, + "start": 17998, + "end": 18014, "loc": { "start": { - "line": 465, + "line": 531, "column": 4 }, "end": { - "line": 465, + "line": 531, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 16332, - "end": 16336, + "start": 17998, + "end": 18002, "loc": { "start": { - "line": 465, + "line": 531, "column": 4 }, "end": { - "line": 465, + "line": 531, "column": 8 } }, @@ -56017,15 +64510,15 @@ }, "property": { "type": "Identifier", - "start": 16337, - "end": 16348, + "start": 18003, + "end": 18014, "loc": { "start": { - "line": 465, + "line": 531, "column": 9 }, "end": { - "line": 465, + "line": 531, "column": 20 }, "identifierName": "handleCaret" @@ -56042,15 +64535,15 @@ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", - "start": 16291, - "end": 16326, + "start": 17957, + "end": 17992, "loc": { "start": { - "line": 462, + "line": 528, "column": 4 }, "end": { - "line": 464, + "line": 530, "column": 7 } } @@ -56059,43 +64552,43 @@ }, { "type": "IfStatement", - "start": 16359, - "end": 16434, + "start": 18025, + "end": 18100, "loc": { "start": { - "line": 467, + "line": 533, "column": 4 }, "end": { - "line": 468, + "line": 534, "column": 28 } }, "test": { "type": "BinaryExpression", - "start": 16362, - "end": 16403, + "start": 18028, + "end": 18069, "loc": { "start": { - "line": 467, + "line": 533, "column": 7 }, "end": { - "line": 467, + "line": 533, "column": 48 } }, "left": { "type": "UnaryExpression", - "start": 16362, - "end": 16388, + "start": 18028, + "end": 18054, "loc": { "start": { - "line": 467, + "line": 533, "column": 7 }, "end": { - "line": 467, + "line": 533, "column": 33 } }, @@ -56103,58 +64596,58 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 16369, - "end": 16388, + "start": 18035, + "end": 18054, "loc": { "start": { - "line": 467, + "line": 533, "column": 14 }, "end": { - "line": 467, + "line": 533, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 16369, - "end": 16381, + "start": 18035, + "end": 18047, "loc": { "start": { - "line": 467, + "line": 533, "column": 14 }, "end": { - "line": 467, + "line": 533, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 16369, - "end": 16373, + "start": 18035, + "end": 18039, "loc": { "start": { - "line": 467, + "line": 533, "column": 14 }, "end": { - "line": 467, + "line": 533, "column": 18 } } }, "property": { "type": "Identifier", - "start": 16374, - "end": 16381, + "start": 18040, + "end": 18047, "loc": { "start": { - "line": 467, + "line": 533, "column": 19 }, "end": { - "line": 467, + "line": 533, "column": 26 }, "identifierName": "options" @@ -56165,15 +64658,15 @@ }, "property": { "type": "Identifier", - "start": 16382, - "end": 16388, + "start": 18048, + "end": 18054, "loc": { "start": { - "line": 467, + "line": 533, "column": 27 }, "end": { - "line": 467, + "line": 533, "column": 33 }, "identifierName": "onInit" @@ -56189,15 +64682,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 16393, - "end": 16403, + "start": 18059, + "end": 18069, "loc": { "start": { - "line": 467, + "line": 533, "column": 38 }, "end": { - "line": 467, + "line": 533, "column": 48 } }, @@ -56210,86 +64703,86 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 16412, - "end": 16434, + "start": 18078, + "end": 18100, "loc": { "start": { - "line": 468, + "line": 534, "column": 6 }, "end": { - "line": 468, + "line": 534, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 16412, - "end": 16433, + "start": 18078, + "end": 18099, "loc": { "start": { - "line": 468, + "line": 534, "column": 6 }, "end": { - "line": 468, + "line": 534, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 16412, - "end": 16431, + "start": 18078, + "end": 18097, "loc": { "start": { - "line": 468, + "line": 534, "column": 6 }, "end": { - "line": 468, + "line": 534, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 16412, - "end": 16424, + "start": 18078, + "end": 18090, "loc": { "start": { - "line": 468, + "line": 534, "column": 6 }, "end": { - "line": 468, + "line": 534, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 16412, - "end": 16416, + "start": 18078, + "end": 18082, "loc": { "start": { - "line": 468, + "line": 534, "column": 6 }, "end": { - "line": 468, + "line": 534, "column": 10 } } }, "property": { "type": "Identifier", - "start": 16417, - "end": 16424, + "start": 18083, + "end": 18090, "loc": { "start": { - "line": 468, + "line": 534, "column": 11 }, "end": { - "line": 468, + "line": 534, "column": 18 }, "identifierName": "options" @@ -56300,15 +64793,15 @@ }, "property": { "type": "Identifier", - "start": 16425, - "end": 16431, + "start": 18091, + "end": 18097, "loc": { "start": { - "line": 468, + "line": 534, "column": 19 }, "end": { - "line": 468, + "line": 534, "column": 25 }, "identifierName": "onInit" @@ -56330,15 +64823,15 @@ { "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, + "start": 17745, + "end": 17865, "loc": { "start": { - "line": 454, + "line": 520, "column": 2 }, "end": { - "line": 456, + "line": 522, "column": 5 } } @@ -56348,15 +64841,15 @@ { "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, + "start": 18111, + "end": 18229, "loc": { "start": { - "line": 471, + "line": 537, "column": 2 }, "end": { - "line": 473, + "line": 539, "column": 5 } } @@ -56365,15 +64858,15 @@ }, { "type": "ClassMethod", - "start": 16567, - "end": 16668, + "start": 18233, + "end": 18334, "loc": { "start": { - "line": 474, + "line": 540, "column": 2 }, "end": { - "line": 477, + "line": 543, "column": 3 } }, @@ -56381,15 +64874,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16567, - "end": 16575, + "start": 18233, + "end": 18241, "loc": { "start": { - "line": 474, + "line": 540, "column": 2 }, "end": { - "line": 474, + "line": 540, "column": 10 }, "identifierName": "onRender" @@ -56405,58 +64898,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 16577, - "end": 16668, + "start": 18243, + "end": 18334, "loc": { "start": { - "line": 474, + "line": 540, "column": 12 }, "end": { - "line": 477, + "line": 543, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 16584, - "end": 16663, + "start": 18250, + "end": 18329, "loc": { "start": { - "line": 475, + "line": 541, "column": 4 }, "end": { - "line": 476, + "line": 542, "column": 30 } }, "test": { "type": "BinaryExpression", - "start": 16587, - "end": 16630, + "start": 18253, + "end": 18296, "loc": { "start": { - "line": 475, + "line": 541, "column": 7 }, "end": { - "line": 475, + "line": 541, "column": 50 } }, "left": { "type": "UnaryExpression", - "start": 16587, - "end": 16615, + "start": 18253, + "end": 18281, "loc": { "start": { - "line": 475, + "line": 541, "column": 7 }, "end": { - "line": 475, + "line": 541, "column": 35 } }, @@ -56464,58 +64957,58 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 16594, - "end": 16615, + "start": 18260, + "end": 18281, "loc": { "start": { - "line": 475, + "line": 541, "column": 14 }, "end": { - "line": 475, + "line": 541, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 16594, - "end": 16606, + "start": 18260, + "end": 18272, "loc": { "start": { - "line": 475, + "line": 541, "column": 14 }, "end": { - "line": 475, + "line": 541, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 16594, - "end": 16598, + "start": 18260, + "end": 18264, "loc": { "start": { - "line": 475, + "line": 541, "column": 14 }, "end": { - "line": 475, + "line": 541, "column": 18 } } }, "property": { "type": "Identifier", - "start": 16599, - "end": 16606, + "start": 18265, + "end": 18272, "loc": { "start": { - "line": 475, + "line": 541, "column": 19 }, "end": { - "line": 475, + "line": 541, "column": 26 }, "identifierName": "options" @@ -56526,15 +65019,15 @@ }, "property": { "type": "Identifier", - "start": 16607, - "end": 16615, + "start": 18273, + "end": 18281, "loc": { "start": { - "line": 475, + "line": 541, "column": 27 }, "end": { - "line": 475, + "line": 541, "column": 35 }, "identifierName": "onRender" @@ -56550,15 +65043,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 16620, - "end": 16630, + "start": 18286, + "end": 18296, "loc": { "start": { - "line": 475, + "line": 541, "column": 40 }, "end": { - "line": 475, + "line": 541, "column": 50 } }, @@ -56571,86 +65064,86 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 16639, - "end": 16663, + "start": 18305, + "end": 18329, "loc": { "start": { - "line": 476, + "line": 542, "column": 6 }, "end": { - "line": 476, + "line": 542, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 16639, - "end": 16662, + "start": 18305, + "end": 18328, "loc": { "start": { - "line": 476, + "line": 542, "column": 6 }, "end": { - "line": 476, + "line": 542, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 16639, - "end": 16660, + "start": 18305, + "end": 18326, "loc": { "start": { - "line": 476, + "line": 542, "column": 6 }, "end": { - "line": 476, + "line": 542, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 16639, - "end": 16651, + "start": 18305, + "end": 18317, "loc": { "start": { - "line": 476, + "line": 542, "column": 6 }, "end": { - "line": 476, + "line": 542, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 16639, - "end": 16643, + "start": 18305, + "end": 18309, "loc": { "start": { - "line": 476, + "line": 542, "column": 6 }, "end": { - "line": 476, + "line": 542, "column": 10 } } }, "property": { "type": "Identifier", - "start": 16644, - "end": 16651, + "start": 18310, + "end": 18317, "loc": { "start": { - "line": 476, + "line": 542, "column": 11 }, "end": { - "line": 476, + "line": 542, "column": 18 }, "identifierName": "options" @@ -56661,15 +65154,15 @@ }, "property": { "type": "Identifier", - "start": 16652, - "end": 16660, + "start": 18318, + "end": 18326, "loc": { "start": { - "line": 476, + "line": 542, "column": 19 }, "end": { - "line": 476, + "line": 542, "column": 27 }, "identifierName": "onRender" @@ -56691,15 +65184,15 @@ { "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, + "start": 18111, + "end": 18229, "loc": { "start": { - "line": 471, + "line": 537, "column": 2 }, "end": { - "line": 473, + "line": 539, "column": 5 } } @@ -56709,15 +65202,15 @@ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", - "start": 16674, - "end": 16706, + "start": 18340, + "end": 18372, "loc": { "start": { - "line": 479, + "line": 545, "column": 2 }, "end": { - "line": 481, + "line": 547, "column": 5 } } @@ -56726,15 +65219,15 @@ }, { "type": "ClassProperty", - "start": 16710, - "end": 16828, + "start": 18376, + "end": 18525, "loc": { "start": { - "line": 482, + "line": 548, "column": 2 }, "end": { - "line": 486, + "line": 553, "column": 3 } }, @@ -56742,15 +65235,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16710, - "end": 16724, + "start": 18376, + "end": 18390, "loc": { "start": { - "line": 482, + "line": 548, "column": 2 }, "end": { - "line": 482, + "line": 548, "column": 16 }, "identifierName": "registerModule" @@ -56760,15 +65253,15 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 16727, - "end": 16828, + "start": 18393, + "end": 18525, "loc": { "start": { - "line": 482, + "line": 548, "column": 19 }, "end": { - "line": 486, + "line": 553, "column": 3 } }, @@ -56779,15 +65272,15 @@ "params": [ { "type": "Identifier", - "start": 16728, - "end": 16732, + "start": 18394, + "end": 18398, "loc": { "start": { - "line": 482, + "line": 548, "column": 20 }, "end": { - "line": 482, + "line": 548, "column": 24 }, "identifierName": "name" @@ -56796,15 +65289,15 @@ }, { "type": "Identifier", - "start": 16734, - "end": 16746, + "start": 18400, + "end": 18412, "loc": { "start": { - "line": 482, + "line": 548, "column": 26 }, "end": { - "line": 482, + "line": 548, "column": 38 }, "identifierName": "initCallback" @@ -56814,103 +65307,104 @@ ], "body": { "type": "BlockStatement", - "start": 16751, - "end": 16828, + "start": 18417, + "end": 18525, "loc": { "start": { - "line": 482, + "line": 548, "column": 43 }, "end": { - "line": 486, + "line": 553, "column": 3 } }, "body": [ { - "type": "ExpressionStatement", - "start": 16758, - "end": 16782, + "type": "IfStatement", + "start": 18424, + "end": 18479, "loc": { "start": { - "line": 483, + "line": 549, "column": 4 }, "end": { - "line": 483, - "column": 28 + "line": 550, + "column": 30 } }, - "expression": { - "type": "AssignmentExpression", - "start": 16758, - "end": 16781, + "test": { + "type": "UnaryExpression", + "start": 18427, + "end": 18446, "loc": { "start": { - "line": 483, - "column": 4 + "line": 549, + "column": 7 }, "end": { - "line": 483, - "column": 27 + "line": 549, + "column": 26 } }, - "operator": "=", - "left": { + "operator": "!", + "prefix": true, + "argument": { "type": "MemberExpression", - "start": 16758, - "end": 16776, + "start": 18428, + "end": 18446, "loc": { "start": { - "line": 483, - "column": 4 + "line": 549, + "column": 8 }, "end": { - "line": 483, - "column": 22 + "line": 549, + "column": 26 } }, "object": { "type": "MemberExpression", - "start": 16758, - "end": 16770, + "start": 18428, + "end": 18440, "loc": { "start": { - "line": 483, - "column": 4 + "line": 549, + "column": 8 }, "end": { - "line": 483, - "column": 16 + "line": 549, + "column": 20 } }, "object": { "type": "ThisExpression", - "start": 16758, - "end": 16762, + "start": 18428, + "end": 18432, "loc": { "start": { - "line": 483, - "column": 4 + "line": 549, + "column": 8 }, "end": { - "line": 483, - "column": 8 + "line": 549, + "column": 12 } } }, "property": { "type": "Identifier", - "start": 16763, - "end": 16770, + "start": 18433, + "end": 18440, "loc": { "start": { - "line": 483, - "column": 9 + "line": 549, + "column": 13 }, "end": { - "line": 483, - "column": 16 + "line": 549, + "column": 20 }, "identifierName": "modules" }, @@ -56920,16 +65414,16 @@ }, "property": { "type": "Identifier", - "start": 16771, - "end": 16775, + "start": 18441, + "end": 18445, "loc": { "start": { - "line": 483, - "column": 17 + "line": 549, + "column": 21 }, "end": { - "line": 483, - "column": 21 + "line": 549, + "column": 25 }, "identifierName": "name" }, @@ -56937,63 +65431,179 @@ }, "computed": true }, - "right": { - "type": "ObjectExpression", - "start": 16779, - "end": 16781, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "ExpressionStatement", + "start": 18455, + "end": 18479, + "loc": { + "start": { + "line": 550, + "column": 6 + }, + "end": { + "line": 550, + "column": 30 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 18455, + "end": 18478, "loc": { "start": { - "line": 483, - "column": 25 + "line": 550, + "column": 6 }, "end": { - "line": 483, - "column": 27 + "line": 550, + "column": 29 } }, - "properties": [] + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 18455, + "end": 18473, + "loc": { + "start": { + "line": 550, + "column": 6 + }, + "end": { + "line": 550, + "column": 24 + } + }, + "object": { + "type": "MemberExpression", + "start": 18455, + "end": 18467, + "loc": { + "start": { + "line": 550, + "column": 6 + }, + "end": { + "line": 550, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 18455, + "end": 18459, + "loc": { + "start": { + "line": 550, + "column": 6 + }, + "end": { + "line": 550, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 18460, + "end": 18467, + "loc": { + "start": { + "line": 550, + "column": 11 + }, + "end": { + "line": 550, + "column": 18 + }, + "identifierName": "modules" + }, + "name": "modules" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18468, + "end": 18472, + "loc": { + "start": { + "line": 550, + "column": 19 + }, + "end": { + "line": 550, + "column": 23 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": true + }, + "right": { + "type": "ObjectExpression", + "start": 18476, + "end": 18478, + "loc": { + "start": { + "line": 550, + "column": 27 + }, + "end": { + "line": 550, + "column": 29 + } + }, + "properties": [] + } } - } + }, + "alternate": null }, { "type": "ExpressionStatement", - "start": 16790, - "end": 16823, + "start": 18487, + "end": 18520, "loc": { "start": { - "line": 485, + "line": 552, "column": 4 }, "end": { - "line": 485, + "line": 552, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 16790, - "end": 16822, + "start": 18487, + "end": 18519, "loc": { "start": { - "line": 485, + "line": 552, "column": 4 }, "end": { - "line": 485, + "line": 552, "column": 36 } }, "callee": { "type": "Identifier", - "start": 16790, - "end": 16802, + "start": 18487, + "end": 18499, "loc": { "start": { - "line": 485, + "line": 552, "column": 4 }, "end": { - "line": 485, + "line": 552, "column": 16 }, "identifierName": "initCallback" @@ -57003,58 +65613,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 16803, - "end": 16821, + "start": 18500, + "end": 18518, "loc": { "start": { - "line": 485, + "line": 552, "column": 17 }, "end": { - "line": 485, + "line": 552, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 16803, - "end": 16815, + "start": 18500, + "end": 18512, "loc": { "start": { - "line": 485, + "line": 552, "column": 17 }, "end": { - "line": 485, + "line": 552, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 16803, - "end": 16807, + "start": 18500, + "end": 18504, "loc": { "start": { - "line": 485, + "line": 552, "column": 17 }, "end": { - "line": 485, + "line": 552, "column": 21 } } }, "property": { "type": "Identifier", - "start": 16808, - "end": 16815, + "start": 18505, + "end": 18512, "loc": { "start": { - "line": 485, + "line": 552, "column": 22 }, "end": { - "line": 485, + "line": 552, "column": 29 }, "identifierName": "modules" @@ -57065,15 +65675,15 @@ }, "property": { "type": "Identifier", - "start": 16816, - "end": 16820, + "start": 18513, + "end": 18517, "loc": { "start": { - "line": 485, + "line": 552, "column": 30 }, "end": { - "line": 485, + "line": 552, "column": 34 }, "identifierName": "name" @@ -57095,15 +65705,1353 @@ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", - "start": 16674, - "end": 16706, + "start": 18340, + "end": 18372, "loc": { "start": { - "line": 479, + "line": 545, "column": 2 }, "end": { - "line": 481, + "line": 547, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Load modules\r\n ", + "start": 18531, + "end": 18560, + "loc": { + "start": { + "line": 555, + "column": 2 + }, + "end": { + "line": 557, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 18564, + "end": 19022, + "loc": { + "start": { + "line": 558, + "column": 2 + }, + "end": { + "line": 573, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 18564, + "end": 18575, + "loc": { + "start": { + "line": 558, + "column": 2 + }, + "end": { + "line": 558, + "column": 13 + }, + "identifierName": "loadModules" + }, + "name": "loadModules", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 18577, + "end": 19022, + "loc": { + "start": { + "line": 558, + "column": 15 + }, + "end": { + "line": 573, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 18584, + "end": 19017, + "loc": { + "start": { + "line": 559, + "column": 4 + }, + "end": { + "line": 572, + "column": 5 + } + }, + "test": { + "type": "CallExpression", + "start": 18587, + "end": 18622, + "loc": { + "start": { + "line": 559, + "column": 7 + }, + "end": { + "line": 559, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 18587, + "end": 18600, + "loc": { + "start": { + "line": 559, + "column": 7 + }, + "end": { + "line": 559, + "column": 20 + } + }, + "object": { + "type": "Identifier", + "start": 18587, + "end": 18592, + "loc": { + "start": { + "line": 559, + "column": 7 + }, + "end": { + "line": 559, + "column": 12 + }, + "identifierName": "Array" + }, + "name": "Array" + }, + "property": { + "type": "Identifier", + "start": 18593, + "end": 18600, + "loc": { + "start": { + "line": 559, + "column": 13 + }, + "end": { + "line": 559, + "column": 20 + }, + "identifierName": "isArray" + }, + "name": "isArray" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 18601, + "end": 18621, + "loc": { + "start": { + "line": 559, + "column": 21 + }, + "end": { + "line": 559, + "column": 41 + } + }, + "object": { + "type": "MemberExpression", + "start": 18601, + "end": 18613, + "loc": { + "start": { + "line": 559, + "column": 21 + }, + "end": { + "line": 559, + "column": 33 + } + }, + "object": { + "type": "ThisExpression", + "start": 18601, + "end": 18605, + "loc": { + "start": { + "line": 559, + "column": 21 + }, + "end": { + "line": 559, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "start": 18606, + "end": 18613, + "loc": { + "start": { + "line": 559, + "column": 26 + }, + "end": { + "line": 559, + "column": 33 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18614, + "end": 18621, + "loc": { + "start": { + "line": 559, + "column": 34 + }, + "end": { + "line": 559, + "column": 41 + }, + "identifierName": "modules" + }, + "name": "modules" + }, + "computed": false + } + ] + }, + "consequent": { + "type": "BlockStatement", + "start": 18623, + "end": 19017, + "loc": { + "start": { + "line": 559, + "column": 43 + }, + "end": { + "line": 572, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 18632, + "end": 19010, + "loc": { + "start": { + "line": 560, + "column": 6 + }, + "end": { + "line": 571, + "column": 9 + } + }, + "expression": { + "type": "CallExpression", + "start": 18632, + "end": 19009, + "loc": { + "start": { + "line": 560, + "column": 6 + }, + "end": { + "line": 571, + "column": 8 + } + }, + "callee": { + "type": "MemberExpression", + "start": 18632, + "end": 18660, + "loc": { + "start": { + "line": 560, + "column": 6 + }, + "end": { + "line": 560, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 18632, + "end": 18652, + "loc": { + "start": { + "line": 560, + "column": 6 + }, + "end": { + "line": 560, + "column": 26 + } + }, + "object": { + "type": "MemberExpression", + "start": 18632, + "end": 18644, + "loc": { + "start": { + "line": 560, + "column": 6 + }, + "end": { + "line": 560, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 18632, + "end": 18636, + "loc": { + "start": { + "line": 560, + "column": 6 + }, + "end": { + "line": 560, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 18637, + "end": 18644, + "loc": { + "start": { + "line": 560, + "column": 11 + }, + "end": { + "line": 560, + "column": 18 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18645, + "end": 18652, + "loc": { + "start": { + "line": 560, + "column": 19 + }, + "end": { + "line": 560, + "column": 26 + }, + "identifierName": "modules" + }, + "name": "modules" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18653, + "end": 18660, + "loc": { + "start": { + "line": 560, + "column": 27 + }, + "end": { + "line": 560, + "column": 34 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 18661, + "end": 19008, + "loc": { + "start": { + "line": 560, + "column": 35 + }, + "end": { + "line": 571, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 18661, + "end": 18667, + "loc": { + "start": { + "line": 560, + "column": 35 + }, + "end": { + "line": 560, + "column": 41 + }, + "identifierName": "Module" + }, + "name": "Module" + } + ], + "body": { + "type": "BlockStatement", + "start": 18671, + "end": 19008, + "loc": { + "start": { + "line": 560, + "column": 45 + }, + "end": { + "line": 571, + "column": 7 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 18682, + "end": 18708, + "loc": { + "start": { + "line": 561, + "column": 8 + }, + "end": { + "line": 561, + "column": 34 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 18686, + "end": 18707, + "loc": { + "start": { + "line": 561, + "column": 12 + }, + "end": { + "line": 561, + "column": 33 + } + }, + "id": { + "type": "Identifier", + "start": 18686, + "end": 18692, + "loc": { + "start": { + "line": 561, + "column": 12 + }, + "end": { + "line": 561, + "column": 18 + }, + "identifierName": "module" + }, + "name": "module" + }, + "init": { + "type": "NewExpression", + "start": 18695, + "end": 18707, + "loc": { + "start": { + "line": 561, + "column": 21 + }, + "end": { + "line": 561, + "column": 33 + } + }, + "callee": { + "type": "Identifier", + "start": 18699, + "end": 18705, + "loc": { + "start": { + "line": 561, + "column": 25 + }, + "end": { + "line": 561, + "column": 31 + }, + "identifierName": "Module" + }, + "name": "Module" + }, + "arguments": [] + } + } + ], + "kind": "let", + "trailingComments": [ + { + "type": "CommentBlock", + "value": " istanbul ignore next ", + "start": 18720, + "end": 18746, + "loc": { + "start": { + "line": 563, + "column": 8 + }, + "end": { + "line": 563, + "column": 34 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 18756, + "end": 18969, + "loc": { + "start": { + "line": 564, + "column": 8 + }, + "end": { + "line": 568, + "column": 9 + } + }, + "test": { + "type": "LogicalExpression", + "start": 18759, + "end": 18824, + "loc": { + "start": { + "line": 564, + "column": 11 + }, + "end": { + "line": 564, + "column": 76 + } + }, + "left": { + "type": "MemberExpression", + "start": 18759, + "end": 18782, + "loc": { + "start": { + "line": 564, + "column": 11 + }, + "end": { + "line": 564, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 18759, + "end": 18777, + "loc": { + "start": { + "line": 564, + "column": 11 + }, + "end": { + "line": 564, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 18759, + "end": 18765, + "loc": { + "start": { + "line": 564, + "column": 11 + }, + "end": { + "line": 564, + "column": 17 + }, + "identifierName": "module" + }, + "name": "module", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 18766, + "end": 18777, + "loc": { + "start": { + "line": 564, + "column": 18 + }, + "end": { + "line": 564, + "column": 29 + }, + "identifierName": "constructor" + }, + "name": "constructor" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 18778, + "end": 18782, + "loc": { + "start": { + "line": 564, + "column": 30 + }, + "end": { + "line": 564, + "column": 34 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": false, + "leadingComments": null + }, + "operator": "&&", + "right": { + "type": "BinaryExpression", + "start": 18786, + "end": 18824, + "loc": { + "start": { + "line": 564, + "column": 38 + }, + "end": { + "line": 564, + "column": 76 + } + }, + "left": { + "type": "MemberExpression", + "start": 18786, + "end": 18809, + "loc": { + "start": { + "line": 564, + "column": 38 + }, + "end": { + "line": 564, + "column": 61 + } + }, + "object": { + "type": "MemberExpression", + "start": 18786, + "end": 18804, + "loc": { + "start": { + "line": 564, + "column": 38 + }, + "end": { + "line": 564, + "column": 56 + } + }, + "object": { + "type": "Identifier", + "start": 18786, + "end": 18792, + "loc": { + "start": { + "line": 564, + "column": 38 + }, + "end": { + "line": 564, + "column": 44 + }, + "identifierName": "module" + }, + "name": "module" + }, + "property": { + "type": "Identifier", + "start": 18793, + "end": 18804, + "loc": { + "start": { + "line": 564, + "column": 45 + }, + "end": { + "line": 564, + "column": 56 + }, + "identifierName": "constructor" + }, + "name": "constructor" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18805, + "end": 18809, + "loc": { + "start": { + "line": 564, + "column": 57 + }, + "end": { + "line": 564, + "column": 61 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": false + }, + "operator": "!==", + "right": { + "type": "StringLiteral", + "start": 18814, + "end": 18824, + "loc": { + "start": { + "line": 564, + "column": 66 + }, + "end": { + "line": 564, + "column": 76 + } + }, + "extra": { + "rawValue": "Function", + "raw": "\"Function\"" + }, + "value": "Function" + } + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 18825, + "end": 18969, + "loc": { + "start": { + "line": 564, + "column": 77 + }, + "end": { + "line": 568, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 18838, + "end": 18958, + "loc": { + "start": { + "line": 565, + "column": 10 + }, + "end": { + "line": 567, + "column": 12 + } + }, + "expression": { + "type": "CallExpression", + "start": 18838, + "end": 18957, + "loc": { + "start": { + "line": 565, + "column": 10 + }, + "end": { + "line": 567, + "column": 11 + } + }, + "callee": { + "type": "MemberExpression", + "start": 18838, + "end": 18868, + "loc": { + "start": { + "line": 565, + "column": 10 + }, + "end": { + "line": 565, + "column": 40 + } + }, + "object": { + "type": "MemberExpression", + "start": 18838, + "end": 18864, + "loc": { + "start": { + "line": 565, + "column": 10 + }, + "end": { + "line": 565, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 18838, + "end": 18854, + "loc": { + "start": { + "line": 565, + "column": 10 + }, + "end": { + "line": 565, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 18838, + "end": 18842, + "loc": { + "start": { + "line": 565, + "column": 10 + }, + "end": { + "line": 565, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 18843, + "end": 18854, + "loc": { + "start": { + "line": 565, + "column": 15 + }, + "end": { + "line": 565, + "column": 26 + }, + "identifierName": "keyboardDOM" + }, + "name": "keyboardDOM" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18855, + "end": 18864, + "loc": { + "start": { + "line": 565, + "column": 27 + }, + "end": { + "line": 565, + "column": 36 + }, + "identifierName": "classList" + }, + "name": "classList" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18865, + "end": 18868, + "loc": { + "start": { + "line": 565, + "column": 37 + }, + "end": { + "line": 565, + "column": 40 + }, + "identifierName": "add" + }, + "name": "add" + }, + "computed": false + }, + "arguments": [ + { + "type": "TemplateLiteral", + "start": 18883, + "end": 18944, + "loc": { + "start": { + "line": 566, + "column": 12 + }, + "end": { + "line": 566, + "column": 73 + } + }, + "expressions": [ + { + "type": "CallExpression", + "start": 18893, + "end": 18942, + "loc": { + "start": { + "line": 566, + "column": 22 + }, + "end": { + "line": 566, + "column": 71 + } + }, + "callee": { + "type": "MemberExpression", + "start": 18893, + "end": 18917, + "loc": { + "start": { + "line": 566, + "column": 22 + }, + "end": { + "line": 566, + "column": 46 + } + }, + "object": { + "type": "MemberExpression", + "start": 18893, + "end": 18907, + "loc": { + "start": { + "line": 566, + "column": 22 + }, + "end": { + "line": 566, + "column": 36 + } + }, + "object": { + "type": "ThisExpression", + "start": 18893, + "end": 18897, + "loc": { + "start": { + "line": 566, + "column": 22 + }, + "end": { + "line": 566, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 18898, + "end": 18907, + "loc": { + "start": { + "line": 566, + "column": 27 + }, + "end": { + "line": 566, + "column": 36 + }, + "identifierName": "utilities" + }, + "name": "utilities" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18908, + "end": 18917, + "loc": { + "start": { + "line": 566, + "column": 37 + }, + "end": { + "line": 566, + "column": 46 + }, + "identifierName": "camelCase" + }, + "name": "camelCase" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 18918, + "end": 18941, + "loc": { + "start": { + "line": 566, + "column": 47 + }, + "end": { + "line": 566, + "column": 70 + } + }, + "object": { + "type": "MemberExpression", + "start": 18918, + "end": 18936, + "loc": { + "start": { + "line": 566, + "column": 47 + }, + "end": { + "line": 566, + "column": 65 + } + }, + "object": { + "type": "Identifier", + "start": 18918, + "end": 18924, + "loc": { + "start": { + "line": 566, + "column": 47 + }, + "end": { + "line": 566, + "column": 53 + }, + "identifierName": "module" + }, + "name": "module" + }, + "property": { + "type": "Identifier", + "start": 18925, + "end": 18936, + "loc": { + "start": { + "line": 566, + "column": 54 + }, + "end": { + "line": 566, + "column": 65 + }, + "identifierName": "constructor" + }, + "name": "constructor" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 18937, + "end": 18941, + "loc": { + "start": { + "line": 566, + "column": 66 + }, + "end": { + "line": 566, + "column": 70 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": false + } + ] + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 18884, + "end": 18891, + "loc": { + "start": { + "line": 566, + "column": 13 + }, + "end": { + "line": 566, + "column": 20 + } + }, + "value": { + "raw": "module-", + "cooked": "module-" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 18943, + "end": 18943, + "loc": { + "start": { + "line": 566, + "column": 72 + }, + "end": { + "line": 566, + "column": 72 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + ] + } + } + ], + "directives": [] + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentBlock", + "value": " istanbul ignore next ", + "start": 18720, + "end": 18746, + "loc": { + "start": { + "line": 563, + "column": 8 + }, + "end": { + "line": 563, + "column": 34 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 18981, + "end": 18999, + "loc": { + "start": { + "line": 570, + "column": 8 + }, + "end": { + "line": 570, + "column": 26 + } + }, + "expression": { + "type": "CallExpression", + "start": 18981, + "end": 18998, + "loc": { + "start": { + "line": 570, + "column": 8 + }, + "end": { + "line": 570, + "column": 25 + } + }, + "callee": { + "type": "MemberExpression", + "start": 18981, + "end": 18992, + "loc": { + "start": { + "line": 570, + "column": 8 + }, + "end": { + "line": 570, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 18981, + "end": 18987, + "loc": { + "start": { + "line": 570, + "column": 8 + }, + "end": { + "line": 570, + "column": 14 + }, + "identifierName": "module" + }, + "name": "module" + }, + "property": { + "type": "Identifier", + "start": 18988, + "end": 18992, + "loc": { + "start": { + "line": 570, + "column": 15 + }, + "end": { + "line": 570, + "column": 19 + }, + "identifierName": "init" + }, + "name": "init" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 18993, + "end": 18997, + "loc": { + "start": { + "line": 570, + "column": 20 + }, + "end": { + "line": 570, + "column": 24 + } + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Load modules\r\n ", + "start": 18531, + "end": 18560, + "loc": { + "start": { + "line": 555, + "column": 2 + }, + "end": { + "line": 557, "column": 5 } } @@ -57113,15 +67061,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", - "start": 16834, - "end": 16866, + "start": 19028, + "end": 19060, "loc": { "start": { - "line": 488, + "line": 575, "column": 2 }, "end": { - "line": 490, + "line": 577, "column": 5 } } @@ -57130,15 +67078,15 @@ }, { "type": "ClassProperty", - "start": 16870, - "end": 17002, + "start": 19064, + "end": 19196, "loc": { "start": { - "line": 491, + "line": 578, "column": 2 }, "end": { - "line": 496, + "line": 583, "column": 3 } }, @@ -57146,15 +67094,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16870, - "end": 16883, + "start": 19064, + "end": 19077, "loc": { "start": { - "line": 491, + "line": 578, "column": 2 }, "end": { - "line": 491, + "line": 578, "column": 15 }, "identifierName": "getModuleProp" @@ -57164,15 +67112,15 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 16886, - "end": 17002, + "start": 19080, + "end": 19196, "loc": { "start": { - "line": 491, + "line": 578, "column": 18 }, "end": { - "line": 496, + "line": 583, "column": 3 } }, @@ -57183,15 +67131,15 @@ "params": [ { "type": "Identifier", - "start": 16887, - "end": 16891, + "start": 19081, + "end": 19085, "loc": { "start": { - "line": 491, + "line": 578, "column": 19 }, "end": { - "line": 491, + "line": 578, "column": 23 }, "identifierName": "name" @@ -57200,15 +67148,15 @@ }, { "type": "Identifier", - "start": 16893, - "end": 16897, + "start": 19087, + "end": 19091, "loc": { "start": { - "line": 491, + "line": 578, "column": 25 }, "end": { - "line": 491, + "line": 578, "column": 29 }, "identifierName": "prop" @@ -57218,44 +67166,44 @@ ], "body": { "type": "BlockStatement", - "start": 16902, - "end": 17002, + "start": 19096, + "end": 19196, "loc": { "start": { - "line": 491, + "line": 578, "column": 34 }, "end": { - "line": 496, + "line": 583, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 16909, - "end": 16953, + "start": 19103, + "end": 19147, "loc": { "start": { - "line": 492, + "line": 579, "column": 4 }, "end": { - "line": 493, + "line": 580, "column": 19 } }, "test": { "type": "UnaryExpression", - "start": 16912, - "end": 16931, + "start": 19106, + "end": 19125, "loc": { "start": { - "line": 492, + "line": 579, "column": 7 }, "end": { - "line": 492, + "line": 579, "column": 26 } }, @@ -57263,58 +67211,58 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 16913, - "end": 16931, + "start": 19107, + "end": 19125, "loc": { "start": { - "line": 492, + "line": 579, "column": 8 }, "end": { - "line": 492, + "line": 579, "column": 26 } }, "object": { "type": "MemberExpression", - "start": 16913, - "end": 16925, + "start": 19107, + "end": 19119, "loc": { "start": { - "line": 492, + "line": 579, "column": 8 }, "end": { - "line": 492, + "line": 579, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 16913, - "end": 16917, + "start": 19107, + "end": 19111, "loc": { "start": { - "line": 492, + "line": 579, "column": 8 }, "end": { - "line": 492, + "line": 579, "column": 12 } } }, "property": { "type": "Identifier", - "start": 16918, - "end": 16925, + "start": 19112, + "end": 19119, "loc": { "start": { - "line": 492, + "line": 579, "column": 13 }, "end": { - "line": 492, + "line": 579, "column": 20 }, "identifierName": "modules" @@ -57325,15 +67273,15 @@ }, "property": { "type": "Identifier", - "start": 16926, - "end": 16930, + "start": 19120, + "end": 19124, "loc": { "start": { - "line": 492, + "line": 579, "column": 21 }, "end": { - "line": 492, + "line": 579, "column": 25 }, "identifierName": "name" @@ -57348,29 +67296,29 @@ }, "consequent": { "type": "ReturnStatement", - "start": 16940, - "end": 16953, + "start": 19134, + "end": 19147, "loc": { "start": { - "line": 493, + "line": 580, "column": 6 }, "end": { - "line": 493, + "line": 580, "column": 19 } }, "argument": { "type": "BooleanLiteral", - "start": 16947, - "end": 16952, + "start": 19141, + "end": 19146, "loc": { "start": { - "line": 493, + "line": 580, "column": 13 }, "end": { - "line": 493, + "line": 580, "column": 18 } }, @@ -57381,86 +67329,86 @@ }, { "type": "ReturnStatement", - "start": 16965, - "end": 16997, + "start": 19159, + "end": 19191, "loc": { "start": { - "line": 495, + "line": 582, "column": 4 }, "end": { - "line": 495, + "line": 582, "column": 36 } }, "argument": { "type": "MemberExpression", - "start": 16972, - "end": 16996, + "start": 19166, + "end": 19190, "loc": { "start": { - "line": 495, + "line": 582, "column": 11 }, "end": { - "line": 495, + "line": 582, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 16972, - "end": 16990, + "start": 19166, + "end": 19184, "loc": { "start": { - "line": 495, + "line": 582, "column": 11 }, "end": { - "line": 495, + "line": 582, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 16972, - "end": 16984, + "start": 19166, + "end": 19178, "loc": { "start": { - "line": 495, + "line": 582, "column": 11 }, "end": { - "line": 495, + "line": 582, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 16972, - "end": 16976, + "start": 19166, + "end": 19170, "loc": { "start": { - "line": 495, + "line": 582, "column": 11 }, "end": { - "line": 495, + "line": 582, "column": 15 } } }, "property": { "type": "Identifier", - "start": 16977, - "end": 16984, + "start": 19171, + "end": 19178, "loc": { "start": { - "line": 495, + "line": 582, "column": 16 }, "end": { - "line": 495, + "line": 582, "column": 23 }, "identifierName": "modules" @@ -57471,15 +67419,15 @@ }, "property": { "type": "Identifier", - "start": 16985, - "end": 16989, + "start": 19179, + "end": 19183, "loc": { "start": { - "line": 495, + "line": 582, "column": 24 }, "end": { - "line": 495, + "line": 582, "column": 28 }, "identifierName": "name" @@ -57490,15 +67438,15 @@ }, "property": { "type": "Identifier", - "start": 16991, - "end": 16995, + "start": 19185, + "end": 19189, "loc": { "start": { - "line": 495, + "line": 582, "column": 30 }, "end": { - "line": 495, + "line": 582, "column": 34 }, "identifierName": "prop" @@ -57518,15 +67466,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", - "start": 16834, - "end": 16866, + "start": 19028, + "end": 19060, "loc": { "start": { - "line": 488, + "line": 575, "column": 2 }, "end": { - "line": 490, + "line": 577, "column": 5 } } @@ -57536,15 +67484,15 @@ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", - "start": 17008, - "end": 17039, + "start": 19202, + "end": 19233, "loc": { "start": { - "line": 498, + "line": 585, "column": 2 }, "end": { - "line": 500, + "line": 587, "column": 5 } } @@ -57553,15 +67501,15 @@ }, { "type": "ClassProperty", - "start": 17043, - "end": 17111, + "start": 19237, + "end": 19305, "loc": { "start": { - "line": 501, + "line": 588, "column": 2 }, "end": { - "line": 503, + "line": 590, "column": 3 } }, @@ -57569,15 +67517,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 17043, - "end": 17057, + "start": 19237, + "end": 19251, "loc": { "start": { - "line": 501, + "line": 588, "column": 2 }, "end": { - "line": 501, + "line": 588, "column": 16 }, "identifierName": "getModulesList" @@ -57587,15 +67535,15 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 17060, - "end": 17111, + "start": 19254, + "end": 19305, "loc": { "start": { - "line": 501, + "line": 588, "column": 19 }, "end": { - "line": 503, + "line": 590, "column": 3 } }, @@ -57606,72 +67554,72 @@ "params": [], "body": { "type": "BlockStatement", - "start": 17066, - "end": 17111, + "start": 19260, + "end": 19305, "loc": { "start": { - "line": 501, + "line": 588, "column": 25 }, "end": { - "line": 503, + "line": 590, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 17073, - "end": 17106, + "start": 19267, + "end": 19300, "loc": { "start": { - "line": 502, + "line": 589, "column": 4 }, "end": { - "line": 502, + "line": 589, "column": 37 } }, "argument": { "type": "CallExpression", - "start": 17080, - "end": 17105, + "start": 19274, + "end": 19299, "loc": { "start": { - "line": 502, + "line": 589, "column": 11 }, "end": { - "line": 502, + "line": 589, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 17080, - "end": 17091, + "start": 19274, + "end": 19285, "loc": { "start": { - "line": 502, + "line": 589, "column": 11 }, "end": { - "line": 502, + "line": 589, "column": 22 } }, "object": { "type": "Identifier", - "start": 17080, - "end": 17086, + "start": 19274, + "end": 19280, "loc": { "start": { - "line": 502, + "line": 589, "column": 11 }, "end": { - "line": 502, + "line": 589, "column": 17 }, "identifierName": "Object" @@ -57680,15 +67628,15 @@ }, "property": { "type": "Identifier", - "start": 17087, - "end": 17091, + "start": 19281, + "end": 19285, "loc": { "start": { - "line": 502, + "line": 589, "column": 18 }, "end": { - "line": 502, + "line": 589, "column": 22 }, "identifierName": "keys" @@ -57700,44 +67648,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 17092, - "end": 17104, + "start": 19286, + "end": 19298, "loc": { "start": { - "line": 502, + "line": 589, "column": 23 }, "end": { - "line": 502, + "line": 589, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 17092, - "end": 17096, + "start": 19286, + "end": 19290, "loc": { "start": { - "line": 502, + "line": 589, "column": 23 }, "end": { - "line": 502, + "line": 589, "column": 27 } } }, "property": { "type": "Identifier", - "start": 17097, - "end": 17104, + "start": 19291, + "end": 19298, "loc": { "start": { - "line": 502, + "line": 589, "column": 28 }, "end": { - "line": 502, + "line": 589, "column": 35 }, "identifierName": "modules" @@ -57759,15 +67707,15 @@ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", - "start": 17008, - "end": 17039, + "start": 19202, + "end": 19233, "loc": { "start": { - "line": 498, + "line": 585, "column": 2 }, "end": { - "line": 500, + "line": 587, "column": 5 } } @@ -57777,15 +67725,15 @@ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", - "start": 17117, - "end": 17173, + "start": 19311, + "end": 19367, "loc": { "start": { - "line": 505, + "line": 592, "column": 2 }, "end": { - "line": 507, + "line": 594, "column": 5 } } @@ -57794,15 +67742,15 @@ }, { "type": "ClassMethod", - "start": 17177, - "end": 21299, + "start": 19371, + "end": 23685, "loc": { "start": { - "line": 508, + "line": 595, "column": 2 }, "end": { - "line": 644, + "line": 737, "column": 3 } }, @@ -57810,15 +67758,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 17177, - "end": 17183, + "start": 19371, + "end": 19377, "loc": { "start": { - "line": 508, + "line": 595, "column": 2 }, "end": { - "line": 508, + "line": 595, "column": 8 }, "identifierName": "render" @@ -57834,72 +67782,72 @@ "params": [], "body": { "type": "BlockStatement", - "start": 17185, - "end": 21299, + "start": 19379, + "end": 23685, "loc": { "start": { - "line": 508, + "line": 595, "column": 10 }, "end": { - "line": 644, + "line": 737, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 17233, - "end": 17246, + "start": 19427, + "end": 19440, "loc": { "start": { - "line": 512, + "line": 599, "column": 4 }, "end": { - "line": 512, + "line": 599, "column": 17 } }, "expression": { "type": "CallExpression", - "start": 17233, - "end": 17245, + "start": 19427, + "end": 19439, "loc": { "start": { - "line": 512, + "line": 599, "column": 4 }, "end": { - "line": 512, + "line": 599, "column": 16 } }, "callee": { "type": "MemberExpression", - "start": 17233, - "end": 17243, + "start": 19427, + "end": 19437, "loc": { "start": { - "line": 512, + "line": 599, "column": 4 }, "end": { - "line": 512, + "line": 599, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 17233, - "end": 17237, + "start": 19427, + "end": 19431, "loc": { "start": { - "line": 512, + "line": 599, "column": 4 }, "end": { - "line": 512, + "line": 599, "column": 8 } }, @@ -57907,15 +67855,15 @@ }, "property": { "type": "Identifier", - "start": 17238, - "end": 17243, + "start": 19432, + "end": 19437, "loc": { "start": { - "line": 512, + "line": 599, "column": 9 }, "end": { - "line": 512, + "line": 599, "column": 14 }, "identifierName": "clear" @@ -57932,15 +67880,15 @@ { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", - "start": 17192, - "end": 17227, + "start": 19386, + "end": 19421, "loc": { "start": { - "line": 509, + "line": 596, "column": 4 }, "end": { - "line": 511, + "line": 598, "column": 7 } } @@ -57949,44 +67897,44 @@ }, { "type": "VariableDeclaration", - "start": 17254, - "end": 17354, + "start": 19448, + "end": 19548, "loc": { "start": { - "line": 514, + "line": 601, "column": 4 }, "end": { - "line": 514, + "line": 601, "column": 104 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17258, - "end": 17353, + "start": 19452, + "end": 19547, "loc": { "start": { - "line": 514, + "line": 601, "column": 8 }, "end": { - "line": 514, + "line": 601, "column": 103 } }, "id": { "type": "Identifier", - "start": 17258, - "end": 17269, + "start": 19452, + "end": 19463, "loc": { "start": { - "line": 514, + "line": 601, "column": 8 }, "end": { - "line": 514, + "line": 601, "column": 19 }, "identifierName": "layoutClass" @@ -57995,72 +67943,72 @@ }, "init": { "type": "ConditionalExpression", - "start": 17272, - "end": 17353, + "start": 19466, + "end": 19547, "loc": { "start": { - "line": 514, + "line": 601, "column": 22 }, "end": { - "line": 514, + "line": 601, "column": 103 } }, "test": { "type": "MemberExpression", - "start": 17272, - "end": 17291, + "start": 19466, + "end": 19485, "loc": { "start": { - "line": 514, + "line": 601, "column": 22 }, "end": { - "line": 514, + "line": 601, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 17272, - "end": 17284, + "start": 19466, + "end": 19478, "loc": { "start": { - "line": 514, + "line": 601, "column": 22 }, "end": { - "line": 514, + "line": 601, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 17272, - "end": 17276, + "start": 19466, + "end": 19470, "loc": { "start": { - "line": 514, + "line": 601, "column": 22 }, "end": { - "line": 514, + "line": 601, "column": 26 } } }, "property": { "type": "Identifier", - "start": 17277, - "end": 17284, + "start": 19471, + "end": 19478, "loc": { "start": { - "line": 514, + "line": 601, "column": 27 }, "end": { - "line": 514, + "line": 601, "column": 34 }, "identifierName": "options" @@ -58071,15 +68019,15 @@ }, "property": { "type": "Identifier", - "start": 17285, - "end": 17291, + "start": 19479, + "end": 19485, "loc": { "start": { - "line": 514, + "line": 601, "column": 35 }, "end": { - "line": 514, + "line": 601, "column": 41 }, "identifierName": "layout" @@ -58090,15 +68038,15 @@ }, "consequent": { "type": "StringLiteral", - "start": 17294, - "end": 17312, + "start": 19488, + "end": 19506, "loc": { "start": { - "line": 514, + "line": 601, "column": 44 }, "end": { - "line": 514, + "line": 601, "column": 62 } }, @@ -58110,73 +68058,73 @@ }, "alternate": { "type": "TemplateLiteral", - "start": 17315, - "end": 17353, + "start": 19509, + "end": 19547, "loc": { "start": { - "line": 514, + "line": 601, "column": 65 }, "end": { - "line": 514, + "line": 601, "column": 103 } }, "expressions": [ { "type": "MemberExpression", - "start": 17328, - "end": 17351, + "start": 19522, + "end": 19545, "loc": { "start": { - "line": 514, + "line": 601, "column": 78 }, "end": { - "line": 514, + "line": 601, "column": 101 } }, "object": { "type": "MemberExpression", - "start": 17328, - "end": 17340, + "start": 19522, + "end": 19534, "loc": { "start": { - "line": 514, + "line": 601, "column": 78 }, "end": { - "line": 514, + "line": 601, "column": 90 } }, "object": { "type": "ThisExpression", - "start": 17328, - "end": 17332, + "start": 19522, + "end": 19526, "loc": { "start": { - "line": 514, + "line": 601, "column": 78 }, "end": { - "line": 514, + "line": 601, "column": 82 } } }, "property": { "type": "Identifier", - "start": 17333, - "end": 17340, + "start": 19527, + "end": 19534, "loc": { "start": { - "line": 514, + "line": 601, "column": 83 }, "end": { - "line": 514, + "line": 601, "column": 90 }, "identifierName": "options" @@ -58187,15 +68135,15 @@ }, "property": { "type": "Identifier", - "start": 17341, - "end": 17351, + "start": 19535, + "end": 19545, "loc": { "start": { - "line": 514, + "line": 601, "column": 91 }, "end": { - "line": 514, + "line": 601, "column": 101 }, "identifierName": "layoutName" @@ -58208,15 +68156,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 17316, - "end": 17326, + "start": 19510, + "end": 19520, "loc": { "start": { - "line": 514, + "line": 601, "column": 66 }, "end": { - "line": 514, + "line": 601, "column": 76 } }, @@ -58228,15 +68176,15 @@ }, { "type": "TemplateElement", - "start": 17352, - "end": 17352, + "start": 19546, + "end": 19546, "loc": { "start": { - "line": 514, + "line": 601, "column": 102 }, "end": { - "line": 514, + "line": 601, "column": 102 } }, @@ -58255,44 +68203,44 @@ }, { "type": "VariableDeclaration", - "start": 17360, - "end": 17430, + "start": 19554, + "end": 19624, "loc": { "start": { - "line": 515, + "line": 602, "column": 4 }, "end": { - "line": 515, + "line": 602, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17364, - "end": 17429, + "start": 19558, + "end": 19623, "loc": { "start": { - "line": 515, + "line": 602, "column": 8 }, "end": { - "line": 515, + "line": 602, "column": 73 } }, "id": { "type": "Identifier", - "start": 17364, - "end": 17370, + "start": 19558, + "end": 19564, "loc": { "start": { - "line": 515, + "line": 602, "column": 8 }, "end": { - "line": 515, + "line": 602, "column": 14 }, "identifierName": "layout" @@ -58301,72 +68249,72 @@ }, "init": { "type": "LogicalExpression", - "start": 17373, - "end": 17429, + "start": 19567, + "end": 19623, "loc": { "start": { - "line": 515, + "line": 602, "column": 17 }, "end": { - "line": 515, + "line": 602, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 17373, - "end": 17392, + "start": 19567, + "end": 19586, "loc": { "start": { - "line": 515, + "line": 602, "column": 17 }, "end": { - "line": 515, + "line": 602, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 17373, - "end": 17385, + "start": 19567, + "end": 19579, "loc": { "start": { - "line": 515, + "line": 602, "column": 17 }, "end": { - "line": 515, + "line": 602, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 17373, - "end": 17377, + "start": 19567, + "end": 19571, "loc": { "start": { - "line": 515, + "line": 602, "column": 17 }, "end": { - "line": 515, + "line": 602, "column": 21 } } }, "property": { "type": "Identifier", - "start": 17378, - "end": 17385, + "start": 19572, + "end": 19579, "loc": { "start": { - "line": 515, + "line": 602, "column": 22 }, "end": { - "line": 515, + "line": 602, "column": 29 }, "identifierName": "options" @@ -58377,15 +68325,15 @@ }, "property": { "type": "Identifier", - "start": 17386, - "end": 17392, + "start": 19580, + "end": 19586, "loc": { "start": { - "line": 515, + "line": 602, "column": 30 }, "end": { - "line": 515, + "line": 602, "column": 36 }, "identifierName": "layout" @@ -58397,43 +68345,43 @@ "operator": "||", "right": { "type": "CallExpression", - "start": 17396, - "end": 17429, + "start": 19590, + "end": 19623, "loc": { "start": { - "line": 515, + "line": 602, "column": 40 }, "end": { - "line": 515, + "line": 602, "column": 73 } }, "callee": { "type": "MemberExpression", - "start": 17396, - "end": 17427, + "start": 19590, + "end": 19621, "loc": { "start": { - "line": 515, + "line": 602, "column": 40 }, "end": { - "line": 515, + "line": 602, "column": 71 } }, "object": { "type": "Identifier", - "start": 17396, - "end": 17410, + "start": 19590, + "end": 19604, "loc": { "start": { - "line": 515, + "line": 602, "column": 40 }, "end": { - "line": 515, + "line": 602, "column": 54 }, "identifierName": "KeyboardLayout" @@ -58442,15 +68390,15 @@ }, "property": { "type": "Identifier", - "start": 17411, - "end": 17427, + "start": 19605, + "end": 19621, "loc": { "start": { - "line": 515, + "line": 602, "column": 55 }, "end": { - "line": 515, + "line": 602, "column": 71 }, "identifierName": "getDefaultLayout" @@ -58469,15 +68417,15 @@ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", - "start": 17438, - "end": 17490, + "start": 19632, + "end": 19684, "loc": { "start": { - "line": 517, + "line": 604, "column": 4 }, "end": { - "line": 519, + "line": 606, "column": 7 } } @@ -58486,44 +68434,44 @@ }, { "type": "VariableDeclaration", - "start": 17496, - "end": 17524, + "start": 19690, + "end": 19718, "loc": { "start": { - "line": 520, + "line": 607, "column": 4 }, "end": { - "line": 520, + "line": 607, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17500, - "end": 17523, + "start": 19694, + "end": 19717, "loc": { "start": { - "line": 520, + "line": 607, "column": 8 }, "end": { - "line": 520, + "line": 607, "column": 31 } }, "id": { "type": "Identifier", - "start": 17500, - "end": 17518, + "start": 19694, + "end": 19712, "loc": { "start": { - "line": 520, + "line": 607, "column": 8 }, "end": { - "line": 520, + "line": 607, "column": 26 }, "identifierName": "buttonThemesParsed" @@ -58533,15 +68481,15 @@ }, "init": { "type": "ObjectExpression", - "start": 17521, - "end": 17523, + "start": 19715, + "end": 19717, "loc": { "start": { - "line": 520, + "line": 607, "column": 29 }, "end": { - "line": 520, + "line": 607, "column": 31 } }, @@ -58555,15 +68503,15 @@ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", - "start": 17438, - "end": 17490, + "start": 19632, + "end": 19684, "loc": { "start": { - "line": 517, + "line": 604, "column": 4 }, "end": { - "line": 519, + "line": 606, "column": 7 } } @@ -58572,57 +68520,57 @@ }, { "type": "IfStatement", - "start": 17530, - "end": 18669, + "start": 19724, + "end": 20863, "loc": { "start": { - "line": 521, + "line": 608, "column": 4 }, "end": { - "line": 549, + "line": 636, "column": 5 } }, "test": { "type": "CallExpression", - "start": 17533, - "end": 17572, + "start": 19727, + "end": 19766, "loc": { "start": { - "line": 521, + "line": 608, "column": 7 }, "end": { - "line": 521, + "line": 608, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 17533, - "end": 17546, + "start": 19727, + "end": 19740, "loc": { "start": { - "line": 521, + "line": 608, "column": 7 }, "end": { - "line": 521, + "line": 608, "column": 20 } }, "object": { "type": "Identifier", - "start": 17533, - "end": 17538, + "start": 19727, + "end": 19732, "loc": { "start": { - "line": 521, + "line": 608, "column": 7 }, "end": { - "line": 521, + "line": 608, "column": 12 }, "identifierName": "Array" @@ -58631,15 +68579,15 @@ }, "property": { "type": "Identifier", - "start": 17539, - "end": 17546, + "start": 19733, + "end": 19740, "loc": { "start": { - "line": 521, + "line": 608, "column": 13 }, "end": { - "line": 521, + "line": 608, "column": 20 }, "identifierName": "isArray" @@ -58651,58 +68599,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 17547, - "end": 17571, + "start": 19741, + "end": 19765, "loc": { "start": { - "line": 521, + "line": 608, "column": 21 }, "end": { - "line": 521, + "line": 608, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 17547, - "end": 17559, + "start": 19741, + "end": 19753, "loc": { "start": { - "line": 521, + "line": 608, "column": 21 }, "end": { - "line": 521, + "line": 608, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 17547, - "end": 17551, + "start": 19741, + "end": 19745, "loc": { "start": { - "line": 521, + "line": 608, "column": 21 }, "end": { - "line": 521, + "line": 608, "column": 25 } } }, "property": { "type": "Identifier", - "start": 17552, - "end": 17559, + "start": 19746, + "end": 19753, "loc": { "start": { - "line": 521, + "line": 608, "column": 26 }, "end": { - "line": 521, + "line": 608, "column": 33 }, "identifierName": "options" @@ -58713,15 +68661,15 @@ }, "property": { "type": "Identifier", - "start": 17560, - "end": 17571, + "start": 19754, + "end": 19765, "loc": { "start": { - "line": 521, + "line": 608, "column": 34 }, "end": { - "line": 521, + "line": 608, "column": 45 }, "identifierName": "buttonTheme" @@ -58734,115 +68682,115 @@ }, "consequent": { "type": "BlockStatement", - "start": 17573, - "end": 18669, + "start": 19767, + "end": 20863, "loc": { "start": { - "line": 521, + "line": 608, "column": 47 }, "end": { - "line": 549, + "line": 636, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 17582, - "end": 18662, + "start": 19776, + "end": 20856, "loc": { "start": { - "line": 522, + "line": 609, "column": 6 }, "end": { - "line": 548, + "line": 635, "column": 9 } }, "expression": { "type": "CallExpression", - "start": 17582, - "end": 18661, + "start": 19776, + "end": 20855, "loc": { "start": { - "line": 522, + "line": 609, "column": 6 }, "end": { - "line": 548, + "line": 635, "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 17582, - "end": 17614, + "start": 19776, + "end": 19808, "loc": { "start": { - "line": 522, + "line": 609, "column": 6 }, "end": { - "line": 522, + "line": 609, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 17582, - "end": 17606, + "start": 19776, + "end": 19800, "loc": { "start": { - "line": 522, + "line": 609, "column": 6 }, "end": { - "line": 522, + "line": 609, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 17582, - "end": 17594, + "start": 19776, + "end": 19788, "loc": { "start": { - "line": 522, + "line": 609, "column": 6 }, "end": { - "line": 522, + "line": 609, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 17582, - "end": 17586, + "start": 19776, + "end": 19780, "loc": { "start": { - "line": 522, + "line": 609, "column": 6 }, "end": { - "line": 522, + "line": 609, "column": 10 } } }, "property": { "type": "Identifier", - "start": 17587, - "end": 17594, + "start": 19781, + "end": 19788, "loc": { "start": { - "line": 522, + "line": 609, "column": 11 }, "end": { - "line": 522, + "line": 609, "column": 18 }, "identifierName": "options" @@ -58853,15 +68801,15 @@ }, "property": { "type": "Identifier", - "start": 17595, - "end": 17606, + "start": 19789, + "end": 19800, "loc": { "start": { - "line": 522, + "line": 609, "column": 19 }, "end": { - "line": 522, + "line": 609, "column": 30 }, "identifierName": "buttonTheme" @@ -58872,15 +68820,15 @@ }, "property": { "type": "Identifier", - "start": 17607, - "end": 17614, + "start": 19801, + "end": 19808, "loc": { "start": { - "line": 522, + "line": 609, "column": 31 }, "end": { - "line": 522, + "line": 609, "column": 38 }, "identifierName": "forEach" @@ -58892,15 +68840,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 17615, - "end": 18660, + "start": 19809, + "end": 20854, "loc": { "start": { - "line": 522, + "line": 609, "column": 39 }, "end": { - "line": 548, + "line": 635, "column": 7 } }, @@ -58911,15 +68859,15 @@ "params": [ { "type": "Identifier", - "start": 17615, - "end": 17623, + "start": 19809, + "end": 19817, "loc": { "start": { - "line": 522, + "line": 609, "column": 39 }, "end": { - "line": 522, + "line": 609, "column": 47 }, "identifierName": "themeObj" @@ -58929,72 +68877,72 @@ ], "body": { "type": "BlockStatement", - "start": 17627, - "end": 18660, + "start": 19821, + "end": 20854, "loc": { "start": { - "line": 522, + "line": 609, "column": 51 }, "end": { - "line": 548, + "line": 635, "column": 7 } }, "body": [ { "type": "IfStatement", - "start": 17638, - "end": 18651, + "start": 19832, + "end": 20845, "loc": { "start": { - "line": 523, + "line": 610, "column": 8 }, "end": { - "line": 547, + "line": 634, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 17641, - "end": 17675, + "start": 19835, + "end": 19869, "loc": { "start": { - "line": 523, + "line": 610, "column": 11 }, "end": { - "line": 523, + "line": 610, "column": 45 } }, "left": { "type": "MemberExpression", - "start": 17641, - "end": 17657, + "start": 19835, + "end": 19851, "loc": { "start": { - "line": 523, + "line": 610, "column": 11 }, "end": { - "line": 523, + "line": 610, "column": 27 } }, "object": { "type": "Identifier", - "start": 17641, - "end": 17649, + "start": 19835, + "end": 19843, "loc": { "start": { - "line": 523, + "line": 610, "column": 11 }, "end": { - "line": 523, + "line": 610, "column": 19 }, "identifierName": "themeObj" @@ -59003,15 +68951,15 @@ }, "property": { "type": "Identifier", - "start": 17650, - "end": 17657, + "start": 19844, + "end": 19851, "loc": { "start": { - "line": 523, + "line": 610, "column": 20 }, "end": { - "line": 523, + "line": 610, "column": 27 }, "identifierName": "buttons" @@ -59023,29 +68971,29 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 17661, - "end": 17675, + "start": 19855, + "end": 19869, "loc": { "start": { - "line": 523, + "line": 610, "column": 31 }, "end": { - "line": 523, + "line": 610, "column": 45 } }, "object": { "type": "Identifier", - "start": 17661, - "end": 17669, + "start": 19855, + "end": 19863, "loc": { "start": { - "line": 523, + "line": 610, "column": 31 }, "end": { - "line": 523, + "line": 610, "column": 39 }, "identifierName": "themeObj" @@ -59054,15 +69002,15 @@ }, "property": { "type": "Identifier", - "start": 17670, - "end": 17675, + "start": 19864, + "end": 19869, "loc": { "start": { - "line": 523, + "line": 610, "column": 40 }, "end": { - "line": 523, + "line": 610, "column": 45 }, "identifierName": "class" @@ -59074,59 +69022,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 17676, - "end": 18517, + "start": 19870, + "end": 20711, "loc": { "start": { - "line": 523, + "line": 610, "column": 46 }, "end": { - "line": 545, + "line": 632, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 17689, - "end": 17706, + "start": 19883, + "end": 19900, "loc": { "start": { - "line": 524, + "line": 611, "column": 10 }, "end": { - "line": 524, + "line": 611, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17693, - "end": 17705, + "start": 19887, + "end": 19899, "loc": { "start": { - "line": 524, + "line": 611, "column": 14 }, "end": { - "line": 524, + "line": 611, "column": 26 } }, "id": { "type": "Identifier", - "start": 17693, - "end": 17705, + "start": 19887, + "end": 19899, "loc": { "start": { - "line": 524, + "line": 611, "column": 14 }, "end": { - "line": 524, + "line": 611, "column": 26 }, "identifierName": "themeButtons" @@ -59140,43 +69088,43 @@ }, { "type": "IfStatement", - "start": 17720, - "end": 17831, + "start": 19914, + "end": 20025, "loc": { "start": { - "line": 526, + "line": 613, "column": 10 }, "end": { - "line": 528, + "line": 615, "column": 11 } }, "test": { "type": "BinaryExpression", - "start": 17723, - "end": 17759, + "start": 19917, + "end": 19953, "loc": { "start": { - "line": 526, + "line": 613, "column": 13 }, "end": { - "line": 526, + "line": 613, "column": 49 } }, "left": { "type": "UnaryExpression", - "start": 17723, - "end": 17746, + "start": 19917, + "end": 19940, "loc": { "start": { - "line": 526, + "line": 613, "column": 13 }, "end": { - "line": 526, + "line": 613, "column": 36 } }, @@ -59184,29 +69132,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 17730, - "end": 17746, + "start": 19924, + "end": 19940, "loc": { "start": { - "line": 526, + "line": 613, "column": 20 }, "end": { - "line": 526, + "line": 613, "column": 36 } }, "object": { "type": "Identifier", - "start": 17730, - "end": 17738, + "start": 19924, + "end": 19932, "loc": { "start": { - "line": 526, + "line": 613, "column": 20 }, "end": { - "line": 526, + "line": 613, "column": 28 }, "identifierName": "themeObj" @@ -59215,15 +69163,15 @@ }, "property": { "type": "Identifier", - "start": 17739, - "end": 17746, + "start": 19933, + "end": 19940, "loc": { "start": { - "line": 526, + "line": 613, "column": 29 }, "end": { - "line": 526, + "line": 613, "column": 36 }, "identifierName": "buttons" @@ -59239,15 +69187,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 17751, - "end": 17759, + "start": 19945, + "end": 19953, "loc": { "start": { - "line": 526, + "line": 613, "column": 41 }, "end": { - "line": 526, + "line": 613, "column": 49 } }, @@ -59260,59 +69208,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 17760, - "end": 17831, + "start": 19954, + "end": 20025, "loc": { "start": { - "line": 526, + "line": 613, "column": 50 }, "end": { - "line": 528, + "line": 615, "column": 11 } }, "body": [ { "type": "ExpressionStatement", - "start": 17775, - "end": 17818, + "start": 19969, + "end": 20012, "loc": { "start": { - "line": 527, + "line": 614, "column": 12 }, "end": { - "line": 527, + "line": 614, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 17775, - "end": 17817, + "start": 19969, + "end": 20011, "loc": { "start": { - "line": 527, + "line": 614, "column": 12 }, "end": { - "line": 527, + "line": 614, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", - "start": 17775, - "end": 17787, + "start": 19969, + "end": 19981, "loc": { "start": { - "line": 527, + "line": 614, "column": 12 }, "end": { - "line": 527, + "line": 614, "column": 24 }, "identifierName": "themeButtons" @@ -59321,57 +69269,57 @@ }, "right": { "type": "CallExpression", - "start": 17790, - "end": 17817, + "start": 19984, + "end": 20011, "loc": { "start": { - "line": 527, + "line": 614, "column": 27 }, "end": { - "line": 527, + "line": 614, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 17790, - "end": 17812, + "start": 19984, + "end": 20006, "loc": { "start": { - "line": 527, + "line": 614, "column": 27 }, "end": { - "line": 527, + "line": 614, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 17790, - "end": 17806, + "start": 19984, + "end": 20000, "loc": { "start": { - "line": 527, + "line": 614, "column": 27 }, "end": { - "line": 527, + "line": 614, "column": 43 } }, "object": { "type": "Identifier", - "start": 17790, - "end": 17798, + "start": 19984, + "end": 19992, "loc": { "start": { - "line": 527, + "line": 614, "column": 27 }, "end": { - "line": 527, + "line": 614, "column": 35 }, "identifierName": "themeObj" @@ -59380,15 +69328,15 @@ }, "property": { "type": "Identifier", - "start": 17799, - "end": 17806, + "start": 19993, + "end": 20000, "loc": { "start": { - "line": 527, + "line": 614, "column": 36 }, "end": { - "line": 527, + "line": 614, "column": 43 }, "identifierName": "buttons" @@ -59399,15 +69347,15 @@ }, "property": { "type": "Identifier", - "start": 17807, - "end": 17812, + "start": 20001, + "end": 20006, "loc": { "start": { - "line": 527, + "line": 614, "column": 44 }, "end": { - "line": 527, + "line": 614, "column": 49 }, "identifierName": "split" @@ -59419,15 +69367,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 17813, - "end": 17816, + "start": 20007, + "end": 20010, "loc": { "start": { - "line": 527, + "line": 614, "column": 50 }, "end": { - "line": 527, + "line": 614, "column": 53 } }, @@ -59448,29 +69396,29 @@ }, { "type": "IfStatement", - "start": 17845, - "end": 18506, + "start": 20039, + "end": 20700, "loc": { "start": { - "line": 530, + "line": 617, "column": 10 }, "end": { - "line": 544, + "line": 631, "column": 11 } }, "test": { "type": "Identifier", - "start": 17848, - "end": 17860, + "start": 20042, + "end": 20054, "loc": { "start": { - "line": 530, + "line": 617, "column": 13 }, "end": { - "line": 530, + "line": 617, "column": 25 }, "identifierName": "themeButtons" @@ -59479,72 +69427,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 17861, - "end": 18506, + "start": 20055, + "end": 20700, "loc": { "start": { - "line": 530, + "line": 617, "column": 26 }, "end": { - "line": 544, + "line": 631, "column": 11 } }, "body": [ { "type": "ExpressionStatement", - "start": 17876, - "end": 18493, + "start": 20070, + "end": 20687, "loc": { "start": { - "line": 531, + "line": 618, "column": 12 }, "end": { - "line": 543, + "line": 630, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 17876, - "end": 18492, + "start": 20070, + "end": 20686, "loc": { "start": { - "line": 531, + "line": 618, "column": 12 }, "end": { - "line": 543, + "line": 630, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 17876, - "end": 17896, + "start": 20070, + "end": 20090, "loc": { "start": { - "line": 531, + "line": 618, "column": 12 }, "end": { - "line": 531, + "line": 618, "column": 32 } }, "object": { "type": "Identifier", - "start": 17876, - "end": 17888, + "start": 20070, + "end": 20082, "loc": { "start": { - "line": 531, + "line": 618, "column": 12 }, "end": { - "line": 531, + "line": 618, "column": 24 }, "identifierName": "themeButtons" @@ -59553,15 +69501,15 @@ }, "property": { "type": "Identifier", - "start": 17889, - "end": 17896, + "start": 20083, + "end": 20090, "loc": { "start": { - "line": 531, + "line": 618, "column": 25 }, "end": { - "line": 531, + "line": 618, "column": 32 }, "identifierName": "forEach" @@ -59573,15 +69521,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 17897, - "end": 18491, + "start": 20091, + "end": 20685, "loc": { "start": { - "line": 531, + "line": 618, "column": 33 }, "end": { - "line": 543, + "line": 630, "column": 13 } }, @@ -59592,15 +69540,15 @@ "params": [ { "type": "Identifier", - "start": 17897, - "end": 17908, + "start": 20091, + "end": 20102, "loc": { "start": { - "line": 531, + "line": 618, "column": 33 }, "end": { - "line": 531, + "line": 618, "column": 44 }, "identifierName": "themeButton" @@ -59610,59 +69558,59 @@ ], "body": { "type": "BlockStatement", - "start": 17912, - "end": 18491, + "start": 20106, + "end": 20685, "loc": { "start": { - "line": 531, + "line": 618, "column": 48 }, "end": { - "line": 543, + "line": 630, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 17929, - "end": 17979, + "start": 20123, + "end": 20173, "loc": { "start": { - "line": 532, + "line": 619, "column": 14 }, "end": { - "line": 532, + "line": 619, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17933, - "end": 17978, + "start": 20127, + "end": 20172, "loc": { "start": { - "line": 532, + "line": 619, "column": 18 }, "end": { - "line": 532, + "line": 619, "column": 63 } }, "id": { "type": "Identifier", - "start": 17933, - "end": 17944, + "start": 20127, + "end": 20138, "loc": { "start": { - "line": 532, + "line": 619, "column": 18 }, "end": { - "line": 532, + "line": 619, "column": 29 }, "identifierName": "themeParsed" @@ -59671,29 +69619,29 @@ }, "init": { "type": "MemberExpression", - "start": 17947, - "end": 17978, + "start": 20141, + "end": 20172, "loc": { "start": { - "line": 532, + "line": 619, "column": 32 }, "end": { - "line": 532, + "line": 619, "column": 63 } }, "object": { "type": "Identifier", - "start": 17947, - "end": 17965, + "start": 20141, + "end": 20159, "loc": { "start": { - "line": 532, + "line": 619, "column": 32 }, "end": { - "line": 532, + "line": 619, "column": 50 }, "identifierName": "buttonThemesParsed" @@ -59702,15 +69650,15 @@ }, "property": { "type": "Identifier", - "start": 17966, - "end": 17977, + "start": 20160, + "end": 20171, "loc": { "start": { - "line": 532, + "line": 619, "column": 51 }, "end": { - "line": 532, + "line": 619, "column": 62 }, "identifierName": "themeButton" @@ -59726,15 +69674,15 @@ { "type": "CommentLine", "value": " If the button has already been added", - "start": 17997, - "end": 18036, + "start": 20191, + "end": 20230, "loc": { "start": { - "line": 534, + "line": 621, "column": 14 }, "end": { - "line": 534, + "line": 621, "column": 53 } } @@ -59743,29 +69691,29 @@ }, { "type": "IfStatement", - "start": 18052, - "end": 18476, + "start": 20246, + "end": 20670, "loc": { "start": { - "line": 535, + "line": 622, "column": 14 }, "end": { - "line": 542, + "line": 629, "column": 15 } }, "test": { "type": "Identifier", - "start": 18055, - "end": 18066, + "start": 20249, + "end": 20260, "loc": { "start": { - "line": 535, + "line": 622, "column": 17 }, "end": { - "line": 535, + "line": 622, "column": 28 }, "identifierName": "themeParsed" @@ -59775,44 +69723,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 18067, - "end": 18385, + "start": 20261, + "end": 20579, "loc": { "start": { - "line": 535, + "line": 622, "column": 29 }, "end": { - "line": 540, + "line": 627, "column": 15 } }, "body": [ { "type": "IfStatement", - "start": 18187, - "end": 18368, + "start": 20381, + "end": 20562, "loc": { "start": { - "line": 537, + "line": 624, "column": 16 }, "end": { - "line": 539, + "line": 626, "column": 17 } }, "test": { "type": "UnaryExpression", - "start": 18190, - "end": 18258, + "start": 20384, + "end": 20452, "loc": { "start": { - "line": 537, + "line": 624, "column": 19 }, "end": { - "line": 537, + "line": 624, "column": 87 } }, @@ -59820,57 +69768,57 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 18191, - "end": 18258, + "start": 20385, + "end": 20452, "loc": { "start": { - "line": 537, + "line": 624, "column": 20 }, "end": { - "line": 537, + "line": 624, "column": 87 } }, "callee": { "type": "MemberExpression", - "start": 18191, - "end": 18218, + "start": 20385, + "end": 20412, "loc": { "start": { - "line": 537, + "line": 624, "column": 20 }, "end": { - "line": 537, + "line": 624, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 18191, - "end": 18205, + "start": 20385, + "end": 20399, "loc": { "start": { - "line": 537, + "line": 624, "column": 20 }, "end": { - "line": 537, + "line": 624, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 18191, - "end": 18195, + "start": 20385, + "end": 20389, "loc": { "start": { - "line": 537, + "line": 624, "column": 20 }, "end": { - "line": 537, + "line": 624, "column": 24 } }, @@ -59878,15 +69826,15 @@ }, "property": { "type": "Identifier", - "start": 18196, - "end": 18205, + "start": 20390, + "end": 20399, "loc": { "start": { - "line": 537, + "line": 624, "column": 25 }, "end": { - "line": 537, + "line": 624, "column": 34 }, "identifierName": "utilities" @@ -59898,15 +69846,15 @@ }, "property": { "type": "Identifier", - "start": 18206, - "end": 18218, + "start": 20400, + "end": 20412, "loc": { "start": { - "line": 537, + "line": 624, "column": 35 }, "end": { - "line": 537, + "line": 624, "column": 47 }, "identifierName": "countInArray" @@ -59919,43 +69867,43 @@ "arguments": [ { "type": "CallExpression", - "start": 18219, - "end": 18241, + "start": 20413, + "end": 20435, "loc": { "start": { - "line": 537, + "line": 624, "column": 48 }, "end": { - "line": 537, + "line": 624, "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 18219, - "end": 18236, + "start": 20413, + "end": 20430, "loc": { "start": { - "line": 537, + "line": 624, "column": 48 }, "end": { - "line": 537, + "line": 624, "column": 65 } }, "object": { "type": "Identifier", - "start": 18219, - "end": 18230, + "start": 20413, + "end": 20424, "loc": { "start": { - "line": 537, + "line": 624, "column": 48 }, "end": { - "line": 537, + "line": 624, "column": 59 }, "identifierName": "themeParsed" @@ -59964,15 +69912,15 @@ }, "property": { "type": "Identifier", - "start": 18231, - "end": 18236, + "start": 20425, + "end": 20430, "loc": { "start": { - "line": 537, + "line": 624, "column": 60 }, "end": { - "line": 537, + "line": 624, "column": 65 }, "identifierName": "split" @@ -59984,15 +69932,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 18237, - "end": 18240, + "start": 20431, + "end": 20434, "loc": { "start": { - "line": 537, + "line": 624, "column": 66 }, "end": { - "line": 537, + "line": 624, "column": 69 } }, @@ -60006,29 +69954,29 @@ }, { "type": "MemberExpression", - "start": 18243, - "end": 18257, + "start": 20437, + "end": 20451, "loc": { "start": { - "line": 537, + "line": 624, "column": 72 }, "end": { - "line": 537, + "line": 624, "column": 86 } }, "object": { "type": "Identifier", - "start": 18243, - "end": 18251, + "start": 20437, + "end": 20445, "loc": { "start": { - "line": 537, + "line": 624, "column": 72 }, "end": { - "line": 537, + "line": 624, "column": 80 }, "identifierName": "themeObj" @@ -60037,15 +69985,15 @@ }, "property": { "type": "Identifier", - "start": 18252, - "end": 18257, + "start": 20446, + "end": 20451, "loc": { "start": { - "line": 537, + "line": 624, "column": 81 }, "end": { - "line": 537, + "line": 624, "column": 86 }, "identifierName": "class" @@ -60064,73 +70012,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 18259, - "end": 18368, + "start": 20453, + "end": 20562, "loc": { "start": { - "line": 537, + "line": 624, "column": 88 }, "end": { - "line": 539, + "line": 626, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 18280, - "end": 18349, + "start": 20474, + "end": 20543, "loc": { "start": { - "line": 538, + "line": 625, "column": 18 }, "end": { - "line": 538, + "line": 625, "column": 87 } }, "expression": { "type": "AssignmentExpression", - "start": 18280, - "end": 18348, + "start": 20474, + "end": 20542, "loc": { "start": { - "line": 538, + "line": 625, "column": 18 }, "end": { - "line": 538, + "line": 625, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 18280, - "end": 18311, + "start": 20474, + "end": 20505, "loc": { "start": { - "line": 538, + "line": 625, "column": 18 }, "end": { - "line": 538, + "line": 625, "column": 49 } }, "object": { "type": "Identifier", - "start": 18280, - "end": 18298, + "start": 20474, + "end": 20492, "loc": { "start": { - "line": 538, + "line": 625, "column": 18 }, "end": { - "line": 538, + "line": 625, "column": 36 }, "identifierName": "buttonThemesParsed" @@ -60139,15 +70087,15 @@ }, "property": { "type": "Identifier", - "start": 18299, - "end": 18310, + "start": 20493, + "end": 20504, "loc": { "start": { - "line": 538, + "line": 625, "column": 37 }, "end": { - "line": 538, + "line": 625, "column": 48 }, "identifierName": "themeButton" @@ -60158,30 +70106,30 @@ }, "right": { "type": "TemplateLiteral", - "start": 18314, - "end": 18348, + "start": 20508, + "end": 20542, "loc": { "start": { - "line": 538, + "line": 625, "column": 52 }, "end": { - "line": 538, + "line": 625, "column": 86 } }, "expressions": [ { "type": "Identifier", - "start": 18317, - "end": 18328, + "start": 20511, + "end": 20522, "loc": { "start": { - "line": 538, + "line": 625, "column": 55 }, "end": { - "line": 538, + "line": 625, "column": 66 }, "identifierName": "themeParsed" @@ -60190,29 +70138,29 @@ }, { "type": "MemberExpression", - "start": 18332, - "end": 18346, + "start": 20526, + "end": 20540, "loc": { "start": { - "line": 538, + "line": 625, "column": 70 }, "end": { - "line": 538, + "line": 625, "column": 84 } }, "object": { "type": "Identifier", - "start": 18332, - "end": 18340, + "start": 20526, + "end": 20534, "loc": { "start": { - "line": 538, + "line": 625, "column": 70 }, "end": { - "line": 538, + "line": 625, "column": 78 }, "identifierName": "themeObj" @@ -60221,15 +70169,15 @@ }, "property": { "type": "Identifier", - "start": 18341, - "end": 18346, + "start": 20535, + "end": 20540, "loc": { "start": { - "line": 538, + "line": 625, "column": 79 }, "end": { - "line": 538, + "line": 625, "column": 84 }, "identifierName": "class" @@ -60242,15 +70190,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 18315, - "end": 18315, + "start": 20509, + "end": 20509, "loc": { "start": { - "line": 538, + "line": 625, "column": 53 }, "end": { - "line": 538, + "line": 625, "column": 53 } }, @@ -60262,15 +70210,15 @@ }, { "type": "TemplateElement", - "start": 18329, - "end": 18330, + "start": 20523, + "end": 20524, "loc": { "start": { - "line": 538, + "line": 625, "column": 67 }, "end": { - "line": 538, + "line": 625, "column": 68 } }, @@ -60282,15 +70230,15 @@ }, { "type": "TemplateElement", - "start": 18347, - "end": 18347, + "start": 20541, + "end": 20541, "loc": { "start": { - "line": 538, + "line": 625, "column": 85 }, "end": { - "line": 538, + "line": 625, "column": 85 } }, @@ -60312,15 +70260,15 @@ { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", - "start": 18086, - "end": 18169, + "start": 20280, + "end": 20363, "loc": { "start": { - "line": 536, + "line": 623, "column": 16 }, "end": { - "line": 536, + "line": 623, "column": 99 } } @@ -60332,73 +70280,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 18391, - "end": 18476, + "start": 20585, + "end": 20670, "loc": { "start": { - "line": 540, + "line": 627, "column": 21 }, "end": { - "line": 542, + "line": 629, "column": 15 } }, "body": [ { "type": "ExpressionStatement", - "start": 18410, - "end": 18459, + "start": 20604, + "end": 20653, "loc": { "start": { - "line": 541, + "line": 628, "column": 16 }, "end": { - "line": 541, + "line": 628, "column": 65 } }, "expression": { "type": "AssignmentExpression", - "start": 18410, - "end": 18458, + "start": 20604, + "end": 20652, "loc": { "start": { - "line": 541, + "line": 628, "column": 16 }, "end": { - "line": 541, + "line": 628, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 18410, - "end": 18441, + "start": 20604, + "end": 20635, "loc": { "start": { - "line": 541, + "line": 628, "column": 16 }, "end": { - "line": 541, + "line": 628, "column": 47 } }, "object": { "type": "Identifier", - "start": 18410, - "end": 18428, + "start": 20604, + "end": 20622, "loc": { "start": { - "line": 541, + "line": 628, "column": 16 }, "end": { - "line": 541, + "line": 628, "column": 34 }, "identifierName": "buttonThemesParsed" @@ -60407,15 +70355,15 @@ }, "property": { "type": "Identifier", - "start": 18429, - "end": 18440, + "start": 20623, + "end": 20634, "loc": { "start": { - "line": 541, + "line": 628, "column": 35 }, "end": { - "line": 541, + "line": 628, "column": 46 }, "identifierName": "themeButton" @@ -60426,29 +70374,29 @@ }, "right": { "type": "MemberExpression", - "start": 18444, - "end": 18458, + "start": 20638, + "end": 20652, "loc": { "start": { - "line": 541, + "line": 628, "column": 50 }, "end": { - "line": 541, + "line": 628, "column": 64 } }, "object": { "type": "Identifier", - "start": 18444, - "end": 18452, + "start": 20638, + "end": 20646, "loc": { "start": { - "line": 541, + "line": 628, "column": 50 }, "end": { - "line": 541, + "line": 628, "column": 58 }, "identifierName": "themeObj" @@ -60457,15 +70405,15 @@ }, "property": { "type": "Identifier", - "start": 18453, - "end": 18458, + "start": 20647, + "end": 20652, "loc": { "start": { - "line": 541, + "line": 628, "column": 59 }, "end": { - "line": 541, + "line": 628, "column": 64 }, "identifierName": "class" @@ -60483,15 +70431,15 @@ { "type": "CommentLine", "value": " If the button has already been added", - "start": 17997, - "end": 18036, + "start": 20191, + "end": 20230, "loc": { "start": { - "line": 534, + "line": 621, "column": 14 }, "end": { - "line": 534, + "line": 621, "column": 53 } } @@ -60515,72 +70463,72 @@ }, "alternate": { "type": "BlockStatement", - "start": 18523, - "end": 18651, + "start": 20717, + "end": 20845, "loc": { "start": { - "line": 545, + "line": 632, "column": 15 }, "end": { - "line": 547, + "line": 634, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 18536, - "end": 18640, + "start": 20730, + "end": 20834, "loc": { "start": { - "line": 546, + "line": 633, "column": 10 }, "end": { - "line": 546, + "line": 633, "column": 114 } }, "expression": { "type": "CallExpression", - "start": 18536, - "end": 18640, + "start": 20730, + "end": 20834, "loc": { "start": { - "line": 546, + "line": 633, "column": 10 }, "end": { - "line": 546, + "line": 633, "column": 114 } }, "callee": { "type": "MemberExpression", - "start": 18536, - "end": 18548, + "start": 20730, + "end": 20742, "loc": { "start": { - "line": 546, + "line": 633, "column": 10 }, "end": { - "line": 546, + "line": 633, "column": 22 } }, "object": { "type": "Identifier", - "start": 18536, - "end": 18543, + "start": 20730, + "end": 20737, "loc": { "start": { - "line": 546, + "line": 633, "column": 10 }, "end": { - "line": 546, + "line": 633, "column": 17 }, "identifierName": "console" @@ -60589,15 +70537,15 @@ }, "property": { "type": "Identifier", - "start": 18544, - "end": 18548, + "start": 20738, + "end": 20742, "loc": { "start": { - "line": 546, + "line": 633, "column": 18 }, "end": { - "line": 546, + "line": 633, "column": 22 }, "identifierName": "warn" @@ -60609,15 +70557,15 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 18549, - "end": 18639, + "start": 20743, + "end": 20833, "loc": { "start": { - "line": 546, + "line": 633, "column": 23 }, "end": { - "line": 546, + "line": 633, "column": 113 } }, @@ -60625,15 +70573,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 18550, - "end": 18638, + "start": 20744, + "end": 20832, "loc": { "start": { - "line": 546, + "line": 633, "column": 24 }, "end": { - "line": 546, + "line": 633, "column": 112 } }, @@ -60668,15 +70616,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", - "start": 18677, - "end": 18743, + "start": 20871, + "end": 20937, "loc": { "start": { - "line": 551, + "line": 638, "column": 4 }, "end": { - "line": 553, + "line": 640, "column": 7 } } @@ -60685,72 +70633,72 @@ }, { "type": "ExpressionStatement", - "start": 18749, - "end": 18819, + "start": 20943, + "end": 21013, "loc": { "start": { - "line": 554, + "line": 641, "column": 4 }, "end": { - "line": 554, + "line": 641, "column": 74 } }, "expression": { "type": "AssignmentExpression", - "start": 18749, - "end": 18818, + "start": 20943, + "end": 21012, "loc": { "start": { - "line": 554, + "line": 641, "column": 4 }, "end": { - "line": 554, + "line": 641, "column": 73 } }, "operator": "+=", "left": { "type": "MemberExpression", - "start": 18749, - "end": 18775, + "start": 20943, + "end": 20969, "loc": { "start": { - "line": 554, + "line": 641, "column": 4 }, "end": { - "line": 554, + "line": 641, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 18749, - "end": 18765, + "start": 20943, + "end": 20959, "loc": { "start": { - "line": 554, + "line": 641, "column": 4 }, "end": { - "line": 554, + "line": 641, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 18749, - "end": 18753, + "start": 20943, + "end": 20947, "loc": { "start": { - "line": 554, + "line": 641, "column": 4 }, "end": { - "line": 554, + "line": 641, "column": 8 } }, @@ -60758,15 +70706,15 @@ }, "property": { "type": "Identifier", - "start": 18754, - "end": 18765, + "start": 20948, + "end": 20959, "loc": { "start": { - "line": 554, + "line": 641, "column": 9 }, "end": { - "line": 554, + "line": 641, "column": 20 }, "identifierName": "keyboardDOM" @@ -60778,15 +70726,15 @@ }, "property": { "type": "Identifier", - "start": 18766, - "end": 18775, + "start": 20960, + "end": 20969, "loc": { "start": { - "line": 554, + "line": 641, "column": 21 }, "end": { - "line": 554, + "line": 641, "column": 30 }, "identifierName": "className" @@ -60798,73 +70746,73 @@ }, "right": { "type": "TemplateLiteral", - "start": 18779, - "end": 18818, + "start": 20973, + "end": 21012, "loc": { "start": { - "line": 554, + "line": 641, "column": 34 }, "end": { - "line": 554, + "line": 641, "column": 73 } }, "expressions": [ { "type": "MemberExpression", - "start": 18783, - "end": 18801, + "start": 20977, + "end": 20995, "loc": { "start": { - "line": 554, + "line": 641, "column": 38 }, "end": { - "line": 554, + "line": 641, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 18783, - "end": 18795, + "start": 20977, + "end": 20989, "loc": { "start": { - "line": 554, + "line": 641, "column": 38 }, "end": { - "line": 554, + "line": 641, "column": 50 } }, "object": { "type": "ThisExpression", - "start": 18783, - "end": 18787, + "start": 20977, + "end": 20981, "loc": { "start": { - "line": 554, + "line": 641, "column": 38 }, "end": { - "line": 554, + "line": 641, "column": 42 } } }, "property": { "type": "Identifier", - "start": 18788, - "end": 18795, + "start": 20982, + "end": 20989, "loc": { "start": { - "line": 554, + "line": 641, "column": 43 }, "end": { - "line": 554, + "line": 641, "column": 50 }, "identifierName": "options" @@ -60875,15 +70823,15 @@ }, "property": { "type": "Identifier", - "start": 18796, - "end": 18801, + "start": 20990, + "end": 20995, "loc": { "start": { - "line": 554, + "line": 641, "column": 51 }, "end": { - "line": 554, + "line": 641, "column": 56 }, "identifierName": "theme" @@ -60894,15 +70842,15 @@ }, { "type": "Identifier", - "start": 18805, - "end": 18816, + "start": 20999, + "end": 21010, "loc": { "start": { - "line": 554, + "line": 641, "column": 60 }, "end": { - "line": 554, + "line": 641, "column": 71 }, "identifierName": "layoutClass" @@ -60913,15 +70861,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 18780, - "end": 18781, + "start": 20974, + "end": 20975, "loc": { "start": { - "line": 554, + "line": 641, "column": 35 }, "end": { - "line": 554, + "line": 641, "column": 36 } }, @@ -60933,15 +70881,15 @@ }, { "type": "TemplateElement", - "start": 18802, - "end": 18803, + "start": 20996, + "end": 20997, "loc": { "start": { - "line": 554, + "line": 641, "column": 57 }, "end": { - "line": 554, + "line": 641, "column": 58 } }, @@ -60953,15 +70901,15 @@ }, { "type": "TemplateElement", - "start": 18817, - "end": 18817, + "start": 21011, + "end": 21011, "loc": { "start": { - "line": 554, + "line": 641, "column": 72 }, "end": { - "line": 554, + "line": 641, "column": 72 } }, @@ -60979,15 +70927,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", - "start": 18677, - "end": 18743, + "start": 20871, + "end": 20937, "loc": { "start": { - "line": 551, + "line": 638, "column": 4 }, "end": { - "line": 553, + "line": 640, "column": 7 } } @@ -60997,15 +70945,15 @@ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", - "start": 18827, - "end": 18874, + "start": 21021, + "end": 21068, "loc": { "start": { - "line": 556, + "line": 643, "column": 4 }, "end": { - "line": 558, + "line": 645, "column": 7 } } @@ -61014,71 +70962,71 @@ }, { "type": "ExpressionStatement", - "start": 18880, - "end": 20997, + "start": 21074, + "end": 23270, "loc": { "start": { - "line": 559, + "line": 646, "column": 4 }, "end": { - "line": 626, + "line": 714, "column": 7 } }, "expression": { "type": "CallExpression", - "start": 18880, - "end": 20996, + "start": 21074, + "end": 23269, "loc": { "start": { - "line": 559, + "line": 646, "column": 4 }, "end": { - "line": 626, + "line": 714, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 18880, - "end": 18919, + "start": 21074, + "end": 21113, "loc": { "start": { - "line": 559, + "line": 646, "column": 4 }, "end": { - "line": 559, + "line": 646, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 18880, - "end": 18911, + "start": 21074, + "end": 21105, "loc": { "start": { - "line": 559, + "line": 646, "column": 4 }, "end": { - "line": 559, + "line": 646, "column": 35 } }, "object": { "type": "Identifier", - "start": 18880, - "end": 18886, + "start": 21074, + "end": 21080, "loc": { "start": { - "line": 559, + "line": 646, "column": 4 }, "end": { - "line": 559, + "line": 646, "column": 10 }, "identifierName": "layout" @@ -61088,58 +71036,58 @@ }, "property": { "type": "MemberExpression", - "start": 18887, - "end": 18910, + "start": 21081, + "end": 21104, "loc": { "start": { - "line": 559, + "line": 646, "column": 11 }, "end": { - "line": 559, + "line": 646, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 18887, - "end": 18899, + "start": 21081, + "end": 21093, "loc": { "start": { - "line": 559, + "line": 646, "column": 11 }, "end": { - "line": 559, + "line": 646, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 18887, - "end": 18891, + "start": 21081, + "end": 21085, "loc": { "start": { - "line": 559, + "line": 646, "column": 11 }, "end": { - "line": 559, + "line": 646, "column": 15 } } }, "property": { "type": "Identifier", - "start": 18892, - "end": 18899, + "start": 21086, + "end": 21093, "loc": { "start": { - "line": 559, + "line": 646, "column": 16 }, "end": { - "line": 559, + "line": 646, "column": 23 }, "identifierName": "options" @@ -61150,15 +71098,15 @@ }, "property": { "type": "Identifier", - "start": 18900, - "end": 18910, + "start": 21094, + "end": 21104, "loc": { "start": { - "line": 559, + "line": 646, "column": 24 }, "end": { - "line": 559, + "line": 646, "column": 34 }, "identifierName": "layoutName" @@ -61172,15 +71120,15 @@ }, "property": { "type": "Identifier", - "start": 18912, - "end": 18919, + "start": 21106, + "end": 21113, "loc": { "start": { - "line": 559, + "line": 646, "column": 36 }, "end": { - "line": 559, + "line": 646, "column": 43 }, "identifierName": "forEach" @@ -61193,15 +71141,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 18920, - "end": 20995, + "start": 21114, + "end": 23268, "loc": { "start": { - "line": 559, + "line": 646, "column": 44 }, "end": { - "line": 626, + "line": 714, "column": 5 } }, @@ -61212,15 +71160,15 @@ "params": [ { "type": "Identifier", - "start": 18921, - "end": 18924, + "start": 21115, + "end": 21118, "loc": { "start": { - "line": 559, + "line": 646, "column": 45 }, "end": { - "line": 559, + "line": 646, "column": 48 }, "identifierName": "row" @@ -61229,15 +71177,15 @@ }, { "type": "Identifier", - "start": 18926, - "end": 18932, + "start": 21120, + "end": 21126, "loc": { "start": { - "line": 559, + "line": 646, "column": 50 }, "end": { - "line": 559, + "line": 646, "column": 56 }, "identifierName": "rIndex" @@ -61247,59 +71195,59 @@ ], "body": { "type": "BlockStatement", - "start": 18937, - "end": 20995, + "start": 21131, + "end": 23268, "loc": { "start": { - "line": 559, + "line": 646, "column": 61 }, "end": { - "line": 626, + "line": 714, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 18946, - "end": 18976, + "start": 21140, + "end": 21170, "loc": { "start": { - "line": 560, + "line": 647, "column": 6 }, "end": { - "line": 560, + "line": 647, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 18950, - "end": 18975, + "start": 21144, + "end": 21169, "loc": { "start": { - "line": 560, + "line": 647, "column": 10 }, "end": { - "line": 560, + "line": 647, "column": 35 } }, "id": { "type": "Identifier", - "start": 18950, - "end": 18958, + "start": 21144, + "end": 21152, "loc": { "start": { - "line": 560, + "line": 647, "column": 10 }, "end": { - "line": 560, + "line": 647, "column": 18 }, "identifierName": "rowArray" @@ -61308,43 +71256,43 @@ }, "init": { "type": "CallExpression", - "start": 18961, - "end": 18975, + "start": 21155, + "end": 21169, "loc": { "start": { - "line": 560, + "line": 647, "column": 21 }, "end": { - "line": 560, + "line": 647, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 18961, - "end": 18970, + "start": 21155, + "end": 21164, "loc": { "start": { - "line": 560, + "line": 647, "column": 21 }, "end": { - "line": 560, + "line": 647, "column": 30 } }, "object": { "type": "Identifier", - "start": 18961, - "end": 18964, + "start": 21155, + "end": 21158, "loc": { "start": { - "line": 560, + "line": 647, "column": 21 }, "end": { - "line": 560, + "line": 647, "column": 24 }, "identifierName": "row" @@ -61353,15 +71301,15 @@ }, "property": { "type": "Identifier", - "start": 18965, - "end": 18970, + "start": 21159, + "end": 21164, "loc": { "start": { - "line": 560, + "line": 647, "column": 25 }, "end": { - "line": 560, + "line": 647, "column": 30 }, "identifierName": "split" @@ -61373,15 +71321,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 18971, - "end": 18974, + "start": 21165, + "end": 21168, "loc": { "start": { - "line": 560, + "line": 647, "column": 31 }, "end": { - "line": 560, + "line": 647, "column": 34 } }, @@ -61400,15 +71348,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", - "start": 18986, - "end": 19029, + "start": 21180, + "end": 21223, "loc": { "start": { - "line": 562, + "line": 649, "column": 6 }, "end": { - "line": 564, + "line": 651, "column": 9 } } @@ -61417,44 +71365,44 @@ }, { "type": "VariableDeclaration", - "start": 19037, - "end": 19080, + "start": 21231, + "end": 21274, "loc": { "start": { - "line": 565, + "line": 652, "column": 6 }, "end": { - "line": 565, + "line": 652, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 19041, - "end": 19079, + "start": 21235, + "end": 21273, "loc": { "start": { - "line": 565, + "line": 652, "column": 10 }, "end": { - "line": 565, + "line": 652, "column": 48 } }, "id": { "type": "Identifier", - "start": 19041, - "end": 19047, + "start": 21235, + "end": 21241, "loc": { "start": { - "line": 565, + "line": 652, "column": 10 }, "end": { - "line": 565, + "line": 652, "column": 16 }, "identifierName": "rowDOM" @@ -61464,43 +71412,43 @@ }, "init": { "type": "CallExpression", - "start": 19050, - "end": 19079, + "start": 21244, + "end": 21273, "loc": { "start": { - "line": 565, + "line": 652, "column": 19 }, "end": { - "line": 565, + "line": 652, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 19050, - "end": 19072, + "start": 21244, + "end": 21266, "loc": { "start": { - "line": 565, + "line": 652, "column": 19 }, "end": { - "line": 565, + "line": 652, "column": 41 } }, "object": { "type": "Identifier", - "start": 19050, - "end": 19058, + "start": 21244, + "end": 21252, "loc": { "start": { - "line": 565, + "line": 652, "column": 19 }, "end": { - "line": 565, + "line": 652, "column": 27 }, "identifierName": "document" @@ -61509,15 +71457,15 @@ }, "property": { "type": "Identifier", - "start": 19059, - "end": 19072, + "start": 21253, + "end": 21266, "loc": { "start": { - "line": 565, + "line": 652, "column": 28 }, "end": { - "line": 565, + "line": 652, "column": 41 }, "identifierName": "createElement" @@ -61529,15 +71477,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 19073, - "end": 19078, + "start": 21267, + "end": 21272, "loc": { "start": { - "line": 565, + "line": 652, "column": 42 }, "end": { - "line": 565, + "line": 652, "column": 47 } }, @@ -61557,15 +71505,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", - "start": 18986, - "end": 19029, + "start": 21180, + "end": 21223, "loc": { "start": { - "line": 562, + "line": 649, "column": 6 }, "end": { - "line": 564, + "line": 651, "column": 9 } } @@ -61574,58 +71522,58 @@ }, { "type": "ExpressionStatement", - "start": 19088, - "end": 19117, + "start": 21282, + "end": 21311, "loc": { "start": { - "line": 566, + "line": 653, "column": 6 }, "end": { - "line": 566, + "line": 653, "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 19088, - "end": 19116, + "start": 21282, + "end": 21310, "loc": { "start": { - "line": 566, + "line": 653, "column": 6 }, "end": { - "line": 566, + "line": 653, "column": 34 } }, "operator": "+=", "left": { "type": "MemberExpression", - "start": 19088, - "end": 19104, + "start": 21282, + "end": 21298, "loc": { "start": { - "line": 566, + "line": 653, "column": 6 }, "end": { - "line": 566, + "line": 653, "column": 22 } }, "object": { "type": "Identifier", - "start": 19088, - "end": 19094, + "start": 21282, + "end": 21288, "loc": { "start": { - "line": 566, + "line": 653, "column": 6 }, "end": { - "line": 566, + "line": 653, "column": 12 }, "identifierName": "rowDOM" @@ -61634,15 +71582,15 @@ }, "property": { "type": "Identifier", - "start": 19095, - "end": 19104, + "start": 21289, + "end": 21298, "loc": { "start": { - "line": 566, + "line": 653, "column": 13 }, "end": { - "line": 566, + "line": 653, "column": 22 }, "identifierName": "className" @@ -61653,15 +71601,15 @@ }, "right": { "type": "StringLiteral", - "start": 19108, - "end": 19116, + "start": 21302, + "end": 21310, "loc": { "start": { - "line": 566, + "line": 653, "column": 26 }, "end": { - "line": 566, + "line": 653, "column": 34 } }, @@ -61676,15 +71624,15 @@ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", - "start": 19127, - "end": 19188, + "start": 21321, + "end": 21382, "loc": { "start": { - "line": 568, + "line": 655, "column": 6 }, "end": { - "line": 570, + "line": 657, "column": 9 } } @@ -61693,57 +71641,57 @@ }, { "type": "ExpressionStatement", - "start": 19196, - "end": 20883, + "start": 21390, + "end": 23156, "loc": { "start": { - "line": 571, + "line": 658, "column": 6 }, "end": { - "line": 620, + "line": 708, "column": 9 } }, "expression": { "type": "CallExpression", - "start": 19196, - "end": 20882, + "start": 21390, + "end": 23155, "loc": { "start": { - "line": 571, + "line": 658, "column": 6 }, "end": { - "line": 620, + "line": 708, "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 19196, - "end": 19212, + "start": 21390, + "end": 21406, "loc": { "start": { - "line": 571, + "line": 658, "column": 6 }, "end": { - "line": 571, + "line": 658, "column": 22 } }, "object": { "type": "Identifier", - "start": 19196, - "end": 19204, + "start": 21390, + "end": 21398, "loc": { "start": { - "line": 571, + "line": 658, "column": 6 }, "end": { - "line": 571, + "line": 658, "column": 14 }, "identifierName": "rowArray" @@ -61753,15 +71701,15 @@ }, "property": { "type": "Identifier", - "start": 19205, - "end": 19212, + "start": 21399, + "end": 21406, "loc": { "start": { - "line": 571, + "line": 658, "column": 15 }, "end": { - "line": 571, + "line": 658, "column": 22 }, "identifierName": "forEach" @@ -61774,15 +71722,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 19213, - "end": 20881, + "start": 21407, + "end": 23154, "loc": { "start": { - "line": 571, + "line": 658, "column": 23 }, "end": { - "line": 620, + "line": 708, "column": 7 } }, @@ -61793,15 +71741,15 @@ "params": [ { "type": "Identifier", - "start": 19214, - "end": 19220, + "start": 21408, + "end": 21414, "loc": { "start": { - "line": 571, + "line": 658, "column": 24 }, "end": { - "line": 571, + "line": 658, "column": 30 }, "identifierName": "button" @@ -61810,15 +71758,15 @@ }, { "type": "Identifier", - "start": 19222, - "end": 19228, + "start": 21416, + "end": 21422, "loc": { "start": { - "line": 571, + "line": 658, "column": 32 }, "end": { - "line": 571, + "line": 658, "column": 38 }, "identifierName": "bIndex" @@ -61828,59 +71776,59 @@ ], "body": { "type": "BlockStatement", - "start": 19233, - "end": 20881, + "start": 21427, + "end": 23154, "loc": { "start": { - "line": 571, + "line": 658, "column": 43 }, "end": { - "line": 620, + "line": 708, "column": 7 } }, "body": [ { "type": "VariableDeclaration", - "start": 19244, - "end": 19300, + "start": 21438, + "end": 21494, "loc": { "start": { - "line": 572, + "line": 659, "column": 8 }, "end": { - "line": 572, + "line": 659, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 19248, - "end": 19299, + "start": 21442, + "end": 21493, "loc": { "start": { - "line": 572, + "line": 659, "column": 12 }, "end": { - "line": 572, + "line": 659, "column": 63 } }, "id": { "type": "Identifier", - "start": 19248, - "end": 19259, + "start": 21442, + "end": 21453, "loc": { "start": { - "line": 572, + "line": 659, "column": 12 }, "end": { - "line": 572, + "line": 659, "column": 23 }, "identifierName": "fctBtnClass" @@ -61889,72 +71837,72 @@ }, "init": { "type": "CallExpression", - "start": 19262, - "end": 19299, + "start": 21456, + "end": 21493, "loc": { "start": { - "line": 572, + "line": 659, "column": 26 }, "end": { - "line": 572, + "line": 659, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 19262, - "end": 19291, + "start": 21456, + "end": 21485, "loc": { "start": { - "line": 572, + "line": 659, "column": 26 }, "end": { - "line": 572, + "line": 659, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 19262, - "end": 19276, + "start": 21456, + "end": 21470, "loc": { "start": { - "line": 572, + "line": 659, "column": 26 }, "end": { - "line": 572, + "line": 659, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 19262, - "end": 19266, + "start": 21456, + "end": 21460, "loc": { "start": { - "line": 572, + "line": 659, "column": 26 }, "end": { - "line": 572, + "line": 659, "column": 30 } } }, "property": { "type": "Identifier", - "start": 19267, - "end": 19276, + "start": 21461, + "end": 21470, "loc": { "start": { - "line": 572, + "line": 659, "column": 31 }, "end": { - "line": 572, + "line": 659, "column": 40 }, "identifierName": "utilities" @@ -61965,15 +71913,15 @@ }, "property": { "type": "Identifier", - "start": 19277, - "end": 19291, + "start": 21471, + "end": 21485, "loc": { "start": { - "line": 572, + "line": 659, "column": 41 }, "end": { - "line": 572, + "line": 659, "column": 55 }, "identifierName": "getButtonClass" @@ -61985,15 +71933,15 @@ "arguments": [ { "type": "Identifier", - "start": 19292, - "end": 19298, + "start": 21486, + "end": 21492, "loc": { "start": { - "line": 572, + "line": 659, "column": 56 }, "end": { - "line": 572, + "line": 659, "column": 62 }, "identifierName": "button" @@ -62008,44 +71956,44 @@ }, { "type": "VariableDeclaration", - "start": 19310, - "end": 19360, + "start": 21504, + "end": 21554, "loc": { "start": { - "line": 573, + "line": 660, "column": 8 }, "end": { - "line": 573, + "line": 660, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 19314, - "end": 19359, + "start": 21508, + "end": 21553, "loc": { "start": { - "line": 573, + "line": 660, "column": 12 }, "end": { - "line": 573, + "line": 660, "column": 57 } }, "id": { "type": "Identifier", - "start": 19314, - "end": 19330, + "start": 21508, + "end": 21524, "loc": { "start": { - "line": 573, + "line": 660, "column": 12 }, "end": { - "line": 573, + "line": 660, "column": 28 }, "identifierName": "buttonThemeClass" @@ -62054,29 +72002,29 @@ }, "init": { "type": "MemberExpression", - "start": 19333, - "end": 19359, + "start": 21527, + "end": 21553, "loc": { "start": { - "line": 573, + "line": 660, "column": 31 }, "end": { - "line": 573, + "line": 660, "column": 57 } }, "object": { "type": "Identifier", - "start": 19333, - "end": 19351, + "start": 21527, + "end": 21545, "loc": { "start": { - "line": 573, + "line": 660, "column": 31 }, "end": { - "line": 573, + "line": 660, "column": 49 }, "identifierName": "buttonThemesParsed" @@ -62085,15 +72033,15 @@ }, "property": { "type": "Identifier", - "start": 19352, - "end": 19358, + "start": 21546, + "end": 21552, "loc": { "start": { - "line": 573, + "line": 660, "column": 50 }, "end": { - "line": 573, + "line": 660, "column": 56 }, "identifierName": "button" @@ -62108,44 +72056,44 @@ }, { "type": "VariableDeclaration", - "start": 19370, - "end": 19487, + "start": 21564, + "end": 21681, "loc": { "start": { - "line": 574, + "line": 661, "column": 8 }, "end": { - "line": 574, + "line": 661, "column": 125 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 19374, - "end": 19486, + "start": 21568, + "end": 21680, "loc": { "start": { - "line": 574, + "line": 661, "column": 12 }, "end": { - "line": 574, + "line": 661, "column": 124 } }, "id": { "type": "Identifier", - "start": 19374, - "end": 19391, + "start": 21568, + "end": 21585, "loc": { "start": { - "line": 574, + "line": 661, "column": 12 }, "end": { - "line": 574, + "line": 661, "column": 29 }, "identifierName": "buttonDisplayName" @@ -62154,72 +72102,72 @@ }, "init": { "type": "CallExpression", - "start": 19394, - "end": 19486, + "start": 21588, + "end": 21680, "loc": { "start": { - "line": 574, + "line": 661, "column": 32 }, "end": { - "line": 574, + "line": 661, "column": 124 } }, "callee": { "type": "MemberExpression", - "start": 19394, - "end": 19429, + "start": 21588, + "end": 21623, "loc": { "start": { - "line": 574, + "line": 661, "column": 32 }, "end": { - "line": 574, + "line": 661, "column": 67 } }, "object": { "type": "MemberExpression", - "start": 19394, - "end": 19408, + "start": 21588, + "end": 21602, "loc": { "start": { - "line": 574, + "line": 661, "column": 32 }, "end": { - "line": 574, + "line": 661, "column": 46 } }, "object": { "type": "ThisExpression", - "start": 19394, - "end": 19398, + "start": 21588, + "end": 21592, "loc": { "start": { - "line": 574, + "line": 661, "column": 32 }, "end": { - "line": 574, + "line": 661, "column": 36 } } }, "property": { "type": "Identifier", - "start": 19399, - "end": 19408, + "start": 21593, + "end": 21602, "loc": { "start": { - "line": 574, + "line": 661, "column": 37 }, "end": { - "line": 574, + "line": 661, "column": 46 }, "identifierName": "utilities" @@ -62230,15 +72178,15 @@ }, "property": { "type": "Identifier", - "start": 19409, - "end": 19429, + "start": 21603, + "end": 21623, "loc": { "start": { - "line": 574, + "line": 661, "column": 47 }, "end": { - "line": 574, + "line": 661, "column": 67 }, "identifierName": "getButtonDisplayName" @@ -62250,15 +72198,15 @@ "arguments": [ { "type": "Identifier", - "start": 19430, - "end": 19436, + "start": 21624, + "end": 21630, "loc": { "start": { - "line": 574, + "line": 661, "column": 68 }, "end": { - "line": 574, + "line": 661, "column": 74 }, "identifierName": "button" @@ -62267,58 +72215,58 @@ }, { "type": "MemberExpression", - "start": 19438, - "end": 19458, + "start": 21632, + "end": 21652, "loc": { "start": { - "line": 574, + "line": 661, "column": 76 }, "end": { - "line": 574, + "line": 661, "column": 96 } }, "object": { "type": "MemberExpression", - "start": 19438, - "end": 19450, + "start": 21632, + "end": 21644, "loc": { "start": { - "line": 574, + "line": 661, "column": 76 }, "end": { - "line": 574, + "line": 661, "column": 88 } }, "object": { "type": "ThisExpression", - "start": 19438, - "end": 19442, + "start": 21632, + "end": 21636, "loc": { "start": { - "line": 574, + "line": 661, "column": 76 }, "end": { - "line": 574, + "line": 661, "column": 80 } } }, "property": { "type": "Identifier", - "start": 19443, - "end": 19450, + "start": 21637, + "end": 21644, "loc": { "start": { - "line": 574, + "line": 661, "column": 81 }, "end": { - "line": 574, + "line": 661, "column": 88 }, "identifierName": "options" @@ -62329,15 +72277,15 @@ }, "property": { "type": "Identifier", - "start": 19451, - "end": 19458, + "start": 21645, + "end": 21652, "loc": { "start": { - "line": 574, + "line": 661, "column": 89 }, "end": { - "line": 574, + "line": 661, "column": 96 }, "identifierName": "display" @@ -62348,58 +72296,58 @@ }, { "type": "MemberExpression", - "start": 19460, - "end": 19485, + "start": 21654, + "end": 21679, "loc": { "start": { - "line": 574, + "line": 661, "column": 98 }, "end": { - "line": 574, + "line": 661, "column": 123 } }, "object": { "type": "MemberExpression", - "start": 19460, - "end": 19472, + "start": 21654, + "end": 21666, "loc": { "start": { - "line": 574, + "line": 661, "column": 98 }, "end": { - "line": 574, + "line": 661, "column": 110 } }, "object": { "type": "ThisExpression", - "start": 19460, - "end": 19464, + "start": 21654, + "end": 21658, "loc": { "start": { - "line": 574, + "line": 661, "column": 98 }, "end": { - "line": 574, + "line": 661, "column": 102 } } }, "property": { "type": "Identifier", - "start": 19465, - "end": 19472, + "start": 21659, + "end": 21666, "loc": { "start": { - "line": 574, + "line": 661, "column": 103 }, "end": { - "line": 574, + "line": 661, "column": 110 }, "identifierName": "options" @@ -62410,15 +72358,15 @@ }, "property": { "type": "Identifier", - "start": 19473, - "end": 19485, + "start": 21667, + "end": 21679, "loc": { "start": { - "line": 574, + "line": 661, "column": 111 }, "end": { - "line": 574, + "line": 661, "column": 123 }, "identifierName": "mergeDisplay" @@ -62436,15 +72384,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", - "start": 19499, - "end": 19543, + "start": 21693, + "end": 21737, "loc": { "start": { - "line": 576, + "line": 663, "column": 8 }, "end": { - "line": 578, + "line": 665, "column": 11 } } @@ -62453,44 +72401,44 @@ }, { "type": "VariableDeclaration", - "start": 19553, - "end": 19599, + "start": 21747, + "end": 21793, "loc": { "start": { - "line": 579, + "line": 666, "column": 8 }, "end": { - "line": 579, + "line": 666, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 19557, - "end": 19598, + "start": 21751, + "end": 21792, "loc": { "start": { - "line": 579, + "line": 666, "column": 12 }, "end": { - "line": 579, + "line": 666, "column": 53 } }, "id": { "type": "Identifier", - "start": 19557, - "end": 19566, + "start": 21751, + "end": 21760, "loc": { "start": { - "line": 579, + "line": 666, "column": 12 }, "end": { - "line": 579, + "line": 666, "column": 21 }, "identifierName": "buttonDOM" @@ -62500,43 +72448,43 @@ }, "init": { "type": "CallExpression", - "start": 19569, - "end": 19598, + "start": 21763, + "end": 21792, "loc": { "start": { - "line": 579, + "line": 666, "column": 24 }, "end": { - "line": 579, + "line": 666, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 19569, - "end": 19591, + "start": 21763, + "end": 21785, "loc": { "start": { - "line": 579, + "line": 666, "column": 24 }, "end": { - "line": 579, + "line": 666, "column": 46 } }, "object": { "type": "Identifier", - "start": 19569, - "end": 19577, + "start": 21763, + "end": 21771, "loc": { "start": { - "line": 579, + "line": 666, "column": 24 }, "end": { - "line": 579, + "line": 666, "column": 32 }, "identifierName": "document" @@ -62545,15 +72493,15 @@ }, "property": { "type": "Identifier", - "start": 19578, - "end": 19591, + "start": 21772, + "end": 21785, "loc": { "start": { - "line": 579, + "line": 666, "column": 33 }, "end": { - "line": 579, + "line": 666, "column": 46 }, "identifierName": "createElement" @@ -62565,15 +72513,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 19592, - "end": 19597, + "start": 21786, + "end": 21791, "loc": { "start": { - "line": 579, + "line": 666, "column": 47 }, "end": { - "line": 579, + "line": 666, "column": 52 } }, @@ -62593,15 +72541,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", - "start": 19499, - "end": 19543, + "start": 21693, + "end": 21737, "loc": { "start": { - "line": 576, + "line": 663, "column": 8 }, "end": { - "line": 578, + "line": 665, "column": 11 } } @@ -62610,58 +72558,58 @@ }, { "type": "ExpressionStatement", - "start": 19609, - "end": 19706, + "start": 21803, + "end": 21900, "loc": { "start": { - "line": 580, + "line": 667, "column": 8 }, "end": { - "line": 580, + "line": 667, "column": 105 } }, "expression": { "type": "AssignmentExpression", - "start": 19609, - "end": 19705, + "start": 21803, + "end": 21899, "loc": { "start": { - "line": 580, + "line": 667, "column": 8 }, "end": { - "line": 580, + "line": 667, "column": 104 } }, "operator": "+=", "left": { "type": "MemberExpression", - "start": 19609, - "end": 19628, + "start": 21803, + "end": 21822, "loc": { "start": { - "line": 580, + "line": 667, "column": 8 }, "end": { - "line": 580, + "line": 667, "column": 27 } }, "object": { "type": "Identifier", - "start": 19609, - "end": 19618, + "start": 21803, + "end": 21812, "loc": { "start": { - "line": 580, + "line": 667, "column": 8 }, "end": { - "line": 580, + "line": 667, "column": 17 }, "identifierName": "buttonDOM" @@ -62670,15 +72618,15 @@ }, "property": { "type": "Identifier", - "start": 19619, - "end": 19628, + "start": 21813, + "end": 21822, "loc": { "start": { - "line": 580, + "line": 667, "column": 18 }, "end": { - "line": 580, + "line": 667, "column": 27 }, "identifierName": "className" @@ -62689,30 +72637,30 @@ }, "right": { "type": "TemplateLiteral", - "start": 19632, - "end": 19705, + "start": 21826, + "end": 21899, "loc": { "start": { - "line": 580, + "line": 667, "column": 31 }, "end": { - "line": 580, + "line": 667, "column": 104 } }, "expressions": [ { "type": "Identifier", - "start": 19645, - "end": 19656, + "start": 21839, + "end": 21850, "loc": { "start": { - "line": 580, + "line": 667, "column": 44 }, "end": { - "line": 580, + "line": 667, "column": 55 }, "identifierName": "fctBtnClass" @@ -62721,29 +72669,29 @@ }, { "type": "ConditionalExpression", - "start": 19659, - "end": 19703, + "start": 21853, + "end": 21897, "loc": { "start": { - "line": 580, + "line": 667, "column": 58 }, "end": { - "line": 580, + "line": 667, "column": 102 } }, "test": { "type": "Identifier", - "start": 19659, - "end": 19675, + "start": 21853, + "end": 21869, "loc": { "start": { - "line": 580, + "line": 667, "column": 58 }, "end": { - "line": 580, + "line": 667, "column": 74 }, "identifierName": "buttonThemeClass" @@ -62752,29 +72700,29 @@ }, "consequent": { "type": "BinaryExpression", - "start": 19678, - "end": 19698, + "start": 21872, + "end": 21892, "loc": { "start": { - "line": 580, + "line": 667, "column": 77 }, "end": { - "line": 580, + "line": 667, "column": 97 } }, "left": { "type": "StringLiteral", - "start": 19678, - "end": 19681, + "start": 21872, + "end": 21875, "loc": { "start": { - "line": 580, + "line": 667, "column": 77 }, "end": { - "line": 580, + "line": 667, "column": 80 } }, @@ -62787,15 +72735,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 19682, - "end": 19698, + "start": 21876, + "end": 21892, "loc": { "start": { - "line": 580, + "line": 667, "column": 81 }, "end": { - "line": 580, + "line": 667, "column": 97 }, "identifierName": "buttonThemeClass" @@ -62805,15 +72753,15 @@ }, "alternate": { "type": "StringLiteral", - "start": 19701, - "end": 19703, + "start": 21895, + "end": 21897, "loc": { "start": { - "line": 580, + "line": 667, "column": 100 }, "end": { - "line": 580, + "line": 667, "column": 102 } }, @@ -62828,15 +72776,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 19633, - "end": 19643, + "start": 21827, + "end": 21837, "loc": { "start": { - "line": 580, + "line": 667, "column": 32 }, "end": { - "line": 580, + "line": 667, "column": 42 } }, @@ -62848,15 +72796,15 @@ }, { "type": "TemplateElement", - "start": 19657, - "end": 19657, + "start": 21851, + "end": 21851, "loc": { "start": { - "line": 580, + "line": 667, "column": 56 }, "end": { - "line": 580, + "line": 667, "column": 56 } }, @@ -62868,15 +72816,15 @@ }, { "type": "TemplateElement", - "start": 19704, - "end": 19704, + "start": 21898, + "end": 21898, "loc": { "start": { - "line": 580, + "line": 667, "column": 103 }, "end": { - "line": 580, + "line": 667, "column": 103 } }, @@ -62892,58 +72840,58 @@ }, { "type": "ExpressionStatement", - "start": 19716, - "end": 19775, + "start": 21910, + "end": 21969, "loc": { "start": { - "line": 581, + "line": 668, "column": 8 }, "end": { - "line": 581, + "line": 668, "column": 67 } }, "expression": { "type": "AssignmentExpression", - "start": 19716, - "end": 19774, + "start": 21910, + "end": 21968, "loc": { "start": { - "line": 581, + "line": 668, "column": 8 }, "end": { - "line": 581, + "line": 668, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 19716, - "end": 19733, + "start": 21910, + "end": 21927, "loc": { "start": { - "line": 581, + "line": 668, "column": 8 }, "end": { - "line": 581, + "line": 668, "column": 25 } }, "object": { "type": "Identifier", - "start": 19716, - "end": 19725, + "start": 21910, + "end": 21919, "loc": { "start": { - "line": 581, + "line": 668, "column": 8 }, "end": { - "line": 581, + "line": 668, "column": 17 }, "identifierName": "buttonDOM" @@ -62952,15 +72900,15 @@ }, "property": { "type": "Identifier", - "start": 19726, - "end": 19733, + "start": 21920, + "end": 21927, "loc": { "start": { - "line": 581, + "line": 668, "column": 18 }, "end": { - "line": 581, + "line": 668, "column": 25 }, "identifierName": "onclick" @@ -62971,15 +72919,15 @@ }, "right": { "type": "ArrowFunctionExpression", - "start": 19736, - "end": 19774, + "start": 21930, + "end": 21968, "loc": { "start": { - "line": 581, + "line": 668, "column": 28 }, "end": { - "line": 581, + "line": 668, "column": 66 } }, @@ -62990,58 +72938,58 @@ "params": [], "body": { "type": "CallExpression", - "start": 19742, - "end": 19774, + "start": 21936, + "end": 21968, "loc": { "start": { - "line": 581, + "line": 668, "column": 34 }, "end": { - "line": 581, + "line": 668, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 19742, - "end": 19766, + "start": 21936, + "end": 21960, "loc": { "start": { - "line": 581, + "line": 668, "column": 34 }, "end": { - "line": 581, + "line": 668, "column": 58 } }, "object": { "type": "ThisExpression", - "start": 19742, - "end": 19746, + "start": 21936, + "end": 21940, "loc": { "start": { - "line": 581, + "line": 668, "column": 34 }, "end": { - "line": 581, + "line": 668, "column": 38 } } }, "property": { "type": "Identifier", - "start": 19747, - "end": 19766, + "start": 21941, + "end": 21960, "loc": { "start": { - "line": 581, + "line": 668, "column": 39 }, "end": { - "line": 581, + "line": 668, "column": 58 }, "identifierName": "handleButtonClicked" @@ -63053,15 +73001,15 @@ "arguments": [ { "type": "Identifier", - "start": 19767, - "end": 19773, + "start": 21961, + "end": 21967, "loc": { "start": { - "line": 581, + "line": 668, "column": 59 }, "end": { - "line": 581, + "line": 668, "column": 65 }, "identifierName": "button" @@ -63071,20 +73019,238 @@ ] } } + } + }, + { + "type": "ExpressionStatement", + "start": 21979, + "end": 22048, + "loc": { + "start": { + "line": 669, + "column": 8 + }, + "end": { + "line": 669, + "column": 77 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 21979, + "end": 22047, + "loc": { + "start": { + "line": 669, + "column": 8 + }, + "end": { + "line": 669, + "column": 76 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 21979, + "end": 22000, + "loc": { + "start": { + "line": 669, + "column": 8 + }, + "end": { + "line": 669, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 21979, + "end": 21988, + "loc": { + "start": { + "line": 669, + "column": 8 + }, + "end": { + "line": 669, + "column": 17 + }, + "identifierName": "buttonDOM" + }, + "name": "buttonDOM" + }, + "property": { + "type": "Identifier", + "start": 21989, + "end": 22000, + "loc": { + "start": { + "line": 669, + "column": 18 + }, + "end": { + "line": 669, + "column": 29 + }, + "identifierName": "onmousedown" + }, + "name": "onmousedown" + }, + "computed": false + }, + "right": { + "type": "ArrowFunctionExpression", + "start": 22003, + "end": 22047, + "loc": { + "start": { + "line": 669, + "column": 32 + }, + "end": { + "line": 669, + "column": 76 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 22004, + "end": 22005, + "loc": { + "start": { + "line": 669, + "column": 33 + }, + "end": { + "line": 669, + "column": 34 + }, + "identifierName": "e" + }, + "name": "e" + } + ], + "body": { + "type": "CallExpression", + "start": 22010, + "end": 22047, + "loc": { + "start": { + "line": 669, + "column": 39 + }, + "end": { + "line": 669, + "column": 76 + } + }, + "callee": { + "type": "MemberExpression", + "start": 22010, + "end": 22036, + "loc": { + "start": { + "line": 669, + "column": 39 + }, + "end": { + "line": 669, + "column": 65 + } + }, + "object": { + "type": "ThisExpression", + "start": 22010, + "end": 22014, + "loc": { + "start": { + "line": 669, + "column": 39 + }, + "end": { + "line": 669, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "start": 22015, + "end": 22036, + "loc": { + "start": { + "line": 669, + "column": 44 + }, + "end": { + "line": 669, + "column": 65 + }, + "identifierName": "handleButtonMouseDown" + }, + "name": "handleButtonMouseDown" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 22037, + "end": 22043, + "loc": { + "start": { + "line": 669, + "column": 66 + }, + "end": { + "line": 669, + "column": 72 + }, + "identifierName": "button" + }, + "name": "button" + }, + { + "type": "Identifier", + "start": 22045, + "end": 22046, + "loc": { + "start": { + "line": 669, + "column": 74 + }, + "end": { + "line": 669, + "column": 75 + }, + "identifierName": "e" + }, + "name": "e" + } + ] + } + } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", - "start": 19787, - "end": 19833, + "start": 22060, + "end": 22106, "loc": { "start": { - "line": 583, + "line": 671, "column": 8 }, "end": { - "line": 585, + "line": 673, "column": 11 } } @@ -63093,57 +73259,57 @@ }, { "type": "ExpressionStatement", - "start": 19843, - "end": 19888, + "start": 22116, + "end": 22161, "loc": { "start": { - "line": 586, + "line": 674, "column": 8 }, "end": { - "line": 586, + "line": 674, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 19843, - "end": 19887, + "start": 22116, + "end": 22160, "loc": { "start": { - "line": 586, + "line": 674, "column": 8 }, "end": { - "line": 586, + "line": 674, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 19843, - "end": 19865, + "start": 22116, + "end": 22138, "loc": { "start": { - "line": 586, + "line": 674, "column": 8 }, "end": { - "line": 586, + "line": 674, "column": 30 } }, "object": { "type": "Identifier", - "start": 19843, - "end": 19852, + "start": 22116, + "end": 22125, "loc": { "start": { - "line": 586, + "line": 674, "column": 8 }, "end": { - "line": 586, + "line": 674, "column": 17 }, "identifierName": "buttonDOM" @@ -63153,15 +73319,15 @@ }, "property": { "type": "Identifier", - "start": 19853, - "end": 19865, + "start": 22126, + "end": 22138, "loc": { "start": { - "line": 586, + "line": 674, "column": 18 }, "end": { - "line": 586, + "line": 674, "column": 30 }, "identifierName": "setAttribute" @@ -63174,15 +73340,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 19866, - "end": 19878, + "start": 22139, + "end": 22151, "loc": { "start": { - "line": 586, + "line": 674, "column": 31 }, "end": { - "line": 586, + "line": 674, "column": 43 } }, @@ -63194,15 +73360,15 @@ }, { "type": "Identifier", - "start": 19880, - "end": 19886, + "start": 22153, + "end": 22159, "loc": { "start": { - "line": 586, + "line": 674, "column": 45 }, "end": { - "line": 586, + "line": 674, "column": 51 }, "identifierName": "button" @@ -63216,15 +73382,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", - "start": 19787, - "end": 19833, + "start": 22060, + "end": 22106, "loc": { "start": { - "line": 583, + "line": 671, "column": 8 }, "end": { - "line": 585, + "line": 673, "column": 11 } } @@ -63234,15 +73400,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": 19900, - "end": 20055, + "start": 22173, + "end": 22328, "loc": { "start": { - "line": 588, + "line": 676, "column": 8 }, "end": { - "line": 591, + "line": 679, "column": 11 } } @@ -63251,44 +73417,44 @@ }, { "type": "VariableDeclaration", - "start": 20065, - "end": 20131, + "start": 22338, + "end": 22404, "loc": { "start": { - "line": 592, + "line": 680, "column": 8 }, "end": { - "line": 592, + "line": 680, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 20069, - "end": 20130, + "start": 22342, + "end": 22403, "loc": { "start": { - "line": 592, + "line": 680, "column": 12 }, "end": { - "line": 592, + "line": 680, "column": 73 } }, "id": { "type": "Identifier", - "start": 20069, - "end": 20078, + "start": 22342, + "end": 22351, "loc": { "start": { - "line": 592, + "line": 680, "column": 12 }, "end": { - "line": 592, + "line": 680, "column": 21 }, "identifierName": "buttonUID" @@ -63298,73 +73464,73 @@ }, "init": { "type": "TemplateLiteral", - "start": 20081, - "end": 20130, + "start": 22354, + "end": 22403, "loc": { "start": { - "line": 592, + "line": 680, "column": 24 }, "end": { - "line": 592, + "line": 680, "column": 73 } }, "expressions": [ { "type": "MemberExpression", - "start": 20084, - "end": 20107, + "start": 22357, + "end": 22380, "loc": { "start": { - "line": 592, + "line": 680, "column": 27 }, "end": { - "line": 592, + "line": 680, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 20084, - "end": 20096, + "start": 22357, + "end": 22369, "loc": { "start": { - "line": 592, + "line": 680, "column": 27 }, "end": { - "line": 592, + "line": 680, "column": 39 } }, "object": { "type": "ThisExpression", - "start": 20084, - "end": 20088, + "start": 22357, + "end": 22361, "loc": { "start": { - "line": 592, + "line": 680, "column": 27 }, "end": { - "line": 592, + "line": 680, "column": 31 } } }, "property": { "type": "Identifier", - "start": 20089, - "end": 20096, + "start": 22362, + "end": 22369, "loc": { "start": { - "line": 592, + "line": 680, "column": 32 }, "end": { - "line": 592, + "line": 680, "column": 39 }, "identifierName": "options" @@ -63375,15 +73541,15 @@ }, "property": { "type": "Identifier", - "start": 20097, - "end": 20107, + "start": 22370, + "end": 22380, "loc": { "start": { - "line": 592, + "line": 680, "column": 40 }, "end": { - "line": 592, + "line": 680, "column": 50 }, "identifierName": "layoutName" @@ -63394,15 +73560,15 @@ }, { "type": "Identifier", - "start": 20112, - "end": 20118, + "start": 22385, + "end": 22391, "loc": { "start": { - "line": 592, + "line": 680, "column": 55 }, "end": { - "line": 592, + "line": 680, "column": 61 }, "identifierName": "rIndex" @@ -63411,15 +73577,15 @@ }, { "type": "Identifier", - "start": 20122, - "end": 20128, + "start": 22395, + "end": 22401, "loc": { "start": { - "line": 592, + "line": 680, "column": 65 }, "end": { - "line": 592, + "line": 680, "column": 71 }, "identifierName": "bIndex" @@ -63430,15 +73596,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 20082, - "end": 20082, + "start": 22355, + "end": 22355, "loc": { "start": { - "line": 592, + "line": 680, "column": 25 }, "end": { - "line": 592, + "line": 680, "column": 25 } }, @@ -63450,15 +73616,15 @@ }, { "type": "TemplateElement", - "start": 20108, - "end": 20110, + "start": 22381, + "end": 22383, "loc": { "start": { - "line": 592, + "line": 680, "column": 51 }, "end": { - "line": 592, + "line": 680, "column": 53 } }, @@ -63470,15 +73636,15 @@ }, { "type": "TemplateElement", - "start": 20119, - "end": 20120, + "start": 22392, + "end": 22393, "loc": { "start": { - "line": 592, + "line": 680, "column": 62 }, "end": { - "line": 592, + "line": 680, "column": 63 } }, @@ -63490,15 +73656,15 @@ }, { "type": "TemplateElement", - "start": 20129, - "end": 20129, + "start": 22402, + "end": 22402, "loc": { "start": { - "line": 592, + "line": 680, "column": 72 }, "end": { - "line": 592, + "line": 680, "column": 72 } }, @@ -63518,15 +73684,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": 19900, - "end": 20055, + "start": 22173, + "end": 22328, "loc": { "start": { - "line": 588, + "line": 676, "column": 8 }, "end": { - "line": 591, + "line": 679, "column": 11 } } @@ -63535,57 +73701,57 @@ }, { "type": "ExpressionStatement", - "start": 20141, - "end": 20192, + "start": 22414, + "end": 22465, "loc": { "start": { - "line": 593, + "line": 681, "column": 8 }, "end": { - "line": 593, + "line": 681, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 20141, - "end": 20191, + "start": 22414, + "end": 22464, "loc": { "start": { - "line": 593, + "line": 681, "column": 8 }, "end": { - "line": 593, + "line": 681, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 20141, - "end": 20163, + "start": 22414, + "end": 22436, "loc": { "start": { - "line": 593, + "line": 681, "column": 8 }, "end": { - "line": 593, + "line": 681, "column": 30 } }, "object": { "type": "Identifier", - "start": 20141, - "end": 20150, + "start": 22414, + "end": 22423, "loc": { "start": { - "line": 593, + "line": 681, "column": 8 }, "end": { - "line": 593, + "line": 681, "column": 17 }, "identifierName": "buttonDOM" @@ -63594,15 +73760,15 @@ }, "property": { "type": "Identifier", - "start": 20151, - "end": 20163, + "start": 22424, + "end": 22436, "loc": { "start": { - "line": 593, + "line": 681, "column": 18 }, "end": { - "line": 593, + "line": 681, "column": 30 }, "identifierName": "setAttribute" @@ -63614,15 +73780,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 20164, - "end": 20179, + "start": 22437, + "end": 22452, "loc": { "start": { - "line": 593, + "line": 681, "column": 31 }, "end": { - "line": 593, + "line": 681, "column": 46 } }, @@ -63634,15 +73800,15 @@ }, { "type": "Identifier", - "start": 20181, - "end": 20190, + "start": 22454, + "end": 22463, "loc": { "start": { - "line": 593, + "line": 681, "column": 48 }, "end": { - "line": 593, + "line": 681, "column": 57 }, "identifierName": "buttonUID" @@ -63655,15 +73821,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", - "start": 20204, - "end": 20253, + "start": 22477, + "end": 22526, "loc": { "start": { - "line": 595, + "line": 683, "column": 8 }, "end": { - "line": 597, + "line": 685, "column": 11 } } @@ -63672,57 +73838,57 @@ }, { "type": "ExpressionStatement", - "start": 20263, - "end": 20326, + "start": 22536, + "end": 22599, "loc": { "start": { - "line": 598, + "line": 686, "column": 8 }, "end": { - "line": 598, + "line": 686, "column": 71 } }, "expression": { "type": "CallExpression", - "start": 20263, - "end": 20325, + "start": 22536, + "end": 22598, "loc": { "start": { - "line": 598, + "line": 686, "column": 8 }, "end": { - "line": 598, + "line": 686, "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 20263, - "end": 20285, + "start": 22536, + "end": 22558, "loc": { "start": { - "line": 598, + "line": 686, "column": 8 }, "end": { - "line": 598, + "line": 686, "column": 30 } }, "object": { "type": "Identifier", - "start": 20263, - "end": 20272, + "start": 22536, + "end": 22545, "loc": { "start": { - "line": 598, + "line": 686, "column": 8 }, "end": { - "line": 598, + "line": 686, "column": 17 }, "identifierName": "buttonDOM" @@ -63732,15 +73898,15 @@ }, "property": { "type": "Identifier", - "start": 20273, - "end": 20285, + "start": 22546, + "end": 22558, "loc": { "start": { - "line": 598, + "line": 686, "column": 18 }, "end": { - "line": 598, + "line": 686, "column": 30 }, "identifierName": "setAttribute" @@ -63753,15 +73919,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 20286, - "end": 20305, + "start": 22559, + "end": 22578, "loc": { "start": { - "line": 598, + "line": 686, "column": 31 }, "end": { - "line": 598, + "line": 686, "column": 50 } }, @@ -63773,15 +73939,15 @@ }, { "type": "Identifier", - "start": 20307, - "end": 20324, + "start": 22580, + "end": 22597, "loc": { "start": { - "line": 598, + "line": 686, "column": 52 }, "end": { - "line": 598, + "line": 686, "column": 69 }, "identifierName": "buttonDisplayName" @@ -63795,15 +73961,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", - "start": 20204, - "end": 20253, + "start": 22477, + "end": 22526, "loc": { "start": { - "line": 595, + "line": 683, "column": 8 }, "end": { - "line": 597, + "line": 685, "column": 11 } } @@ -63813,15 +73979,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", - "start": 20338, - "end": 20396, + "start": 22611, + "end": 22669, "loc": { "start": { - "line": 600, + "line": 688, "column": 8 }, "end": { - "line": 602, + "line": 690, "column": 11 } } @@ -63830,44 +73996,44 @@ }, { "type": "VariableDeclaration", - "start": 20406, - "end": 20457, + "start": 22679, + "end": 22730, "loc": { "start": { - "line": 603, + "line": 691, "column": 8 }, "end": { - "line": 603, + "line": 691, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 20410, - "end": 20456, + "start": 22683, + "end": 22729, "loc": { "start": { - "line": 603, + "line": 691, "column": 12 }, "end": { - "line": 603, + "line": 691, "column": 58 } }, "id": { "type": "Identifier", - "start": 20410, - "end": 20423, + "start": 22683, + "end": 22696, "loc": { "start": { - "line": 603, + "line": 691, "column": 12 }, "end": { - "line": 603, + "line": 691, "column": 25 }, "identifierName": "buttonSpanDOM" @@ -63877,43 +74043,43 @@ }, "init": { "type": "CallExpression", - "start": 20426, - "end": 20456, + "start": 22699, + "end": 22729, "loc": { "start": { - "line": 603, + "line": 691, "column": 28 }, "end": { - "line": 603, + "line": 691, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 20426, - "end": 20448, + "start": 22699, + "end": 22721, "loc": { "start": { - "line": 603, + "line": 691, "column": 28 }, "end": { - "line": 603, + "line": 691, "column": 50 } }, "object": { "type": "Identifier", - "start": 20426, - "end": 20434, + "start": 22699, + "end": 22707, "loc": { "start": { - "line": 603, + "line": 691, "column": 28 }, "end": { - "line": 603, + "line": 691, "column": 36 }, "identifierName": "document" @@ -63922,15 +74088,15 @@ }, "property": { "type": "Identifier", - "start": 20435, - "end": 20448, + "start": 22708, + "end": 22721, "loc": { "start": { - "line": 603, + "line": 691, "column": 37 }, "end": { - "line": 603, + "line": 691, "column": 50 }, "identifierName": "createElement" @@ -63942,15 +74108,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 20449, - "end": 20455, + "start": 22722, + "end": 22728, "loc": { "start": { - "line": 603, + "line": 691, "column": 51 }, "end": { - "line": 603, + "line": 691, "column": 57 } }, @@ -63970,15 +74136,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", - "start": 20338, - "end": 20396, + "start": 22611, + "end": 22669, "loc": { "start": { - "line": 600, + "line": 688, "column": 8 }, "end": { - "line": 602, + "line": 690, "column": 11 } } @@ -63987,58 +74153,58 @@ }, { "type": "ExpressionStatement", - "start": 20467, - "end": 20511, + "start": 22740, + "end": 22784, "loc": { "start": { - "line": 604, + "line": 692, "column": 8 }, "end": { - "line": 604, + "line": 692, "column": 52 } }, "expression": { "type": "AssignmentExpression", - "start": 20467, - "end": 20510, + "start": 22740, + "end": 22783, "loc": { "start": { - "line": 604, + "line": 692, "column": 8 }, "end": { - "line": 604, + "line": 692, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 20467, - "end": 20490, + "start": 22740, + "end": 22763, "loc": { "start": { - "line": 604, + "line": 692, "column": 8 }, "end": { - "line": 604, + "line": 692, "column": 31 } }, "object": { "type": "Identifier", - "start": 20467, - "end": 20480, + "start": 22740, + "end": 22753, "loc": { "start": { - "line": 604, + "line": 692, "column": 8 }, "end": { - "line": 604, + "line": 692, "column": 21 }, "identifierName": "buttonSpanDOM" @@ -64047,15 +74213,15 @@ }, "property": { "type": "Identifier", - "start": 20481, - "end": 20490, + "start": 22754, + "end": 22763, "loc": { "start": { - "line": 604, + "line": 692, "column": 22 }, "end": { - "line": 604, + "line": 692, "column": 31 }, "identifierName": "innerHTML" @@ -64066,15 +74232,15 @@ }, "right": { "type": "Identifier", - "start": 20493, - "end": 20510, + "start": 22766, + "end": 22783, "loc": { "start": { - "line": 604, + "line": 692, "column": 34 }, "end": { - "line": 604, + "line": 692, "column": 51 }, "identifierName": "buttonDisplayName" @@ -64085,57 +74251,57 @@ }, { "type": "ExpressionStatement", - "start": 20521, - "end": 20558, + "start": 22794, + "end": 22831, "loc": { "start": { - "line": 605, + "line": 693, "column": 8 }, "end": { - "line": 605, + "line": 693, "column": 45 } }, "expression": { "type": "CallExpression", - "start": 20521, - "end": 20557, + "start": 22794, + "end": 22830, "loc": { "start": { - "line": 605, + "line": 693, "column": 8 }, "end": { - "line": 605, + "line": 693, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 20521, - "end": 20542, + "start": 22794, + "end": 22815, "loc": { "start": { - "line": 605, + "line": 693, "column": 8 }, "end": { - "line": 605, + "line": 693, "column": 29 } }, "object": { "type": "Identifier", - "start": 20521, - "end": 20530, + "start": 22794, + "end": 22803, "loc": { "start": { - "line": 605, + "line": 693, "column": 8 }, "end": { - "line": 605, + "line": 693, "column": 17 }, "identifierName": "buttonDOM" @@ -64144,15 +74310,15 @@ }, "property": { "type": "Identifier", - "start": 20531, - "end": 20542, + "start": 22804, + "end": 22815, "loc": { "start": { - "line": 605, + "line": 693, "column": 18 }, "end": { - "line": 605, + "line": 693, "column": 29 }, "identifierName": "appendChild" @@ -64164,15 +74330,15 @@ "arguments": [ { "type": "Identifier", - "start": 20543, - "end": 20556, + "start": 22816, + "end": 22829, "loc": { "start": { - "line": 605, + "line": 693, "column": 30 }, "end": { - "line": 605, + "line": 693, "column": 43 }, "identifierName": "buttonSpanDOM" @@ -64185,15 +74351,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", - "start": 20570, - "end": 20623, + "start": 22843, + "end": 22896, "loc": { "start": { - "line": 607, + "line": 695, "column": 8 }, "end": { - "line": 609, + "line": 697, "column": 11 } } @@ -64202,29 +74368,29 @@ }, { "type": "IfStatement", - "start": 20633, - "end": 20710, + "start": 22906, + "end": 22983, "loc": { "start": { - "line": 610, + "line": 698, "column": 8 }, "end": { - "line": 611, + "line": 699, "column": 43 } }, "test": { "type": "UnaryExpression", - "start": 20636, - "end": 20664, + "start": 22909, + "end": 22937, "loc": { "start": { - "line": 610, + "line": 698, "column": 11 }, "end": { - "line": 610, + "line": 698, "column": 39 } }, @@ -64232,43 +74398,43 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 20637, - "end": 20664, + "start": 22910, + "end": 22937, "loc": { "start": { - "line": 610, + "line": 698, "column": 12 }, "end": { - "line": 610, + "line": 698, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 20637, - "end": 20656, + "start": 22910, + "end": 22929, "loc": { "start": { - "line": 610, + "line": 698, "column": 12 }, "end": { - "line": 610, + "line": 698, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 20637, - "end": 20641, + "start": 22910, + "end": 22914, "loc": { "start": { - "line": 610, + "line": 698, "column": 12 }, "end": { - "line": 610, + "line": 698, "column": 16 } }, @@ -64276,15 +74442,15 @@ }, "property": { "type": "Identifier", - "start": 20642, - "end": 20656, + "start": 22915, + "end": 22929, "loc": { "start": { - "line": 610, + "line": 698, "column": 17 }, "end": { - "line": 610, + "line": 698, "column": 31 }, "identifierName": "buttonElements" @@ -64296,15 +74462,15 @@ }, "property": { "type": "Identifier", - "start": 20657, - "end": 20663, + "start": 22930, + "end": 22936, "loc": { "start": { - "line": 610, + "line": 698, "column": 32 }, "end": { - "line": 610, + "line": 698, "column": 38 }, "identifierName": "button" @@ -64321,87 +74487,87 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 20677, - "end": 20710, + "start": 22950, + "end": 22983, "loc": { "start": { - "line": 611, + "line": 699, "column": 10 }, "end": { - "line": 611, + "line": 699, "column": 43 } }, "expression": { "type": "AssignmentExpression", - "start": 20677, - "end": 20709, + "start": 22950, + "end": 22982, "loc": { "start": { - "line": 611, + "line": 699, "column": 10 }, "end": { - "line": 611, + "line": 699, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 20677, - "end": 20704, + "start": 22950, + "end": 22977, "loc": { "start": { - "line": 611, + "line": 699, "column": 10 }, "end": { - "line": 611, + "line": 699, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 20677, - "end": 20696, + "start": 22950, + "end": 22969, "loc": { "start": { - "line": 611, + "line": 699, "column": 10 }, "end": { - "line": 611, + "line": 699, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 20677, - "end": 20681, + "start": 22950, + "end": 22954, "loc": { "start": { - "line": 611, + "line": 699, "column": 10 }, "end": { - "line": 611, + "line": 699, "column": 14 } } }, "property": { "type": "Identifier", - "start": 20682, - "end": 20696, + "start": 22955, + "end": 22969, "loc": { "start": { - "line": 611, + "line": 699, "column": 15 }, "end": { - "line": 611, + "line": 699, "column": 29 }, "identifierName": "buttonElements" @@ -64412,15 +74578,15 @@ }, "property": { "type": "Identifier", - "start": 20697, - "end": 20703, + "start": 22970, + "end": 22976, "loc": { "start": { - "line": 611, + "line": 699, "column": 30 }, "end": { - "line": 611, + "line": 699, "column": 36 }, "identifierName": "button" @@ -64431,15 +74597,15 @@ }, "right": { "type": "ArrayExpression", - "start": 20707, - "end": 20709, + "start": 22980, + "end": 22982, "loc": { "start": { - "line": 611, + "line": 699, "column": 40 }, "end": { - "line": 611, + "line": 699, "column": 42 } }, @@ -64452,15 +74618,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", - "start": 20570, - "end": 20623, + "start": 22843, + "end": 22896, "loc": { "start": { - "line": 607, + "line": 695, "column": 8 }, "end": { - "line": 609, + "line": 697, "column": 11 } } @@ -64469,100 +74635,100 @@ }, { "type": "ExpressionStatement", - "start": 20722, - "end": 20766, + "start": 22995, + "end": 23039, "loc": { "start": { - "line": 613, + "line": 701, "column": 8 }, "end": { - "line": 613, + "line": 701, "column": 52 } }, "expression": { "type": "CallExpression", - "start": 20722, - "end": 20765, + "start": 22995, + "end": 23038, "loc": { "start": { - "line": 613, + "line": 701, "column": 8 }, "end": { - "line": 613, + "line": 701, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 20722, - "end": 20754, + "start": 22995, + "end": 23027, "loc": { "start": { - "line": 613, + "line": 701, "column": 8 }, "end": { - "line": 613, + "line": 701, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 20722, - "end": 20749, + "start": 22995, + "end": 23022, "loc": { "start": { - "line": 613, + "line": 701, "column": 8 }, "end": { - "line": 613, + "line": 701, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 20722, - "end": 20741, + "start": 22995, + "end": 23014, "loc": { "start": { - "line": 613, + "line": 701, "column": 8 }, "end": { - "line": 613, + "line": 701, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 20722, - "end": 20726, + "start": 22995, + "end": 22999, "loc": { "start": { - "line": 613, + "line": 701, "column": 8 }, "end": { - "line": 613, + "line": 701, "column": 12 } } }, "property": { "type": "Identifier", - "start": 20727, - "end": 20741, + "start": 23000, + "end": 23014, "loc": { "start": { - "line": 613, + "line": 701, "column": 13 }, "end": { - "line": 613, + "line": 701, "column": 27 }, "identifierName": "buttonElements" @@ -64573,15 +74739,15 @@ }, "property": { "type": "Identifier", - "start": 20742, - "end": 20748, + "start": 23015, + "end": 23021, "loc": { "start": { - "line": 613, + "line": 701, "column": 28 }, "end": { - "line": 613, + "line": 701, "column": 34 }, "identifierName": "button" @@ -64592,15 +74758,15 @@ }, "property": { "type": "Identifier", - "start": 20750, - "end": 20754, + "start": 23023, + "end": 23027, "loc": { "start": { - "line": 613, + "line": 701, "column": 36 }, "end": { - "line": 613, + "line": 701, "column": 40 }, "identifierName": "push" @@ -64612,15 +74778,15 @@ "arguments": [ { "type": "Identifier", - "start": 20755, - "end": 20764, + "start": 23028, + "end": 23037, "loc": { "start": { - "line": 613, + "line": 701, "column": 41 }, "end": { - "line": 613, + "line": 701, "column": 50 }, "identifierName": "buttonDOM" @@ -64633,15 +74799,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", - "start": 20778, - "end": 20830, + "start": 23051, + "end": 23103, "loc": { "start": { - "line": 615, + "line": 703, "column": 8 }, "end": { - "line": 617, + "line": 705, "column": 11 } } @@ -64650,57 +74816,57 @@ }, { "type": "ExpressionStatement", - "start": 20840, - "end": 20870, + "start": 23113, + "end": 23143, "loc": { "start": { - "line": 618, + "line": 706, "column": 8 }, "end": { - "line": 618, + "line": 706, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 20840, - "end": 20869, + "start": 23113, + "end": 23142, "loc": { "start": { - "line": 618, + "line": 706, "column": 8 }, "end": { - "line": 618, + "line": 706, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 20840, - "end": 20858, + "start": 23113, + "end": 23131, "loc": { "start": { - "line": 618, + "line": 706, "column": 8 }, "end": { - "line": 618, + "line": 706, "column": 26 } }, "object": { "type": "Identifier", - "start": 20840, - "end": 20846, + "start": 23113, + "end": 23119, "loc": { "start": { - "line": 618, + "line": 706, "column": 8 }, "end": { - "line": 618, + "line": 706, "column": 14 }, "identifierName": "rowDOM" @@ -64710,15 +74876,15 @@ }, "property": { "type": "Identifier", - "start": 20847, - "end": 20858, + "start": 23120, + "end": 23131, "loc": { "start": { - "line": 618, + "line": 706, "column": 15 }, "end": { - "line": 618, + "line": 706, "column": 26 }, "identifierName": "appendChild" @@ -64731,15 +74897,15 @@ "arguments": [ { "type": "Identifier", - "start": 20859, - "end": 20868, + "start": 23132, + "end": 23141, "loc": { "start": { - "line": 618, + "line": 706, "column": 27 }, "end": { - "line": 618, + "line": 706, "column": 36 }, "identifierName": "buttonDOM" @@ -64753,15 +74919,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", - "start": 20778, - "end": 20830, + "start": 23051, + "end": 23103, "loc": { "start": { - "line": 615, + "line": 703, "column": 8 }, "end": { - "line": 617, + "line": 705, "column": 11 } } @@ -64779,15 +74945,15 @@ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", - "start": 19127, - "end": 19188, + "start": 21321, + "end": 21382, "loc": { "start": { - "line": 568, + "line": 655, "column": 6 }, "end": { - "line": 570, + "line": 657, "column": 9 } } @@ -64797,15 +74963,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", - "start": 20893, - "end": 20943, + "start": 23166, + "end": 23216, "loc": { "start": { - "line": 622, + "line": 710, "column": 6 }, "end": { - "line": 624, + "line": 712, "column": 9 } } @@ -64814,71 +74980,71 @@ }, { "type": "ExpressionStatement", - "start": 20951, - "end": 20988, + "start": 23224, + "end": 23261, "loc": { "start": { - "line": 625, + "line": 713, "column": 6 }, "end": { - "line": 625, + "line": 713, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 20951, - "end": 20987, + "start": 23224, + "end": 23260, "loc": { "start": { - "line": 625, + "line": 713, "column": 6 }, "end": { - "line": 625, + "line": 713, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 20951, - "end": 20979, + "start": 23224, + "end": 23252, "loc": { "start": { - "line": 625, + "line": 713, "column": 6 }, "end": { - "line": 625, + "line": 713, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 20951, - "end": 20967, + "start": 23224, + "end": 23240, "loc": { "start": { - "line": 625, + "line": 713, "column": 6 }, "end": { - "line": 625, + "line": 713, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 20951, - "end": 20955, + "start": 23224, + "end": 23228, "loc": { "start": { - "line": 625, + "line": 713, "column": 6 }, "end": { - "line": 625, + "line": 713, "column": 10 } }, @@ -64886,15 +75052,15 @@ }, "property": { "type": "Identifier", - "start": 20956, - "end": 20967, + "start": 23229, + "end": 23240, "loc": { "start": { - "line": 625, + "line": 713, "column": 11 }, "end": { - "line": 625, + "line": 713, "column": 22 }, "identifierName": "keyboardDOM" @@ -64906,15 +75072,15 @@ }, "property": { "type": "Identifier", - "start": 20968, - "end": 20979, + "start": 23241, + "end": 23252, "loc": { "start": { - "line": 625, + "line": 713, "column": 23 }, "end": { - "line": 625, + "line": 713, "column": 34 }, "identifierName": "appendChild" @@ -64927,15 +75093,15 @@ "arguments": [ { "type": "Identifier", - "start": 20980, - "end": 20986, + "start": 23253, + "end": 23259, "loc": { "start": { - "line": 625, + "line": 713, "column": 35 }, "end": { - "line": 625, + "line": 713, "column": 41 }, "identifierName": "rowDOM" @@ -64949,15 +75115,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", - "start": 20893, - "end": 20943, + "start": 23166, + "end": 23216, "loc": { "start": { - "line": 622, + "line": 710, "column": 6 }, "end": { - "line": 624, + "line": 712, "column": 9 } } @@ -64975,15 +75141,15 @@ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", - "start": 18827, - "end": 18874, + "start": 21021, + "end": 21068, "loc": { "start": { - "line": 556, + "line": 643, "column": 4 }, "end": { - "line": 558, + "line": 645, "column": 7 } } @@ -64993,15 +75159,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", - "start": 21005, - "end": 21042, + "start": 23278, + "end": 23315, "loc": { "start": { - "line": 628, + "line": 716, "column": 4 }, "end": { - "line": 630, + "line": 718, "column": 7 } } @@ -65010,57 +75176,57 @@ }, { "type": "ExpressionStatement", - "start": 21048, - "end": 21064, + "start": 23321, + "end": 23337, "loc": { "start": { - "line": 631, + "line": 719, "column": 4 }, "end": { - "line": 631, + "line": 719, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 21048, - "end": 21063, + "start": 23321, + "end": 23336, "loc": { "start": { - "line": 631, + "line": 719, "column": 4 }, "end": { - "line": 631, + "line": 719, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 21048, - "end": 21061, + "start": 23321, + "end": 23334, "loc": { "start": { - "line": 631, + "line": 719, "column": 4 }, "end": { - "line": 631, + "line": 719, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 21048, - "end": 21052, + "start": 23321, + "end": 23325, "loc": { "start": { - "line": 631, + "line": 719, "column": 4 }, "end": { - "line": 631, + "line": 719, "column": 8 } }, @@ -65068,15 +75234,15 @@ }, "property": { "type": "Identifier", - "start": 21053, - "end": 21061, + "start": 23326, + "end": 23334, "loc": { "start": { - "line": 631, + "line": 719, "column": 9 }, "end": { - "line": 631, + "line": 719, "column": 17 }, "identifierName": "onRender" @@ -65093,15 +75259,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", - "start": 21005, - "end": 21042, + "start": 23278, + "end": 23315, "loc": { "start": { - "line": 628, + "line": 716, "column": 4 }, "end": { - "line": 630, + "line": 718, "column": 7 } } @@ -65110,29 +75276,29 @@ }, { "type": "IfStatement", - "start": 21072, - "end": 21294, + "start": 23345, + "end": 23680, "loc": { "start": { - "line": 633, + "line": 721, "column": 4 }, "end": { - "line": 643, + "line": 736, "column": 5 } }, "test": { "type": "UnaryExpression", - "start": 21075, - "end": 21092, + "start": 23348, + "end": 23365, "loc": { "start": { - "line": 633, + "line": 721, "column": 7 }, "end": { - "line": 633, + "line": 721, "column": 24 } }, @@ -65140,44 +75306,44 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 21076, - "end": 21092, + "start": 23349, + "end": 23365, "loc": { "start": { - "line": 633, + "line": 721, "column": 8 }, "end": { - "line": 633, + "line": 721, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 21076, - "end": 21080, + "start": 23349, + "end": 23353, "loc": { "start": { - "line": 633, + "line": 721, "column": 8 }, "end": { - "line": 633, + "line": 721, "column": 12 } } }, "property": { "type": "Identifier", - "start": 21081, - "end": 21092, + "start": 23354, + "end": 23365, "loc": { "start": { - "line": 633, + "line": 721, "column": 13 }, "end": { - "line": 633, + "line": 721, "column": 24 }, "identifierName": "initialized" @@ -65192,73 +75358,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 21093, - "end": 21294, + "start": 23366, + "end": 23680, "loc": { "start": { - "line": 633, + "line": 721, "column": 25 }, "end": { - "line": 643, + "line": 736, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 21192, - "end": 21216, + "start": 23465, + "end": 23489, "loc": { "start": { - "line": 637, + "line": 725, "column": 6 }, "end": { - "line": 637, + "line": 725, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 21192, - "end": 21215, + "start": 23465, + "end": 23488, "loc": { "start": { - "line": 637, + "line": 725, "column": 6 }, "end": { - "line": 637, + "line": 725, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 21192, - "end": 21208, + "start": 23465, + "end": 23481, "loc": { "start": { - "line": 637, + "line": 725, "column": 6 }, "end": { - "line": 637, + "line": 725, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 21192, - "end": 21196, + "start": 23465, + "end": 23469, "loc": { "start": { - "line": 637, + "line": 725, "column": 6 }, "end": { - "line": 637, + "line": 725, "column": 10 } }, @@ -65266,15 +75432,15 @@ }, "property": { "type": "Identifier", - "start": 21197, - "end": 21208, + "start": 23470, + "end": 23481, "loc": { "start": { - "line": 637, + "line": 725, "column": 11 }, "end": { - "line": 637, + "line": 725, "column": 22 }, "identifierName": "initialized" @@ -65286,15 +75452,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 21211, - "end": 21215, + "start": 23484, + "end": 23488, "loc": { "start": { - "line": 637, + "line": 725, "column": 25 }, "end": { - "line": 637, + "line": 725, "column": 29 } }, @@ -65306,15 +75472,219 @@ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", - "start": 21102, - "end": 21184, + "start": 23375, + "end": 23457, "loc": { "start": { - "line": 634, + "line": 722, "column": 6 }, "end": { - "line": 636, + "line": 724, + "column": 9 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Handling mouseup\r\n ", + "start": 23499, + "end": 23540, + "loc": { + "start": { + "line": 727, + "column": 6 + }, + "end": { + "line": 729, + "column": 9 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 23548, + "end": 23602, + "loc": { + "start": { + "line": 730, + "column": 6 + }, + "end": { + "line": 730, + "column": 60 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 23548, + "end": 23601, + "loc": { + "start": { + "line": 730, + "column": 6 + }, + "end": { + "line": 730, + "column": 59 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 23548, + "end": 23566, + "loc": { + "start": { + "line": 730, + "column": 6 + }, + "end": { + "line": 730, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 23548, + "end": 23556, + "loc": { + "start": { + "line": 730, + "column": 6 + }, + "end": { + "line": 730, + "column": 14 + }, + "identifierName": "document" + }, + "name": "document", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 23557, + "end": 23566, + "loc": { + "start": { + "line": 730, + "column": 15 + }, + "end": { + "line": 730, + "column": 24 + }, + "identifierName": "onmouseup" + }, + "name": "onmouseup" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ArrowFunctionExpression", + "start": 23569, + "end": 23601, + "loc": { + "start": { + "line": 730, + "column": 27 + }, + "end": { + "line": 730, + "column": 59 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [], + "body": { + "type": "CallExpression", + "start": 23575, + "end": 23601, + "loc": { + "start": { + "line": 730, + "column": 33 + }, + "end": { + "line": 730, + "column": 59 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23575, + "end": 23599, + "loc": { + "start": { + "line": 730, + "column": 33 + }, + "end": { + "line": 730, + "column": 57 + } + }, + "object": { + "type": "ThisExpression", + "start": 23575, + "end": 23579, + "loc": { + "start": { + "line": 730, + "column": 33 + }, + "end": { + "line": 730, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "start": 23580, + "end": 23599, + "loc": { + "start": { + "line": 730, + "column": 38 + }, + "end": { + "line": 730, + "column": 57 + }, + "identifierName": "handleButtonMouseUp" + }, + "name": "handleButtonMouseUp" + }, + "computed": false + }, + "arguments": [] + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Handling mouseup\r\n ", + "start": 23499, + "end": 23540, + "loc": { + "start": { + "line": 727, + "column": 6 + }, + "end": { + "line": 729, "column": 9 } } @@ -65324,15 +75694,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", - "start": 21226, - "end": 21265, + "start": 23612, + "end": 23651, "loc": { "start": { - "line": 639, + "line": 732, "column": 6 }, "end": { - "line": 641, + "line": 734, "column": 9 } } @@ -65341,57 +75711,57 @@ }, { "type": "ExpressionStatement", - "start": 21273, - "end": 21287, + "start": 23659, + "end": 23673, "loc": { "start": { - "line": 642, + "line": 735, "column": 6 }, "end": { - "line": 642, + "line": 735, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 21273, - "end": 21286, + "start": 23659, + "end": 23672, "loc": { "start": { - "line": 642, + "line": 735, "column": 6 }, "end": { - "line": 642, + "line": 735, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 21273, - "end": 21284, + "start": 23659, + "end": 23670, "loc": { "start": { - "line": 642, + "line": 735, "column": 6 }, "end": { - "line": 642, + "line": 735, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 21273, - "end": 21277, + "start": 23659, + "end": 23663, "loc": { "start": { - "line": 642, + "line": 735, "column": 6 }, "end": { - "line": 642, + "line": 735, "column": 10 } }, @@ -65399,15 +75769,15 @@ }, "property": { "type": "Identifier", - "start": 21278, - "end": 21284, + "start": 23664, + "end": 23670, "loc": { "start": { - "line": 642, + "line": 735, "column": 11 }, "end": { - "line": 642, + "line": 735, "column": 17 }, "identifierName": "onInit" @@ -65424,15 +75794,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", - "start": 21226, - "end": 21265, + "start": 23612, + "end": 23651, "loc": { "start": { - "line": 639, + "line": 732, "column": 6 }, "end": { - "line": 641, + "line": 734, "column": 9 } } @@ -65451,15 +75821,15 @@ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", - "start": 17117, - "end": 17173, + "start": 19311, + "end": 19367, "loc": { "start": { - "line": 505, + "line": 592, "column": 2 }, "end": { - "line": 507, + "line": 594, "column": 5 } } @@ -65593,9 +75963,9 @@ }, { "type": "CommentBlock", - "value": "*\r\n * Module namespace\r\n ", + "value": "*\r\n * Bindings\r\n ", "start": 4184, - "end": 4221, + "end": 4213, "loc": { "start": { "line": 66, @@ -65607,34 +75977,18 @@ } } }, - { - "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, + "start": 5341, + "end": 6000, "loc": { "start": { - "line": 91, + "line": 90, "column": 4 }, "end": { - "line": 104, + "line": 103, "column": 7 } } @@ -65642,15 +75996,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", - "start": 5887, - "end": 5996, + "start": 6076, + "end": 6185, "loc": { "start": { - "line": 108, + "line": 107, "column": 4 }, "end": { - "line": 110, + "line": 109, "column": 7 } } @@ -65658,15 +76012,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": 6071, - "end": 6216, + "start": 6260, + "end": 6405, "loc": { "start": { - "line": 113, + "line": 112, "column": 4 }, "end": { - "line": 115, + "line": 114, "column": 7 } } @@ -65674,15 +76028,15 @@ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", - "start": 6255, - "end": 6294, + "start": 6444, + "end": 6483, "loc": { "start": { - "line": 118, + "line": 117, "column": 4 }, "end": { - "line": 120, + "line": 119, "column": 7 } } @@ -65690,15 +76044,15 @@ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", - "start": 6487, - "end": 6600, + "start": 6676, + "end": 6789, "loc": { "start": { - "line": 128, + "line": 127, "column": 4 }, "end": { - "line": 131, + "line": 130, "column": 7 } } @@ -65706,15 +76060,31 @@ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", - "start": 6803, - "end": 6849, + "start": 6992, + "end": 7038, "loc": { "start": { - "line": 137, + "line": 136, "column": 4 }, "end": { - "line": 139, + "line": 138, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Modules\r\n ", + "start": 7112, + "end": 7140, + "loc": { + "start": { + "line": 141, + "column": 4 + }, + "end": { + "line": 143, "column": 7 } } @@ -65722,15 +76092,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": 6924, - "end": 7036, + "start": 7200, + "end": 7312, "loc": { "start": { - "line": 142, + "line": 148, "column": 2 }, "end": { - "line": 145, + "line": 151, "column": 5 } } @@ -65738,24 +76108,8 @@ { "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 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Calling onKeyPress\r\n ", - "start": 7218, - "end": 7257, + "start": 7389, + "end": 7438, "loc": { "start": { "line": 155, @@ -65769,16 +76123,32 @@ }, { "type": "CommentBlock", - "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", - "start": 7661, - "end": 7738, + "value": "*\r\n * Calling onKeyPress\r\n ", + "start": 7494, + "end": 7533, "loc": { "start": { - "line": 168, + "line": 161, + "column": 4 + }, + "end": { + "line": 163, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", + "start": 7937, + "end": 8014, + "loc": { + "start": { + "line": 174, "column": 6 }, "end": { - "line": 170, + "line": 176, "column": 9 } } @@ -65786,24 +76156,8 @@ { "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 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Calling onChange\r\n ", - "start": 8178, - "end": 8219, + "start": 8296, + "end": 8355, "loc": { "start": { "line": 186, @@ -65817,16 +76171,160 @@ }, { "type": "CommentBlock", - "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", - "start": 8433, - "end": 8530, + "value": "*\r\n * Calling onChange\r\n ", + "start": 8454, + "end": 8495, "loc": { "start": { - "line": 198, + "line": 192, + "column": 6 + }, + "end": { + "line": 194, + "column": 9 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Handles button mousedown\r\n ", + "start": 8709, + "end": 8750, + "loc": { + "start": { + "line": 204, "column": 2 }, "end": { - "line": 200, + "line": 206, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": " istanbul ignore next ", + "start": 8754, + "end": 8780, + "loc": { + "start": { + "line": 207, + "column": 2 + }, + "end": { + "line": 207, + "column": 28 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n ", + "start": 8823, + "end": 8902, + "loc": { + "start": { + "line": 209, + "column": 4 + }, + "end": { + "line": 211, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", + "start": 8940, + "end": 9017, + "loc": { + "start": { + "line": 214, + "column": 4 + }, + "end": { + "line": 216, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Handles button mouseup\r\n ", + "start": 9493, + "end": 9532, + "loc": { + "start": { + "line": 236, + "column": 2 + }, + "end": { + "line": 238, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Handles button hold\r\n ", + "start": 9687, + "end": 9723, + "loc": { + "start": { + "line": 245, + "column": 2 + }, + "end": { + "line": 247, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": " istanbul ignore next ", + "start": 9727, + "end": 9753, + "loc": { + "start": { + "line": 248, + "column": 2 + }, + "end": { + "line": 248, + "column": 28 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", + "start": 9788, + "end": 9874, + "loc": { + "start": { + "line": 250, + "column": 4 + }, + "end": { + "line": 252, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", + "start": 10032, + "end": 10129, + "loc": { + "start": { + "line": 259, + "column": 2 + }, + "end": { + "line": 261, "column": 5 } } @@ -65834,15 +76332,15 @@ { "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, + "start": 10253, + "end": 10371, "loc": { "start": { - "line": 207, + "line": 268, "column": 2 }, "end": { - "line": 210, + "line": 271, "column": 5 } } @@ -65850,15 +76348,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8906, - "end": 8961, + "start": 10505, + "end": 10560, "loc": { "start": { - "line": 215, + "line": 276, "column": 4 }, "end": { - "line": 217, + "line": 278, "column": 7 } } @@ -65866,15 +76364,15 @@ { "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, + "start": 10656, + "end": 10818, "loc": { "start": { - "line": 222, + "line": 283, "column": 2 }, "end": { - "line": 225, + "line": 286, "column": 5 } } @@ -65882,15 +76380,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 9305, - "end": 9360, + "start": 10904, + "end": 10959, "loc": { "start": { - "line": 229, + "line": 290, "column": 4 }, "end": { - "line": 231, + "line": 292, "column": 7 } } @@ -65898,15 +76396,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": 9506, - "end": 9666, + "start": 11105, + "end": 11265, "loc": { "start": { - "line": 238, + "line": 299, "column": 2 }, "end": { - "line": 242, + "line": 303, "column": 5 } } @@ -65914,15 +76412,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 9795, - "end": 9850, + "start": 11394, + "end": 11449, "loc": { "start": { - "line": 247, + "line": 308, "column": 4 }, "end": { - "line": 249, + "line": 310, "column": 7 } } @@ -65930,15 +76428,15 @@ { "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, + "start": 11547, + "end": 11656, "loc": { "start": { - "line": 254, + "line": 315, "column": 2 }, "end": { - "line": 257, + "line": 318, "column": 5 } } @@ -65946,31 +76444,47 @@ { "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, + "start": 11722, + "end": 11848, "loc": { "start": { - "line": 262, + "line": 323, "column": 2 }, "end": { - "line": 265, + "line": 326, "column": 5 } } }, { "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, + "value": "*\r\n * Apply modules\r\n ", + "start": 11989, + "end": 12023, "loc": { "start": { - "line": 272, + "line": 332, + "column": 4 + }, + "end": { + "line": 334, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", + "start": 12059, + "end": 12168, + "loc": { + "start": { + "line": 338, "column": 2 }, "end": { - "line": 275, + "line": 341, "column": 5 } } @@ -65978,75 +76492,11 @@ { "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, + "start": 12317, + "end": 12522, "loc": { "start": { - "line": 282, - "column": 2 - }, - "end": { - "line": 285, - "column": 5 - } - } - }, - { - "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": "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": "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": "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, + "line": 348, "column": 2 }, "end": { @@ -66057,16 +76507,80 @@ }, { "type": "CommentBlock", - "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", - "start": 13145, - "end": 13225, + "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": 12900, + "end": 13181, "loc": { "start": { - "line": 353, + "line": 363, + "column": 2 + }, + "end": { + "line": 367, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", + "start": 13508, + "end": 13599, + "loc": { + "start": { + "line": 379, + "column": 8 + }, + "end": { + "line": 381, + "column": 11 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * If class is not defined, we create a new entry\r\n ", + "start": 14129, + "end": 14204, + "loc": { + "start": { + "line": 397, + "column": 8 + }, + "end": { + "line": 399, + "column": 11 + } + } + }, + { + "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": 14423, + "end": 14763, + "loc": { + "start": { + "line": 413, + "column": 2 + }, + "end": { + "line": 417, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", + "start": 14811, + "end": 14891, + "loc": { + "start": { + "line": 419, "column": 4 }, "end": { - "line": 355, + "line": 421, "column": 7 } } @@ -66074,15 +76588,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", - "start": 13354, - "end": 13422, + "start": 15020, + "end": 15088, "loc": { "start": { - "line": 362, + "line": 428, "column": 4 }, "end": { - "line": 364, + "line": 430, "column": 7 } } @@ -66090,15 +76604,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": 13687, - "end": 13828, + "start": 15353, + "end": 15494, "loc": { "start": { - "line": 370, + "line": 436, "column": 10 }, "end": { - "line": 373, + "line": 439, "column": 13 } } @@ -66106,15 +76620,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", - "start": 14069, - "end": 14166, + "start": 15735, + "end": 15832, "loc": { "start": { - "line": 380, + "line": 446, "column": 12 }, "end": { - "line": 382, + "line": 448, "column": 15 } } @@ -66122,15 +76636,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": 14524, - "end": 14727, + "start": 16190, + "end": 16393, "loc": { "start": { - "line": 400, + "line": 466, "column": 2 }, "end": { - "line": 403, + "line": 469, "column": 5 } } @@ -66138,15 +76652,15 @@ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", - "start": 15004, - "end": 15094, + "start": 16670, + "end": 16760, "loc": { "start": { - "line": 419, + "line": 485, "column": 2 }, "end": { - "line": 421, + "line": 487, "column": 5 } } @@ -66154,120 +76668,8 @@ { "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": "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": "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 - } - } - }, - { - "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": "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, + "start": 17073, + "end": 17185, "loc": { "start": { "line": 498, @@ -66281,16 +76683,160 @@ }, { "type": "CommentBlock", - "value": "*\r\n * Renders rows and buttons as per options\r\n ", - "start": 17117, - "end": 17173, + "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": 17374, + "end": 17522, "loc": { "start": { - "line": 505, + "line": 508, + "column": 6 + }, + "end": { + "line": 511, + "column": 9 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", + "start": 17745, + "end": 17865, + "loc": { + "start": { + "line": 520, "column": 2 }, "end": { - "line": 507, + "line": 522, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Caret handling\r\n ", + "start": 17957, + "end": 17992, + "loc": { + "start": { + "line": 528, + "column": 4 + }, + "end": { + "line": 530, + "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": 18111, + "end": 18229, + "loc": { + "start": { + "line": 537, + "column": 2 + }, + "end": { + "line": 539, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Register module\r\n ", + "start": 18340, + "end": 18372, + "loc": { + "start": { + "line": 545, + "column": 2 + }, + "end": { + "line": 547, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Load modules\r\n ", + "start": 18531, + "end": 18560, + "loc": { + "start": { + "line": 555, + "column": 2 + }, + "end": { + "line": 557, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": " istanbul ignore next ", + "start": 18720, + "end": 18746, + "loc": { + "start": { + "line": 563, + "column": 8 + }, + "end": { + "line": 563, + "column": 34 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Get module prop\r\n ", + "start": 19028, + "end": 19060, + "loc": { + "start": { + "line": 575, + "column": 2 + }, + "end": { + "line": 577, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * getModulesList\r\n ", + "start": 19202, + "end": 19233, + "loc": { + "start": { + "line": 585, + "column": 2 + }, + "end": { + "line": 587, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Renders rows and buttons as per options\r\n ", + "start": 19311, + "end": 19367, + "loc": { + "start": { + "line": 592, + "column": 2 + }, + "end": { + "line": 594, "column": 5 } } @@ -66298,15 +76844,15 @@ { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", - "start": 17192, - "end": 17227, + "start": 19386, + "end": 19421, "loc": { "start": { - "line": 509, + "line": 596, "column": 4 }, "end": { - "line": 511, + "line": 598, "column": 7 } } @@ -66314,15 +76860,15 @@ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", - "start": 17438, - "end": 17490, + "start": 19632, + "end": 19684, "loc": { "start": { - "line": 517, + "line": 604, "column": 4 }, "end": { - "line": 519, + "line": 606, "column": 7 } } @@ -66330,15 +76876,15 @@ { "type": "CommentLine", "value": " If the button has already been added", - "start": 17997, - "end": 18036, + "start": 20191, + "end": 20230, "loc": { "start": { - "line": 534, + "line": 621, "column": 14 }, "end": { - "line": 534, + "line": 621, "column": 53 } } @@ -66346,15 +76892,15 @@ { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", - "start": 18086, - "end": 18169, + "start": 20280, + "end": 20363, "loc": { "start": { - "line": 536, + "line": 623, "column": 16 }, "end": { - "line": 536, + "line": 623, "column": 99 } } @@ -66362,15 +76908,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", - "start": 18677, - "end": 18743, + "start": 20871, + "end": 20937, "loc": { "start": { - "line": 551, + "line": 638, "column": 4 }, "end": { - "line": 553, + "line": 640, "column": 7 } } @@ -66378,15 +76924,15 @@ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", - "start": 18827, - "end": 18874, + "start": 21021, + "end": 21068, "loc": { "start": { - "line": 556, + "line": 643, "column": 4 }, "end": { - "line": 558, + "line": 645, "column": 7 } } @@ -66394,15 +76940,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", - "start": 18986, - "end": 19029, + "start": 21180, + "end": 21223, "loc": { "start": { - "line": 562, + "line": 649, "column": 6 }, "end": { - "line": 564, + "line": 651, "column": 9 } } @@ -66410,15 +76956,15 @@ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", - "start": 19127, - "end": 19188, + "start": 21321, + "end": 21382, "loc": { "start": { - "line": 568, + "line": 655, "column": 6 }, "end": { - "line": 570, + "line": 657, "column": 9 } } @@ -66426,15 +76972,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", - "start": 19499, - "end": 19543, + "start": 21693, + "end": 21737, "loc": { "start": { - "line": 576, + "line": 663, "column": 8 }, "end": { - "line": 578, + "line": 665, "column": 11 } } @@ -66442,15 +76988,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", - "start": 19787, - "end": 19833, + "start": 22060, + "end": 22106, "loc": { "start": { - "line": 583, + "line": 671, "column": 8 }, "end": { - "line": 585, + "line": 673, "column": 11 } } @@ -66458,15 +77004,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": 19900, - "end": 20055, + "start": 22173, + "end": 22328, "loc": { "start": { - "line": 588, + "line": 676, "column": 8 }, "end": { - "line": 591, + "line": 679, "column": 11 } } @@ -66474,15 +77020,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", - "start": 20204, - "end": 20253, + "start": 22477, + "end": 22526, "loc": { "start": { - "line": 595, + "line": 683, "column": 8 }, "end": { - "line": 597, + "line": 685, "column": 11 } } @@ -66490,15 +77036,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", - "start": 20338, - "end": 20396, + "start": 22611, + "end": 22669, "loc": { "start": { - "line": 600, + "line": 688, "column": 8 }, "end": { - "line": 602, + "line": 690, "column": 11 } } @@ -66506,15 +77052,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", - "start": 20570, - "end": 20623, + "start": 22843, + "end": 22896, "loc": { "start": { - "line": 607, + "line": 695, "column": 8 }, "end": { - "line": 609, + "line": 697, "column": 11 } } @@ -66522,15 +77068,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", - "start": 20778, - "end": 20830, + "start": 23051, + "end": 23103, "loc": { "start": { - "line": 615, + "line": 703, "column": 8 }, "end": { - "line": 617, + "line": 705, "column": 11 } } @@ -66538,15 +77084,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", - "start": 20893, - "end": 20943, + "start": 23166, + "end": 23216, "loc": { "start": { - "line": 622, + "line": 710, "column": 6 }, "end": { - "line": 624, + "line": 712, "column": 9 } } @@ -66554,15 +77100,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", - "start": 21005, - "end": 21042, + "start": 23278, + "end": 23315, "loc": { "start": { - "line": 628, + "line": 716, "column": 4 }, "end": { - "line": 630, + "line": 718, "column": 7 } } @@ -66570,15 +77116,31 @@ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", - "start": 21102, - "end": 21184, + "start": 23375, + "end": 23457, "loc": { "start": { - "line": 634, + "line": 722, "column": 6 }, "end": { - "line": 636, + "line": 724, + "column": 9 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Handling mouseup\r\n ", + "start": 23499, + "end": 23540, + "loc": { + "start": { + "line": 727, + "column": 6 + }, + "end": { + "line": 729, "column": 9 } } @@ -66586,15 +77148,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", - "start": 21226, - "end": 21265, + "start": 23612, + "end": 23651, "loc": { "start": { - "line": 639, + "line": 732, "column": 6 }, "end": { - "line": 641, + "line": 734, "column": 9 } } @@ -70529,9 +81091,9 @@ }, { "type": "CommentBlock", - "value": "*\r\n * Module namespace\r\n ", + "value": "*\r\n * Bindings\r\n ", "start": 4184, - "end": 4221, + "end": 4213, "loc": { "start": { "line": 66, @@ -70558,8 +81120,8 @@ "updateContext": null }, "value": "this", - "start": 4227, - "end": 4231, + "start": 4219, + "end": 4223, "loc": { "start": { "line": 69, @@ -70584,8 +81146,8 @@ "binop": null, "updateContext": null }, - "start": 4231, - "end": 4232, + "start": 4223, + "end": 4224, "loc": { "start": { "line": 69, @@ -70609,9 +81171,9 @@ "postfix": false, "binop": null }, - "value": "modules", - "start": 4232, - "end": 4239, + "value": "handleButtonClicked", + "start": 4224, + "end": 4243, "loc": { "start": { "line": 69, @@ -70619,7 +81181,7 @@ }, "end": { "line": 69, - "column": 16 + "column": 28 } } }, @@ -70637,22 +81199,154 @@ "updateContext": null }, "value": "=", - "start": 4240, - "end": 4241, + "start": 4244, + "end": 4245, "loc": { "start": { "line": 69, - "column": 17 + "column": 29 }, "end": { "line": 69, - "column": 18 + "column": 30 } } }, { "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": 4246, + "end": 4250, + "loc": { + "start": { + "line": 69, + "column": 31 + }, + "end": { + "line": 69, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4250, + "end": 4251, + "loc": { + "start": { + "line": 69, + "column": 35 + }, + "end": { + "line": 69, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handleButtonClicked", + "start": 4251, + "end": 4270, + "loc": { + "start": { + "line": 69, + "column": 36 + }, + "end": { + "line": 69, + "column": 55 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4270, + "end": 4271, + "loc": { + "start": { + "line": 69, + "column": 55 + }, + "end": { + "line": 69, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 4271, + "end": 4275, + "loc": { + "start": { + "line": 69, + "column": 56 + }, + "end": { + "line": 69, + "column": 60 + } + } + }, + { + "type": { + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -70662,22 +81356,50 @@ "postfix": false, "binop": null }, - "start": 4242, - "end": 4243, + "start": 4275, + "end": 4276, "loc": { "start": { "line": 69, - "column": 19 + "column": 60 }, "end": { "line": 69, - "column": 20 + "column": 61 } } }, { "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": 4276, + "end": 4280, + "loc": { + "start": { + "line": 69, + "column": 61 + }, + "end": { + "line": 69, + "column": 65 + } + } + }, + { + "type": { + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -70687,16 +81409,16 @@ "postfix": false, "binop": null }, - "start": 4243, - "end": 4244, + "start": 4280, + "end": 4281, "loc": { "start": { "line": 69, - "column": 20 + "column": 65 }, "end": { "line": 69, - "column": 21 + "column": 66 } } }, @@ -70713,32 +81435,16 @@ "binop": null, "updateContext": null }, - "start": 4244, - "end": 4245, - "loc": { - "start": { - "line": 69, - "column": 21 - }, - "end": { - "line": 69, - "column": 22 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Bindings\r\n ", - "start": 4253, + "start": 4281, "end": 4282, "loc": { "start": { - "line": 71, - "column": 4 + "line": 69, + "column": 66 }, "end": { - "line": 73, - "column": 7 + "line": 69, + "column": 67 } } }, @@ -70761,11 +81467,11 @@ "end": 4292, "loc": { "start": { - "line": 74, + "line": 70, "column": 4 }, "end": { - "line": 74, + "line": 70, "column": 8 } } @@ -70787,354 +81493,11 @@ "end": 4293, "loc": { "start": { - "line": 74, + "line": 70, "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, + "line": 70, "column": 9 } } @@ -71152,15 +81515,15 @@ "binop": null }, "value": "syncInstanceInputs", - "start": 4362, - "end": 4380, + "start": 4293, + "end": 4311, "loc": { "start": { - "line": 75, + "line": 70, "column": 9 }, "end": { - "line": 75, + "line": 70, "column": 27 } } @@ -71179,15 +81542,15 @@ "updateContext": null }, "value": "=", - "start": 4381, - "end": 4382, + "start": 4312, + "end": 4313, "loc": { "start": { - "line": 75, + "line": 70, "column": 28 }, "end": { - "line": 75, + "line": 70, "column": 29 } } @@ -71207,15 +81570,15 @@ "updateContext": null }, "value": "this", - "start": 4383, - "end": 4387, + "start": 4314, + "end": 4318, "loc": { "start": { - "line": 75, + "line": 70, "column": 30 }, "end": { - "line": 75, + "line": 70, "column": 34 } } @@ -71233,15 +81596,15 @@ "binop": null, "updateContext": null }, - "start": 4387, - "end": 4388, + "start": 4318, + "end": 4319, "loc": { "start": { - "line": 75, + "line": 70, "column": 34 }, "end": { - "line": 75, + "line": 70, "column": 35 } } @@ -71259,15 +81622,15 @@ "binop": null }, "value": "syncInstanceInputs", - "start": 4388, - "end": 4406, + "start": 4319, + "end": 4337, "loc": { "start": { - "line": 75, + "line": 70, "column": 35 }, "end": { - "line": 75, + "line": 70, "column": 53 } } @@ -71285,15 +81648,15 @@ "binop": null, "updateContext": null }, - "start": 4406, - "end": 4407, + "start": 4337, + "end": 4338, "loc": { "start": { - "line": 75, + "line": 70, "column": 53 }, "end": { - "line": 75, + "line": 70, "column": 54 } } @@ -71311,15 +81674,15 @@ "binop": null }, "value": "bind", - "start": 4407, - "end": 4411, + "start": 4338, + "end": 4342, "loc": { "start": { - "line": 75, + "line": 70, "column": 54 }, "end": { - "line": 75, + "line": 70, "column": 58 } } @@ -71336,15 +81699,15 @@ "postfix": false, "binop": null }, - "start": 4411, - "end": 4412, + "start": 4342, + "end": 4343, "loc": { "start": { - "line": 75, + "line": 70, "column": 58 }, "end": { - "line": 75, + "line": 70, "column": 59 } } @@ -71364,15 +81727,15 @@ "updateContext": null }, "value": "this", - "start": 4412, - "end": 4416, + "start": 4343, + "end": 4347, "loc": { "start": { - "line": 75, + "line": 70, "column": 59 }, "end": { - "line": 75, + "line": 70, "column": 63 } } @@ -71389,15 +81752,15 @@ "postfix": false, "binop": null }, - "start": 4416, - "end": 4417, + "start": 4347, + "end": 4348, "loc": { "start": { - "line": 75, + "line": 70, "column": 63 }, "end": { - "line": 75, + "line": 70, "column": 64 } } @@ -71415,15 +81778,15 @@ "binop": null, "updateContext": null }, - "start": 4417, - "end": 4418, + "start": 4348, + "end": 4349, "loc": { "start": { - "line": 75, + "line": 70, "column": 64 }, "end": { - "line": 75, + "line": 70, "column": 65 } } @@ -71443,15 +81806,15 @@ "updateContext": null }, "value": "this", - "start": 4424, - "end": 4428, + "start": 4355, + "end": 4359, "loc": { "start": { - "line": 76, + "line": 71, "column": 4 }, "end": { - "line": 76, + "line": 71, "column": 8 } } @@ -71469,15 +81832,15 @@ "binop": null, "updateContext": null }, - "start": 4428, - "end": 4429, + "start": 4359, + "end": 4360, "loc": { "start": { - "line": 76, + "line": 71, "column": 8 }, "end": { - "line": 76, + "line": 71, "column": 9 } } @@ -71495,15 +81858,15 @@ "binop": null }, "value": "clearInput", - "start": 4429, - "end": 4439, + "start": 4360, + "end": 4370, "loc": { "start": { - "line": 76, + "line": 71, "column": 9 }, "end": { - "line": 76, + "line": 71, "column": 19 } } @@ -71522,15 +81885,15 @@ "updateContext": null }, "value": "=", - "start": 4440, - "end": 4441, + "start": 4371, + "end": 4372, "loc": { "start": { - "line": 76, + "line": 71, "column": 20 }, "end": { - "line": 76, + "line": 71, "column": 21 } } @@ -71550,15 +81913,15 @@ "updateContext": null }, "value": "this", - "start": 4442, - "end": 4446, + "start": 4373, + "end": 4377, "loc": { "start": { - "line": 76, + "line": 71, "column": 22 }, "end": { - "line": 76, + "line": 71, "column": 26 } } @@ -71576,15 +81939,15 @@ "binop": null, "updateContext": null }, - "start": 4446, - "end": 4447, + "start": 4377, + "end": 4378, "loc": { "start": { - "line": 76, + "line": 71, "column": 26 }, "end": { - "line": 76, + "line": 71, "column": 27 } } @@ -71602,19 +81965,546 @@ "binop": null }, "value": "clearInput", - "start": 4447, - "end": 4457, + "start": 4378, + "end": 4388, "loc": { "start": { - "line": 76, + "line": 71, "column": 27 }, "end": { - "line": 76, + "line": 71, "column": 37 } } }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4388, + "end": 4389, + "loc": { + "start": { + "line": 71, + "column": 37 + }, + "end": { + "line": 71, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 4389, + "end": 4393, + "loc": { + "start": { + "line": 71, + "column": 38 + }, + "end": { + "line": 71, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4393, + "end": 4394, + "loc": { + "start": { + "line": 71, + "column": 42 + }, + "end": { + "line": 71, + "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": 4394, + "end": 4398, + "loc": { + "start": { + "line": 71, + "column": 43 + }, + "end": { + "line": 71, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4398, + "end": 4399, + "loc": { + "start": { + "line": 71, + "column": 47 + }, + "end": { + "line": 71, + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4399, + "end": 4400, + "loc": { + "start": { + "line": 71, + "column": 48 + }, + "end": { + "line": 71, + "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": 4406, + "end": 4410, + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 72, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4410, + "end": 4411, + "loc": { + "start": { + "line": 72, + "column": 8 + }, + "end": { + "line": 72, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getInput", + "start": 4411, + "end": 4419, + "loc": { + "start": { + "line": 72, + "column": 9 + }, + "end": { + "line": 72, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4420, + "end": 4421, + "loc": { + "start": { + "line": 72, + "column": 18 + }, + "end": { + "line": 72, + "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": 4422, + "end": 4426, + "loc": { + "start": { + "line": 72, + "column": 20 + }, + "end": { + "line": 72, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4426, + "end": 4427, + "loc": { + "start": { + "line": 72, + "column": 24 + }, + "end": { + "line": 72, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getInput", + "start": 4427, + "end": 4435, + "loc": { + "start": { + "line": 72, + "column": 25 + }, + "end": { + "line": 72, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4435, + "end": 4436, + "loc": { + "start": { + "line": 72, + "column": 33 + }, + "end": { + "line": 72, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 4436, + "end": 4440, + "loc": { + "start": { + "line": 72, + "column": 34 + }, + "end": { + "line": 72, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4440, + "end": 4441, + "loc": { + "start": { + "line": 72, + "column": 38 + }, + "end": { + "line": 72, + "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": 4441, + "end": 4445, + "loc": { + "start": { + "line": 72, + "column": 39 + }, + "end": { + "line": 72, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4445, + "end": 4446, + "loc": { + "start": { + "line": 72, + "column": 43 + }, + "end": { + "line": 72, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4446, + "end": 4447, + "loc": { + "start": { + "line": 72, + "column": 44 + }, + "end": { + "line": 72, + "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": 4453, + "end": 4457, + "loc": { + "start": { + "line": 73, + "column": 4 + }, + "end": { + "line": 73, + "column": 8 + } + } + }, { "type": { "label": ".", @@ -71632,12 +82522,12 @@ "end": 4458, "loc": { "start": { - "line": 76, - "column": 37 + "line": 73, + "column": 8 }, "end": { - "line": 76, - "column": 38 + "line": 73, + "column": 9 } } }, @@ -71653,200 +82543,16 @@ "postfix": false, "binop": null }, - "value": "bind", + "value": "setInput", "start": 4458, - "end": 4462, + "end": 4466, "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, + "line": 73, "column": 9 }, "end": { - "line": 77, + "line": 73, "column": 17 } } @@ -71865,15 +82571,15 @@ "updateContext": null }, "value": "=", - "start": 4489, - "end": 4490, + "start": 4467, + "end": 4468, "loc": { "start": { - "line": 77, + "line": 73, "column": 18 }, "end": { - "line": 77, + "line": 73, "column": 19 } } @@ -71893,15 +82599,15 @@ "updateContext": null }, "value": "this", - "start": 4491, - "end": 4495, + "start": 4469, + "end": 4473, "loc": { "start": { - "line": 77, + "line": 73, "column": 20 }, "end": { - "line": 77, + "line": 73, "column": 24 } } @@ -71919,15 +82625,15 @@ "binop": null, "updateContext": null }, - "start": 4495, - "end": 4496, + "start": 4473, + "end": 4474, "loc": { "start": { - "line": 77, + "line": 73, "column": 24 }, "end": { - "line": 77, + "line": 73, "column": 25 } } @@ -71944,20 +82650,204 @@ "postfix": false, "binop": null }, - "value": "getInput", - "start": 4496, - "end": 4504, + "value": "setInput", + "start": 4474, + "end": 4482, "loc": { "start": { - "line": 77, + "line": 73, "column": 25 }, "end": { - "line": 77, + "line": 73, "column": 33 } } }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4482, + "end": 4483, + "loc": { + "start": { + "line": 73, + "column": 33 + }, + "end": { + "line": 73, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 4483, + "end": 4487, + "loc": { + "start": { + "line": 73, + "column": 34 + }, + "end": { + "line": 73, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4487, + "end": 4488, + "loc": { + "start": { + "line": 73, + "column": 38 + }, + "end": { + "line": 73, + "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": 4488, + "end": 4492, + "loc": { + "start": { + "line": 73, + "column": 39 + }, + "end": { + "line": 73, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4492, + "end": 4493, + "loc": { + "start": { + "line": 73, + "column": 43 + }, + "end": { + "line": 73, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4493, + "end": 4494, + "loc": { + "start": { + "line": 73, + "column": 44 + }, + "end": { + "line": 73, + "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": 4500, + "end": 4504, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 8 + } + } + }, { "type": { "label": ".", @@ -71975,538 +82865,11 @@ "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, + "line": 74, "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, + "line": 74, "column": 9 } } @@ -72524,15 +82887,15 @@ "binop": null }, "value": "replaceInput", - "start": 4574, - "end": 4586, + "start": 4505, + "end": 4517, "loc": { "start": { - "line": 79, + "line": 74, "column": 9 }, "end": { - "line": 79, + "line": 74, "column": 21 } } @@ -72551,15 +82914,15 @@ "updateContext": null }, "value": "=", - "start": 4587, - "end": 4588, + "start": 4518, + "end": 4519, "loc": { "start": { - "line": 79, + "line": 74, "column": 22 }, "end": { - "line": 79, + "line": 74, "column": 23 } } @@ -72579,15 +82942,15 @@ "updateContext": null }, "value": "this", - "start": 4589, - "end": 4593, + "start": 4520, + "end": 4524, "loc": { "start": { - "line": 79, + "line": 74, "column": 24 }, "end": { - "line": 79, + "line": 74, "column": 28 } } @@ -72605,15 +82968,15 @@ "binop": null, "updateContext": null }, - "start": 4593, - "end": 4594, + "start": 4524, + "end": 4525, "loc": { "start": { - "line": 79, + "line": 74, "column": 28 }, "end": { - "line": 79, + "line": 74, "column": 29 } } @@ -72631,15 +82994,15 @@ "binop": null }, "value": "replaceInput", - "start": 4594, - "end": 4606, + "start": 4525, + "end": 4537, "loc": { "start": { - "line": 79, + "line": 74, "column": 29 }, "end": { - "line": 79, + "line": 74, "column": 41 } } @@ -72657,15 +83020,15 @@ "binop": null, "updateContext": null }, - "start": 4606, - "end": 4607, + "start": 4537, + "end": 4538, "loc": { "start": { - "line": 79, + "line": 74, "column": 41 }, "end": { - "line": 79, + "line": 74, "column": 42 } } @@ -72683,15 +83046,15 @@ "binop": null }, "value": "bind", - "start": 4607, - "end": 4611, + "start": 4538, + "end": 4542, "loc": { "start": { - "line": 79, + "line": 74, "column": 42 }, "end": { - "line": 79, + "line": 74, "column": 46 } } @@ -72708,19 +83071,548 @@ "postfix": false, "binop": null }, - "start": 4611, - "end": 4612, + "start": 4542, + "end": 4543, "loc": { "start": { - "line": 79, + "line": 74, "column": 46 }, "end": { - "line": 79, + "line": 74, "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": 4543, + "end": 4547, + "loc": { + "start": { + "line": 74, + "column": 47 + }, + "end": { + "line": 74, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4547, + "end": 4548, + "loc": { + "start": { + "line": 74, + "column": 51 + }, + "end": { + "line": 74, + "column": 52 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4548, + "end": 4549, + "loc": { + "start": { + "line": 74, + "column": 52 + }, + "end": { + "line": 74, + "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": 4555, + "end": 4559, + "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": 4559, + "end": 4560, + "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": "clear", + "start": 4560, + "end": 4565, + "loc": { + "start": { + "line": 75, + "column": 9 + }, + "end": { + "line": 75, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4566, + "end": 4567, + "loc": { + "start": { + "line": 75, + "column": 15 + }, + "end": { + "line": 75, + "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": 4568, + "end": 4572, + "loc": { + "start": { + "line": 75, + "column": 17 + }, + "end": { + "line": 75, + "column": 21 + } + } + }, + { + "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": 75, + "column": 21 + }, + "end": { + "line": 75, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clear", + "start": 4573, + "end": 4578, + "loc": { + "start": { + "line": 75, + "column": 22 + }, + "end": { + "line": 75, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4578, + "end": 4579, + "loc": { + "start": { + "line": 75, + "column": 27 + }, + "end": { + "line": 75, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 4579, + "end": 4583, + "loc": { + "start": { + "line": 75, + "column": 28 + }, + "end": { + "line": 75, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4583, + "end": 4584, + "loc": { + "start": { + "line": 75, + "column": 32 + }, + "end": { + "line": 75, + "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": 4584, + "end": 4588, + "loc": { + "start": { + "line": 75, + "column": 33 + }, + "end": { + "line": 75, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4588, + "end": 4589, + "loc": { + "start": { + "line": 75, + "column": 37 + }, + "end": { + "line": 75, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4589, + "end": 4590, + "loc": { + "start": { + "line": 75, + "column": 38 + }, + "end": { + "line": 75, + "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": 4596, + "end": 4600, + "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": 4600, + "end": 4601, + "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": "dispatch", + "start": 4601, + "end": 4609, + "loc": { + "start": { + "line": 76, + "column": 9 + }, + "end": { + "line": 76, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4610, + "end": 4611, + "loc": { + "start": { + "line": 76, + "column": 18 + }, + "end": { + "line": 76, + "column": 19 + } + } + }, { "type": { "label": "this", @@ -72740,12 +83632,169 @@ "end": 4616, "loc": { "start": { - "line": 79, - "column": 47 + "line": 76, + "column": 20 }, "end": { - "line": 79, - "column": 51 + "line": 76, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4616, + "end": 4617, + "loc": { + "start": { + "line": 76, + "column": 24 + }, + "end": { + "line": 76, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "dispatch", + "start": 4617, + "end": 4625, + "loc": { + "start": { + "line": 76, + "column": 25 + }, + "end": { + "line": 76, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4625, + "end": 4626, + "loc": { + "start": { + "line": 76, + "column": 33 + }, + "end": { + "line": 76, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 4626, + "end": 4630, + "loc": { + "start": { + "line": 76, + "column": 34 + }, + "end": { + "line": 76, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4630, + "end": 4631, + "loc": { + "start": { + "line": 76, + "column": 38 + }, + "end": { + "line": 76, + "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": 4631, + "end": 4635, + "loc": { + "start": { + "line": 76, + "column": 39 + }, + "end": { + "line": 76, + "column": 43 } } }, @@ -72761,16 +83810,16 @@ "postfix": false, "binop": null }, - "start": 4616, - "end": 4617, + "start": 4635, + "end": 4636, "loc": { "start": { - "line": 79, - "column": 51 + "line": 76, + "column": 43 }, "end": { - "line": 79, - "column": 52 + "line": 76, + "column": 44 } } }, @@ -72787,16 +83836,16 @@ "binop": null, "updateContext": null }, - "start": 4617, - "end": 4618, + "start": 4636, + "end": 4637, "loc": { "start": { - "line": 79, - "column": 52 + "line": 76, + "column": 44 }, "end": { - "line": 79, - "column": 53 + "line": 76, + "column": 45 } } }, @@ -72815,175 +83864,16 @@ "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, + "start": 4643, "end": 4647, "loc": { "start": { - "line": 80, - "column": 22 + "line": 77, + "column": 4 }, "end": { - "line": 80, - "column": 27 + "line": 77, + "column": 8 } } }, @@ -73004,12 +83894,12 @@ "end": 4648, "loc": { "start": { - "line": 80, - "column": 27 + "line": 77, + "column": 8 }, "end": { - "line": 80, - "column": 28 + "line": 77, + "column": 9 } } }, @@ -73025,121 +83915,44 @@ "postfix": false, "binop": null }, - "value": "bind", + "value": "addButtonTheme", "start": 4648, - "end": 4652, + "end": 4662, "loc": { "start": { - "line": 80, - "column": 28 + "line": 77, + "column": 9 }, "end": { - "line": 80, - "column": 32 + "line": 77, + "column": 23 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "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, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "this", - "start": 4653, - "end": 4657, + "value": "=", + "start": 4663, + "end": 4664, "loc": { "start": { - "line": 80, - "column": 33 + "line": 77, + "column": 24 }, "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 + "line": 77, + "column": 25 } } }, @@ -73162,12 +83975,12 @@ "end": 4669, "loc": { "start": { - "line": 81, - "column": 4 + "line": 77, + "column": 26 }, "end": { - "line": 81, - "column": 8 + "line": 77, + "column": 30 } } }, @@ -73186,6 +83999,1271 @@ }, "start": 4669, "end": 4670, + "loc": { + "start": { + "line": 77, + "column": 30 + }, + "end": { + "line": 77, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "addButtonTheme", + "start": 4670, + "end": 4684, + "loc": { + "start": { + "line": 77, + "column": 31 + }, + "end": { + "line": 77, + "column": 45 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4684, + "end": 4685, + "loc": { + "start": { + "line": 77, + "column": 45 + }, + "end": { + "line": 77, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 4685, + "end": 4689, + "loc": { + "start": { + "line": 77, + "column": 46 + }, + "end": { + "line": 77, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4689, + "end": 4690, + "loc": { + "start": { + "line": 77, + "column": 50 + }, + "end": { + "line": 77, + "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": 4690, + "end": 4694, + "loc": { + "start": { + "line": 77, + "column": 51 + }, + "end": { + "line": 77, + "column": 55 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4694, + "end": 4695, + "loc": { + "start": { + "line": 77, + "column": 55 + }, + "end": { + "line": 77, + "column": 56 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4695, + "end": 4696, + "loc": { + "start": { + "line": 77, + "column": 56 + }, + "end": { + "line": 77, + "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": 4702, + "end": 4706, + "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": 4706, + "end": 4707, + "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": "removeButtonTheme", + "start": 4707, + "end": 4724, + "loc": { + "start": { + "line": 78, + "column": 9 + }, + "end": { + "line": 78, + "column": 26 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4725, + "end": 4726, + "loc": { + "start": { + "line": 78, + "column": 27 + }, + "end": { + "line": 78, + "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": 4727, + "end": 4731, + "loc": { + "start": { + "line": 78, + "column": 29 + }, + "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": 4731, + "end": 4732, + "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": "removeButtonTheme", + "start": 4732, + "end": 4749, + "loc": { + "start": { + "line": 78, + "column": 34 + }, + "end": { + "line": 78, + "column": 51 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4749, + "end": 4750, + "loc": { + "start": { + "line": 78, + "column": 51 + }, + "end": { + "line": 78, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 4750, + "end": 4754, + "loc": { + "start": { + "line": 78, + "column": 52 + }, + "end": { + "line": 78, + "column": 56 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4754, + "end": 4755, + "loc": { + "start": { + "line": 78, + "column": 56 + }, + "end": { + "line": 78, + "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": 4755, + "end": 4759, + "loc": { + "start": { + "line": 78, + "column": 57 + }, + "end": { + "line": 78, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4759, + "end": 4760, + "loc": { + "start": { + "line": 78, + "column": 61 + }, + "end": { + "line": 78, + "column": 62 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4760, + "end": 4761, + "loc": { + "start": { + "line": 78, + "column": 62 + }, + "end": { + "line": 78, + "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": 4767, + "end": 4771, + "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": 4771, + "end": 4772, + "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": "getButtonElement", + "start": 4772, + "end": 4788, + "loc": { + "start": { + "line": 79, + "column": 9 + }, + "end": { + "line": 79, + "column": 25 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4789, + "end": 4790, + "loc": { + "start": { + "line": 79, + "column": 26 + }, + "end": { + "line": 79, + "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": 4791, + "end": 4795, + "loc": { + "start": { + "line": 79, + "column": 28 + }, + "end": { + "line": 79, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4795, + "end": 4796, + "loc": { + "start": { + "line": 79, + "column": 32 + }, + "end": { + "line": 79, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getButtonElement", + "start": 4796, + "end": 4812, + "loc": { + "start": { + "line": 79, + "column": 33 + }, + "end": { + "line": 79, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4812, + "end": 4813, + "loc": { + "start": { + "line": 79, + "column": 49 + }, + "end": { + "line": 79, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 4813, + "end": 4817, + "loc": { + "start": { + "line": 79, + "column": 50 + }, + "end": { + "line": 79, + "column": 54 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4817, + "end": 4818, + "loc": { + "start": { + "line": 79, + "column": 54 + }, + "end": { + "line": 79, + "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": 4818, + "end": 4822, + "loc": { + "start": { + "line": 79, + "column": 55 + }, + "end": { + "line": 79, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4822, + "end": 4823, + "loc": { + "start": { + "line": 79, + "column": 59 + }, + "end": { + "line": 79, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4823, + "end": 4824, + "loc": { + "start": { + "line": 79, + "column": 60 + }, + "end": { + "line": 79, + "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": 4830, + "end": 4834, + "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": 4834, + "end": 4835, + "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": "handleCaret", + "start": 4835, + "end": 4846, + "loc": { + "start": { + "line": 80, + "column": 9 + }, + "end": { + "line": 80, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4847, + "end": 4848, + "loc": { + "start": { + "line": 80, + "column": 21 + }, + "end": { + "line": 80, + "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": 4849, + "end": 4853, + "loc": { + "start": { + "line": 80, + "column": 23 + }, + "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": 4853, + "end": 4854, + "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": "handleCaret", + "start": 4854, + "end": 4865, + "loc": { + "start": { + "line": 80, + "column": 28 + }, + "end": { + "line": 80, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4865, + "end": 4866, + "loc": { + "start": { + "line": 80, + "column": 39 + }, + "end": { + "line": 80, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 4866, + "end": 4870, + "loc": { + "start": { + "line": 80, + "column": 40 + }, + "end": { + "line": 80, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4870, + "end": 4871, + "loc": { + "start": { + "line": 80, + "column": 44 + }, + "end": { + "line": 80, + "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": 4871, + "end": 4875, + "loc": { + "start": { + "line": 80, + "column": 45 + }, + "end": { + "line": 80, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4875, + "end": 4876, + "loc": { + "start": { + "line": 80, + "column": 49 + }, + "end": { + "line": 80, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4876, + "end": 4877, + "loc": { + "start": { + "line": 80, + "column": 50 + }, + "end": { + "line": 80, + "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": 4883, + "end": 4887, + "loc": { + "start": { + "line": 81, + "column": 4 + }, + "end": { + "line": 81, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4887, + "end": 4888, "loc": { "start": { "line": 81, @@ -73209,9 +85287,9 @@ "postfix": false, "binop": null }, - "value": "dispatch", - "start": 4670, - "end": 4678, + "value": "caretEventHandler", + "start": 4888, + "end": 4905, "loc": { "start": { "line": 81, @@ -73219,6 +85297,692 @@ }, "end": { "line": 81, + "column": 26 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4906, + "end": 4907, + "loc": { + "start": { + "line": 81, + "column": 27 + }, + "end": { + "line": 81, + "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": 4908, + "end": 4912, + "loc": { + "start": { + "line": 81, + "column": 29 + }, + "end": { + "line": 81, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4912, + "end": 4913, + "loc": { + "start": { + "line": 81, + "column": 33 + }, + "end": { + "line": 81, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "caretEventHandler", + "start": 4913, + "end": 4930, + "loc": { + "start": { + "line": 81, + "column": 34 + }, + "end": { + "line": 81, + "column": 51 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4930, + "end": 4931, + "loc": { + "start": { + "line": 81, + "column": 51 + }, + "end": { + "line": 81, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 4931, + "end": 4935, + "loc": { + "start": { + "line": 81, + "column": 52 + }, + "end": { + "line": 81, + "column": 56 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4935, + "end": 4936, + "loc": { + "start": { + "line": 81, + "column": 56 + }, + "end": { + "line": 81, + "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": 4936, + "end": 4940, + "loc": { + "start": { + "line": 81, + "column": 57 + }, + "end": { + "line": 81, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4940, + "end": 4941, + "loc": { + "start": { + "line": 81, + "column": 61 + }, + "end": { + "line": 81, + "column": 62 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4941, + "end": 4942, + "loc": { + "start": { + "line": 81, + "column": 62 + }, + "end": { + "line": 81, + "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": 4948, + "end": 4952, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4952, + "end": 4953, + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 82, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onInit", + "start": 4953, + "end": 4959, + "loc": { + "start": { + "line": 82, + "column": 9 + }, + "end": { + "line": 82, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4960, + "end": 4961, + "loc": { + "start": { + "line": 82, + "column": 16 + }, + "end": { + "line": 82, + "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": 4962, + "end": 4966, + "loc": { + "start": { + "line": 82, + "column": 18 + }, + "end": { + "line": 82, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4966, + "end": 4967, + "loc": { + "start": { + "line": 82, + "column": 22 + }, + "end": { + "line": 82, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onInit", + "start": 4967, + "end": 4973, + "loc": { + "start": { + "line": 82, + "column": 23 + }, + "end": { + "line": 82, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4973, + "end": 4974, + "loc": { + "start": { + "line": 82, + "column": 29 + }, + "end": { + "line": 82, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 4974, + "end": 4978, + "loc": { + "start": { + "line": 82, + "column": 30 + }, + "end": { + "line": 82, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4978, + "end": 4979, + "loc": { + "start": { + "line": 82, + "column": 34 + }, + "end": { + "line": 82, + "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": 4979, + "end": 4983, + "loc": { + "start": { + "line": 82, + "column": 35 + }, + "end": { + "line": 82, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4983, + "end": 4984, + "loc": { + "start": { + "line": 82, + "column": 39 + }, + "end": { + "line": 82, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4984, + "end": 4985, + "loc": { + "start": { + "line": 82, + "column": 40 + }, + "end": { + "line": 82, + "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": 4991, + "end": 4995, + "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": 4995, + "end": 4996, + "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": "onRender", + "start": 4996, + "end": 5004, + "loc": { + "start": { + "line": 83, + "column": 9 + }, + "end": { + "line": 83, "column": 17 } } @@ -73237,15 +86001,15 @@ "updateContext": null }, "value": "=", - "start": 4679, - "end": 4680, + "start": 5005, + "end": 5006, "loc": { "start": { - "line": 81, + "line": 83, "column": 18 }, "end": { - "line": 81, + "line": 83, "column": 19 } } @@ -73265,1939 +86029,145 @@ "updateContext": null }, "value": "this", - "start": 4681, - "end": 4685, - "loc": { - "start": { - "line": 81, - "column": 20 - }, - "end": { - "line": 81, - "column": 24 - } - } - }, - { - "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": 81, - "column": 24 - }, - "end": { - "line": 81, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "dispatch", - "start": 4686, - "end": 4694, - "loc": { - "start": { - "line": 81, - "column": 25 - }, - "end": { - "line": 81, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4694, - "end": 4695, - "loc": { - "start": { - "line": 81, - "column": 33 - }, - "end": { - "line": 81, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "bind", - "start": 4695, - "end": 4699, - "loc": { - "start": { - "line": 81, - "column": 34 - }, - "end": { - "line": 81, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "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": "this", - "start": 4700, - "end": 4704, - "loc": { - "start": { - "line": 81, - "column": 39 - }, - "end": { - "line": 81, - "column": 43 - } - } - }, - { - "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": 81, - "column": 43 - }, - "end": { - "line": 81, - "column": 44 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4705, - "end": 4706, - "loc": { - "start": { - "line": 81, - "column": 44 - }, - "end": { - "line": 81, - "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": 4712, - "end": 4716, - "loc": { - "start": { - "line": 82, - "column": 4 - }, - "end": { - "line": 82, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4716, - "end": 4717, - "loc": { - "start": { - "line": 82, - "column": 8 - }, - "end": { - "line": 82, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "addButtonTheme", - "start": 4717, - "end": 4731, - "loc": { - "start": { - "line": 82, - "column": 9 - }, - "end": { - "line": 82, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 4732, - "end": 4733, - "loc": { - "start": { - "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, + "start": 5007, "end": 5011, "loc": { "start": { - "line": 86, - "column": 62 + "line": 83, + "column": 20 }, "end": { - "line": 86, - "column": 63 + "line": 83, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5011, + "end": 5012, + "loc": { + "start": { + "line": 83, + "column": 24 + }, + "end": { + "line": 83, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onRender", + "start": 5012, + "end": 5020, + "loc": { + "start": { + "line": 83, + "column": 25 + }, + "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": 5020, + "end": 5021, + "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": "bind", + "start": 5021, + "end": 5025, + "loc": { + "start": { + "line": 83, + "column": 34 + }, + "end": { + "line": 83, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5025, + "end": 5026, + "loc": { + "start": { + "line": 83, + "column": 38 + }, + "end": { + "line": 83, + "column": 39 } } }, @@ -75216,22 +86186,22 @@ "updateContext": null }, "value": "this", - "start": 5017, - "end": 5021, + "start": 5026, + "end": 5030, "loc": { "start": { - "line": 87, - "column": 4 + "line": 83, + "column": 39 }, "end": { - "line": 87, - "column": 8 + "line": 83, + "column": 43 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -75239,72 +86209,44 @@ "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, + "start": 5030, + "end": 5031, "loc": { "start": { - "line": 87, - "column": 9 + "line": 83, + "column": 43 }, "end": { - "line": 87, - "column": 15 + "line": 83, + "column": 44 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 5029, - "end": 5030, + "start": 5031, + "end": 5032, "loc": { "start": { - "line": 87, - "column": 16 + "line": 83, + "column": 44 }, "end": { - "line": 87, - "column": 17 + "line": 83, + "column": 45 } } }, @@ -75323,68 +86265,16 @@ "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, + "start": 5038, "end": 5042, "loc": { "start": { - "line": 87, - "column": 23 + "line": 84, + "column": 4 }, "end": { - "line": 87, - "column": 29 + "line": 84, + "column": 8 } } }, @@ -75405,11 +86295,170 @@ "end": 5043, "loc": { "start": { - "line": 87, + "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": "render", + "start": 5043, + "end": 5049, + "loc": { + "start": { + "line": 84, + "column": 9 + }, + "end": { + "line": 84, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5050, + "end": 5051, + "loc": { + "start": { + "line": 84, + "column": 16 + }, + "end": { + "line": 84, + "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": 5052, + "end": 5056, + "loc": { + "start": { + "line": 84, + "column": 18 + }, + "end": { + "line": 84, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5056, + "end": 5057, + "loc": { + "start": { + "line": 84, + "column": 22 + }, + "end": { + "line": 84, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "render", + "start": 5057, + "end": 5063, + "loc": { + "start": { + "line": 84, + "column": 23 + }, + "end": { + "line": 84, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5063, + "end": 5064, + "loc": { + "start": { + "line": 84, "column": 29 }, "end": { - "line": 87, + "line": 84, "column": 30 } } @@ -75427,15 +86476,15 @@ "binop": null }, "value": "bind", - "start": 5043, - "end": 5047, + "start": 5064, + "end": 5068, "loc": { "start": { - "line": 87, + "line": 84, "column": 30 }, "end": { - "line": 87, + "line": 84, "column": 34 } } @@ -75452,15 +86501,15 @@ "postfix": false, "binop": null }, - "start": 5047, - "end": 5048, + "start": 5068, + "end": 5069, "loc": { "start": { - "line": 87, + "line": 84, "column": 34 }, "end": { - "line": 87, + "line": 84, "column": 35 } } @@ -75480,15 +86529,15 @@ "updateContext": null }, "value": "this", - "start": 5048, - "end": 5052, + "start": 5069, + "end": 5073, "loc": { "start": { - "line": 87, + "line": 84, "column": 35 }, "end": { - "line": 87, + "line": 84, "column": 39 } } @@ -75505,15 +86554,15 @@ "postfix": false, "binop": null }, - "start": 5052, - "end": 5053, + "start": 5073, + "end": 5074, "loc": { "start": { - "line": 87, + "line": 84, "column": 39 }, "end": { - "line": 87, + "line": 84, "column": 40 } } @@ -75531,15 +86580,15 @@ "binop": null, "updateContext": null }, - "start": 5053, - "end": 5054, + "start": 5074, + "end": 5075, "loc": { "start": { - "line": 87, + "line": 84, "column": 40 }, "end": { - "line": 87, + "line": 84, "column": 41 } } @@ -75559,15 +86608,15 @@ "updateContext": null }, "value": "this", - "start": 5060, - "end": 5064, + "start": 5081, + "end": 5085, "loc": { "start": { - "line": 88, + "line": 85, "column": 4 }, "end": { - "line": 88, + "line": 85, "column": 8 } } @@ -75585,15 +86634,15 @@ "binop": null, "updateContext": null }, - "start": 5064, - "end": 5065, + "start": 5085, + "end": 5086, "loc": { "start": { - "line": 88, + "line": 85, "column": 8 }, "end": { - "line": 88, + "line": 85, "column": 9 } } @@ -75610,17 +86659,17 @@ "postfix": false, "binop": null }, - "value": "onRender", - "start": 5065, - "end": 5073, + "value": "loadModules", + "start": 5086, + "end": 5097, "loc": { "start": { - "line": 88, + "line": 85, "column": 9 }, "end": { - "line": 88, - "column": 17 + "line": 85, + "column": 20 } } }, @@ -75638,16 +86687,16 @@ "updateContext": null }, "value": "=", - "start": 5074, - "end": 5075, + "start": 5098, + "end": 5099, "loc": { "start": { - "line": 88, - "column": 18 + "line": 85, + "column": 21 }, "end": { - "line": 88, - "column": 19 + "line": 85, + "column": 22 } } }, @@ -75666,16 +86715,16 @@ "updateContext": null }, "value": "this", - "start": 5076, - "end": 5080, + "start": 5100, + "end": 5104, "loc": { "start": { - "line": 88, - "column": 20 + "line": 85, + "column": 23 }, "end": { - "line": 88, - "column": 24 + "line": 85, + "column": 27 } } }, @@ -75692,16 +86741,16 @@ "binop": null, "updateContext": null }, - "start": 5080, - "end": 5081, + "start": 5104, + "end": 5105, "loc": { "start": { - "line": 88, - "column": 24 + "line": 85, + "column": 27 }, "end": { - "line": 88, - "column": 25 + "line": 85, + "column": 28 } } }, @@ -75717,17 +86766,17 @@ "postfix": false, "binop": null }, - "value": "onRender", - "start": 5081, - "end": 5089, + "value": "loadModules", + "start": 5105, + "end": 5116, "loc": { "start": { - "line": 88, - "column": 25 + "line": 85, + "column": 28 }, "end": { - "line": 88, - "column": 33 + "line": 85, + "column": 39 } } }, @@ -75744,16 +86793,16 @@ "binop": null, "updateContext": null }, - "start": 5089, - "end": 5090, + "start": 5116, + "end": 5117, "loc": { "start": { - "line": 88, - "column": 33 + "line": 85, + "column": 39 }, "end": { - "line": 88, - "column": 34 + "line": 85, + "column": 40 } } }, @@ -75770,16 +86819,16 @@ "binop": null }, "value": "bind", - "start": 5090, - "end": 5094, + "start": 5117, + "end": 5121, "loc": { "start": { - "line": 88, - "column": 34 + "line": 85, + "column": 40 }, "end": { - "line": 88, - "column": 38 + "line": 85, + "column": 44 } } }, @@ -75795,94 +86844,15 @@ "postfix": false, "binop": null }, - "start": 5094, - "end": 5095, + "start": 5121, + "end": 5122, "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, + "line": 85, "column": 44 }, "end": { - "line": 88, + "line": 85, "column": 45 } } @@ -75902,15 +86872,94 @@ "updateContext": null }, "value": "this", - "start": 5107, - "end": 5111, + "start": 5122, + "end": 5126, "loc": { "start": { - "line": 89, + "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": 5126, + "end": 5127, + "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": 5127, + "end": 5128, + "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": 5134, + "end": 5138, + "loc": { + "start": { + "line": 86, "column": 4 }, "end": { - "line": 89, + "line": 86, "column": 8 } } @@ -75928,15 +86977,15 @@ "binop": null, "updateContext": null }, - "start": 5111, - "end": 5112, + "start": 5138, + "end": 5139, "loc": { "start": { - "line": 89, + "line": 86, "column": 8 }, "end": { - "line": 89, + "line": 86, "column": 9 } } @@ -75953,17 +87002,17 @@ "postfix": false, "binop": null }, - "value": "render", - "start": 5112, - "end": 5118, + "value": "handleButtonMouseUp", + "start": 5139, + "end": 5158, "loc": { "start": { - "line": 89, + "line": 86, "column": 9 }, "end": { - "line": 89, - "column": 15 + "line": 86, + "column": 28 } } }, @@ -75981,16 +87030,16 @@ "updateContext": null }, "value": "=", - "start": 5119, - "end": 5120, + "start": 5159, + "end": 5160, "loc": { "start": { - "line": 89, - "column": 16 + "line": 86, + "column": 29 }, "end": { - "line": 89, - "column": 17 + "line": 86, + "column": 30 } } }, @@ -76009,16 +87058,16 @@ "updateContext": null }, "value": "this", - "start": 5121, - "end": 5125, + "start": 5161, + "end": 5165, "loc": { "start": { - "line": 89, - "column": 18 + "line": 86, + "column": 31 }, "end": { - "line": 89, - "column": 22 + "line": 86, + "column": 35 } } }, @@ -76035,16 +87084,16 @@ "binop": null, "updateContext": null }, - "start": 5125, - "end": 5126, + "start": 5165, + "end": 5166, "loc": { "start": { - "line": 89, - "column": 22 + "line": 86, + "column": 35 }, "end": { - "line": 89, - "column": 23 + "line": 86, + "column": 36 } } }, @@ -76060,17 +87109,17 @@ "postfix": false, "binop": null }, - "value": "render", - "start": 5126, - "end": 5132, + "value": "handleButtonMouseUp", + "start": 5166, + "end": 5185, "loc": { "start": { - "line": 89, - "column": 23 + "line": 86, + "column": 36 }, "end": { - "line": 89, - "column": 29 + "line": 86, + "column": 55 } } }, @@ -76087,16 +87136,16 @@ "binop": null, "updateContext": null }, - "start": 5132, - "end": 5133, + "start": 5185, + "end": 5186, "loc": { "start": { - "line": 89, - "column": 29 + "line": 86, + "column": 55 }, "end": { - "line": 89, - "column": 30 + "line": 86, + "column": 56 } } }, @@ -76113,16 +87162,16 @@ "binop": null }, "value": "bind", - "start": 5133, - "end": 5137, + "start": 5186, + "end": 5190, "loc": { "start": { - "line": 89, - "column": 30 + "line": 86, + "column": 56 }, "end": { - "line": 89, - "column": 34 + "line": 86, + "column": 60 } } }, @@ -76138,16 +87187,16 @@ "postfix": false, "binop": null }, - "start": 5137, - "end": 5138, + "start": 5190, + "end": 5191, "loc": { "start": { - "line": 89, - "column": 34 + "line": 86, + "column": 60 }, "end": { - "line": 89, - "column": 35 + "line": 86, + "column": 61 } } }, @@ -76166,16 +87215,16 @@ "updateContext": null }, "value": "this", - "start": 5138, - "end": 5142, + "start": 5191, + "end": 5195, "loc": { "start": { - "line": 89, - "column": 35 + "line": 86, + "column": 61 }, "end": { - "line": 89, - "column": 39 + "line": 86, + "column": 65 } } }, @@ -76191,16 +87240,16 @@ "postfix": false, "binop": null }, - "start": 5142, - "end": 5143, + "start": 5195, + "end": 5196, "loc": { "start": { - "line": 89, - "column": 39 + "line": 86, + "column": 65 }, "end": { - "line": 89, - "column": 40 + "line": 86, + "column": 66 } } }, @@ -76217,31 +87266,717 @@ "binop": null, "updateContext": null }, - "start": 5143, - "end": 5144, + "start": 5196, + "end": 5197, "loc": { "start": { - "line": 89, - "column": 40 + "line": 86, + "column": 66 }, "end": { - "line": 89, - "column": 41 + "line": 86, + "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": 5203, + "end": 5207, + "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": 5207, + "end": 5208, + "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": "handleButtonMouseDown", + "start": 5208, + "end": 5229, + "loc": { + "start": { + "line": 87, + "column": 9 + }, + "end": { + "line": 87, + "column": 30 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5230, + "end": 5231, + "loc": { + "start": { + "line": 87, + "column": 31 + }, + "end": { + "line": 87, + "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": 5232, + "end": 5236, + "loc": { + "start": { + "line": 87, + "column": 33 + }, + "end": { + "line": 87, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5236, + "end": 5237, + "loc": { + "start": { + "line": 87, + "column": 37 + }, + "end": { + "line": 87, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handleButtonMouseDown", + "start": 5237, + "end": 5258, + "loc": { + "start": { + "line": 87, + "column": 38 + }, + "end": { + "line": 87, + "column": 59 + } + } + }, + { + "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": 87, + "column": 59 + }, + "end": { + "line": 87, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 5259, + "end": 5263, + "loc": { + "start": { + "line": 87, + "column": 60 + }, + "end": { + "line": 87, + "column": 64 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5263, + "end": 5264, + "loc": { + "start": { + "line": 87, + "column": 64 + }, + "end": { + "line": 87, + "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": 5264, + "end": 5268, + "loc": { + "start": { + "line": 87, + "column": 65 + }, + "end": { + "line": 87, + "column": 69 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5268, + "end": 5269, + "loc": { + "start": { + "line": 87, + "column": 69 + }, + "end": { + "line": 87, + "column": 70 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5269, + "end": 5270, + "loc": { + "start": { + "line": 87, + "column": 70 + }, + "end": { + "line": 87, + "column": 71 + } + } + }, + { + "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": 5276, + "end": 5280, + "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": 5280, + "end": 5281, + "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": "handleButtonHold", + "start": 5281, + "end": 5297, + "loc": { + "start": { + "line": 88, + "column": 9 + }, + "end": { + "line": 88, + "column": 25 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5298, + "end": 5299, + "loc": { + "start": { + "line": 88, + "column": 26 + }, + "end": { + "line": 88, + "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": 5300, + "end": 5304, + "loc": { + "start": { + "line": 88, + "column": 28 + }, + "end": { + "line": 88, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5304, + "end": 5305, + "loc": { + "start": { + "line": 88, + "column": 32 + }, + "end": { + "line": 88, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handleButtonHold", + "start": 5305, + "end": 5321, + "loc": { + "start": { + "line": 88, + "column": 33 + }, + "end": { + "line": 88, + "column": 49 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5321, + "end": 5322, + "loc": { + "start": { + "line": 88, + "column": 49 + }, + "end": { + "line": 88, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 5322, + "end": 5326, + "loc": { + "start": { + "line": 88, + "column": 50 + }, + "end": { + "line": 88, + "column": 54 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5326, + "end": 5327, + "loc": { + "start": { + "line": 88, + "column": 54 + }, + "end": { + "line": 88, + "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": 5327, + "end": 5331, + "loc": { + "start": { + "line": 88, + "column": 55 + }, + "end": { + "line": 88, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5331, + "end": 5332, + "loc": { + "start": { + "line": 88, + "column": 59 + }, + "end": { + "line": 88, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5332, + "end": 5333, + "loc": { + "start": { + "line": 88, + "column": 60 + }, + "end": { + "line": 88, + "column": 61 } } }, { "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, + "start": 5341, + "end": 6000, "loc": { "start": { - "line": 91, + "line": 90, "column": 4 }, "end": { - "line": 104, + "line": 103, "column": 7 } } @@ -76261,15 +87996,15 @@ "updateContext": null }, "value": "this", - "start": 5817, - "end": 5821, + "start": 6006, + "end": 6010, "loc": { "start": { - "line": 105, + "line": 104, "column": 4 }, "end": { - "line": 105, + "line": 104, "column": 8 } } @@ -76287,15 +88022,15 @@ "binop": null, "updateContext": null }, - "start": 5821, - "end": 5822, + "start": 6010, + "end": 6011, "loc": { "start": { - "line": 105, + "line": 104, "column": 8 }, "end": { - "line": 105, + "line": 104, "column": 9 } } @@ -76313,15 +88048,15 @@ "binop": null }, "value": "input", - "start": 5822, - "end": 5827, + "start": 6011, + "end": 6016, "loc": { "start": { - "line": 105, + "line": 104, "column": 9 }, "end": { - "line": 105, + "line": 104, "column": 14 } } @@ -76340,15 +88075,15 @@ "updateContext": null }, "value": "=", - "start": 5828, - "end": 5829, + "start": 6017, + "end": 6018, "loc": { "start": { - "line": 105, + "line": 104, "column": 15 }, "end": { - "line": 105, + "line": 104, "column": 16 } } @@ -76365,15 +88100,15 @@ "postfix": false, "binop": null }, - "start": 5830, - "end": 5831, + "start": 6019, + "end": 6020, "loc": { "start": { - "line": 105, + "line": 104, "column": 17 }, "end": { - "line": 105, + "line": 104, "column": 18 } } @@ -76390,15 +88125,15 @@ "postfix": false, "binop": null }, - "start": 5831, - "end": 5832, + "start": 6020, + "end": 6021, "loc": { "start": { - "line": 105, + "line": 104, "column": 18 }, "end": { - "line": 105, + "line": 104, "column": 19 } } @@ -76416,15 +88151,15 @@ "binop": null, "updateContext": null }, - "start": 5832, - "end": 5833, + "start": 6021, + "end": 6022, "loc": { "start": { - "line": 105, + "line": 104, "column": 19 }, "end": { - "line": 105, + "line": 104, "column": 20 } } @@ -76444,15 +88179,15 @@ "updateContext": null }, "value": "this", - "start": 5839, - "end": 5843, + "start": 6028, + "end": 6032, "loc": { "start": { - "line": 106, + "line": 105, "column": 4 }, "end": { - "line": 106, + "line": 105, "column": 8 } } @@ -76470,15 +88205,15 @@ "binop": null, "updateContext": null }, - "start": 5843, - "end": 5844, + "start": 6032, + "end": 6033, "loc": { "start": { - "line": 106, + "line": 105, "column": 8 }, "end": { - "line": 106, + "line": 105, "column": 9 } } @@ -76496,15 +88231,15 @@ "binop": null }, "value": "input", - "start": 5844, - "end": 5849, + "start": 6033, + "end": 6038, "loc": { "start": { - "line": 106, + "line": 105, "column": 9 }, "end": { - "line": 106, + "line": 105, "column": 14 } } @@ -76522,15 +88257,15 @@ "binop": null, "updateContext": null }, - "start": 5849, - "end": 5850, + "start": 6038, + "end": 6039, "loc": { "start": { - "line": 106, + "line": 105, "column": 14 }, "end": { - "line": 106, + "line": 105, "column": 15 } } @@ -76550,15 +88285,15 @@ "updateContext": null }, "value": "this", - "start": 5850, - "end": 5854, + "start": 6039, + "end": 6043, "loc": { "start": { - "line": 106, + "line": 105, "column": 15 }, "end": { - "line": 106, + "line": 105, "column": 19 } } @@ -76576,15 +88311,15 @@ "binop": null, "updateContext": null }, - "start": 5854, - "end": 5855, + "start": 6043, + "end": 6044, "loc": { "start": { - "line": 106, + "line": 105, "column": 19 }, "end": { - "line": 106, + "line": 105, "column": 20 } } @@ -76602,15 +88337,15 @@ "binop": null }, "value": "options", - "start": 5855, - "end": 5862, + "start": 6044, + "end": 6051, "loc": { "start": { - "line": 106, + "line": 105, "column": 20 }, "end": { - "line": 106, + "line": 105, "column": 27 } } @@ -76628,15 +88363,15 @@ "binop": null, "updateContext": null }, - "start": 5862, - "end": 5863, + "start": 6051, + "end": 6052, "loc": { "start": { - "line": 106, + "line": 105, "column": 27 }, "end": { - "line": 106, + "line": 105, "column": 28 } } @@ -76654,15 +88389,15 @@ "binop": null }, "value": "inputName", - "start": 5863, - "end": 5872, + "start": 6052, + "end": 6061, "loc": { "start": { - "line": 106, + "line": 105, "column": 28 }, "end": { - "line": 106, + "line": 105, "column": 37 } } @@ -76680,15 +88415,15 @@ "binop": null, "updateContext": null }, - "start": 5872, - "end": 5873, + "start": 6061, + "end": 6062, "loc": { "start": { - "line": 106, + "line": 105, "column": 37 }, "end": { - "line": 106, + "line": 105, "column": 38 } } @@ -76707,15 +88442,15 @@ "updateContext": null }, "value": "=", - "start": 5874, - "end": 5875, + "start": 6063, + "end": 6064, "loc": { "start": { - "line": 106, + "line": 105, "column": 39 }, "end": { - "line": 106, + "line": 105, "column": 40 } } @@ -76734,15 +88469,15 @@ "updateContext": null }, "value": "", - "start": 5876, - "end": 5878, + "start": 6065, + "end": 6067, "loc": { "start": { - "line": 106, + "line": 105, "column": 41 }, "end": { - "line": 106, + "line": 105, "column": 43 } } @@ -76760,15 +88495,15 @@ "binop": null, "updateContext": null }, - "start": 5878, - "end": 5879, + "start": 6067, + "end": 6068, "loc": { "start": { - "line": 106, + "line": 105, "column": 43 }, "end": { - "line": 106, + "line": 105, "column": 44 } } @@ -76776,15 +88511,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", - "start": 5887, - "end": 5996, + "start": 6076, + "end": 6185, "loc": { "start": { - "line": 108, + "line": 107, "column": 4 }, "end": { - "line": 110, + "line": 109, "column": 7 } } @@ -76804,15 +88539,15 @@ "updateContext": null }, "value": "this", - "start": 6002, - "end": 6006, + "start": 6191, + "end": 6195, "loc": { "start": { - "line": 111, + "line": 110, "column": 4 }, "end": { - "line": 111, + "line": 110, "column": 8 } } @@ -76830,15 +88565,15 @@ "binop": null, "updateContext": null }, - "start": 6006, - "end": 6007, + "start": 6195, + "end": 6196, "loc": { "start": { - "line": 111, + "line": 110, "column": 8 }, "end": { - "line": 111, + "line": 110, "column": 9 } } @@ -76856,15 +88591,15 @@ "binop": null }, "value": "keyboardDOMClass", - "start": 6007, - "end": 6023, + "start": 6196, + "end": 6212, "loc": { "start": { - "line": 111, + "line": 110, "column": 9 }, "end": { - "line": 111, + "line": 110, "column": 25 } } @@ -76883,15 +88618,15 @@ "updateContext": null }, "value": "=", - "start": 6024, - "end": 6025, + "start": 6213, + "end": 6214, "loc": { "start": { - "line": 111, + "line": 110, "column": 26 }, "end": { - "line": 111, + "line": 110, "column": 27 } } @@ -76909,15 +88644,15 @@ "binop": null }, "value": "keyboardDOMQuery", - "start": 6026, - "end": 6042, + "start": 6215, + "end": 6231, "loc": { "start": { - "line": 111, + "line": 110, "column": 28 }, "end": { - "line": 111, + "line": 110, "column": 44 } } @@ -76935,15 +88670,15 @@ "binop": null, "updateContext": null }, - "start": 6042, - "end": 6043, + "start": 6231, + "end": 6232, "loc": { "start": { - "line": 111, + "line": 110, "column": 44 }, "end": { - "line": 111, + "line": 110, "column": 45 } } @@ -76961,15 +88696,15 @@ "binop": null }, "value": "split", - "start": 6043, - "end": 6048, + "start": 6232, + "end": 6237, "loc": { "start": { - "line": 111, + "line": 110, "column": 45 }, "end": { - "line": 111, + "line": 110, "column": 50 } } @@ -76986,15 +88721,15 @@ "postfix": false, "binop": null }, - "start": 6048, - "end": 6049, + "start": 6237, + "end": 6238, "loc": { "start": { - "line": 111, + "line": 110, "column": 50 }, "end": { - "line": 111, + "line": 110, "column": 51 } } @@ -77013,15 +88748,15 @@ "updateContext": null }, "value": ".", - "start": 6049, - "end": 6052, + "start": 6238, + "end": 6241, "loc": { "start": { - "line": 111, + "line": 110, "column": 51 }, "end": { - "line": 111, + "line": 110, "column": 54 } } @@ -77038,15 +88773,15 @@ "postfix": false, "binop": null }, - "start": 6052, - "end": 6053, + "start": 6241, + "end": 6242, "loc": { "start": { - "line": 111, + "line": 110, "column": 54 }, "end": { - "line": 111, + "line": 110, "column": 55 } } @@ -77064,15 +88799,15 @@ "binop": null, "updateContext": null }, - "start": 6053, - "end": 6054, + "start": 6242, + "end": 6243, "loc": { "start": { - "line": 111, + "line": 110, "column": 55 }, "end": { - "line": 111, + "line": 110, "column": 56 } } @@ -77090,15 +88825,15 @@ "binop": null }, "value": "join", - "start": 6054, - "end": 6058, + "start": 6243, + "end": 6247, "loc": { "start": { - "line": 111, + "line": 110, "column": 56 }, "end": { - "line": 111, + "line": 110, "column": 60 } } @@ -77115,15 +88850,15 @@ "postfix": false, "binop": null }, - "start": 6058, - "end": 6059, + "start": 6247, + "end": 6248, "loc": { "start": { - "line": 111, + "line": 110, "column": 60 }, "end": { - "line": 111, + "line": 110, "column": 61 } } @@ -77142,15 +88877,15 @@ "updateContext": null }, "value": "", - "start": 6059, - "end": 6061, + "start": 6248, + "end": 6250, "loc": { "start": { - "line": 111, + "line": 110, "column": 61 }, "end": { - "line": 111, + "line": 110, "column": 63 } } @@ -77167,15 +88902,15 @@ "postfix": false, "binop": null }, - "start": 6061, - "end": 6062, + "start": 6250, + "end": 6251, "loc": { "start": { - "line": 111, + "line": 110, "column": 63 }, "end": { - "line": 111, + "line": 110, "column": 64 } } @@ -77193,15 +88928,15 @@ "binop": null, "updateContext": null }, - "start": 6062, - "end": 6063, + "start": 6251, + "end": 6252, "loc": { "start": { - "line": 111, + "line": 110, "column": 64 }, "end": { - "line": 111, + "line": 110, "column": 65 } } @@ -77209,15 +88944,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": 6071, - "end": 6216, + "start": 6260, + "end": 6405, "loc": { "start": { - "line": 113, + "line": 112, "column": 4 }, "end": { - "line": 115, + "line": 114, "column": 7 } } @@ -77237,15 +88972,15 @@ "updateContext": null }, "value": "this", - "start": 6222, - "end": 6226, + "start": 6411, + "end": 6415, "loc": { "start": { - "line": 116, + "line": 115, "column": 4 }, "end": { - "line": 116, + "line": 115, "column": 8 } } @@ -77263,15 +88998,15 @@ "binop": null, "updateContext": null }, - "start": 6226, - "end": 6227, + "start": 6415, + "end": 6416, "loc": { "start": { - "line": 116, + "line": 115, "column": 8 }, "end": { - "line": 116, + "line": 115, "column": 9 } } @@ -77289,15 +89024,15 @@ "binop": null }, "value": "buttonElements", - "start": 6227, - "end": 6241, + "start": 6416, + "end": 6430, "loc": { "start": { - "line": 116, + "line": 115, "column": 9 }, "end": { - "line": 116, + "line": 115, "column": 23 } } @@ -77316,15 +89051,15 @@ "updateContext": null }, "value": "=", - "start": 6242, - "end": 6243, + "start": 6431, + "end": 6432, "loc": { "start": { - "line": 116, + "line": 115, "column": 24 }, "end": { - "line": 116, + "line": 115, "column": 25 } } @@ -77341,15 +89076,15 @@ "postfix": false, "binop": null }, - "start": 6244, - "end": 6245, + "start": 6433, + "end": 6434, "loc": { "start": { - "line": 116, + "line": 115, "column": 26 }, "end": { - "line": 116, + "line": 115, "column": 27 } } @@ -77366,15 +89101,15 @@ "postfix": false, "binop": null }, - "start": 6245, - "end": 6246, + "start": 6434, + "end": 6435, "loc": { "start": { - "line": 116, + "line": 115, "column": 27 }, "end": { - "line": 116, + "line": 115, "column": 28 } } @@ -77392,15 +89127,15 @@ "binop": null, "updateContext": null }, - "start": 6246, - "end": 6247, + "start": 6435, + "end": 6436, "loc": { "start": { - "line": 116, + "line": 115, "column": 28 }, "end": { - "line": 116, + "line": 115, "column": 29 } } @@ -77408,15 +89143,15 @@ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", - "start": 6255, - "end": 6294, + "start": 6444, + "end": 6483, "loc": { "start": { - "line": 118, + "line": 117, "column": 4 }, "end": { - "line": 120, + "line": 119, "column": 7 } } @@ -77436,15 +89171,15 @@ "updateContext": null }, "value": "if", - "start": 6300, - "end": 6302, + "start": 6489, + "end": 6491, "loc": { "start": { - "line": 121, + "line": 120, "column": 4 }, "end": { - "line": 121, + "line": 120, "column": 6 } } @@ -77461,15 +89196,15 @@ "postfix": false, "binop": null }, - "start": 6302, - "end": 6303, + "start": 6491, + "end": 6492, "loc": { "start": { - "line": 121, + "line": 120, "column": 6 }, "end": { - "line": 121, + "line": 120, "column": 7 } } @@ -77489,15 +89224,15 @@ "updateContext": null }, "value": "this", - "start": 6303, - "end": 6307, + "start": 6492, + "end": 6496, "loc": { "start": { - "line": 121, + "line": 120, "column": 7 }, "end": { - "line": 121, + "line": 120, "column": 11 } } @@ -77515,15 +89250,15 @@ "binop": null, "updateContext": null }, - "start": 6307, - "end": 6308, + "start": 6496, + "end": 6497, "loc": { "start": { - "line": 121, + "line": 120, "column": 11 }, "end": { - "line": 121, + "line": 120, "column": 12 } } @@ -77541,15 +89276,15 @@ "binop": null }, "value": "keyboardDOM", - "start": 6308, - "end": 6319, + "start": 6497, + "end": 6508, "loc": { "start": { - "line": 121, + "line": 120, "column": 12 }, "end": { - "line": 121, + "line": 120, "column": 23 } } @@ -77566,15 +89301,15 @@ "postfix": false, "binop": null }, - "start": 6319, - "end": 6320, + "start": 6508, + "end": 6509, "loc": { "start": { - "line": 121, + "line": 120, "column": 23 }, "end": { - "line": 121, + "line": 120, "column": 24 } } @@ -77594,15 +89329,15 @@ "updateContext": null }, "value": "this", - "start": 6328, - "end": 6332, + "start": 6517, + "end": 6521, "loc": { "start": { - "line": 122, + "line": 121, "column": 6 }, "end": { - "line": 122, + "line": 121, "column": 10 } } @@ -77620,15 +89355,15 @@ "binop": null, "updateContext": null }, - "start": 6332, - "end": 6333, + "start": 6521, + "end": 6522, "loc": { "start": { - "line": 122, + "line": 121, "column": 10 }, "end": { - "line": 122, + "line": 121, "column": 11 } } @@ -77646,15 +89381,15 @@ "binop": null }, "value": "render", - "start": 6333, - "end": 6339, + "start": 6522, + "end": 6528, "loc": { "start": { - "line": 122, + "line": 121, "column": 11 }, "end": { - "line": 122, + "line": 121, "column": 17 } } @@ -77671,15 +89406,15 @@ "postfix": false, "binop": null }, - "start": 6339, - "end": 6340, + "start": 6528, + "end": 6529, "loc": { "start": { - "line": 122, + "line": 121, "column": 17 }, "end": { - "line": 122, + "line": 121, "column": 18 } } @@ -77696,15 +89431,15 @@ "postfix": false, "binop": null }, - "start": 6340, - "end": 6341, + "start": 6529, + "end": 6530, "loc": { "start": { - "line": 122, + "line": 121, "column": 18 }, "end": { - "line": 122, + "line": 121, "column": 19 } } @@ -77722,15 +89457,15 @@ "binop": null, "updateContext": null }, - "start": 6341, - "end": 6342, + "start": 6530, + "end": 6531, "loc": { "start": { - "line": 122, + "line": 121, "column": 19 }, "end": { - "line": 122, + "line": 121, "column": 20 } } @@ -77750,15 +89485,15 @@ "updateContext": null }, "value": "else", - "start": 6348, - "end": 6352, + "start": 6537, + "end": 6541, "loc": { "start": { - "line": 123, + "line": 122, "column": 4 }, "end": { - "line": 123, + "line": 122, "column": 8 } } @@ -77775,15 +89510,15 @@ "postfix": false, "binop": null }, - "start": 6353, - "end": 6354, + "start": 6542, + "end": 6543, "loc": { "start": { - "line": 123, + "line": 122, "column": 9 }, "end": { - "line": 123, + "line": 122, "column": 10 } } @@ -77801,15 +89536,15 @@ "binop": null }, "value": "console", - "start": 6362, - "end": 6369, + "start": 6551, + "end": 6558, "loc": { "start": { - "line": 124, + "line": 123, "column": 6 }, "end": { - "line": 124, + "line": 123, "column": 13 } } @@ -77827,15 +89562,15 @@ "binop": null, "updateContext": null }, - "start": 6369, - "end": 6370, + "start": 6558, + "end": 6559, "loc": { "start": { - "line": 124, + "line": 123, "column": 13 }, "end": { - "line": 124, + "line": 123, "column": 14 } } @@ -77853,15 +89588,15 @@ "binop": null }, "value": "warn", - "start": 6370, - "end": 6374, + "start": 6559, + "end": 6563, "loc": { "start": { - "line": 124, + "line": 123, "column": 14 }, "end": { - "line": 124, + "line": 123, "column": 18 } } @@ -77878,15 +89613,15 @@ "postfix": false, "binop": null }, - "start": 6374, - "end": 6375, + "start": 6563, + "end": 6564, "loc": { "start": { - "line": 124, + "line": 123, "column": 18 }, "end": { - "line": 124, + "line": 123, "column": 19 } } @@ -77903,15 +89638,15 @@ "postfix": false, "binop": null }, - "start": 6375, - "end": 6376, + "start": 6564, + "end": 6565, "loc": { "start": { - "line": 124, + "line": 123, "column": 19 }, "end": { - "line": 124, + "line": 123, "column": 20 } } @@ -77930,15 +89665,15 @@ "updateContext": null }, "value": "\"", - "start": 6376, - "end": 6377, + "start": 6565, + "end": 6566, "loc": { "start": { - "line": 124, + "line": 123, "column": 20 }, "end": { - "line": 124, + "line": 123, "column": 21 } } @@ -77955,15 +89690,15 @@ "postfix": false, "binop": null }, - "start": 6377, - "end": 6379, + "start": 6566, + "end": 6568, "loc": { "start": { - "line": 124, + "line": 123, "column": 21 }, "end": { - "line": 124, + "line": 123, "column": 23 } } @@ -77981,15 +89716,15 @@ "binop": null }, "value": "keyboardDOMQuery", - "start": 6379, - "end": 6395, + "start": 6568, + "end": 6584, "loc": { "start": { - "line": 124, + "line": 123, "column": 23 }, "end": { - "line": 124, + "line": 123, "column": 39 } } @@ -78006,15 +89741,15 @@ "postfix": false, "binop": null }, - "start": 6395, - "end": 6396, + "start": 6584, + "end": 6585, "loc": { "start": { - "line": 124, + "line": 123, "column": 39 }, "end": { - "line": 124, + "line": 123, "column": 40 } } @@ -78033,15 +89768,15 @@ "updateContext": null }, "value": "\" was not found in the DOM.", - "start": 6396, - "end": 6423, + "start": 6585, + "end": 6612, "loc": { "start": { - "line": 124, + "line": 123, "column": 40 }, "end": { - "line": 124, + "line": 123, "column": 67 } } @@ -78058,15 +89793,15 @@ "postfix": false, "binop": null }, - "start": 6423, - "end": 6424, + "start": 6612, + "end": 6613, "loc": { "start": { - "line": 124, + "line": 123, "column": 67 }, "end": { - "line": 124, + "line": 123, "column": 68 } } @@ -78083,15 +89818,15 @@ "postfix": false, "binop": null }, - "start": 6424, - "end": 6425, + "start": 6613, + "end": 6614, "loc": { "start": { - "line": 124, + "line": 123, "column": 68 }, "end": { - "line": 124, + "line": 123, "column": 69 } } @@ -78109,15 +89844,15 @@ "binop": null, "updateContext": null }, - "start": 6425, - "end": 6426, + "start": 6614, + "end": 6615, "loc": { "start": { - "line": 124, + "line": 123, "column": 69 }, "end": { - "line": 124, + "line": 123, "column": 70 } } @@ -78137,15 +89872,15 @@ "updateContext": null }, "value": "throw", - "start": 6434, - "end": 6439, + "start": 6623, + "end": 6628, "loc": { "start": { - "line": 125, + "line": 124, "column": 6 }, "end": { - "line": 125, + "line": 124, "column": 11 } } @@ -78165,15 +89900,15 @@ "updateContext": null }, "value": "new", - "start": 6440, - "end": 6443, + "start": 6629, + "end": 6632, "loc": { "start": { - "line": 125, + "line": 124, "column": 12 }, "end": { - "line": 125, + "line": 124, "column": 15 } } @@ -78191,15 +89926,15 @@ "binop": null }, "value": "Error", - "start": 6444, - "end": 6449, + "start": 6633, + "end": 6638, "loc": { "start": { - "line": 125, + "line": 124, "column": 16 }, "end": { - "line": 125, + "line": 124, "column": 21 } } @@ -78216,15 +89951,15 @@ "postfix": false, "binop": null }, - "start": 6449, - "end": 6450, + "start": 6638, + "end": 6639, "loc": { "start": { - "line": 125, + "line": 124, "column": 21 }, "end": { - "line": 125, + "line": 124, "column": 22 } } @@ -78243,15 +89978,15 @@ "updateContext": null }, "value": "KEYBOARD_DOM_ERROR", - "start": 6450, - "end": 6470, + "start": 6639, + "end": 6659, "loc": { "start": { - "line": 125, + "line": 124, "column": 22 }, "end": { - "line": 125, + "line": 124, "column": 42 } } @@ -78268,15 +90003,15 @@ "postfix": false, "binop": null }, - "start": 6470, - "end": 6471, + "start": 6659, + "end": 6660, "loc": { "start": { - "line": 125, + "line": 124, "column": 42 }, "end": { - "line": 125, + "line": 124, "column": 43 } } @@ -78294,15 +90029,15 @@ "binop": null, "updateContext": null }, - "start": 6471, - "end": 6472, + "start": 6660, + "end": 6661, "loc": { "start": { - "line": 125, + "line": 124, "column": 43 }, "end": { - "line": 125, + "line": 124, "column": 44 } } @@ -78319,15 +90054,15 @@ "postfix": false, "binop": null }, - "start": 6478, - "end": 6479, + "start": 6667, + "end": 6668, "loc": { "start": { - "line": 126, + "line": 125, "column": 4 }, "end": { - "line": 126, + "line": 125, "column": 5 } } @@ -78335,15 +90070,15 @@ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", - "start": 6487, - "end": 6600, + "start": 6676, + "end": 6789, "loc": { "start": { - "line": 128, + "line": 127, "column": 4 }, "end": { - "line": 131, + "line": 130, "column": 7 } } @@ -78363,15 +90098,15 @@ "updateContext": null }, "value": "if", - "start": 6606, - "end": 6608, + "start": 6795, + "end": 6797, "loc": { "start": { - "line": 132, + "line": 131, "column": 4 }, "end": { - "line": 132, + "line": 131, "column": 6 } } @@ -78388,15 +90123,15 @@ "postfix": false, "binop": null }, - "start": 6608, - "end": 6609, + "start": 6797, + "end": 6798, "loc": { "start": { - "line": 132, + "line": 131, "column": 6 }, "end": { - "line": 132, + "line": 131, "column": 7 } } @@ -78415,15 +90150,15 @@ "updateContext": null }, "value": "!", - "start": 6609, - "end": 6610, + "start": 6798, + "end": 6799, "loc": { "start": { - "line": 132, + "line": 131, "column": 7 }, "end": { - "line": 132, + "line": 131, "column": 8 } } @@ -78441,15 +90176,15 @@ "binop": null }, "value": "window", - "start": 6610, - "end": 6616, + "start": 6799, + "end": 6805, "loc": { "start": { - "line": 132, + "line": 131, "column": 8 }, "end": { - "line": 132, + "line": 131, "column": 14 } } @@ -78467,15 +90202,15 @@ "binop": null, "updateContext": null }, - "start": 6616, - "end": 6617, + "start": 6805, + "end": 6806, "loc": { "start": { - "line": 132, + "line": 131, "column": 14 }, "end": { - "line": 132, + "line": 131, "column": 15 } } @@ -78494,15 +90229,15 @@ "updateContext": null }, "value": "SimpleKeyboardInstances", - "start": 6617, - "end": 6642, + "start": 6806, + "end": 6831, "loc": { "start": { - "line": 132, + "line": 131, "column": 15 }, "end": { - "line": 132, + "line": 131, "column": 40 } } @@ -78520,15 +90255,15 @@ "binop": null, "updateContext": null }, - "start": 6642, - "end": 6643, + "start": 6831, + "end": 6832, "loc": { "start": { - "line": 132, + "line": 131, "column": 40 }, "end": { - "line": 132, + "line": 131, "column": 41 } } @@ -78545,15 +90280,15 @@ "postfix": false, "binop": null }, - "start": 6643, - "end": 6644, + "start": 6832, + "end": 6833, "loc": { "start": { - "line": 132, + "line": 131, "column": 41 }, "end": { - "line": 132, + "line": 131, "column": 42 } } @@ -78571,15 +90306,15 @@ "binop": null }, "value": "window", - "start": 6652, - "end": 6658, + "start": 6841, + "end": 6847, "loc": { "start": { - "line": 133, + "line": 132, "column": 6 }, "end": { - "line": 133, + "line": 132, "column": 12 } } @@ -78597,15 +90332,15 @@ "binop": null, "updateContext": null }, - "start": 6658, - "end": 6659, + "start": 6847, + "end": 6848, "loc": { "start": { - "line": 133, + "line": 132, "column": 12 }, "end": { - "line": 133, + "line": 132, "column": 13 } } @@ -78624,15 +90359,15 @@ "updateContext": null }, "value": "SimpleKeyboardInstances", - "start": 6659, - "end": 6684, + "start": 6848, + "end": 6873, "loc": { "start": { - "line": 133, + "line": 132, "column": 13 }, "end": { - "line": 133, + "line": 132, "column": 38 } } @@ -78650,15 +90385,15 @@ "binop": null, "updateContext": null }, - "start": 6684, - "end": 6685, + "start": 6873, + "end": 6874, "loc": { "start": { - "line": 133, + "line": 132, "column": 38 }, "end": { - "line": 133, + "line": 132, "column": 39 } } @@ -78677,15 +90412,15 @@ "updateContext": null }, "value": "=", - "start": 6686, - "end": 6687, + "start": 6875, + "end": 6876, "loc": { "start": { - "line": 133, + "line": 132, "column": 40 }, "end": { - "line": 133, + "line": 132, "column": 41 } } @@ -78702,15 +90437,15 @@ "postfix": false, "binop": null }, - "start": 6688, - "end": 6689, + "start": 6877, + "end": 6878, "loc": { "start": { - "line": 133, + "line": 132, "column": 42 }, "end": { - "line": 133, + "line": 132, "column": 43 } } @@ -78727,15 +90462,15 @@ "postfix": false, "binop": null }, - "start": 6689, - "end": 6690, + "start": 6878, + "end": 6879, "loc": { "start": { - "line": 133, + "line": 132, "column": 43 }, "end": { - "line": 133, + "line": 132, "column": 44 } } @@ -78753,15 +90488,15 @@ "binop": null, "updateContext": null }, - "start": 6690, - "end": 6691, + "start": 6879, + "end": 6880, "loc": { "start": { - "line": 133, + "line": 132, "column": 44 }, "end": { - "line": 133, + "line": 132, "column": 45 } } @@ -78779,15 +90514,15 @@ "binop": null }, "value": "window", - "start": 6705, - "end": 6711, + "start": 6894, + "end": 6900, "loc": { "start": { - "line": 135, + "line": 134, "column": 4 }, "end": { - "line": 135, + "line": 134, "column": 10 } } @@ -78805,15 +90540,15 @@ "binop": null, "updateContext": null }, - "start": 6711, - "end": 6712, + "start": 6900, + "end": 6901, "loc": { "start": { - "line": 135, + "line": 134, "column": 10 }, "end": { - "line": 135, + "line": 134, "column": 11 } } @@ -78832,15 +90567,15 @@ "updateContext": null }, "value": "SimpleKeyboardInstances", - "start": 6712, - "end": 6737, + "start": 6901, + "end": 6926, "loc": { "start": { - "line": 135, + "line": 134, "column": 11 }, "end": { - "line": 135, + "line": 134, "column": 36 } } @@ -78858,15 +90593,15 @@ "binop": null, "updateContext": null }, - "start": 6737, - "end": 6738, + "start": 6926, + "end": 6927, "loc": { "start": { - "line": 135, + "line": 134, "column": 36 }, "end": { - "line": 135, + "line": 134, "column": 37 } } @@ -78884,15 +90619,15 @@ "binop": null, "updateContext": null }, - "start": 6738, - "end": 6739, + "start": 6927, + "end": 6928, "loc": { "start": { - "line": 135, + "line": 134, "column": 37 }, "end": { - "line": 135, + "line": 134, "column": 38 } } @@ -78912,15 +90647,15 @@ "updateContext": null }, "value": "this", - "start": 6739, - "end": 6743, + "start": 6928, + "end": 6932, "loc": { "start": { - "line": 135, + "line": 134, "column": 38 }, "end": { - "line": 135, + "line": 134, "column": 42 } } @@ -78938,15 +90673,15 @@ "binop": null, "updateContext": null }, - "start": 6743, - "end": 6744, + "start": 6932, + "end": 6933, "loc": { "start": { - "line": 135, + "line": 134, "column": 42 }, "end": { - "line": 135, + "line": 134, "column": 43 } } @@ -78964,15 +90699,15 @@ "binop": null }, "value": "utilities", - "start": 6744, - "end": 6753, + "start": 6933, + "end": 6942, "loc": { "start": { - "line": 135, + "line": 134, "column": 43 }, "end": { - "line": 135, + "line": 134, "column": 52 } } @@ -78990,15 +90725,15 @@ "binop": null, "updateContext": null }, - "start": 6753, - "end": 6754, + "start": 6942, + "end": 6943, "loc": { "start": { - "line": 135, + "line": 134, "column": 52 }, "end": { - "line": 135, + "line": 134, "column": 53 } } @@ -79016,15 +90751,15 @@ "binop": null }, "value": "camelCase", - "start": 6754, - "end": 6763, + "start": 6943, + "end": 6952, "loc": { "start": { - "line": 135, + "line": 134, "column": 53 }, "end": { - "line": 135, + "line": 134, "column": 62 } } @@ -79041,15 +90776,15 @@ "postfix": false, "binop": null }, - "start": 6763, - "end": 6764, + "start": 6952, + "end": 6953, "loc": { "start": { - "line": 135, + "line": 134, "column": 62 }, "end": { - "line": 135, + "line": 134, "column": 63 } } @@ -79069,15 +90804,15 @@ "updateContext": null }, "value": "this", - "start": 6764, - "end": 6768, + "start": 6953, + "end": 6957, "loc": { "start": { - "line": 135, + "line": 134, "column": 63 }, "end": { - "line": 135, + "line": 134, "column": 67 } } @@ -79095,15 +90830,15 @@ "binop": null, "updateContext": null }, - "start": 6768, - "end": 6769, + "start": 6957, + "end": 6958, "loc": { "start": { - "line": 135, + "line": 134, "column": 67 }, "end": { - "line": 135, + "line": 134, "column": 68 } } @@ -79121,15 +90856,15 @@ "binop": null }, "value": "keyboardDOMClass", - "start": 6769, - "end": 6785, + "start": 6958, + "end": 6974, "loc": { "start": { - "line": 135, + "line": 134, "column": 68 }, "end": { - "line": 135, + "line": 134, "column": 84 } } @@ -79146,15 +90881,15 @@ "postfix": false, "binop": null }, - "start": 6785, - "end": 6786, + "start": 6974, + "end": 6975, "loc": { "start": { - "line": 135, + "line": 134, "column": 84 }, "end": { - "line": 135, + "line": 134, "column": 85 } } @@ -79172,15 +90907,15 @@ "binop": null, "updateContext": null }, - "start": 6786, - "end": 6787, + "start": 6975, + "end": 6976, "loc": { "start": { - "line": 135, + "line": 134, "column": 85 }, "end": { - "line": 135, + "line": 134, "column": 86 } } @@ -79199,15 +90934,15 @@ "updateContext": null }, "value": "=", - "start": 6788, - "end": 6789, + "start": 6977, + "end": 6978, "loc": { "start": { - "line": 135, + "line": 134, "column": 87 }, "end": { - "line": 135, + "line": 134, "column": 88 } } @@ -79227,15 +90962,15 @@ "updateContext": null }, "value": "this", - "start": 6790, - "end": 6794, + "start": 6979, + "end": 6983, "loc": { "start": { - "line": 135, + "line": 134, "column": 89 }, "end": { - "line": 135, + "line": 134, "column": 93 } } @@ -79253,15 +90988,15 @@ "binop": null, "updateContext": null }, - "start": 6794, - "end": 6795, + "start": 6983, + "end": 6984, "loc": { "start": { - "line": 135, + "line": 134, "column": 93 }, "end": { - "line": 135, + "line": 134, "column": 94 } } @@ -79269,15 +91004,15 @@ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", - "start": 6803, - "end": 6849, + "start": 6992, + "end": 7038, "loc": { "start": { - "line": 137, + "line": 136, "column": 4 }, "end": { - "line": 139, + "line": 138, "column": 7 } } @@ -79297,15 +91032,15 @@ "updateContext": null }, "value": "this", - "start": 6855, - "end": 6859, + "start": 7044, + "end": 7048, "loc": { "start": { - "line": 140, + "line": 139, "column": 4 }, "end": { - "line": 140, + "line": 139, "column": 8 } } @@ -79323,15 +91058,15 @@ "binop": null, "updateContext": null }, - "start": 6859, - "end": 6860, + "start": 7048, + "end": 7049, "loc": { "start": { - "line": 140, + "line": 139, "column": 8 }, "end": { - "line": 140, + "line": 139, "column": 9 } } @@ -79349,15 +91084,15 @@ "binop": null }, "value": "physicalKeyboardInterface", - "start": 6860, - "end": 6885, + "start": 7049, + "end": 7074, "loc": { "start": { - "line": 140, + "line": 139, "column": 9 }, "end": { - "line": 140, + "line": 139, "column": 34 } } @@ -79376,15 +91111,15 @@ "updateContext": null }, "value": "=", - "start": 6886, - "end": 6887, + "start": 7075, + "end": 7076, "loc": { "start": { - "line": 140, + "line": 139, "column": 35 }, "end": { - "line": 140, + "line": 139, "column": 36 } } @@ -79404,15 +91139,15 @@ "updateContext": null }, "value": "new", - "start": 6888, - "end": 6891, + "start": 7077, + "end": 7080, "loc": { "start": { - "line": 140, + "line": 139, "column": 37 }, "end": { - "line": 140, + "line": 139, "column": 40 } } @@ -79430,15 +91165,15 @@ "binop": null }, "value": "PhysicalKeyboard", - "start": 6892, - "end": 6908, + "start": 7081, + "end": 7097, "loc": { "start": { - "line": 140, + "line": 139, "column": 41 }, "end": { - "line": 140, + "line": 139, "column": 57 } } @@ -79455,15 +91190,15 @@ "postfix": false, "binop": null }, - "start": 6908, - "end": 6909, + "start": 7097, + "end": 7098, "loc": { "start": { - "line": 140, + "line": 139, "column": 57 }, "end": { - "line": 140, + "line": 139, "column": 58 } } @@ -79483,15 +91218,15 @@ "updateContext": null }, "value": "this", - "start": 6909, - "end": 6913, + "start": 7098, + "end": 7102, "loc": { "start": { - "line": 140, + "line": 139, "column": 58 }, "end": { - "line": 140, + "line": 139, "column": 62 } } @@ -79508,15 +91243,15 @@ "postfix": false, "binop": null }, - "start": 6913, - "end": 6914, + "start": 7102, + "end": 7103, "loc": { "start": { - "line": 140, + "line": 139, "column": 62 }, "end": { - "line": 140, + "line": 139, "column": 63 } } @@ -79534,19 +91269,167 @@ "binop": null, "updateContext": null }, - "start": 6914, - "end": 6915, + "start": 7103, + "end": 7104, "loc": { "start": { - "line": 140, + "line": 139, "column": 63 }, "end": { - "line": 140, + "line": 139, "column": 64 } } }, + { + "type": "CommentBlock", + "value": "*\r\n * Modules\r\n ", + "start": 7112, + "end": 7140, + "loc": { + "start": { + "line": 141, + "column": 4 + }, + "end": { + "line": 143, + "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": 7146, + "end": 7150, + "loc": { + "start": { + "line": 144, + "column": 4 + }, + "end": { + "line": 144, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7150, + "end": 7151, + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "modules", + "start": 7151, + "end": 7158, + "loc": { + "start": { + "line": 144, + "column": 9 + }, + "end": { + "line": 144, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 7159, + "end": 7160, + "loc": { + "start": { + "line": 144, + "column": 17 + }, + "end": { + "line": 144, + "column": 18 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7161, + "end": 7162, + "loc": { + "start": { + "line": 144, + "column": 19 + }, + "end": { + "line": 144, + "column": 20 + } + } + }, { "type": { "label": "}", @@ -79559,15 +91442,222 @@ "postfix": false, "binop": null }, - "start": 6919, - "end": 6920, + "start": 7162, + "end": 7163, "loc": { "start": { - "line": 141, + "line": 144, + "column": 20 + }, + "end": { + "line": 144, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7163, + "end": 7164, + "loc": { + "start": { + "line": 144, + "column": 21 + }, + "end": { + "line": 144, + "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": 7170, + "end": 7174, + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7174, + "end": 7175, + "loc": { + "start": { + "line": 145, + "column": 8 + }, + "end": { + "line": 145, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "loadModules", + "start": 7175, + "end": 7186, + "loc": { + "start": { + "line": 145, + "column": 9 + }, + "end": { + "line": 145, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7186, + "end": 7187, + "loc": { + "start": { + "line": 145, + "column": 20 + }, + "end": { + "line": 145, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7187, + "end": 7188, + "loc": { + "start": { + "line": 145, + "column": 21 + }, + "end": { + "line": 145, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7188, + "end": 7189, + "loc": { + "start": { + "line": 145, + "column": 22 + }, + "end": { + "line": 145, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7193, + "end": 7194, + "loc": { + "start": { + "line": 146, "column": 2 }, "end": { - "line": 141, + "line": 146, "column": 3 } } @@ -79575,15 +91665,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": 6924, - "end": 7036, + "start": 7200, + "end": 7312, "loc": { "start": { - "line": 142, + "line": 148, "column": 2 }, "end": { - "line": 145, + "line": 151, "column": 5 } } @@ -79601,15 +91691,15 @@ "binop": null }, "value": "handleButtonClicked", - "start": 7040, - "end": 7059, + "start": 7316, + "end": 7335, "loc": { "start": { - "line": 146, + "line": 152, "column": 2 }, "end": { - "line": 146, + "line": 152, "column": 21 } } @@ -79626,15 +91716,15 @@ "postfix": false, "binop": null }, - "start": 7059, - "end": 7060, + "start": 7335, + "end": 7336, "loc": { "start": { - "line": 146, + "line": 152, "column": 21 }, "end": { - "line": 146, + "line": 152, "column": 22 } } @@ -79652,15 +91742,15 @@ "binop": null }, "value": "button", - "start": 7060, - "end": 7066, + "start": 7336, + "end": 7342, "loc": { "start": { - "line": 146, + "line": 152, "column": 22 }, "end": { - "line": 146, + "line": 152, "column": 28 } } @@ -79677,15 +91767,15 @@ "postfix": false, "binop": null }, - "start": 7066, - "end": 7067, + "start": 7342, + "end": 7343, "loc": { "start": { - "line": 146, + "line": 152, "column": 28 }, "end": { - "line": 146, + "line": 152, "column": 29 } } @@ -79702,15 +91792,15 @@ "postfix": false, "binop": null }, - "start": 7067, - "end": 7068, + "start": 7343, + "end": 7344, "loc": { "start": { - "line": 146, + "line": 152, "column": 29 }, "end": { - "line": 146, + "line": 152, "column": 30 } } @@ -79730,15 +91820,15 @@ "updateContext": null }, "value": "let", - "start": 7074, - "end": 7077, + "start": 7350, + "end": 7353, "loc": { "start": { - "line": 147, + "line": 153, "column": 4 }, "end": { - "line": 147, + "line": 153, "column": 7 } } @@ -79756,15 +91846,15 @@ "binop": null }, "value": "debug", - "start": 7078, - "end": 7083, + "start": 7354, + "end": 7359, "loc": { "start": { - "line": 147, + "line": 153, "column": 8 }, "end": { - "line": 147, + "line": 153, "column": 13 } } @@ -79783,15 +91873,15 @@ "updateContext": null }, "value": "=", - "start": 7084, - "end": 7085, + "start": 7360, + "end": 7361, "loc": { "start": { - "line": 147, + "line": 153, "column": 14 }, "end": { - "line": 147, + "line": 153, "column": 15 } } @@ -79811,15 +91901,15 @@ "updateContext": null }, "value": "this", - "start": 7086, - "end": 7090, + "start": 7362, + "end": 7366, "loc": { "start": { - "line": 147, + "line": 153, "column": 16 }, "end": { - "line": 147, + "line": 153, "column": 20 } } @@ -79837,15 +91927,15 @@ "binop": null, "updateContext": null }, - "start": 7090, - "end": 7091, + "start": 7366, + "end": 7367, "loc": { "start": { - "line": 147, + "line": 153, "column": 20 }, "end": { - "line": 147, + "line": 153, "column": 21 } } @@ -79863,15 +91953,15 @@ "binop": null }, "value": "options", - "start": 7091, - "end": 7098, + "start": 7367, + "end": 7374, "loc": { "start": { - "line": 147, + "line": 153, "column": 21 }, "end": { - "line": 147, + "line": 153, "column": 28 } } @@ -79889,15 +91979,15 @@ "binop": null, "updateContext": null }, - "start": 7098, - "end": 7099, + "start": 7374, + "end": 7375, "loc": { "start": { - "line": 147, + "line": 153, "column": 28 }, "end": { - "line": 147, + "line": 153, "column": 29 } } @@ -79915,15 +92005,15 @@ "binop": null }, "value": "debug", - "start": 7099, - "end": 7104, + "start": 7375, + "end": 7380, "loc": { "start": { - "line": 147, + "line": 153, "column": 29 }, "end": { - "line": 147, + "line": 153, "column": 34 } } @@ -79941,15 +92031,15 @@ "binop": null, "updateContext": null }, - "start": 7104, - "end": 7105, + "start": 7380, + "end": 7381, "loc": { "start": { - "line": 147, + "line": 153, "column": 34 }, "end": { - "line": 147, + "line": 153, "column": 35 } } @@ -79957,264 +92047,8 @@ { "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 - } - } - }, - { - "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": 7168, - "end": 7170, - "loc": { - "start": { - "line": 152, - "column": 4 - }, - "end": { - "line": 152, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7170, - "end": 7171, - "loc": { - "start": { - "line": 152, - "column": 6 - }, - "end": { - "line": 152, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 7171, - "end": 7177, - "loc": { - "start": { - "line": 152, - "column": 7 - }, - "end": { - "line": 152, - "column": 13 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 7178, - "end": 7181, - "loc": { - "start": { - "line": 152, - "column": 14 - }, - "end": { - "line": 152, - "column": 17 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{//}", - "start": 7182, - "end": 7188, - "loc": { - "start": { - "line": 152, - "column": 18 - }, - "end": { - "line": 152, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7188, - "end": 7189, - "loc": { - "start": { - "line": 152, - "column": 24 - }, - "end": { - "line": 152, - "column": 25 - } - } - }, - { - "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": 7197, - "end": 7203, - "loc": { - "start": { - "line": 153, - "column": 6 - }, - "end": { - "line": 153, - "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": 7204, - "end": 7209, - "loc": { - "start": { - "line": 153, - "column": 13 - }, - "end": { - "line": 153, - "column": 18 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7209, - "end": 7210, - "loc": { - "start": { - "line": 153, - "column": 18 - }, - "end": { - "line": 153, - "column": 19 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Calling onKeyPress\r\n ", - "start": 7218, - "end": 7257, + "start": 7389, + "end": 7438, "loc": { "start": { "line": 155, @@ -80241,8 +92075,8 @@ "updateContext": null }, "value": "if", - "start": 7263, - "end": 7265, + "start": 7444, + "end": 7446, "loc": { "start": { "line": 158, @@ -80266,8 +92100,8 @@ "postfix": false, "binop": null }, - "start": 7265, - "end": 7266, + "start": 7446, + "end": 7447, "loc": { "start": { "line": 158, @@ -80279,6 +92113,262 @@ } } }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 7447, + "end": 7453, + "loc": { + "start": { + "line": 158, + "column": 7 + }, + "end": { + "line": 158, + "column": 13 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 7454, + "end": 7457, + "loc": { + "start": { + "line": 158, + "column": 14 + }, + "end": { + "line": 158, + "column": 17 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{//}", + "start": 7458, + "end": 7464, + "loc": { + "start": { + "line": 158, + "column": 18 + }, + "end": { + "line": 158, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7464, + "end": 7465, + "loc": { + "start": { + "line": 158, + "column": 24 + }, + "end": { + "line": 158, + "column": 25 + } + } + }, + { + "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": 7473, + "end": 7479, + "loc": { + "start": { + "line": 159, + "column": 6 + }, + "end": { + "line": 159, + "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": 7480, + "end": 7485, + "loc": { + "start": { + "line": 159, + "column": 13 + }, + "end": { + "line": 159, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7485, + "end": 7486, + "loc": { + "start": { + "line": 159, + "column": 18 + }, + "end": { + "line": 159, + "column": 19 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Calling onKeyPress\r\n ", + "start": 7494, + "end": 7533, + "loc": { + "start": { + "line": 161, + "column": 4 + }, + "end": { + "line": 163, + "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": 7539, + "end": 7541, + "loc": { + "start": { + "line": 164, + "column": 4 + }, + "end": { + "line": 164, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7541, + "end": 7542, + "loc": { + "start": { + "line": 164, + "column": 6 + }, + "end": { + "line": 164, + "column": 7 + } + } + }, { "type": { "label": "typeof", @@ -80294,15 +92384,15 @@ "updateContext": null }, "value": "typeof", - "start": 7266, - "end": 7272, + "start": 7542, + "end": 7548, "loc": { "start": { - "line": 158, + "line": 164, "column": 7 }, "end": { - "line": 158, + "line": 164, "column": 13 } } @@ -80322,15 +92412,15 @@ "updateContext": null }, "value": "this", - "start": 7273, - "end": 7277, + "start": 7549, + "end": 7553, "loc": { "start": { - "line": 158, + "line": 164, "column": 14 }, "end": { - "line": 158, + "line": 164, "column": 18 } } @@ -80348,15 +92438,15 @@ "binop": null, "updateContext": null }, - "start": 7277, - "end": 7278, + "start": 7553, + "end": 7554, "loc": { "start": { - "line": 158, + "line": 164, "column": 18 }, "end": { - "line": 158, + "line": 164, "column": 19 } } @@ -80374,15 +92464,15 @@ "binop": null }, "value": "options", - "start": 7278, - "end": 7285, + "start": 7554, + "end": 7561, "loc": { "start": { - "line": 158, + "line": 164, "column": 19 }, "end": { - "line": 158, + "line": 164, "column": 26 } } @@ -80400,15 +92490,15 @@ "binop": null, "updateContext": null }, - "start": 7285, - "end": 7286, + "start": 7561, + "end": 7562, "loc": { "start": { - "line": 158, + "line": 164, "column": 26 }, "end": { - "line": 158, + "line": 164, "column": 27 } } @@ -80426,15 +92516,15 @@ "binop": null }, "value": "onKeyPress", - "start": 7286, - "end": 7296, + "start": 7562, + "end": 7572, "loc": { "start": { - "line": 158, + "line": 164, "column": 27 }, "end": { - "line": 158, + "line": 164, "column": 37 } } @@ -80453,15 +92543,15 @@ "updateContext": null }, "value": "===", - "start": 7297, - "end": 7300, + "start": 7573, + "end": 7576, "loc": { "start": { - "line": 158, + "line": 164, "column": 38 }, "end": { - "line": 158, + "line": 164, "column": 41 } } @@ -80480,15 +92570,15 @@ "updateContext": null }, "value": "function", - "start": 7301, - "end": 7311, + "start": 7577, + "end": 7587, "loc": { "start": { - "line": 158, + "line": 164, "column": 42 }, "end": { - "line": 158, + "line": 164, "column": 52 } } @@ -80505,15 +92595,15 @@ "postfix": false, "binop": null }, - "start": 7311, - "end": 7312, + "start": 7587, + "end": 7588, "loc": { "start": { - "line": 158, + "line": 164, "column": 52 }, "end": { - "line": 158, + "line": 164, "column": 53 } } @@ -80533,15 +92623,15 @@ "updateContext": null }, "value": "this", - "start": 7320, - "end": 7324, + "start": 7596, + "end": 7600, "loc": { "start": { - "line": 159, + "line": 165, "column": 6 }, "end": { - "line": 159, + "line": 165, "column": 10 } } @@ -80559,15 +92649,15 @@ "binop": null, "updateContext": null }, - "start": 7324, - "end": 7325, + "start": 7600, + "end": 7601, "loc": { "start": { - "line": 159, + "line": 165, "column": 10 }, "end": { - "line": 159, + "line": 165, "column": 11 } } @@ -80585,15 +92675,15 @@ "binop": null }, "value": "options", - "start": 7325, - "end": 7332, + "start": 7601, + "end": 7608, "loc": { "start": { - "line": 159, + "line": 165, "column": 11 }, "end": { - "line": 159, + "line": 165, "column": 18 } } @@ -80611,15 +92701,15 @@ "binop": null, "updateContext": null }, - "start": 7332, - "end": 7333, + "start": 7608, + "end": 7609, "loc": { "start": { - "line": 159, + "line": 165, "column": 18 }, "end": { - "line": 159, + "line": 165, "column": 19 } } @@ -80637,15 +92727,15 @@ "binop": null }, "value": "onKeyPress", - "start": 7333, - "end": 7343, + "start": 7609, + "end": 7619, "loc": { "start": { - "line": 159, + "line": 165, "column": 19 }, "end": { - "line": 159, + "line": 165, "column": 29 } } @@ -80662,15 +92752,15 @@ "postfix": false, "binop": null }, - "start": 7343, - "end": 7344, + "start": 7619, + "end": 7620, "loc": { "start": { - "line": 159, + "line": 165, "column": 29 }, "end": { - "line": 159, + "line": 165, "column": 30 } } @@ -80688,15 +92778,15 @@ "binop": null }, "value": "button", - "start": 7344, - "end": 7350, + "start": 7620, + "end": 7626, "loc": { "start": { - "line": 159, + "line": 165, "column": 30 }, "end": { - "line": 159, + "line": 165, "column": 36 } } @@ -80713,15 +92803,15 @@ "postfix": false, "binop": null }, - "start": 7350, - "end": 7351, + "start": 7626, + "end": 7627, "loc": { "start": { - "line": 159, + "line": 165, "column": 36 }, "end": { - "line": 159, + "line": 165, "column": 37 } } @@ -80739,15 +92829,15 @@ "binop": null, "updateContext": null }, - "start": 7351, - "end": 7352, + "start": 7627, + "end": 7628, "loc": { "start": { - "line": 159, + "line": 165, "column": 37 }, "end": { - "line": 159, + "line": 165, "column": 38 } } @@ -80767,15 +92857,15 @@ "updateContext": null }, "value": "if", - "start": 7364, - "end": 7366, + "start": 7640, + "end": 7642, "loc": { "start": { - "line": 161, + "line": 167, "column": 4 }, "end": { - "line": 161, + "line": 167, "column": 6 } } @@ -80792,15 +92882,15 @@ "postfix": false, "binop": null }, - "start": 7366, - "end": 7367, + "start": 7642, + "end": 7643, "loc": { "start": { - "line": 161, + "line": 167, "column": 6 }, "end": { - "line": 161, + "line": 167, "column": 7 } } @@ -80819,15 +92909,15 @@ "updateContext": null }, "value": "!", - "start": 7367, - "end": 7368, + "start": 7643, + "end": 7644, "loc": { "start": { - "line": 161, + "line": 167, "column": 7 }, "end": { - "line": 161, + "line": 167, "column": 8 } } @@ -80847,15 +92937,15 @@ "updateContext": null }, "value": "this", - "start": 7368, - "end": 7372, + "start": 7644, + "end": 7648, "loc": { "start": { - "line": 161, + "line": 167, "column": 8 }, "end": { - "line": 161, + "line": 167, "column": 12 } } @@ -80873,15 +92963,15 @@ "binop": null, "updateContext": null }, - "start": 7372, - "end": 7373, + "start": 7648, + "end": 7649, "loc": { "start": { - "line": 161, + "line": 167, "column": 12 }, "end": { - "line": 161, + "line": 167, "column": 13 } } @@ -80899,15 +92989,15 @@ "binop": null }, "value": "input", - "start": 7373, - "end": 7378, + "start": 7649, + "end": 7654, "loc": { "start": { - "line": 161, + "line": 167, "column": 13 }, "end": { - "line": 161, + "line": 167, "column": 18 } } @@ -80925,15 +93015,15 @@ "binop": null, "updateContext": null }, - "start": 7378, - "end": 7379, + "start": 7654, + "end": 7655, "loc": { "start": { - "line": 161, + "line": 167, "column": 18 }, "end": { - "line": 161, + "line": 167, "column": 19 } } @@ -80953,15 +93043,15 @@ "updateContext": null }, "value": "this", - "start": 7379, - "end": 7383, + "start": 7655, + "end": 7659, "loc": { "start": { - "line": 161, + "line": 167, "column": 19 }, "end": { - "line": 161, + "line": 167, "column": 23 } } @@ -80979,15 +93069,15 @@ "binop": null, "updateContext": null }, - "start": 7383, - "end": 7384, + "start": 7659, + "end": 7660, "loc": { "start": { - "line": 161, + "line": 167, "column": 23 }, "end": { - "line": 161, + "line": 167, "column": 24 } } @@ -81005,15 +93095,15 @@ "binop": null }, "value": "options", - "start": 7384, - "end": 7391, + "start": 7660, + "end": 7667, "loc": { "start": { - "line": 161, + "line": 167, "column": 24 }, "end": { - "line": 161, + "line": 167, "column": 31 } } @@ -81031,15 +93121,15 @@ "binop": null, "updateContext": null }, - "start": 7391, - "end": 7392, + "start": 7667, + "end": 7668, "loc": { "start": { - "line": 161, + "line": 167, "column": 31 }, "end": { - "line": 161, + "line": 167, "column": 32 } } @@ -81057,15 +93147,15 @@ "binop": null }, "value": "inputName", - "start": 7392, - "end": 7401, + "start": 7668, + "end": 7677, "loc": { "start": { - "line": 161, + "line": 167, "column": 32 }, "end": { - "line": 161, + "line": 167, "column": 41 } } @@ -81083,15 +93173,15 @@ "binop": null, "updateContext": null }, - "start": 7401, - "end": 7402, + "start": 7677, + "end": 7678, "loc": { "start": { - "line": 161, + "line": 167, "column": 41 }, "end": { - "line": 161, + "line": 167, "column": 42 } } @@ -81108,15 +93198,15 @@ "postfix": false, "binop": null }, - "start": 7402, - "end": 7403, + "start": 7678, + "end": 7679, "loc": { "start": { - "line": 161, + "line": 167, "column": 42 }, "end": { - "line": 161, + "line": 167, "column": 43 } } @@ -81136,15 +93226,15 @@ "updateContext": null }, "value": "this", - "start": 7411, - "end": 7415, + "start": 7687, + "end": 7691, "loc": { "start": { - "line": 162, + "line": 168, "column": 6 }, "end": { - "line": 162, + "line": 168, "column": 10 } } @@ -81162,15 +93252,15 @@ "binop": null, "updateContext": null }, - "start": 7415, - "end": 7416, + "start": 7691, + "end": 7692, "loc": { "start": { - "line": 162, + "line": 168, "column": 10 }, "end": { - "line": 162, + "line": 168, "column": 11 } } @@ -81188,15 +93278,15 @@ "binop": null }, "value": "input", - "start": 7416, - "end": 7421, + "start": 7692, + "end": 7697, "loc": { "start": { - "line": 162, + "line": 168, "column": 11 }, "end": { - "line": 162, + "line": 168, "column": 16 } } @@ -81214,15 +93304,15 @@ "binop": null, "updateContext": null }, - "start": 7421, - "end": 7422, + "start": 7697, + "end": 7698, "loc": { "start": { - "line": 162, + "line": 168, "column": 16 }, "end": { - "line": 162, + "line": 168, "column": 17 } } @@ -81242,15 +93332,15 @@ "updateContext": null }, "value": "this", - "start": 7422, - "end": 7426, + "start": 7698, + "end": 7702, "loc": { "start": { - "line": 162, + "line": 168, "column": 17 }, "end": { - "line": 162, + "line": 168, "column": 21 } } @@ -81268,15 +93358,15 @@ "binop": null, "updateContext": null }, - "start": 7426, - "end": 7427, + "start": 7702, + "end": 7703, "loc": { "start": { - "line": 162, + "line": 168, "column": 21 }, "end": { - "line": 162, + "line": 168, "column": 22 } } @@ -81294,15 +93384,15 @@ "binop": null }, "value": "options", - "start": 7427, - "end": 7434, + "start": 7703, + "end": 7710, "loc": { "start": { - "line": 162, + "line": 168, "column": 22 }, "end": { - "line": 162, + "line": 168, "column": 29 } } @@ -81320,15 +93410,15 @@ "binop": null, "updateContext": null }, - "start": 7434, - "end": 7435, + "start": 7710, + "end": 7711, "loc": { "start": { - "line": 162, + "line": 168, "column": 29 }, "end": { - "line": 162, + "line": 168, "column": 30 } } @@ -81346,15 +93436,15 @@ "binop": null }, "value": "inputName", - "start": 7435, - "end": 7444, + "start": 7711, + "end": 7720, "loc": { "start": { - "line": 162, + "line": 168, "column": 30 }, "end": { - "line": 162, + "line": 168, "column": 39 } } @@ -81372,15 +93462,15 @@ "binop": null, "updateContext": null }, - "start": 7444, - "end": 7445, + "start": 7720, + "end": 7721, "loc": { "start": { - "line": 162, + "line": 168, "column": 39 }, "end": { - "line": 162, + "line": 168, "column": 40 } } @@ -81399,15 +93489,15 @@ "updateContext": null }, "value": "=", - "start": 7446, - "end": 7447, + "start": 7722, + "end": 7723, "loc": { "start": { - "line": 162, + "line": 168, "column": 41 }, "end": { - "line": 162, + "line": 168, "column": 42 } } @@ -81426,15 +93516,15 @@ "updateContext": null }, "value": "", - "start": 7448, - "end": 7450, + "start": 7724, + "end": 7726, "loc": { "start": { - "line": 162, + "line": 168, "column": 43 }, "end": { - "line": 162, + "line": 168, "column": 45 } } @@ -81452,15 +93542,15 @@ "binop": null, "updateContext": null }, - "start": 7450, - "end": 7451, + "start": 7726, + "end": 7727, "loc": { "start": { - "line": 162, + "line": 168, "column": 45 }, "end": { - "line": 162, + "line": 168, "column": 46 } } @@ -81480,15 +93570,15 @@ "updateContext": null }, "value": "let", - "start": 7459, - "end": 7462, + "start": 7735, + "end": 7738, "loc": { "start": { - "line": 164, + "line": 170, "column": 4 }, "end": { - "line": 164, + "line": 170, "column": 7 } } @@ -81506,15 +93596,15 @@ "binop": null }, "value": "updatedInput", - "start": 7463, - "end": 7475, + "start": 7739, + "end": 7751, "loc": { "start": { - "line": 164, + "line": 170, "column": 8 }, "end": { - "line": 164, + "line": 170, "column": 20 } } @@ -81533,15 +93623,15 @@ "updateContext": null }, "value": "=", - "start": 7476, - "end": 7477, + "start": 7752, + "end": 7753, "loc": { "start": { - "line": 164, + "line": 170, "column": 21 }, "end": { - "line": 164, + "line": 170, "column": 22 } } @@ -81561,15 +93651,15 @@ "updateContext": null }, "value": "this", - "start": 7478, - "end": 7482, + "start": 7754, + "end": 7758, "loc": { "start": { - "line": 164, + "line": 170, "column": 23 }, "end": { - "line": 164, + "line": 170, "column": 27 } } @@ -81587,15 +93677,15 @@ "binop": null, "updateContext": null }, - "start": 7482, - "end": 7483, + "start": 7758, + "end": 7759, "loc": { "start": { - "line": 164, + "line": 170, "column": 27 }, "end": { - "line": 164, + "line": 170, "column": 28 } } @@ -81613,15 +93703,15 @@ "binop": null }, "value": "utilities", - "start": 7483, - "end": 7492, + "start": 7759, + "end": 7768, "loc": { "start": { - "line": 164, + "line": 170, "column": 28 }, "end": { - "line": 164, + "line": 170, "column": 37 } } @@ -81639,15 +93729,15 @@ "binop": null, "updateContext": null }, - "start": 7492, - "end": 7493, + "start": 7768, + "end": 7769, "loc": { "start": { - "line": 164, + "line": 170, "column": 37 }, "end": { - "line": 164, + "line": 170, "column": 38 } } @@ -81665,15 +93755,15 @@ "binop": null }, "value": "getUpdatedInput", - "start": 7493, - "end": 7508, + "start": 7769, + "end": 7784, "loc": { "start": { - "line": 164, + "line": 170, "column": 38 }, "end": { - "line": 164, + "line": 170, "column": 53 } } @@ -81690,15 +93780,15 @@ "postfix": false, "binop": null }, - "start": 7508, - "end": 7509, + "start": 7784, + "end": 7785, "loc": { "start": { - "line": 164, + "line": 170, "column": 53 }, "end": { - "line": 164, + "line": 170, "column": 54 } } @@ -81716,15 +93806,15 @@ "binop": null }, "value": "button", - "start": 7509, - "end": 7515, + "start": 7785, + "end": 7791, "loc": { "start": { - "line": 164, + "line": 170, "column": 54 }, "end": { - "line": 164, + "line": 170, "column": 60 } } @@ -81742,15 +93832,15 @@ "binop": null, "updateContext": null }, - "start": 7515, - "end": 7516, + "start": 7791, + "end": 7792, "loc": { "start": { - "line": 164, + "line": 170, "column": 60 }, "end": { - "line": 164, + "line": 170, "column": 61 } } @@ -81770,15 +93860,15 @@ "updateContext": null }, "value": "this", - "start": 7517, - "end": 7521, + "start": 7793, + "end": 7797, "loc": { "start": { - "line": 164, + "line": 170, "column": 62 }, "end": { - "line": 164, + "line": 170, "column": 66 } } @@ -81796,15 +93886,15 @@ "binop": null, "updateContext": null }, - "start": 7521, - "end": 7522, + "start": 7797, + "end": 7798, "loc": { "start": { - "line": 164, + "line": 170, "column": 66 }, "end": { - "line": 164, + "line": 170, "column": 67 } } @@ -81822,15 +93912,15 @@ "binop": null }, "value": "input", - "start": 7522, - "end": 7527, + "start": 7798, + "end": 7803, "loc": { "start": { - "line": 164, + "line": 170, "column": 67 }, "end": { - "line": 164, + "line": 170, "column": 72 } } @@ -81848,15 +93938,15 @@ "binop": null, "updateContext": null }, - "start": 7527, - "end": 7528, + "start": 7803, + "end": 7804, "loc": { "start": { - "line": 164, + "line": 170, "column": 72 }, "end": { - "line": 164, + "line": 170, "column": 73 } } @@ -81876,15 +93966,15 @@ "updateContext": null }, "value": "this", - "start": 7528, - "end": 7532, + "start": 7804, + "end": 7808, "loc": { "start": { - "line": 164, + "line": 170, "column": 73 }, "end": { - "line": 164, + "line": 170, "column": 77 } } @@ -81902,15 +93992,15 @@ "binop": null, "updateContext": null }, - "start": 7532, - "end": 7533, + "start": 7808, + "end": 7809, "loc": { "start": { - "line": 164, + "line": 170, "column": 77 }, "end": { - "line": 164, + "line": 170, "column": 78 } } @@ -81928,15 +94018,15 @@ "binop": null }, "value": "options", - "start": 7533, - "end": 7540, + "start": 7809, + "end": 7816, "loc": { "start": { - "line": 164, + "line": 170, "column": 78 }, "end": { - "line": 164, + "line": 170, "column": 85 } } @@ -81954,15 +94044,15 @@ "binop": null, "updateContext": null }, - "start": 7540, - "end": 7541, + "start": 7816, + "end": 7817, "loc": { "start": { - "line": 164, + "line": 170, "column": 85 }, "end": { - "line": 164, + "line": 170, "column": 86 } } @@ -81980,15 +94070,15 @@ "binop": null }, "value": "inputName", - "start": 7541, - "end": 7550, + "start": 7817, + "end": 7826, "loc": { "start": { - "line": 164, + "line": 170, "column": 86 }, "end": { - "line": 164, + "line": 170, "column": 95 } } @@ -82006,15 +94096,15 @@ "binop": null, "updateContext": null }, - "start": 7550, - "end": 7551, + "start": 7826, + "end": 7827, "loc": { "start": { - "line": 164, + "line": 170, "column": 95 }, "end": { - "line": 164, + "line": 170, "column": 96 } } @@ -82032,15 +94122,15 @@ "binop": null, "updateContext": null }, - "start": 7551, - "end": 7552, + "start": 7827, + "end": 7828, "loc": { "start": { - "line": 164, + "line": 170, "column": 96 }, "end": { - "line": 164, + "line": 170, "column": 97 } } @@ -82060,15 +94150,15 @@ "updateContext": null }, "value": "this", - "start": 7553, - "end": 7557, + "start": 7829, + "end": 7833, "loc": { "start": { - "line": 164, + "line": 170, "column": 98 }, "end": { - "line": 164, + "line": 170, "column": 102 } } @@ -82086,15 +94176,15 @@ "binop": null, "updateContext": null }, - "start": 7557, - "end": 7558, + "start": 7833, + "end": 7834, "loc": { "start": { - "line": 164, + "line": 170, "column": 102 }, "end": { - "line": 164, + "line": 170, "column": 103 } } @@ -82112,15 +94202,15 @@ "binop": null }, "value": "options", - "start": 7558, - "end": 7565, + "start": 7834, + "end": 7841, "loc": { "start": { - "line": 164, + "line": 170, "column": 103 }, "end": { - "line": 164, + "line": 170, "column": 110 } } @@ -82138,15 +94228,15 @@ "binop": null, "updateContext": null }, - "start": 7565, - "end": 7566, + "start": 7841, + "end": 7842, "loc": { "start": { - "line": 164, + "line": 170, "column": 110 }, "end": { - "line": 164, + "line": 170, "column": 111 } } @@ -82166,15 +94256,15 @@ "updateContext": null }, "value": "this", - "start": 7567, - "end": 7571, + "start": 7843, + "end": 7847, "loc": { "start": { - "line": 164, + "line": 170, "column": 112 }, "end": { - "line": 164, + "line": 170, "column": 116 } } @@ -82192,15 +94282,15 @@ "binop": null, "updateContext": null }, - "start": 7571, - "end": 7572, + "start": 7847, + "end": 7848, "loc": { "start": { - "line": 164, + "line": 170, "column": 116 }, "end": { - "line": 164, + "line": 170, "column": 117 } } @@ -82218,15 +94308,15 @@ "binop": null }, "value": "caretPosition", - "start": 7572, - "end": 7585, + "start": 7848, + "end": 7861, "loc": { "start": { - "line": 164, + "line": 170, "column": 117 }, "end": { - "line": 164, + "line": 170, "column": 130 } } @@ -82243,15 +94333,15 @@ "postfix": false, "binop": null }, - "start": 7585, - "end": 7586, + "start": 7861, + "end": 7862, "loc": { "start": { - "line": 164, + "line": 170, "column": 130 }, "end": { - "line": 164, + "line": 170, "column": 131 } } @@ -82269,15 +94359,15 @@ "binop": null, "updateContext": null }, - "start": 7586, - "end": 7587, + "start": 7862, + "end": 7863, "loc": { "start": { - "line": 164, + "line": 170, "column": 131 }, "end": { - "line": 164, + "line": 170, "column": 132 } } @@ -82297,15 +94387,15 @@ "updateContext": null }, "value": "if", - "start": 7595, - "end": 7597, + "start": 7871, + "end": 7873, "loc": { "start": { - "line": 166, + "line": 172, "column": 4 }, "end": { - "line": 166, + "line": 172, "column": 6 } } @@ -82322,15 +94412,15 @@ "postfix": false, "binop": null }, - "start": 7597, - "end": 7598, + "start": 7873, + "end": 7874, "loc": { "start": { - "line": 166, + "line": 172, "column": 6 }, "end": { - "line": 166, + "line": 172, "column": 7 } } @@ -82350,15 +94440,15 @@ "updateContext": null }, "value": "this", - "start": 7598, - "end": 7602, + "start": 7874, + "end": 7878, "loc": { "start": { - "line": 166, + "line": 172, "column": 7 }, "end": { - "line": 166, + "line": 172, "column": 11 } } @@ -82376,15 +94466,15 @@ "binop": null, "updateContext": null }, - "start": 7602, - "end": 7603, + "start": 7878, + "end": 7879, "loc": { "start": { - "line": 166, + "line": 172, "column": 11 }, "end": { - "line": 166, + "line": 172, "column": 12 } } @@ -82402,15 +94492,15 @@ "binop": null }, "value": "input", - "start": 7603, - "end": 7608, + "start": 7879, + "end": 7884, "loc": { "start": { - "line": 166, + "line": 172, "column": 12 }, "end": { - "line": 166, + "line": 172, "column": 17 } } @@ -82428,15 +94518,15 @@ "binop": null, "updateContext": null }, - "start": 7608, - "end": 7609, + "start": 7884, + "end": 7885, "loc": { "start": { - "line": 166, + "line": 172, "column": 17 }, "end": { - "line": 166, + "line": 172, "column": 18 } } @@ -82456,15 +94546,15 @@ "updateContext": null }, "value": "this", - "start": 7609, - "end": 7613, + "start": 7885, + "end": 7889, "loc": { "start": { - "line": 166, + "line": 172, "column": 18 }, "end": { - "line": 166, + "line": 172, "column": 22 } } @@ -82482,15 +94572,15 @@ "binop": null, "updateContext": null }, - "start": 7613, - "end": 7614, + "start": 7889, + "end": 7890, "loc": { "start": { - "line": 166, + "line": 172, "column": 22 }, "end": { - "line": 166, + "line": 172, "column": 23 } } @@ -82508,15 +94598,15 @@ "binop": null }, "value": "options", - "start": 7614, - "end": 7621, + "start": 7890, + "end": 7897, "loc": { "start": { - "line": 166, + "line": 172, "column": 23 }, "end": { - "line": 166, + "line": 172, "column": 30 } } @@ -82534,15 +94624,15 @@ "binop": null, "updateContext": null }, - "start": 7621, - "end": 7622, + "start": 7897, + "end": 7898, "loc": { "start": { - "line": 166, + "line": 172, "column": 30 }, "end": { - "line": 166, + "line": 172, "column": 31 } } @@ -82560,15 +94650,15 @@ "binop": null }, "value": "inputName", - "start": 7622, - "end": 7631, + "start": 7898, + "end": 7907, "loc": { "start": { - "line": 166, + "line": 172, "column": 31 }, "end": { - "line": 166, + "line": 172, "column": 40 } } @@ -82586,15 +94676,15 @@ "binop": null, "updateContext": null }, - "start": 7631, - "end": 7632, + "start": 7907, + "end": 7908, "loc": { "start": { - "line": 166, + "line": 172, "column": 40 }, "end": { - "line": 166, + "line": 172, "column": 41 } } @@ -82613,15 +94703,15 @@ "updateContext": null }, "value": "!==", - "start": 7633, - "end": 7636, + "start": 7909, + "end": 7912, "loc": { "start": { - "line": 166, + "line": 172, "column": 42 }, "end": { - "line": 166, + "line": 172, "column": 45 } } @@ -82639,15 +94729,15 @@ "binop": null }, "value": "updatedInput", - "start": 7637, - "end": 7649, + "start": 7913, + "end": 7925, "loc": { "start": { - "line": 166, + "line": 172, "column": 46 }, "end": { - "line": 166, + "line": 172, "column": 58 } } @@ -82664,15 +94754,15 @@ "postfix": false, "binop": null }, - "start": 7649, - "end": 7650, + "start": 7925, + "end": 7926, "loc": { "start": { - "line": 166, + "line": 172, "column": 58 }, "end": { - "line": 166, + "line": 172, "column": 59 } } @@ -82689,15 +94779,15 @@ "postfix": false, "binop": null }, - "start": 7650, - "end": 7651, + "start": 7926, + "end": 7927, "loc": { "start": { - "line": 166, + "line": 172, "column": 59 }, "end": { - "line": 166, + "line": 172, "column": 60 } } @@ -82705,15 +94795,15 @@ { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", - "start": 7661, - "end": 7738, + "start": 7937, + "end": 8014, "loc": { "start": { - "line": 168, + "line": 174, "column": 6 }, "end": { - "line": 170, + "line": 176, "column": 9 } } @@ -82733,15 +94823,15 @@ "updateContext": null }, "value": "if", - "start": 7746, - "end": 7748, + "start": 8022, + "end": 8024, "loc": { "start": { - "line": 171, + "line": 177, "column": 6 }, "end": { - "line": 171, + "line": 177, "column": 8 } } @@ -82758,15 +94848,15 @@ "postfix": false, "binop": null }, - "start": 7748, - "end": 7749, + "start": 8024, + "end": 8025, "loc": { "start": { - "line": 171, + "line": 177, "column": 8 }, "end": { - "line": 171, + "line": 177, "column": 9 } } @@ -82786,15 +94876,15 @@ "updateContext": null }, "value": "this", - "start": 7749, - "end": 7753, + "start": 8025, + "end": 8029, "loc": { "start": { - "line": 171, + "line": 177, "column": 9 }, "end": { - "line": 171, + "line": 177, "column": 13 } } @@ -82812,15 +94902,15 @@ "binop": null, "updateContext": null }, - "start": 7753, - "end": 7754, + "start": 8029, + "end": 8030, "loc": { "start": { - "line": 171, + "line": 177, "column": 13 }, "end": { - "line": 171, + "line": 177, "column": 14 } } @@ -82838,15 +94928,15 @@ "binop": null }, "value": "options", - "start": 7754, - "end": 7761, + "start": 8030, + "end": 8037, "loc": { "start": { - "line": 171, + "line": 177, "column": 14 }, "end": { - "line": 171, + "line": 177, "column": 21 } } @@ -82864,15 +94954,15 @@ "binop": null, "updateContext": null }, - "start": 7761, - "end": 7762, + "start": 8037, + "end": 8038, "loc": { "start": { - "line": 171, + "line": 177, "column": 21 }, "end": { - "line": 171, + "line": 177, "column": 22 } } @@ -82890,15 +94980,15 @@ "binop": null }, "value": "maxLength", - "start": 7762, - "end": 7771, + "start": 8038, + "end": 8047, "loc": { "start": { - "line": 171, + "line": 177, "column": 22 }, "end": { - "line": 171, + "line": 177, "column": 31 } } @@ -82917,15 +95007,15 @@ "updateContext": null }, "value": "&&", - "start": 7772, - "end": 7774, + "start": 8048, + "end": 8050, "loc": { "start": { - "line": 171, + "line": 177, "column": 32 }, "end": { - "line": 171, + "line": 177, "column": 34 } } @@ -82945,15 +95035,15 @@ "updateContext": null }, "value": "this", - "start": 7775, - "end": 7779, + "start": 8051, + "end": 8055, "loc": { "start": { - "line": 171, + "line": 177, "column": 35 }, "end": { - "line": 171, + "line": 177, "column": 39 } } @@ -82971,15 +95061,15 @@ "binop": null, "updateContext": null }, - "start": 7779, - "end": 7780, + "start": 8055, + "end": 8056, "loc": { "start": { - "line": 171, + "line": 177, "column": 39 }, "end": { - "line": 171, + "line": 177, "column": 40 } } @@ -82997,15 +95087,15 @@ "binop": null }, "value": "utilities", - "start": 7780, - "end": 7789, + "start": 8056, + "end": 8065, "loc": { "start": { - "line": 171, + "line": 177, "column": 40 }, "end": { - "line": 171, + "line": 177, "column": 49 } } @@ -83023,15 +95113,15 @@ "binop": null, "updateContext": null }, - "start": 7789, - "end": 7790, + "start": 8065, + "end": 8066, "loc": { "start": { - "line": 171, + "line": 177, "column": 49 }, "end": { - "line": 171, + "line": 177, "column": 50 } } @@ -83049,15 +95139,15 @@ "binop": null }, "value": "handleMaxLength", - "start": 7790, - "end": 7805, + "start": 8066, + "end": 8081, "loc": { "start": { - "line": 171, + "line": 177, "column": 50 }, "end": { - "line": 171, + "line": 177, "column": 65 } } @@ -83074,15 +95164,15 @@ "postfix": false, "binop": null }, - "start": 7805, - "end": 7806, + "start": 8081, + "end": 8082, "loc": { "start": { - "line": 171, + "line": 177, "column": 65 }, "end": { - "line": 171, + "line": 177, "column": 66 } } @@ -83102,15 +95192,15 @@ "updateContext": null }, "value": "this", - "start": 7806, - "end": 7810, + "start": 8082, + "end": 8086, "loc": { "start": { - "line": 171, + "line": 177, "column": 66 }, "end": { - "line": 171, + "line": 177, "column": 70 } } @@ -83128,15 +95218,15 @@ "binop": null, "updateContext": null }, - "start": 7810, - "end": 7811, + "start": 8086, + "end": 8087, "loc": { "start": { - "line": 171, + "line": 177, "column": 70 }, "end": { - "line": 171, + "line": 177, "column": 71 } } @@ -83154,15 +95244,15 @@ "binop": null }, "value": "input", - "start": 7811, - "end": 7816, + "start": 8087, + "end": 8092, "loc": { "start": { - "line": 171, + "line": 177, "column": 71 }, "end": { - "line": 171, + "line": 177, "column": 76 } } @@ -83180,15 +95270,15 @@ "binop": null, "updateContext": null }, - "start": 7816, - "end": 7817, + "start": 8092, + "end": 8093, "loc": { "start": { - "line": 171, + "line": 177, "column": 76 }, "end": { - "line": 171, + "line": 177, "column": 77 } } @@ -83208,15 +95298,15 @@ "updateContext": null }, "value": "this", - "start": 7818, - "end": 7822, + "start": 8094, + "end": 8098, "loc": { "start": { - "line": 171, + "line": 177, "column": 78 }, "end": { - "line": 171, + "line": 177, "column": 82 } } @@ -83234,15 +95324,15 @@ "binop": null, "updateContext": null }, - "start": 7822, - "end": 7823, + "start": 8098, + "end": 8099, "loc": { "start": { - "line": 171, + "line": 177, "column": 82 }, "end": { - "line": 171, + "line": 177, "column": 83 } } @@ -83260,15 +95350,15 @@ "binop": null }, "value": "options", - "start": 7823, - "end": 7830, + "start": 8099, + "end": 8106, "loc": { "start": { - "line": 171, + "line": 177, "column": 83 }, "end": { - "line": 171, + "line": 177, "column": 90 } } @@ -83286,15 +95376,15 @@ "binop": null, "updateContext": null }, - "start": 7830, - "end": 7831, + "start": 8106, + "end": 8107, "loc": { "start": { - "line": 171, + "line": 177, "column": 90 }, "end": { - "line": 171, + "line": 177, "column": 91 } } @@ -83312,15 +95402,15 @@ "binop": null }, "value": "updatedInput", - "start": 7832, - "end": 7844, + "start": 8108, + "end": 8120, "loc": { "start": { - "line": 171, + "line": 177, "column": 92 }, "end": { - "line": 171, + "line": 177, "column": 104 } } @@ -83337,1108 +95427,16 @@ "postfix": false, "binop": null }, - "start": 7844, - "end": 7845, - "loc": { - "start": { - "line": 171, - "column": 104 - }, - "end": { - "line": 171, - "column": 105 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7845, - "end": 7846, - "loc": { - "start": { - "line": 171, - "column": 105 - }, - "end": { - "line": 171, - "column": 106 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7846, - "end": 7847, - "loc": { - "start": { - "line": 171, - "column": 106 - }, - "end": { - "line": 171, - "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": 7857, - "end": 7863, - "loc": { - "start": { - "line": 172, - "column": 8 - }, - "end": { - "line": 172, - "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": 7864, - "end": 7869, - "loc": { - "start": { - "line": 172, - "column": 15 - }, - "end": { - "line": 172, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7869, - "end": 7870, - "loc": { - "start": { - "line": 172, - "column": 20 - }, - "end": { - "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 - } - } - }, - { - "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": 7889, - "end": 7893, - "loc": { - "start": { - "line": 175, - "column": 6 - }, - "end": { - "line": 175, - "column": 10 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7893, - "end": 7894, - "loc": { - "start": { - "line": 175, - "column": 10 - }, - "end": { - "line": 175, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "input", - "start": 7894, - "end": 7899, - "loc": { - "start": { - "line": 175, - "column": 11 - }, - "end": { - "line": 175, - "column": 16 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7899, - "end": 7900, - "loc": { - "start": { - "line": 175, - "column": 16 - }, - "end": { - "line": 175, - "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": 7900, - "end": 7904, - "loc": { - "start": { - "line": 175, - "column": 17 - }, - "end": { - "line": 175, - "column": 21 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7904, - "end": 7905, - "loc": { - "start": { - "line": 175, - "column": 21 - }, - "end": { - "line": 175, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 7905, - "end": 7912, - "loc": { - "start": { - "line": 175, - "column": 22 - }, - "end": { - "line": 175, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7912, - "end": 7913, - "loc": { - "start": { - "line": 175, - "column": 29 - }, - "end": { - "line": 175, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "inputName", - "start": 7913, - "end": 7922, - "loc": { - "start": { - "line": 175, - "column": 30 - }, - "end": { - "line": 175, - "column": 39 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7922, - "end": 7923, - "loc": { - "start": { - "line": 175, - "column": 39 - }, - "end": { - "line": 175, - "column": 40 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 7924, - "end": 7925, - "loc": { - "start": { - "line": 175, - "column": 41 - }, - "end": { - "line": 175, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "updatedInput", - "start": 7926, - "end": 7938, - "loc": { - "start": { - "line": 175, - "column": 43 - }, - "end": { - "line": 175, - "column": 55 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7938, - "end": 7939, - "loc": { - "start": { - "line": 175, - "column": 55 - }, - "end": { - "line": 175, - "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": 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": 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, + "start": 8120, "end": 8121, "loc": { "start": { - "line": 183, - "column": 22 + "line": 177, + "column": 104 }, "end": { - "line": 183, - "column": 40 + "line": 177, + "column": 105 } } }, @@ -84458,98 +95456,18 @@ "end": 8122, "loc": { "start": { - "line": 183, - "column": 40 + "line": 177, + "column": 105 }, "end": { - "line": 183, - "column": 41 + "line": 177, + "column": 106 } } }, { "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": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -84559,23 +95477,51 @@ "postfix": false, "binop": null }, - "start": 8155, - "end": 8156, + "start": 8122, + "end": 8123, "loc": { "start": { - "line": 184, - "column": 31 + "line": 177, + "column": 106 }, "end": { - "line": 184, - "column": 32 + "line": 177, + "column": 107 } } }, { "type": { - "label": "this", - "keyword": "this", + "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": 8133, + "end": 8139, + "loc": { + "start": { + "line": 178, + "column": 8 + }, + "end": { + "line": 178, + "column": 14 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -84586,94 +95532,17 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 8156, - "end": 8160, + "value": "false", + "start": 8140, + "end": 8145, "loc": { "start": { - "line": 184, - "column": 32 + "line": 178, + "column": 15 }, "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 + "line": 178, + "column": 20 } } }, @@ -84690,8 +95559,716 @@ "binop": null, "updateContext": null }, - "start": 8167, - "end": 8168, + "start": 8145, + "end": 8146, + "loc": { + "start": { + "line": 178, + "column": 20 + }, + "end": { + "line": 178, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8154, + "end": 8155, + "loc": { + "start": { + "line": 179, + "column": 6 + }, + "end": { + "line": 179, + "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": 8165, + "end": 8169, + "loc": { + "start": { + "line": 181, + "column": 6 + }, + "end": { + "line": 181, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8169, + "end": 8170, + "loc": { + "start": { + "line": 181, + "column": 10 + }, + "end": { + "line": 181, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "input", + "start": 8170, + "end": 8175, + "loc": { + "start": { + "line": 181, + "column": 11 + }, + "end": { + "line": 181, + "column": 16 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8175, + "end": 8176, + "loc": { + "start": { + "line": 181, + "column": 16 + }, + "end": { + "line": 181, + "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": 8176, + "end": 8180, + "loc": { + "start": { + "line": 181, + "column": 17 + }, + "end": { + "line": 181, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8180, + "end": 8181, + "loc": { + "start": { + "line": 181, + "column": 21 + }, + "end": { + "line": 181, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 8181, + "end": 8188, + "loc": { + "start": { + "line": 181, + "column": 22 + }, + "end": { + "line": 181, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8188, + "end": 8189, + "loc": { + "start": { + "line": 181, + "column": 29 + }, + "end": { + "line": 181, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inputName", + "start": 8189, + "end": 8198, + "loc": { + "start": { + "line": 181, + "column": 30 + }, + "end": { + "line": 181, + "column": 39 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8198, + "end": 8199, + "loc": { + "start": { + "line": 181, + "column": 39 + }, + "end": { + "line": 181, + "column": 40 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8200, + "end": 8201, + "loc": { + "start": { + "line": 181, + "column": 41 + }, + "end": { + "line": 181, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "updatedInput", + "start": 8202, + "end": 8214, + "loc": { + "start": { + "line": 181, + "column": 43 + }, + "end": { + "line": 181, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8214, + "end": 8215, + "loc": { + "start": { + "line": 181, + "column": 55 + }, + "end": { + "line": 181, + "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": 8225, + "end": 8227, + "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": 8227, + "end": 8228, + "loc": { + "start": { + "line": 183, + "column": 8 + }, + "end": { + "line": 183, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "debug", + "start": 8228, + "end": 8233, + "loc": { + "start": { + "line": 183, + "column": 9 + }, + "end": { + "line": 183, + "column": 14 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8233, + "end": 8234, + "loc": { + "start": { + "line": 183, + "column": 14 + }, + "end": { + "line": 183, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 8244, + "end": 8251, + "loc": { + "start": { + "line": 184, + "column": 8 + }, + "end": { + "line": 184, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8251, + "end": 8252, + "loc": { + "start": { + "line": 184, + "column": 15 + }, + "end": { + "line": 184, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 8252, + "end": 8255, + "loc": { + "start": { + "line": 184, + "column": 16 + }, + "end": { + "line": 184, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8255, + "end": 8256, + "loc": { + "start": { + "line": 184, + "column": 19 + }, + "end": { + "line": 184, + "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": 8256, + "end": 8272, + "loc": { + "start": { + "line": 184, + "column": 20 + }, + "end": { + "line": 184, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8272, + "end": 8273, + "loc": { + "start": { + "line": 184, + "column": 36 + }, + "end": { + "line": 184, + "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": 8274, + "end": 8278, + "loc": { + "start": { + "line": 184, + "column": 38 + }, + "end": { + "line": 184, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8278, + "end": 8279, + "loc": { + "start": { + "line": 184, + "column": 42 + }, + "end": { + "line": 184, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "input", + "start": 8279, + "end": 8284, "loc": { "start": { "line": 184, @@ -84699,15 +96276,66 @@ }, "end": { "line": 184, - "column": 44 + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8284, + "end": 8285, + "loc": { + "start": { + "line": 184, + "column": 48 + }, + "end": { + "line": 184, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8285, + "end": 8286, + "loc": { + "start": { + "line": 184, + "column": 49 + }, + "end": { + "line": 184, + "column": 50 } } }, { "type": "CommentBlock", - "value": "*\r\n * Calling onChange\r\n ", - "start": 8178, - "end": 8219, + "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", + "start": 8296, + "end": 8355, "loc": { "start": { "line": 186, @@ -84734,8 +96362,8 @@ "updateContext": null }, "value": "if", - "start": 8227, - "end": 8229, + "start": 8363, + "end": 8365, "loc": { "start": { "line": 189, @@ -84759,8 +96387,8 @@ "postfix": false, "binop": null }, - "start": 8229, - "end": 8230, + "start": 8365, + "end": 8366, "loc": { "start": { "line": 189, @@ -84772,6 +96400,468 @@ } } }, + { + "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": 8366, + "end": 8370, + "loc": { + "start": { + "line": 189, + "column": 9 + }, + "end": { + "line": 189, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8370, + "end": 8371, + "loc": { + "start": { + "line": 189, + "column": 13 + }, + "end": { + "line": 189, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 8371, + "end": 8378, + "loc": { + "start": { + "line": 189, + "column": 14 + }, + "end": { + "line": 189, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8378, + "end": 8379, + "loc": { + "start": { + "line": 189, + "column": 21 + }, + "end": { + "line": 189, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "syncInstanceInputs", + "start": 8379, + "end": 8397, + "loc": { + "start": { + "line": 189, + "column": 22 + }, + "end": { + "line": 189, + "column": 40 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8397, + "end": 8398, + "loc": { + "start": { + "line": 189, + "column": 40 + }, + "end": { + "line": 189, + "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": 8408, + "end": 8412, + "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": 8412, + "end": 8413, + "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": "syncInstanceInputs", + "start": 8413, + "end": 8431, + "loc": { + "start": { + "line": 190, + "column": 13 + }, + "end": { + "line": 190, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8431, + "end": 8432, + "loc": { + "start": { + "line": 190, + "column": 31 + }, + "end": { + "line": 190, + "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": 8432, + "end": 8436, + "loc": { + "start": { + "line": 190, + "column": 32 + }, + "end": { + "line": 190, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8436, + "end": 8437, + "loc": { + "start": { + "line": 190, + "column": 36 + }, + "end": { + "line": 190, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "input", + "start": 8437, + "end": 8442, + "loc": { + "start": { + "line": 190, + "column": 37 + }, + "end": { + "line": 190, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8442, + "end": 8443, + "loc": { + "start": { + "line": 190, + "column": 42 + }, + "end": { + "line": 190, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8443, + "end": 8444, + "loc": { + "start": { + "line": 190, + "column": 43 + }, + "end": { + "line": 190, + "column": 44 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Calling onChange\r\n ", + "start": 8454, + "end": 8495, + "loc": { + "start": { + "line": 192, + "column": 6 + }, + "end": { + "line": 194, + "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": 8503, + "end": 8505, + "loc": { + "start": { + "line": 195, + "column": 6 + }, + "end": { + "line": 195, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8505, + "end": 8506, + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 195, + "column": 9 + } + } + }, { "type": { "label": "typeof", @@ -84787,15 +96877,15 @@ "updateContext": null }, "value": "typeof", - "start": 8230, - "end": 8236, + "start": 8506, + "end": 8512, "loc": { "start": { - "line": 189, + "line": 195, "column": 9 }, "end": { - "line": 189, + "line": 195, "column": 15 } } @@ -84815,15 +96905,15 @@ "updateContext": null }, "value": "this", - "start": 8237, - "end": 8241, + "start": 8513, + "end": 8517, "loc": { "start": { - "line": 189, + "line": 195, "column": 16 }, "end": { - "line": 189, + "line": 195, "column": 20 } } @@ -84841,15 +96931,15 @@ "binop": null, "updateContext": null }, - "start": 8241, - "end": 8242, + "start": 8517, + "end": 8518, "loc": { "start": { - "line": 189, + "line": 195, "column": 20 }, "end": { - "line": 189, + "line": 195, "column": 21 } } @@ -84867,15 +96957,15 @@ "binop": null }, "value": "options", - "start": 8242, - "end": 8249, + "start": 8518, + "end": 8525, "loc": { "start": { - "line": 189, + "line": 195, "column": 21 }, "end": { - "line": 189, + "line": 195, "column": 28 } } @@ -84893,15 +96983,15 @@ "binop": null, "updateContext": null }, - "start": 8249, - "end": 8250, + "start": 8525, + "end": 8526, "loc": { "start": { - "line": 189, + "line": 195, "column": 28 }, "end": { - "line": 189, + "line": 195, "column": 29 } } @@ -84919,15 +97009,15 @@ "binop": null }, "value": "onChange", - "start": 8250, - "end": 8258, + "start": 8526, + "end": 8534, "loc": { "start": { - "line": 189, + "line": 195, "column": 29 }, "end": { - "line": 189, + "line": 195, "column": 37 } } @@ -84946,15 +97036,15 @@ "updateContext": null }, "value": "===", - "start": 8259, - "end": 8262, + "start": 8535, + "end": 8538, "loc": { "start": { - "line": 189, + "line": 195, "column": 38 }, "end": { - "line": 189, + "line": 195, "column": 41 } } @@ -84973,15 +97063,15 @@ "updateContext": null }, "value": "function", - "start": 8263, - "end": 8273, + "start": 8539, + "end": 8549, "loc": { "start": { - "line": 189, + "line": 195, "column": 42 }, "end": { - "line": 189, + "line": 195, "column": 52 } } @@ -84998,15 +97088,15 @@ "postfix": false, "binop": null }, - "start": 8273, - "end": 8274, + "start": 8549, + "end": 8550, "loc": { "start": { - "line": 189, + "line": 195, "column": 52 }, "end": { - "line": 189, + "line": 195, "column": 53 } } @@ -85026,15 +97116,15 @@ "updateContext": null }, "value": "this", - "start": 8284, - "end": 8288, + "start": 8560, + "end": 8564, "loc": { "start": { - "line": 190, + "line": 196, "column": 8 }, "end": { - "line": 190, + "line": 196, "column": 12 } } @@ -85052,15 +97142,15 @@ "binop": null, "updateContext": null }, - "start": 8288, - "end": 8289, + "start": 8564, + "end": 8565, "loc": { "start": { - "line": 190, + "line": 196, "column": 12 }, "end": { - "line": 190, + "line": 196, "column": 13 } } @@ -85078,15 +97168,15 @@ "binop": null }, "value": "options", - "start": 8289, - "end": 8296, + "start": 8565, + "end": 8572, "loc": { "start": { - "line": 190, + "line": 196, "column": 13 }, "end": { - "line": 190, + "line": 196, "column": 20 } } @@ -85104,15 +97194,15 @@ "binop": null, "updateContext": null }, - "start": 8296, - "end": 8297, + "start": 8572, + "end": 8573, "loc": { "start": { - "line": 190, + "line": 196, "column": 20 }, "end": { - "line": 190, + "line": 196, "column": 21 } } @@ -85130,15 +97220,15 @@ "binop": null }, "value": "onChange", - "start": 8297, - "end": 8305, + "start": 8573, + "end": 8581, "loc": { "start": { - "line": 190, + "line": 196, "column": 21 }, "end": { - "line": 190, + "line": 196, "column": 29 } } @@ -85155,15 +97245,15 @@ "postfix": false, "binop": null }, - "start": 8305, - "end": 8306, + "start": 8581, + "end": 8582, "loc": { "start": { - "line": 190, + "line": 196, "column": 29 }, "end": { - "line": 190, + "line": 196, "column": 30 } } @@ -85183,15 +97273,15 @@ "updateContext": null }, "value": "this", - "start": 8306, - "end": 8310, + "start": 8582, + "end": 8586, "loc": { "start": { - "line": 190, + "line": 196, "column": 30 }, "end": { - "line": 190, + "line": 196, "column": 34 } } @@ -85209,15 +97299,15 @@ "binop": null, "updateContext": null }, - "start": 8310, - "end": 8311, + "start": 8586, + "end": 8587, "loc": { "start": { - "line": 190, + "line": 196, "column": 34 }, "end": { - "line": 190, + "line": 196, "column": 35 } } @@ -85235,15 +97325,15 @@ "binop": null }, "value": "input", - "start": 8311, - "end": 8316, + "start": 8587, + "end": 8592, "loc": { "start": { - "line": 190, + "line": 196, "column": 35 }, "end": { - "line": 190, + "line": 196, "column": 40 } } @@ -85261,15 +97351,15 @@ "binop": null, "updateContext": null }, - "start": 8316, - "end": 8317, + "start": 8592, + "end": 8593, "loc": { "start": { - "line": 190, + "line": 196, "column": 40 }, "end": { - "line": 190, + "line": 196, "column": 41 } } @@ -85289,15 +97379,15 @@ "updateContext": null }, "value": "this", - "start": 8317, - "end": 8321, + "start": 8593, + "end": 8597, "loc": { "start": { - "line": 190, + "line": 196, "column": 41 }, "end": { - "line": 190, + "line": 196, "column": 45 } } @@ -85315,15 +97405,15 @@ "binop": null, "updateContext": null }, - "start": 8321, - "end": 8322, + "start": 8597, + "end": 8598, "loc": { "start": { - "line": 190, + "line": 196, "column": 45 }, "end": { - "line": 190, + "line": 196, "column": 46 } } @@ -85341,15 +97431,15 @@ "binop": null }, "value": "options", - "start": 8322, - "end": 8329, + "start": 8598, + "end": 8605, "loc": { "start": { - "line": 190, + "line": 196, "column": 46 }, "end": { - "line": 190, + "line": 196, "column": 53 } } @@ -85367,15 +97457,15 @@ "binop": null, "updateContext": null }, - "start": 8329, - "end": 8330, + "start": 8605, + "end": 8606, "loc": { "start": { - "line": 190, + "line": 196, "column": 53 }, "end": { - "line": 190, + "line": 196, "column": 54 } } @@ -85393,15 +97483,15 @@ "binop": null }, "value": "inputName", - "start": 8330, - "end": 8339, + "start": 8606, + "end": 8615, "loc": { "start": { - "line": 190, + "line": 196, "column": 54 }, "end": { - "line": 190, + "line": 196, "column": 63 } } @@ -85419,15 +97509,15 @@ "binop": null, "updateContext": null }, - "start": 8339, - "end": 8340, + "start": 8615, + "end": 8616, "loc": { "start": { - "line": 190, + "line": 196, "column": 63 }, "end": { - "line": 190, + "line": 196, "column": 64 } } @@ -85444,15 +97534,15 @@ "postfix": false, "binop": null }, - "start": 8340, - "end": 8341, + "start": 8616, + "end": 8617, "loc": { "start": { - "line": 190, + "line": 196, "column": 64 }, "end": { - "line": 190, + "line": 196, "column": 65 } } @@ -85470,15 +97560,15 @@ "binop": null, "updateContext": null }, - "start": 8341, - "end": 8342, + "start": 8617, + "end": 8618, "loc": { "start": { - "line": 190, + "line": 196, "column": 65 }, "end": { - "line": 190, + "line": 196, "column": 66 } } @@ -85495,15 +97585,15 @@ "postfix": false, "binop": null }, - "start": 8348, - "end": 8349, + "start": 8624, + "end": 8625, "loc": { "start": { - "line": 191, + "line": 197, "column": 4 }, "end": { - "line": 191, + "line": 197, "column": 5 } } @@ -85523,15 +97613,15 @@ "updateContext": null }, "value": "if", - "start": 8361, - "end": 8363, + "start": 8637, + "end": 8639, "loc": { "start": { - "line": 193, + "line": 199, "column": 4 }, "end": { - "line": 193, + "line": 199, "column": 6 } } @@ -85548,15 +97638,15 @@ "postfix": false, "binop": null }, - "start": 8363, - "end": 8364, + "start": 8639, + "end": 8640, "loc": { "start": { - "line": 193, + "line": 199, "column": 6 }, "end": { - "line": 193, + "line": 199, "column": 7 } } @@ -85574,15 +97664,15 @@ "binop": null }, "value": "debug", - "start": 8364, - "end": 8369, + "start": 8640, + "end": 8645, "loc": { "start": { - "line": 193, + "line": 199, "column": 7 }, "end": { - "line": 193, + "line": 199, "column": 12 } } @@ -85599,15 +97689,15 @@ "postfix": false, "binop": null }, - "start": 8369, - "end": 8370, + "start": 8645, + "end": 8646, "loc": { "start": { - "line": 193, + "line": 199, "column": 12 }, "end": { - "line": 193, + "line": 199, "column": 13 } } @@ -85624,15 +97714,15 @@ "postfix": false, "binop": null }, - "start": 8370, - "end": 8371, + "start": 8646, + "end": 8647, "loc": { "start": { - "line": 193, + "line": 199, "column": 13 }, "end": { - "line": 193, + "line": 199, "column": 14 } } @@ -85650,15 +97740,15 @@ "binop": null }, "value": "console", - "start": 8379, - "end": 8386, + "start": 8655, + "end": 8662, "loc": { "start": { - "line": 194, + "line": 200, "column": 6 }, "end": { - "line": 194, + "line": 200, "column": 13 } } @@ -85676,15 +97766,15 @@ "binop": null, "updateContext": null }, - "start": 8386, - "end": 8387, + "start": 8662, + "end": 8663, "loc": { "start": { - "line": 194, + "line": 200, "column": 13 }, "end": { - "line": 194, + "line": 200, "column": 14 } } @@ -85702,15 +97792,15 @@ "binop": null }, "value": "log", - "start": 8387, - "end": 8390, + "start": 8663, + "end": 8666, "loc": { "start": { - "line": 194, + "line": 200, "column": 14 }, "end": { - "line": 194, + "line": 200, "column": 17 } } @@ -85727,15 +97817,15 @@ "postfix": false, "binop": null }, - "start": 8390, - "end": 8391, + "start": 8666, + "end": 8667, "loc": { "start": { - "line": 194, + "line": 200, "column": 17 }, "end": { - "line": 194, + "line": 200, "column": 18 } } @@ -85754,15 +97844,15 @@ "updateContext": null }, "value": "Key pressed:", - "start": 8391, - "end": 8405, + "start": 8667, + "end": 8681, "loc": { "start": { - "line": 194, + "line": 200, "column": 18 }, "end": { - "line": 194, + "line": 200, "column": 32 } } @@ -85780,15 +97870,15 @@ "binop": null, "updateContext": null }, - "start": 8405, - "end": 8406, + "start": 8681, + "end": 8682, "loc": { "start": { - "line": 194, + "line": 200, "column": 32 }, "end": { - "line": 194, + "line": 200, "column": 33 } } @@ -85806,15 +97896,15 @@ "binop": null }, "value": "button", - "start": 8407, - "end": 8413, + "start": 8683, + "end": 8689, "loc": { "start": { - "line": 194, + "line": 200, "column": 34 }, "end": { - "line": 194, + "line": 200, "column": 40 } } @@ -85831,15 +97921,15 @@ "postfix": false, "binop": null }, - "start": 8413, - "end": 8414, + "start": 8689, + "end": 8690, "loc": { "start": { - "line": 194, + "line": 200, "column": 40 }, "end": { - "line": 194, + "line": 200, "column": 41 } } @@ -85857,15 +97947,15 @@ "binop": null, "updateContext": null }, - "start": 8414, - "end": 8415, + "start": 8690, + "end": 8691, "loc": { "start": { - "line": 194, + "line": 200, "column": 41 }, "end": { - "line": 194, + "line": 200, "column": 42 } } @@ -85882,15 +97972,15 @@ "postfix": false, "binop": null }, - "start": 8421, - "end": 8422, + "start": 8697, + "end": 8698, "loc": { "start": { - "line": 195, + "line": 201, "column": 4 }, "end": { - "line": 195, + "line": 201, "column": 5 } } @@ -85907,15 +97997,4333 @@ "postfix": false, "binop": null }, - "start": 8426, - "end": 8427, + "start": 8702, + "end": 8703, "loc": { "start": { - "line": 196, + "line": 202, "column": 2 }, "end": { - "line": 196, + "line": 202, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Handles button mousedown\r\n ", + "start": 8709, + "end": 8750, + "loc": { + "start": { + "line": 204, + "column": 2 + }, + "end": { + "line": 206, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": " istanbul ignore next ", + "start": 8754, + "end": 8780, + "loc": { + "start": { + "line": 207, + "column": 2 + }, + "end": { + "line": 207, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handleButtonMouseDown", + "start": 8784, + "end": 8805, + "loc": { + "start": { + "line": 208, + "column": 2 + }, + "end": { + "line": 208, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8805, + "end": 8806, + "loc": { + "start": { + "line": 208, + "column": 23 + }, + "end": { + "line": 208, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 8806, + "end": 8812, + "loc": { + "start": { + "line": 208, + "column": 24 + }, + "end": { + "line": 208, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8812, + "end": 8813, + "loc": { + "start": { + "line": 208, + "column": 30 + }, + "end": { + "line": 208, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "e", + "start": 8814, + "end": 8815, + "loc": { + "start": { + "line": 208, + "column": 32 + }, + "end": { + "line": 208, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8815, + "end": 8816, + "loc": { + "start": { + "line": 208, + "column": 33 + }, + "end": { + "line": 208, + "column": 34 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8816, + "end": 8817, + "loc": { + "start": { + "line": 208, + "column": 34 + }, + "end": { + "line": 208, + "column": 35 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n ", + "start": 8823, + "end": 8902, + "loc": { + "start": { + "line": 209, + "column": 4 + }, + "end": { + "line": 211, + "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": 8908, + "end": 8912, + "loc": { + "start": { + "line": 212, + "column": 4 + }, + "end": { + "line": 212, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8912, + "end": 8913, + "loc": { + "start": { + "line": 212, + "column": 8 + }, + "end": { + "line": 212, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isMouseHold", + "start": 8913, + "end": 8924, + "loc": { + "start": { + "line": 212, + "column": 9 + }, + "end": { + "line": 212, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8925, + "end": 8926, + "loc": { + "start": { + "line": 212, + "column": 21 + }, + "end": { + "line": 212, + "column": 22 + } + } + }, + { + "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": 8927, + "end": 8931, + "loc": { + "start": { + "line": 212, + "column": 23 + }, + "end": { + "line": 212, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8931, + "end": 8932, + "loc": { + "start": { + "line": 212, + "column": 27 + }, + "end": { + "line": 212, + "column": 28 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", + "start": 8940, + "end": 9017, + "loc": { + "start": { + "line": 214, + "column": 4 + }, + "end": { + "line": 216, + "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": 9023, + "end": 9027, + "loc": { + "start": { + "line": 217, + "column": 4 + }, + "end": { + "line": 217, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9027, + "end": 9028, + "loc": { + "start": { + "line": 217, + "column": 8 + }, + "end": { + "line": 217, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "holdTimeout", + "start": 9028, + "end": 9039, + "loc": { + "start": { + "line": 217, + "column": 9 + }, + "end": { + "line": 217, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 9040, + "end": 9041, + "loc": { + "start": { + "line": 217, + "column": 21 + }, + "end": { + "line": 217, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setTimeout", + "start": 9042, + "end": 9052, + "loc": { + "start": { + "line": 217, + "column": 23 + }, + "end": { + "line": 217, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9052, + "end": 9053, + "loc": { + "start": { + "line": 217, + "column": 33 + }, + "end": { + "line": 217, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9053, + "end": 9054, + "loc": { + "start": { + "line": 217, + "column": 34 + }, + "end": { + "line": 217, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9054, + "end": 9055, + "loc": { + "start": { + "line": 217, + "column": 35 + }, + "end": { + "line": 217, + "column": 36 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9056, + "end": 9058, + "loc": { + "start": { + "line": 217, + "column": 37 + }, + "end": { + "line": 217, + "column": 39 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9059, + "end": 9060, + "loc": { + "start": { + "line": 217, + "column": 40 + }, + "end": { + "line": 217, + "column": 41 + } + } + }, + { + "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": 9068, + "end": 9070, + "loc": { + "start": { + "line": 218, + "column": 6 + }, + "end": { + "line": 218, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9070, + "end": 9071, + "loc": { + "start": { + "line": 218, + "column": 8 + }, + "end": { + "line": 218, + "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": 9081, + "end": 9085, + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 219, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9085, + "end": 9086, + "loc": { + "start": { + "line": 219, + "column": 12 + }, + "end": { + "line": 219, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isMouseHold", + "start": 9086, + "end": 9097, + "loc": { + "start": { + "line": 219, + "column": 13 + }, + "end": { + "line": 219, + "column": 24 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 9099, + "end": 9101, + "loc": { + "start": { + "line": 219, + "column": 26 + }, + "end": { + "line": 219, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9111, + "end": 9112, + "loc": { + "start": { + "line": 220, + "column": 8 + }, + "end": { + "line": 220, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9124, + "end": 9125, + "loc": { + "start": { + "line": 221, + "column": 10 + }, + "end": { + "line": 221, + "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": 9125, + "end": 9126, + "loc": { + "start": { + "line": 221, + "column": 11 + }, + "end": { + "line": 221, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 9126, + "end": 9132, + "loc": { + "start": { + "line": 221, + "column": 12 + }, + "end": { + "line": 221, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9132, + "end": 9133, + "loc": { + "start": { + "line": 221, + "column": 18 + }, + "end": { + "line": 221, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includes", + "start": 9133, + "end": 9141, + "loc": { + "start": { + "line": 221, + "column": 19 + }, + "end": { + "line": 221, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9141, + "end": 9142, + "loc": { + "start": { + "line": 221, + "column": 27 + }, + "end": { + "line": 221, + "column": 28 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{", + "start": 9142, + "end": 9145, + "loc": { + "start": { + "line": 221, + "column": 28 + }, + "end": { + "line": 221, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9145, + "end": 9146, + "loc": { + "start": { + "line": 221, + "column": 31 + }, + "end": { + "line": 221, + "column": 32 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 9147, + "end": 9149, + "loc": { + "start": { + "line": 221, + "column": 33 + }, + "end": { + "line": 221, + "column": 35 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 9150, + "end": 9151, + "loc": { + "start": { + "line": 221, + "column": 36 + }, + "end": { + "line": 221, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 9151, + "end": 9157, + "loc": { + "start": { + "line": 221, + "column": 37 + }, + "end": { + "line": 221, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9157, + "end": 9158, + "loc": { + "start": { + "line": 221, + "column": 43 + }, + "end": { + "line": 221, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includes", + "start": 9158, + "end": 9166, + "loc": { + "start": { + "line": 221, + "column": 44 + }, + "end": { + "line": 221, + "column": 52 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9166, + "end": 9167, + "loc": { + "start": { + "line": 221, + "column": 52 + }, + "end": { + "line": 221, + "column": 53 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "}", + "start": 9167, + "end": 9170, + "loc": { + "start": { + "line": 221, + "column": 53 + }, + "end": { + "line": 221, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9170, + "end": 9171, + "loc": { + "start": { + "line": 221, + "column": 56 + }, + "end": { + "line": 221, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9171, + "end": 9172, + "loc": { + "start": { + "line": 221, + "column": 57 + }, + "end": { + "line": 221, + "column": 58 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 9173, + "end": 9175, + "loc": { + "start": { + "line": 221, + "column": 59 + }, + "end": { + "line": 221, + "column": 61 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 9187, + "end": 9193, + "loc": { + "start": { + "line": 222, + "column": 10 + }, + "end": { + "line": 222, + "column": 16 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 9194, + "end": 9197, + "loc": { + "start": { + "line": 222, + "column": 17 + }, + "end": { + "line": 222, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{bksp}", + "start": 9198, + "end": 9206, + "loc": { + "start": { + "line": 222, + "column": 21 + }, + "end": { + "line": 222, + "column": 29 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 9207, + "end": 9209, + "loc": { + "start": { + "line": 222, + "column": 30 + }, + "end": { + "line": 222, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 9221, + "end": 9227, + "loc": { + "start": { + "line": 223, + "column": 10 + }, + "end": { + "line": 223, + "column": 16 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 9228, + "end": 9231, + "loc": { + "start": { + "line": 223, + "column": 17 + }, + "end": { + "line": 223, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{space}", + "start": 9232, + "end": 9241, + "loc": { + "start": { + "line": 223, + "column": 21 + }, + "end": { + "line": 223, + "column": 30 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 9242, + "end": 9244, + "loc": { + "start": { + "line": 223, + "column": 31 + }, + "end": { + "line": 223, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 9256, + "end": 9262, + "loc": { + "start": { + "line": 224, + "column": 10 + }, + "end": { + "line": 224, + "column": 16 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 9263, + "end": 9266, + "loc": { + "start": { + "line": 224, + "column": 17 + }, + "end": { + "line": 224, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{tab}", + "start": 9267, + "end": 9274, + "loc": { + "start": { + "line": 224, + "column": 21 + }, + "end": { + "line": 224, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9284, + "end": 9285, + "loc": { + "start": { + "line": 225, + "column": 8 + }, + "end": { + "line": 225, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9293, + "end": 9294, + "loc": { + "start": { + "line": 226, + "column": 6 + }, + "end": { + "line": 226, + "column": 7 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9294, + "end": 9295, + "loc": { + "start": { + "line": 226, + "column": 7 + }, + "end": { + "line": 226, + "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": 9305, + "end": 9307, + "loc": { + "start": { + "line": 227, + "column": 8 + }, + "end": { + "line": 227, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9307, + "end": 9308, + "loc": { + "start": { + "line": 227, + "column": 10 + }, + "end": { + "line": 227, + "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": 9308, + "end": 9312, + "loc": { + "start": { + "line": 227, + "column": 11 + }, + "end": { + "line": 227, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9312, + "end": 9313, + "loc": { + "start": { + "line": 227, + "column": 15 + }, + "end": { + "line": 227, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 9313, + "end": 9320, + "loc": { + "start": { + "line": 227, + "column": 16 + }, + "end": { + "line": 227, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9320, + "end": 9321, + "loc": { + "start": { + "line": 227, + "column": 23 + }, + "end": { + "line": 227, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "debug", + "start": 9321, + "end": 9326, + "loc": { + "start": { + "line": 227, + "column": 24 + }, + "end": { + "line": 227, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9326, + "end": 9327, + "loc": { + "start": { + "line": 227, + "column": 29 + }, + "end": { + "line": 227, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 9339, + "end": 9346, + "loc": { + "start": { + "line": 228, + "column": 10 + }, + "end": { + "line": 228, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9346, + "end": 9347, + "loc": { + "start": { + "line": 228, + "column": 17 + }, + "end": { + "line": 228, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 9347, + "end": 9350, + "loc": { + "start": { + "line": 228, + "column": 18 + }, + "end": { + "line": 228, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9350, + "end": 9351, + "loc": { + "start": { + "line": 228, + "column": 21 + }, + "end": { + "line": 228, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Button held:", + "start": 9351, + "end": 9365, + "loc": { + "start": { + "line": 228, + "column": 22 + }, + "end": { + "line": 228, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9365, + "end": 9366, + "loc": { + "start": { + "line": 228, + "column": 36 + }, + "end": { + "line": 228, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 9367, + "end": 9373, + "loc": { + "start": { + "line": 228, + "column": 38 + }, + "end": { + "line": 228, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9373, + "end": 9374, + "loc": { + "start": { + "line": 228, + "column": 44 + }, + "end": { + "line": 228, + "column": 45 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9374, + "end": 9375, + "loc": { + "start": { + "line": 228, + "column": 45 + }, + "end": { + "line": 228, + "column": 46 + } + } + }, + { + "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": 9387, + "end": 9391, + "loc": { + "start": { + "line": 230, + "column": 8 + }, + "end": { + "line": 230, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9391, + "end": 9392, + "loc": { + "start": { + "line": 230, + "column": 12 + }, + "end": { + "line": 230, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handleButtonHold", + "start": 9392, + "end": 9408, + "loc": { + "start": { + "line": 230, + "column": 13 + }, + "end": { + "line": 230, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9408, + "end": 9409, + "loc": { + "start": { + "line": 230, + "column": 29 + }, + "end": { + "line": 230, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 9409, + "end": 9415, + "loc": { + "start": { + "line": 230, + "column": 30 + }, + "end": { + "line": 230, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9415, + "end": 9416, + "loc": { + "start": { + "line": 230, + "column": 36 + }, + "end": { + "line": 230, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "e", + "start": 9417, + "end": 9418, + "loc": { + "start": { + "line": 230, + "column": 38 + }, + "end": { + "line": 230, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9418, + "end": 9419, + "loc": { + "start": { + "line": 230, + "column": 39 + }, + "end": { + "line": 230, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9419, + "end": 9420, + "loc": { + "start": { + "line": 230, + "column": 40 + }, + "end": { + "line": 230, + "column": 41 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9428, + "end": 9429, + "loc": { + "start": { + "line": 231, + "column": 6 + }, + "end": { + "line": 231, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clearTimeout", + "start": 9437, + "end": 9449, + "loc": { + "start": { + "line": 232, + "column": 6 + }, + "end": { + "line": 232, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9449, + "end": 9450, + "loc": { + "start": { + "line": 232, + "column": 18 + }, + "end": { + "line": 232, + "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": 9450, + "end": 9454, + "loc": { + "start": { + "line": 232, + "column": 19 + }, + "end": { + "line": 232, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9454, + "end": 9455, + "loc": { + "start": { + "line": 232, + "column": 23 + }, + "end": { + "line": 232, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "holdTimeout", + "start": 9455, + "end": 9466, + "loc": { + "start": { + "line": 232, + "column": 24 + }, + "end": { + "line": 232, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9466, + "end": 9467, + "loc": { + "start": { + "line": 232, + "column": 35 + }, + "end": { + "line": 232, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9467, + "end": 9468, + "loc": { + "start": { + "line": 232, + "column": 36 + }, + "end": { + "line": 232, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9474, + "end": 9475, + "loc": { + "start": { + "line": 233, + "column": 4 + }, + "end": { + "line": 233, + "column": 5 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9475, + "end": 9476, + "loc": { + "start": { + "line": 233, + "column": 5 + }, + "end": { + "line": 233, + "column": 6 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 500, + "start": 9477, + "end": 9480, + "loc": { + "start": { + "line": 233, + "column": 7 + }, + "end": { + "line": 233, + "column": 10 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9480, + "end": 9481, + "loc": { + "start": { + "line": 233, + "column": 10 + }, + "end": { + "line": 233, + "column": 11 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9481, + "end": 9482, + "loc": { + "start": { + "line": 233, + "column": 11 + }, + "end": { + "line": 233, + "column": 12 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9486, + "end": 9487, + "loc": { + "start": { + "line": 234, + "column": 2 + }, + "end": { + "line": 234, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Handles button mouseup\r\n ", + "start": 9493, + "end": 9532, + "loc": { + "start": { + "line": 236, + "column": 2 + }, + "end": { + "line": 238, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handleButtonMouseUp", + "start": 9536, + "end": 9555, + "loc": { + "start": { + "line": 239, + "column": 2 + }, + "end": { + "line": 239, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9555, + "end": 9556, + "loc": { + "start": { + "line": 239, + "column": 21 + }, + "end": { + "line": 239, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9556, + "end": 9557, + "loc": { + "start": { + "line": 239, + "column": 22 + }, + "end": { + "line": 239, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9557, + "end": 9558, + "loc": { + "start": { + "line": 239, + "column": 23 + }, + "end": { + "line": 239, + "column": 24 + } + } + }, + { + "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": 9564, + "end": 9568, + "loc": { + "start": { + "line": 240, + "column": 4 + }, + "end": { + "line": 240, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9568, + "end": 9569, + "loc": { + "start": { + "line": 240, + "column": 8 + }, + "end": { + "line": 240, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isMouseHold", + "start": 9569, + "end": 9580, + "loc": { + "start": { + "line": 240, + "column": 9 + }, + "end": { + "line": 240, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 9581, + "end": 9582, + "loc": { + "start": { + "line": 240, + "column": 21 + }, + "end": { + "line": 240, + "column": 22 + } + } + }, + { + "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": 9583, + "end": 9588, + "loc": { + "start": { + "line": 240, + "column": 23 + }, + "end": { + "line": 240, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9588, + "end": 9589, + "loc": { + "start": { + "line": 240, + "column": 28 + }, + "end": { + "line": 240, + "column": 29 + } + } + }, + { + "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": 9595, + "end": 9597, + "loc": { + "start": { + "line": 241, + "column": 4 + }, + "end": { + "line": 241, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9597, + "end": 9598, + "loc": { + "start": { + "line": 241, + "column": 6 + }, + "end": { + "line": 241, + "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": 9598, + "end": 9602, + "loc": { + "start": { + "line": 241, + "column": 7 + }, + "end": { + "line": 241, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9602, + "end": 9603, + "loc": { + "start": { + "line": 241, + "column": 11 + }, + "end": { + "line": 241, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "holdInteractionTimeout", + "start": 9603, + "end": 9625, + "loc": { + "start": { + "line": 241, + "column": 12 + }, + "end": { + "line": 241, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9625, + "end": 9626, + "loc": { + "start": { + "line": 241, + "column": 34 + }, + "end": { + "line": 241, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clearTimeout", + "start": 9634, + "end": 9646, + "loc": { + "start": { + "line": 242, + "column": 6 + }, + "end": { + "line": 242, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9646, + "end": 9647, + "loc": { + "start": { + "line": 242, + "column": 18 + }, + "end": { + "line": 242, + "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": 9647, + "end": 9651, + "loc": { + "start": { + "line": 242, + "column": 19 + }, + "end": { + "line": 242, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9651, + "end": 9652, + "loc": { + "start": { + "line": 242, + "column": 23 + }, + "end": { + "line": 242, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "holdInteractionTimeout", + "start": 9652, + "end": 9674, + "loc": { + "start": { + "line": 242, + "column": 24 + }, + "end": { + "line": 242, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9674, + "end": 9675, + "loc": { + "start": { + "line": 242, + "column": 46 + }, + "end": { + "line": 242, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9675, + "end": 9676, + "loc": { + "start": { + "line": 242, + "column": 47 + }, + "end": { + "line": 242, + "column": 48 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9680, + "end": 9681, + "loc": { + "start": { + "line": 243, + "column": 2 + }, + "end": { + "line": 243, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Handles button hold\r\n ", + "start": 9687, + "end": 9723, + "loc": { + "start": { + "line": 245, + "column": 2 + }, + "end": { + "line": 247, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": " istanbul ignore next ", + "start": 9727, + "end": 9753, + "loc": { + "start": { + "line": 248, + "column": 2 + }, + "end": { + "line": 248, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handleButtonHold", + "start": 9757, + "end": 9773, + "loc": { + "start": { + "line": 249, + "column": 2 + }, + "end": { + "line": 249, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9773, + "end": 9774, + "loc": { + "start": { + "line": 249, + "column": 18 + }, + "end": { + "line": 249, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 9774, + "end": 9780, + "loc": { + "start": { + "line": 249, + "column": 19 + }, + "end": { + "line": 249, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9780, + "end": 9781, + "loc": { + "start": { + "line": 249, + "column": 25 + }, + "end": { + "line": 249, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9781, + "end": 9782, + "loc": { + "start": { + "line": 249, + "column": 26 + }, + "end": { + "line": 249, + "column": 27 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", + "start": 9788, + "end": 9874, + "loc": { + "start": { + "line": 250, + "column": 4 + }, + "end": { + "line": 252, + "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": 9880, + "end": 9884, + "loc": { + "start": { + "line": 253, + "column": 4 + }, + "end": { + "line": 253, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9884, + "end": 9885, + "loc": { + "start": { + "line": 253, + "column": 8 + }, + "end": { + "line": 253, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "holdInteractionTimeout", + "start": 9885, + "end": 9907, + "loc": { + "start": { + "line": 253, + "column": 9 + }, + "end": { + "line": 253, + "column": 31 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 9908, + "end": 9909, + "loc": { + "start": { + "line": 253, + "column": 32 + }, + "end": { + "line": 253, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setTimeout", + "start": 9910, + "end": 9920, + "loc": { + "start": { + "line": 253, + "column": 34 + }, + "end": { + "line": 253, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9920, + "end": 9921, + "loc": { + "start": { + "line": 253, + "column": 44 + }, + "end": { + "line": 253, + "column": 45 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9921, + "end": 9922, + "loc": { + "start": { + "line": 253, + "column": 45 + }, + "end": { + "line": 253, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9922, + "end": 9923, + "loc": { + "start": { + "line": 253, + "column": 46 + }, + "end": { + "line": 253, + "column": 47 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9924, + "end": 9926, + "loc": { + "start": { + "line": 253, + "column": 48 + }, + "end": { + "line": 253, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9927, + "end": 9928, + "loc": { + "start": { + "line": 253, + "column": 51 + }, + "end": { + "line": 253, + "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": 9936, + "end": 9940, + "loc": { + "start": { + "line": 254, + "column": 6 + }, + "end": { + "line": 254, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9940, + "end": 9941, + "loc": { + "start": { + "line": 254, + "column": 10 + }, + "end": { + "line": 254, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handleButtonClicked", + "start": 9941, + "end": 9960, + "loc": { + "start": { + "line": 254, + "column": 11 + }, + "end": { + "line": 254, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9960, + "end": 9961, + "loc": { + "start": { + "line": 254, + "column": 30 + }, + "end": { + "line": 254, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 9961, + "end": 9967, + "loc": { + "start": { + "line": 254, + "column": 31 + }, + "end": { + "line": 254, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9967, + "end": 9968, + "loc": { + "start": { + "line": 254, + "column": 37 + }, + "end": { + "line": 254, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9968, + "end": 9969, + "loc": { + "start": { + "line": 254, + "column": 38 + }, + "end": { + "line": 254, + "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": 9977, + "end": 9981, + "loc": { + "start": { + "line": 255, + "column": 6 + }, + "end": { + "line": 255, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9981, + "end": 9982, + "loc": { + "start": { + "line": 255, + "column": 10 + }, + "end": { + "line": 255, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handleButtonHold", + "start": 9982, + "end": 9998, + "loc": { + "start": { + "line": 255, + "column": 11 + }, + "end": { + "line": 255, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9998, + "end": 9999, + "loc": { + "start": { + "line": 255, + "column": 27 + }, + "end": { + "line": 255, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 9999, + "end": 10005, + "loc": { + "start": { + "line": 255, + "column": 28 + }, + "end": { + "line": 255, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10005, + "end": 10006, + "loc": { + "start": { + "line": 255, + "column": 34 + }, + "end": { + "line": 255, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10006, + "end": 10007, + "loc": { + "start": { + "line": 255, + "column": 35 + }, + "end": { + "line": 255, + "column": 36 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10013, + "end": 10014, + "loc": { + "start": { + "line": 256, + "column": 4 + }, + "end": { + "line": 256, + "column": 5 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10014, + "end": 10015, + "loc": { + "start": { + "line": 256, + "column": 5 + }, + "end": { + "line": 256, + "column": 6 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 100, + "start": 10016, + "end": 10019, + "loc": { + "start": { + "line": 256, + "column": 7 + }, + "end": { + "line": 256, + "column": 10 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10019, + "end": 10020, + "loc": { + "start": { + "line": 256, + "column": 10 + }, + "end": { + "line": 256, + "column": 11 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10020, + "end": 10021, + "loc": { + "start": { + "line": 256, + "column": 11 + }, + "end": { + "line": 256, + "column": 12 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10025, + "end": 10026, + "loc": { + "start": { + "line": 257, + "column": 2 + }, + "end": { + "line": 257, "column": 3 } } @@ -85923,15 +102331,15 @@ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", - "start": 8433, - "end": 8530, + "start": 10032, + "end": 10129, "loc": { "start": { - "line": 198, + "line": 259, "column": 2 }, "end": { - "line": 200, + "line": 261, "column": 5 } } @@ -85949,15 +102357,15 @@ "binop": null }, "value": "syncInstanceInputs", - "start": 8534, - "end": 8552, + "start": 10133, + "end": 10151, "loc": { "start": { - "line": 201, + "line": 262, "column": 2 }, "end": { - "line": 201, + "line": 262, "column": 20 } } @@ -85974,15 +102382,15 @@ "postfix": false, "binop": null }, - "start": 8552, - "end": 8553, + "start": 10151, + "end": 10152, "loc": { "start": { - "line": 201, + "line": 262, "column": 20 }, "end": { - "line": 201, + "line": 262, "column": 21 } } @@ -85999,15 +102407,15 @@ "postfix": false, "binop": null }, - "start": 8553, - "end": 8554, + "start": 10152, + "end": 10153, "loc": { "start": { - "line": 201, + "line": 262, "column": 21 }, "end": { - "line": 201, + "line": 262, "column": 22 } } @@ -86024,15 +102432,15 @@ "postfix": false, "binop": null }, - "start": 8554, - "end": 8555, + "start": 10153, + "end": 10154, "loc": { "start": { - "line": 201, + "line": 262, "column": 22 }, "end": { - "line": 201, + "line": 262, "column": 23 } } @@ -86052,15 +102460,15 @@ "updateContext": null }, "value": "this", - "start": 8561, - "end": 8565, + "start": 10160, + "end": 10164, "loc": { "start": { - "line": 202, + "line": 263, "column": 4 }, "end": { - "line": 202, + "line": 263, "column": 8 } } @@ -86078,15 +102486,15 @@ "binop": null, "updateContext": null }, - "start": 8565, - "end": 8566, + "start": 10164, + "end": 10165, "loc": { "start": { - "line": 202, + "line": 263, "column": 8 }, "end": { - "line": 202, + "line": 263, "column": 9 } } @@ -86104,15 +102512,15 @@ "binop": null }, "value": "dispatch", - "start": 8566, - "end": 8574, + "start": 10165, + "end": 10173, "loc": { "start": { - "line": 202, + "line": 263, "column": 9 }, "end": { - "line": 202, + "line": 263, "column": 17 } } @@ -86129,15 +102537,15 @@ "postfix": false, "binop": null }, - "start": 8574, - "end": 8575, + "start": 10173, + "end": 10174, "loc": { "start": { - "line": 202, + "line": 263, "column": 17 }, "end": { - "line": 202, + "line": 263, "column": 18 } } @@ -86154,15 +102562,15 @@ "postfix": false, "binop": null }, - "start": 8575, - "end": 8576, + "start": 10174, + "end": 10175, "loc": { "start": { - "line": 202, + "line": 263, "column": 18 }, "end": { - "line": 202, + "line": 263, "column": 19 } } @@ -86180,15 +102588,15 @@ "binop": null }, "value": "instance", - "start": 8576, - "end": 8584, + "start": 10175, + "end": 10183, "loc": { "start": { - "line": 202, + "line": 263, "column": 19 }, "end": { - "line": 202, + "line": 263, "column": 27 } } @@ -86205,15 +102613,15 @@ "postfix": false, "binop": null }, - "start": 8584, - "end": 8585, + "start": 10183, + "end": 10184, "loc": { "start": { - "line": 202, + "line": 263, "column": 27 }, "end": { - "line": 202, + "line": 263, "column": 28 } } @@ -86231,15 +102639,15 @@ "binop": null, "updateContext": null }, - "start": 8586, - "end": 8588, + "start": 10185, + "end": 10187, "loc": { "start": { - "line": 202, + "line": 263, "column": 29 }, "end": { - "line": 202, + "line": 263, "column": 31 } } @@ -86256,15 +102664,15 @@ "postfix": false, "binop": null }, - "start": 8589, - "end": 8590, + "start": 10188, + "end": 10189, "loc": { "start": { - "line": 202, + "line": 263, "column": 32 }, "end": { - "line": 202, + "line": 263, "column": 33 } } @@ -86282,15 +102690,15 @@ "binop": null }, "value": "instance", - "start": 8598, - "end": 8606, + "start": 10197, + "end": 10205, "loc": { "start": { - "line": 203, + "line": 264, "column": 6 }, "end": { - "line": 203, + "line": 264, "column": 14 } } @@ -86308,15 +102716,15 @@ "binop": null, "updateContext": null }, - "start": 8606, - "end": 8607, + "start": 10205, + "end": 10206, "loc": { "start": { - "line": 203, + "line": 264, "column": 14 }, "end": { - "line": 203, + "line": 264, "column": 15 } } @@ -86334,15 +102742,15 @@ "binop": null }, "value": "replaceInput", - "start": 8607, - "end": 8619, + "start": 10206, + "end": 10218, "loc": { "start": { - "line": 203, + "line": 264, "column": 15 }, "end": { - "line": 203, + "line": 264, "column": 27 } } @@ -86359,15 +102767,15 @@ "postfix": false, "binop": null }, - "start": 8619, - "end": 8620, + "start": 10218, + "end": 10219, "loc": { "start": { - "line": 203, + "line": 264, "column": 27 }, "end": { - "line": 203, + "line": 264, "column": 28 } } @@ -86387,15 +102795,15 @@ "updateContext": null }, "value": "this", - "start": 8620, - "end": 8624, + "start": 10219, + "end": 10223, "loc": { "start": { - "line": 203, + "line": 264, "column": 28 }, "end": { - "line": 203, + "line": 264, "column": 32 } } @@ -86413,15 +102821,15 @@ "binop": null, "updateContext": null }, - "start": 8624, - "end": 8625, + "start": 10223, + "end": 10224, "loc": { "start": { - "line": 203, + "line": 264, "column": 32 }, "end": { - "line": 203, + "line": 264, "column": 33 } } @@ -86439,15 +102847,15 @@ "binop": null }, "value": "input", - "start": 8625, - "end": 8630, + "start": 10224, + "end": 10229, "loc": { "start": { - "line": 203, + "line": 264, "column": 33 }, "end": { - "line": 203, + "line": 264, "column": 38 } } @@ -86464,15 +102872,15 @@ "postfix": false, "binop": null }, - "start": 8630, - "end": 8631, + "start": 10229, + "end": 10230, "loc": { "start": { - "line": 203, + "line": 264, "column": 38 }, "end": { - "line": 203, + "line": 264, "column": 39 } } @@ -86490,15 +102898,15 @@ "binop": null, "updateContext": null }, - "start": 8631, - "end": 8632, + "start": 10230, + "end": 10231, "loc": { "start": { - "line": 203, + "line": 264, "column": 39 }, "end": { - "line": 203, + "line": 264, "column": 40 } } @@ -86515,15 +102923,15 @@ "postfix": false, "binop": null }, - "start": 8638, - "end": 8639, + "start": 10237, + "end": 10238, "loc": { "start": { - "line": 204, + "line": 265, "column": 4 }, "end": { - "line": 204, + "line": 265, "column": 5 } } @@ -86540,15 +102948,15 @@ "postfix": false, "binop": null }, - "start": 8639, - "end": 8640, + "start": 10238, + "end": 10239, "loc": { "start": { - "line": 204, + "line": 265, "column": 5 }, "end": { - "line": 204, + "line": 265, "column": 6 } } @@ -86566,15 +102974,15 @@ "binop": null, "updateContext": null }, - "start": 8640, - "end": 8641, + "start": 10239, + "end": 10240, "loc": { "start": { - "line": 204, + "line": 265, "column": 6 }, "end": { - "line": 204, + "line": 265, "column": 7 } } @@ -86591,15 +102999,15 @@ "postfix": false, "binop": null }, - "start": 8645, - "end": 8646, + "start": 10244, + "end": 10245, "loc": { "start": { - "line": 205, + "line": 266, "column": 2 }, "end": { - "line": 205, + "line": 266, "column": 3 } } @@ -86607,15 +103015,15 @@ { "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, + "start": 10253, + "end": 10371, "loc": { "start": { - "line": 207, + "line": 268, "column": 2 }, "end": { - "line": 210, + "line": 271, "column": 5 } } @@ -86633,15 +103041,15 @@ "binop": null }, "value": "clearInput", - "start": 8776, - "end": 8786, + "start": 10375, + "end": 10385, "loc": { "start": { - "line": 211, + "line": 272, "column": 2 }, "end": { - "line": 211, + "line": 272, "column": 12 } } @@ -86658,15 +103066,15 @@ "postfix": false, "binop": null }, - "start": 8786, - "end": 8787, + "start": 10385, + "end": 10386, "loc": { "start": { - "line": 211, + "line": 272, "column": 12 }, "end": { - "line": 211, + "line": 272, "column": 13 } } @@ -86684,15 +103092,15 @@ "binop": null }, "value": "inputName", - "start": 8787, - "end": 8796, + "start": 10386, + "end": 10395, "loc": { "start": { - "line": 211, + "line": 272, "column": 13 }, "end": { - "line": 211, + "line": 272, "column": 22 } } @@ -86709,15 +103117,15 @@ "postfix": false, "binop": null }, - "start": 8796, - "end": 8797, + "start": 10395, + "end": 10396, "loc": { "start": { - "line": 211, + "line": 272, "column": 22 }, "end": { - "line": 211, + "line": 272, "column": 23 } } @@ -86734,15 +103142,15 @@ "postfix": false, "binop": null }, - "start": 8797, - "end": 8798, + "start": 10396, + "end": 10397, "loc": { "start": { - "line": 211, + "line": 272, "column": 23 }, "end": { - "line": 211, + "line": 272, "column": 24 } } @@ -86760,15 +103168,15 @@ "binop": null }, "value": "inputName", - "start": 8804, - "end": 8813, + "start": 10403, + "end": 10412, "loc": { "start": { - "line": 212, + "line": 273, "column": 4 }, "end": { - "line": 212, + "line": 273, "column": 13 } } @@ -86787,15 +103195,15 @@ "updateContext": null }, "value": "=", - "start": 8814, - "end": 8815, + "start": 10413, + "end": 10414, "loc": { "start": { - "line": 212, + "line": 273, "column": 14 }, "end": { - "line": 212, + "line": 273, "column": 15 } } @@ -86813,15 +103221,15 @@ "binop": null }, "value": "inputName", - "start": 8816, - "end": 8825, + "start": 10415, + "end": 10424, "loc": { "start": { - "line": 212, + "line": 273, "column": 16 }, "end": { - "line": 212, + "line": 273, "column": 25 } } @@ -86840,15 +103248,15 @@ "updateContext": null }, "value": "||", - "start": 8826, - "end": 8828, + "start": 10425, + "end": 10427, "loc": { "start": { - "line": 212, + "line": 273, "column": 26 }, "end": { - "line": 212, + "line": 273, "column": 28 } } @@ -86868,15 +103276,15 @@ "updateContext": null }, "value": "this", - "start": 8829, - "end": 8833, + "start": 10428, + "end": 10432, "loc": { "start": { - "line": 212, + "line": 273, "column": 29 }, "end": { - "line": 212, + "line": 273, "column": 33 } } @@ -86894,15 +103302,15 @@ "binop": null, "updateContext": null }, - "start": 8833, - "end": 8834, + "start": 10432, + "end": 10433, "loc": { "start": { - "line": 212, + "line": 273, "column": 33 }, "end": { - "line": 212, + "line": 273, "column": 34 } } @@ -86920,15 +103328,15 @@ "binop": null }, "value": "options", - "start": 8834, - "end": 8841, + "start": 10433, + "end": 10440, "loc": { "start": { - "line": 212, + "line": 273, "column": 34 }, "end": { - "line": 212, + "line": 273, "column": 41 } } @@ -86946,15 +103354,15 @@ "binop": null, "updateContext": null }, - "start": 8841, - "end": 8842, + "start": 10440, + "end": 10441, "loc": { "start": { - "line": 212, + "line": 273, "column": 41 }, "end": { - "line": 212, + "line": 273, "column": 42 } } @@ -86972,15 +103380,15 @@ "binop": null }, "value": "inputName", - "start": 8842, - "end": 8851, + "start": 10441, + "end": 10450, "loc": { "start": { - "line": 212, + "line": 273, "column": 42 }, "end": { - "line": 212, + "line": 273, "column": 51 } } @@ -86998,15 +103406,15 @@ "binop": null, "updateContext": null }, - "start": 8851, - "end": 8852, + "start": 10450, + "end": 10451, "loc": { "start": { - "line": 212, + "line": 273, "column": 51 }, "end": { - "line": 212, + "line": 273, "column": 52 } } @@ -87026,15 +103434,15 @@ "updateContext": null }, "value": "this", - "start": 8858, - "end": 8862, + "start": 10457, + "end": 10461, "loc": { "start": { - "line": 213, + "line": 274, "column": 4 }, "end": { - "line": 213, + "line": 274, "column": 8 } } @@ -87052,15 +103460,15 @@ "binop": null, "updateContext": null }, - "start": 8862, - "end": 8863, + "start": 10461, + "end": 10462, "loc": { "start": { - "line": 213, + "line": 274, "column": 8 }, "end": { - "line": 213, + "line": 274, "column": 9 } } @@ -87078,15 +103486,15 @@ "binop": null }, "value": "input", - "start": 8863, - "end": 8868, + "start": 10462, + "end": 10467, "loc": { "start": { - "line": 213, + "line": 274, "column": 9 }, "end": { - "line": 213, + "line": 274, "column": 14 } } @@ -87104,15 +103512,15 @@ "binop": null, "updateContext": null }, - "start": 8868, - "end": 8869, + "start": 10467, + "end": 10468, "loc": { "start": { - "line": 213, + "line": 274, "column": 14 }, "end": { - "line": 213, + "line": 274, "column": 15 } } @@ -87132,15 +103540,15 @@ "updateContext": null }, "value": "this", - "start": 8869, - "end": 8873, + "start": 10468, + "end": 10472, "loc": { "start": { - "line": 213, + "line": 274, "column": 15 }, "end": { - "line": 213, + "line": 274, "column": 19 } } @@ -87158,15 +103566,15 @@ "binop": null, "updateContext": null }, - "start": 8873, - "end": 8874, + "start": 10472, + "end": 10473, "loc": { "start": { - "line": 213, + "line": 274, "column": 19 }, "end": { - "line": 213, + "line": 274, "column": 20 } } @@ -87184,15 +103592,15 @@ "binop": null }, "value": "options", - "start": 8874, - "end": 8881, + "start": 10473, + "end": 10480, "loc": { "start": { - "line": 213, + "line": 274, "column": 20 }, "end": { - "line": 213, + "line": 274, "column": 27 } } @@ -87210,15 +103618,15 @@ "binop": null, "updateContext": null }, - "start": 8881, - "end": 8882, + "start": 10480, + "end": 10481, "loc": { "start": { - "line": 213, + "line": 274, "column": 27 }, "end": { - "line": 213, + "line": 274, "column": 28 } } @@ -87236,15 +103644,15 @@ "binop": null }, "value": "inputName", - "start": 8882, - "end": 8891, + "start": 10481, + "end": 10490, "loc": { "start": { - "line": 213, + "line": 274, "column": 28 }, "end": { - "line": 213, + "line": 274, "column": 37 } } @@ -87262,15 +103670,15 @@ "binop": null, "updateContext": null }, - "start": 8891, - "end": 8892, + "start": 10490, + "end": 10491, "loc": { "start": { - "line": 213, + "line": 274, "column": 37 }, "end": { - "line": 213, + "line": 274, "column": 38 } } @@ -87289,15 +103697,15 @@ "updateContext": null }, "value": "=", - "start": 8893, - "end": 8894, + "start": 10492, + "end": 10493, "loc": { "start": { - "line": 213, + "line": 274, "column": 39 }, "end": { - "line": 213, + "line": 274, "column": 40 } } @@ -87316,15 +103724,15 @@ "updateContext": null }, "value": "", - "start": 8895, - "end": 8897, + "start": 10494, + "end": 10496, "loc": { "start": { - "line": 213, + "line": 274, "column": 41 }, "end": { - "line": 213, + "line": 274, "column": 43 } } @@ -87342,15 +103750,15 @@ "binop": null, "updateContext": null }, - "start": 8897, - "end": 8898, + "start": 10496, + "end": 10497, "loc": { "start": { - "line": 213, + "line": 274, "column": 43 }, "end": { - "line": 213, + "line": 274, "column": 44 } } @@ -87358,15 +103766,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8906, - "end": 8961, + "start": 10505, + "end": 10560, "loc": { "start": { - "line": 215, + "line": 276, "column": 4 }, "end": { - "line": 217, + "line": 278, "column": 7 } } @@ -87386,15 +103794,15 @@ "updateContext": null }, "value": "if", - "start": 8967, - "end": 8969, + "start": 10566, + "end": 10568, "loc": { "start": { - "line": 218, + "line": 279, "column": 4 }, "end": { - "line": 218, + "line": 279, "column": 6 } } @@ -87411,15 +103819,15 @@ "postfix": false, "binop": null }, - "start": 8969, - "end": 8970, + "start": 10568, + "end": 10569, "loc": { "start": { - "line": 218, + "line": 279, "column": 6 }, "end": { - "line": 218, + "line": 279, "column": 7 } } @@ -87439,15 +103847,15 @@ "updateContext": null }, "value": "this", - "start": 8970, - "end": 8974, + "start": 10569, + "end": 10573, "loc": { "start": { - "line": 218, + "line": 279, "column": 7 }, "end": { - "line": 218, + "line": 279, "column": 11 } } @@ -87465,15 +103873,15 @@ "binop": null, "updateContext": null }, - "start": 8974, - "end": 8975, + "start": 10573, + "end": 10574, "loc": { "start": { - "line": 218, + "line": 279, "column": 11 }, "end": { - "line": 218, + "line": 279, "column": 12 } } @@ -87491,15 +103899,15 @@ "binop": null }, "value": "options", - "start": 8975, - "end": 8982, + "start": 10574, + "end": 10581, "loc": { "start": { - "line": 218, + "line": 279, "column": 12 }, "end": { - "line": 218, + "line": 279, "column": 19 } } @@ -87517,15 +103925,15 @@ "binop": null, "updateContext": null }, - "start": 8982, - "end": 8983, + "start": 10581, + "end": 10582, "loc": { "start": { - "line": 218, + "line": 279, "column": 19 }, "end": { - "line": 218, + "line": 279, "column": 20 } } @@ -87543,15 +103951,15 @@ "binop": null }, "value": "syncInstanceInputs", - "start": 8983, - "end": 9001, + "start": 10582, + "end": 10600, "loc": { "start": { - "line": 218, + "line": 279, "column": 20 }, "end": { - "line": 218, + "line": 279, "column": 38 } } @@ -87568,15 +103976,15 @@ "postfix": false, "binop": null }, - "start": 9001, - "end": 9002, + "start": 10600, + "end": 10601, "loc": { "start": { - "line": 218, + "line": 279, "column": 38 }, "end": { - "line": 218, + "line": 279, "column": 39 } } @@ -87596,15 +104004,15 @@ "updateContext": null }, "value": "this", - "start": 9010, - "end": 9014, + "start": 10609, + "end": 10613, "loc": { "start": { - "line": 219, + "line": 280, "column": 6 }, "end": { - "line": 219, + "line": 280, "column": 10 } } @@ -87622,15 +104030,15 @@ "binop": null, "updateContext": null }, - "start": 9014, - "end": 9015, + "start": 10613, + "end": 10614, "loc": { "start": { - "line": 219, + "line": 280, "column": 10 }, "end": { - "line": 219, + "line": 280, "column": 11 } } @@ -87648,15 +104056,15 @@ "binop": null }, "value": "syncInstanceInputs", - "start": 9015, - "end": 9033, + "start": 10614, + "end": 10632, "loc": { "start": { - "line": 219, + "line": 280, "column": 11 }, "end": { - "line": 219, + "line": 280, "column": 29 } } @@ -87673,15 +104081,15 @@ "postfix": false, "binop": null }, - "start": 9033, - "end": 9034, + "start": 10632, + "end": 10633, "loc": { "start": { - "line": 219, + "line": 280, "column": 29 }, "end": { - "line": 219, + "line": 280, "column": 30 } } @@ -87701,15 +104109,15 @@ "updateContext": null }, "value": "this", - "start": 9034, - "end": 9038, + "start": 10633, + "end": 10637, "loc": { "start": { - "line": 219, + "line": 280, "column": 30 }, "end": { - "line": 219, + "line": 280, "column": 34 } } @@ -87727,15 +104135,15 @@ "binop": null, "updateContext": null }, - "start": 9038, - "end": 9039, + "start": 10637, + "end": 10638, "loc": { "start": { - "line": 219, + "line": 280, "column": 34 }, "end": { - "line": 219, + "line": 280, "column": 35 } } @@ -87753,15 +104161,15 @@ "binop": null }, "value": "input", - "start": 9039, - "end": 9044, + "start": 10638, + "end": 10643, "loc": { "start": { - "line": 219, + "line": 280, "column": 35 }, "end": { - "line": 219, + "line": 280, "column": 40 } } @@ -87778,15 +104186,15 @@ "postfix": false, "binop": null }, - "start": 9044, - "end": 9045, + "start": 10643, + "end": 10644, "loc": { "start": { - "line": 219, + "line": 280, "column": 40 }, "end": { - "line": 219, + "line": 280, "column": 41 } } @@ -87804,15 +104212,15 @@ "binop": null, "updateContext": null }, - "start": 9045, - "end": 9046, + "start": 10644, + "end": 10645, "loc": { "start": { - "line": 219, + "line": 280, "column": 41 }, "end": { - "line": 219, + "line": 280, "column": 42 } } @@ -87829,15 +104237,15 @@ "postfix": false, "binop": null }, - "start": 9050, - "end": 9051, + "start": 10649, + "end": 10650, "loc": { "start": { - "line": 220, + "line": 281, "column": 2 }, "end": { - "line": 220, + "line": 281, "column": 3 } } @@ -87845,15 +104253,15 @@ { "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, + "start": 10656, + "end": 10818, "loc": { "start": { - "line": 222, + "line": 283, "column": 2 }, "end": { - "line": 225, + "line": 286, "column": 5 } } @@ -87871,15 +104279,15 @@ "binop": null }, "value": "getInput", - "start": 9223, - "end": 9231, + "start": 10822, + "end": 10830, "loc": { "start": { - "line": 226, + "line": 287, "column": 2 }, "end": { - "line": 226, + "line": 287, "column": 10 } } @@ -87896,15 +104304,15 @@ "postfix": false, "binop": null }, - "start": 9231, - "end": 9232, + "start": 10830, + "end": 10831, "loc": { "start": { - "line": 226, + "line": 287, "column": 10 }, "end": { - "line": 226, + "line": 287, "column": 11 } } @@ -87922,15 +104330,15 @@ "binop": null }, "value": "inputName", - "start": 9232, - "end": 9241, + "start": 10831, + "end": 10840, "loc": { "start": { - "line": 226, + "line": 287, "column": 11 }, "end": { - "line": 226, + "line": 287, "column": 20 } } @@ -87947,15 +104355,15 @@ "postfix": false, "binop": null }, - "start": 9241, - "end": 9242, + "start": 10840, + "end": 10841, "loc": { "start": { - "line": 226, + "line": 287, "column": 20 }, "end": { - "line": 226, + "line": 287, "column": 21 } } @@ -87972,15 +104380,15 @@ "postfix": false, "binop": null }, - "start": 9242, - "end": 9243, + "start": 10841, + "end": 10842, "loc": { "start": { - "line": 226, + "line": 287, "column": 21 }, "end": { - "line": 226, + "line": 287, "column": 22 } } @@ -87998,15 +104406,15 @@ "binop": null }, "value": "inputName", - "start": 9249, - "end": 9258, + "start": 10848, + "end": 10857, "loc": { "start": { - "line": 227, + "line": 288, "column": 4 }, "end": { - "line": 227, + "line": 288, "column": 13 } } @@ -88025,15 +104433,15 @@ "updateContext": null }, "value": "=", - "start": 9259, - "end": 9260, + "start": 10858, + "end": 10859, "loc": { "start": { - "line": 227, + "line": 288, "column": 14 }, "end": { - "line": 227, + "line": 288, "column": 15 } } @@ -88051,15 +104459,15 @@ "binop": null }, "value": "inputName", - "start": 9261, - "end": 9270, + "start": 10860, + "end": 10869, "loc": { "start": { - "line": 227, + "line": 288, "column": 16 }, "end": { - "line": 227, + "line": 288, "column": 25 } } @@ -88078,15 +104486,15 @@ "updateContext": null }, "value": "||", - "start": 9271, - "end": 9273, + "start": 10870, + "end": 10872, "loc": { "start": { - "line": 227, + "line": 288, "column": 26 }, "end": { - "line": 227, + "line": 288, "column": 28 } } @@ -88106,15 +104514,15 @@ "updateContext": null }, "value": "this", - "start": 9274, - "end": 9278, + "start": 10873, + "end": 10877, "loc": { "start": { - "line": 227, + "line": 288, "column": 29 }, "end": { - "line": 227, + "line": 288, "column": 33 } } @@ -88132,15 +104540,15 @@ "binop": null, "updateContext": null }, - "start": 9278, - "end": 9279, + "start": 10877, + "end": 10878, "loc": { "start": { - "line": 227, + "line": 288, "column": 33 }, "end": { - "line": 227, + "line": 288, "column": 34 } } @@ -88158,15 +104566,15 @@ "binop": null }, "value": "options", - "start": 9279, - "end": 9286, + "start": 10878, + "end": 10885, "loc": { "start": { - "line": 227, + "line": 288, "column": 34 }, "end": { - "line": 227, + "line": 288, "column": 41 } } @@ -88184,15 +104592,15 @@ "binop": null, "updateContext": null }, - "start": 9286, - "end": 9287, + "start": 10885, + "end": 10886, "loc": { "start": { - "line": 227, + "line": 288, "column": 41 }, "end": { - "line": 227, + "line": 288, "column": 42 } } @@ -88210,15 +104618,15 @@ "binop": null }, "value": "inputName", - "start": 9287, - "end": 9296, + "start": 10886, + "end": 10895, "loc": { "start": { - "line": 227, + "line": 288, "column": 42 }, "end": { - "line": 227, + "line": 288, "column": 51 } } @@ -88236,15 +104644,15 @@ "binop": null, "updateContext": null }, - "start": 9296, - "end": 9297, + "start": 10895, + "end": 10896, "loc": { "start": { - "line": 227, + "line": 288, "column": 51 }, "end": { - "line": 227, + "line": 288, "column": 52 } } @@ -88252,15 +104660,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 9305, - "end": 9360, + "start": 10904, + "end": 10959, "loc": { "start": { - "line": 229, + "line": 290, "column": 4 }, "end": { - "line": 231, + "line": 292, "column": 7 } } @@ -88280,15 +104688,15 @@ "updateContext": null }, "value": "if", - "start": 9366, - "end": 9368, + "start": 10965, + "end": 10967, "loc": { "start": { - "line": 232, + "line": 293, "column": 4 }, "end": { - "line": 232, + "line": 293, "column": 6 } } @@ -88305,15 +104713,15 @@ "postfix": false, "binop": null }, - "start": 9368, - "end": 9369, + "start": 10967, + "end": 10968, "loc": { "start": { - "line": 232, + "line": 293, "column": 6 }, "end": { - "line": 232, + "line": 293, "column": 7 } } @@ -88333,15 +104741,15 @@ "updateContext": null }, "value": "this", - "start": 9369, - "end": 9373, + "start": 10968, + "end": 10972, "loc": { "start": { - "line": 232, + "line": 293, "column": 7 }, "end": { - "line": 232, + "line": 293, "column": 11 } } @@ -88359,15 +104767,15 @@ "binop": null, "updateContext": null }, - "start": 9373, - "end": 9374, + "start": 10972, + "end": 10973, "loc": { "start": { - "line": 232, + "line": 293, "column": 11 }, "end": { - "line": 232, + "line": 293, "column": 12 } } @@ -88385,15 +104793,15 @@ "binop": null }, "value": "options", - "start": 9374, - "end": 9381, + "start": 10973, + "end": 10980, "loc": { "start": { - "line": 232, + "line": 293, "column": 12 }, "end": { - "line": 232, + "line": 293, "column": 19 } } @@ -88411,15 +104819,15 @@ "binop": null, "updateContext": null }, - "start": 9381, - "end": 9382, + "start": 10980, + "end": 10981, "loc": { "start": { - "line": 232, + "line": 293, "column": 19 }, "end": { - "line": 232, + "line": 293, "column": 20 } } @@ -88437,15 +104845,15 @@ "binop": null }, "value": "syncInstanceInputs", - "start": 9382, - "end": 9400, + "start": 10981, + "end": 10999, "loc": { "start": { - "line": 232, + "line": 293, "column": 20 }, "end": { - "line": 232, + "line": 293, "column": 38 } } @@ -88462,15 +104870,15 @@ "postfix": false, "binop": null }, - "start": 9400, - "end": 9401, + "start": 10999, + "end": 11000, "loc": { "start": { - "line": 232, + "line": 293, "column": 38 }, "end": { - "line": 232, + "line": 293, "column": 39 } } @@ -88490,15 +104898,15 @@ "updateContext": null }, "value": "this", - "start": 9409, - "end": 9413, + "start": 11008, + "end": 11012, "loc": { "start": { - "line": 233, + "line": 294, "column": 6 }, "end": { - "line": 233, + "line": 294, "column": 10 } } @@ -88516,15 +104924,15 @@ "binop": null, "updateContext": null }, - "start": 9413, - "end": 9414, + "start": 11012, + "end": 11013, "loc": { "start": { - "line": 233, + "line": 294, "column": 10 }, "end": { - "line": 233, + "line": 294, "column": 11 } } @@ -88542,15 +104950,15 @@ "binop": null }, "value": "syncInstanceInputs", - "start": 9414, - "end": 9432, + "start": 11013, + "end": 11031, "loc": { "start": { - "line": 233, + "line": 294, "column": 11 }, "end": { - "line": 233, + "line": 294, "column": 29 } } @@ -88567,15 +104975,15 @@ "postfix": false, "binop": null }, - "start": 9432, - "end": 9433, + "start": 11031, + "end": 11032, "loc": { "start": { - "line": 233, + "line": 294, "column": 29 }, "end": { - "line": 233, + "line": 294, "column": 30 } } @@ -88595,15 +105003,15 @@ "updateContext": null }, "value": "this", - "start": 9433, - "end": 9437, + "start": 11032, + "end": 11036, "loc": { "start": { - "line": 233, + "line": 294, "column": 30 }, "end": { - "line": 233, + "line": 294, "column": 34 } } @@ -88621,15 +105029,15 @@ "binop": null, "updateContext": null }, - "start": 9437, - "end": 9438, + "start": 11036, + "end": 11037, "loc": { "start": { - "line": 233, + "line": 294, "column": 34 }, "end": { - "line": 233, + "line": 294, "column": 35 } } @@ -88647,15 +105055,15 @@ "binop": null }, "value": "input", - "start": 9438, - "end": 9443, + "start": 11037, + "end": 11042, "loc": { "start": { - "line": 233, + "line": 294, "column": 35 }, "end": { - "line": 233, + "line": 294, "column": 40 } } @@ -88672,15 +105080,15 @@ "postfix": false, "binop": null }, - "start": 9443, - "end": 9444, + "start": 11042, + "end": 11043, "loc": { "start": { - "line": 233, + "line": 294, "column": 40 }, "end": { - "line": 233, + "line": 294, "column": 41 } } @@ -88698,15 +105106,15 @@ "binop": null, "updateContext": null }, - "start": 9444, - "end": 9445, + "start": 11043, + "end": 11044, "loc": { "start": { - "line": 233, + "line": 294, "column": 41 }, "end": { - "line": 233, + "line": 294, "column": 42 } } @@ -88726,15 +105134,15 @@ "updateContext": null }, "value": "return", - "start": 9453, - "end": 9459, + "start": 11052, + "end": 11058, "loc": { "start": { - "line": 235, + "line": 296, "column": 4 }, "end": { - "line": 235, + "line": 296, "column": 10 } } @@ -88754,15 +105162,15 @@ "updateContext": null }, "value": "this", - "start": 9460, - "end": 9464, + "start": 11059, + "end": 11063, "loc": { "start": { - "line": 235, + "line": 296, "column": 11 }, "end": { - "line": 235, + "line": 296, "column": 15 } } @@ -88780,15 +105188,15 @@ "binop": null, "updateContext": null }, - "start": 9464, - "end": 9465, + "start": 11063, + "end": 11064, "loc": { "start": { - "line": 235, + "line": 296, "column": 15 }, "end": { - "line": 235, + "line": 296, "column": 16 } } @@ -88806,15 +105214,15 @@ "binop": null }, "value": "input", - "start": 9465, - "end": 9470, + "start": 11064, + "end": 11069, "loc": { "start": { - "line": 235, + "line": 296, "column": 16 }, "end": { - "line": 235, + "line": 296, "column": 21 } } @@ -88832,15 +105240,15 @@ "binop": null, "updateContext": null }, - "start": 9470, - "end": 9471, + "start": 11069, + "end": 11070, "loc": { "start": { - "line": 235, + "line": 296, "column": 21 }, "end": { - "line": 235, + "line": 296, "column": 22 } } @@ -88860,15 +105268,15 @@ "updateContext": null }, "value": "this", - "start": 9471, - "end": 9475, + "start": 11070, + "end": 11074, "loc": { "start": { - "line": 235, + "line": 296, "column": 22 }, "end": { - "line": 235, + "line": 296, "column": 26 } } @@ -88886,15 +105294,15 @@ "binop": null, "updateContext": null }, - "start": 9475, - "end": 9476, + "start": 11074, + "end": 11075, "loc": { "start": { - "line": 235, + "line": 296, "column": 26 }, "end": { - "line": 235, + "line": 296, "column": 27 } } @@ -88912,15 +105320,15 @@ "binop": null }, "value": "options", - "start": 9476, - "end": 9483, + "start": 11075, + "end": 11082, "loc": { "start": { - "line": 235, + "line": 296, "column": 27 }, "end": { - "line": 235, + "line": 296, "column": 34 } } @@ -88938,15 +105346,15 @@ "binop": null, "updateContext": null }, - "start": 9483, - "end": 9484, + "start": 11082, + "end": 11083, "loc": { "start": { - "line": 235, + "line": 296, "column": 34 }, "end": { - "line": 235, + "line": 296, "column": 35 } } @@ -88964,15 +105372,15 @@ "binop": null }, "value": "inputName", - "start": 9484, - "end": 9493, + "start": 11083, + "end": 11092, "loc": { "start": { - "line": 235, + "line": 296, "column": 35 }, "end": { - "line": 235, + "line": 296, "column": 44 } } @@ -88990,15 +105398,15 @@ "binop": null, "updateContext": null }, - "start": 9493, - "end": 9494, + "start": 11092, + "end": 11093, "loc": { "start": { - "line": 235, + "line": 296, "column": 44 }, "end": { - "line": 235, + "line": 296, "column": 45 } } @@ -89016,15 +105424,15 @@ "binop": null, "updateContext": null }, - "start": 9494, - "end": 9495, + "start": 11093, + "end": 11094, "loc": { "start": { - "line": 235, + "line": 296, "column": 45 }, "end": { - "line": 235, + "line": 296, "column": 46 } } @@ -89041,15 +105449,15 @@ "postfix": false, "binop": null }, - "start": 9499, - "end": 9500, + "start": 11098, + "end": 11099, "loc": { "start": { - "line": 236, + "line": 297, "column": 2 }, "end": { - "line": 236, + "line": 297, "column": 3 } } @@ -89057,15 +105465,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": 9506, - "end": 9666, + "start": 11105, + "end": 11265, "loc": { "start": { - "line": 238, + "line": 299, "column": 2 }, "end": { - "line": 242, + "line": 303, "column": 5 } } @@ -89083,15 +105491,15 @@ "binop": null }, "value": "setInput", - "start": 9670, - "end": 9678, + "start": 11269, + "end": 11277, "loc": { "start": { - "line": 243, + "line": 304, "column": 2 }, "end": { - "line": 243, + "line": 304, "column": 10 } } @@ -89108,15 +105516,15 @@ "postfix": false, "binop": null }, - "start": 9678, - "end": 9679, + "start": 11277, + "end": 11278, "loc": { "start": { - "line": 243, + "line": 304, "column": 10 }, "end": { - "line": 243, + "line": 304, "column": 11 } } @@ -89134,15 +105542,15 @@ "binop": null }, "value": "input", - "start": 9679, - "end": 9684, + "start": 11278, + "end": 11283, "loc": { "start": { - "line": 243, + "line": 304, "column": 11 }, "end": { - "line": 243, + "line": 304, "column": 16 } } @@ -89160,15 +105568,15 @@ "binop": null, "updateContext": null }, - "start": 9684, - "end": 9685, + "start": 11283, + "end": 11284, "loc": { "start": { - "line": 243, + "line": 304, "column": 16 }, "end": { - "line": 243, + "line": 304, "column": 17 } } @@ -89186,15 +105594,15 @@ "binop": null }, "value": "inputName", - "start": 9686, - "end": 9695, + "start": 11285, + "end": 11294, "loc": { "start": { - "line": 243, + "line": 304, "column": 18 }, "end": { - "line": 243, + "line": 304, "column": 27 } } @@ -89211,15 +105619,15 @@ "postfix": false, "binop": null }, - "start": 9695, - "end": 9696, + "start": 11294, + "end": 11295, "loc": { "start": { - "line": 243, + "line": 304, "column": 27 }, "end": { - "line": 243, + "line": 304, "column": 28 } } @@ -89236,15 +105644,15 @@ "postfix": false, "binop": null }, - "start": 9696, - "end": 9697, + "start": 11295, + "end": 11296, "loc": { "start": { - "line": 243, + "line": 304, "column": 28 }, "end": { - "line": 243, + "line": 304, "column": 29 } } @@ -89262,15 +105670,15 @@ "binop": null }, "value": "inputName", - "start": 9703, - "end": 9712, + "start": 11302, + "end": 11311, "loc": { "start": { - "line": 244, + "line": 305, "column": 4 }, "end": { - "line": 244, + "line": 305, "column": 13 } } @@ -89289,15 +105697,15 @@ "updateContext": null }, "value": "=", - "start": 9713, - "end": 9714, + "start": 11312, + "end": 11313, "loc": { "start": { - "line": 244, + "line": 305, "column": 14 }, "end": { - "line": 244, + "line": 305, "column": 15 } } @@ -89315,15 +105723,15 @@ "binop": null }, "value": "inputName", - "start": 9715, - "end": 9724, + "start": 11314, + "end": 11323, "loc": { "start": { - "line": 244, + "line": 305, "column": 16 }, "end": { - "line": 244, + "line": 305, "column": 25 } } @@ -89342,15 +105750,15 @@ "updateContext": null }, "value": "||", - "start": 9725, - "end": 9727, + "start": 11324, + "end": 11326, "loc": { "start": { - "line": 244, + "line": 305, "column": 26 }, "end": { - "line": 244, + "line": 305, "column": 28 } } @@ -89370,15 +105778,15 @@ "updateContext": null }, "value": "this", - "start": 9728, - "end": 9732, + "start": 11327, + "end": 11331, "loc": { "start": { - "line": 244, + "line": 305, "column": 29 }, "end": { - "line": 244, + "line": 305, "column": 33 } } @@ -89396,15 +105804,15 @@ "binop": null, "updateContext": null }, - "start": 9732, - "end": 9733, + "start": 11331, + "end": 11332, "loc": { "start": { - "line": 244, + "line": 305, "column": 33 }, "end": { - "line": 244, + "line": 305, "column": 34 } } @@ -89422,15 +105830,15 @@ "binop": null }, "value": "options", - "start": 9733, - "end": 9740, + "start": 11332, + "end": 11339, "loc": { "start": { - "line": 244, + "line": 305, "column": 34 }, "end": { - "line": 244, + "line": 305, "column": 41 } } @@ -89448,15 +105856,15 @@ "binop": null, "updateContext": null }, - "start": 9740, - "end": 9741, + "start": 11339, + "end": 11340, "loc": { "start": { - "line": 244, + "line": 305, "column": 41 }, "end": { - "line": 244, + "line": 305, "column": 42 } } @@ -89474,15 +105882,15 @@ "binop": null }, "value": "inputName", - "start": 9741, - "end": 9750, + "start": 11340, + "end": 11349, "loc": { "start": { - "line": 244, + "line": 305, "column": 42 }, "end": { - "line": 244, + "line": 305, "column": 51 } } @@ -89500,15 +105908,15 @@ "binop": null, "updateContext": null }, - "start": 9750, - "end": 9751, + "start": 11349, + "end": 11350, "loc": { "start": { - "line": 244, + "line": 305, "column": 51 }, "end": { - "line": 244, + "line": 305, "column": 52 } } @@ -89528,15 +105936,15 @@ "updateContext": null }, "value": "this", - "start": 9757, - "end": 9761, + "start": 11356, + "end": 11360, "loc": { "start": { - "line": 245, + "line": 306, "column": 4 }, "end": { - "line": 245, + "line": 306, "column": 8 } } @@ -89554,15 +105962,15 @@ "binop": null, "updateContext": null }, - "start": 9761, - "end": 9762, + "start": 11360, + "end": 11361, "loc": { "start": { - "line": 245, + "line": 306, "column": 8 }, "end": { - "line": 245, + "line": 306, "column": 9 } } @@ -89580,15 +105988,15 @@ "binop": null }, "value": "input", - "start": 9762, - "end": 9767, + "start": 11361, + "end": 11366, "loc": { "start": { - "line": 245, + "line": 306, "column": 9 }, "end": { - "line": 245, + "line": 306, "column": 14 } } @@ -89606,15 +106014,15 @@ "binop": null, "updateContext": null }, - "start": 9767, - "end": 9768, + "start": 11366, + "end": 11367, "loc": { "start": { - "line": 245, + "line": 306, "column": 14 }, "end": { - "line": 245, + "line": 306, "column": 15 } } @@ -89632,15 +106040,15 @@ "binop": null }, "value": "inputName", - "start": 9768, - "end": 9777, + "start": 11367, + "end": 11376, "loc": { "start": { - "line": 245, + "line": 306, "column": 15 }, "end": { - "line": 245, + "line": 306, "column": 24 } } @@ -89658,15 +106066,15 @@ "binop": null, "updateContext": null }, - "start": 9777, - "end": 9778, + "start": 11376, + "end": 11377, "loc": { "start": { - "line": 245, + "line": 306, "column": 24 }, "end": { - "line": 245, + "line": 306, "column": 25 } } @@ -89685,15 +106093,15 @@ "updateContext": null }, "value": "=", - "start": 9779, - "end": 9780, + "start": 11378, + "end": 11379, "loc": { "start": { - "line": 245, + "line": 306, "column": 26 }, "end": { - "line": 245, + "line": 306, "column": 27 } } @@ -89711,15 +106119,15 @@ "binop": null }, "value": "input", - "start": 9781, - "end": 9786, + "start": 11380, + "end": 11385, "loc": { "start": { - "line": 245, + "line": 306, "column": 28 }, "end": { - "line": 245, + "line": 306, "column": 33 } } @@ -89737,15 +106145,15 @@ "binop": null, "updateContext": null }, - "start": 9786, - "end": 9787, + "start": 11385, + "end": 11386, "loc": { "start": { - "line": 245, + "line": 306, "column": 33 }, "end": { - "line": 245, + "line": 306, "column": 34 } } @@ -89753,15 +106161,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 9795, - "end": 9850, + "start": 11394, + "end": 11449, "loc": { "start": { - "line": 247, + "line": 308, "column": 4 }, "end": { - "line": 249, + "line": 310, "column": 7 } } @@ -89781,15 +106189,15 @@ "updateContext": null }, "value": "if", - "start": 9856, - "end": 9858, + "start": 11455, + "end": 11457, "loc": { "start": { - "line": 250, + "line": 311, "column": 4 }, "end": { - "line": 250, + "line": 311, "column": 6 } } @@ -89806,15 +106214,15 @@ "postfix": false, "binop": null }, - "start": 9858, - "end": 9859, + "start": 11457, + "end": 11458, "loc": { "start": { - "line": 250, + "line": 311, "column": 6 }, "end": { - "line": 250, + "line": 311, "column": 7 } } @@ -89834,15 +106242,15 @@ "updateContext": null }, "value": "this", - "start": 9859, - "end": 9863, + "start": 11458, + "end": 11462, "loc": { "start": { - "line": 250, + "line": 311, "column": 7 }, "end": { - "line": 250, + "line": 311, "column": 11 } } @@ -89860,15 +106268,15 @@ "binop": null, "updateContext": null }, - "start": 9863, - "end": 9864, + "start": 11462, + "end": 11463, "loc": { "start": { - "line": 250, + "line": 311, "column": 11 }, "end": { - "line": 250, + "line": 311, "column": 12 } } @@ -89886,15 +106294,15 @@ "binop": null }, "value": "options", - "start": 9864, - "end": 9871, + "start": 11463, + "end": 11470, "loc": { "start": { - "line": 250, + "line": 311, "column": 12 }, "end": { - "line": 250, + "line": 311, "column": 19 } } @@ -89912,15 +106320,15 @@ "binop": null, "updateContext": null }, - "start": 9871, - "end": 9872, + "start": 11470, + "end": 11471, "loc": { "start": { - "line": 250, + "line": 311, "column": 19 }, "end": { - "line": 250, + "line": 311, "column": 20 } } @@ -89938,15 +106346,15 @@ "binop": null }, "value": "syncInstanceInputs", - "start": 9872, - "end": 9890, + "start": 11471, + "end": 11489, "loc": { "start": { - "line": 250, + "line": 311, "column": 20 }, "end": { - "line": 250, + "line": 311, "column": 38 } } @@ -89963,15 +106371,15 @@ "postfix": false, "binop": null }, - "start": 9890, - "end": 9891, + "start": 11489, + "end": 11490, "loc": { "start": { - "line": 250, + "line": 311, "column": 38 }, "end": { - "line": 250, + "line": 311, "column": 39 } } @@ -89991,15 +106399,15 @@ "updateContext": null }, "value": "this", - "start": 9899, - "end": 9903, + "start": 11498, + "end": 11502, "loc": { "start": { - "line": 251, + "line": 312, "column": 6 }, "end": { - "line": 251, + "line": 312, "column": 10 } } @@ -90017,15 +106425,15 @@ "binop": null, "updateContext": null }, - "start": 9903, - "end": 9904, + "start": 11502, + "end": 11503, "loc": { "start": { - "line": 251, + "line": 312, "column": 10 }, "end": { - "line": 251, + "line": 312, "column": 11 } } @@ -90043,15 +106451,15 @@ "binop": null }, "value": "syncInstanceInputs", - "start": 9904, - "end": 9922, + "start": 11503, + "end": 11521, "loc": { "start": { - "line": 251, + "line": 312, "column": 11 }, "end": { - "line": 251, + "line": 312, "column": 29 } } @@ -90068,15 +106476,15 @@ "postfix": false, "binop": null }, - "start": 9922, - "end": 9923, + "start": 11521, + "end": 11522, "loc": { "start": { - "line": 251, + "line": 312, "column": 29 }, "end": { - "line": 251, + "line": 312, "column": 30 } } @@ -90096,15 +106504,15 @@ "updateContext": null }, "value": "this", - "start": 9923, - "end": 9927, + "start": 11522, + "end": 11526, "loc": { "start": { - "line": 251, + "line": 312, "column": 30 }, "end": { - "line": 251, + "line": 312, "column": 34 } } @@ -90122,15 +106530,15 @@ "binop": null, "updateContext": null }, - "start": 9927, - "end": 9928, + "start": 11526, + "end": 11527, "loc": { "start": { - "line": 251, + "line": 312, "column": 34 }, "end": { - "line": 251, + "line": 312, "column": 35 } } @@ -90148,15 +106556,15 @@ "binop": null }, "value": "input", - "start": 9928, - "end": 9933, + "start": 11527, + "end": 11532, "loc": { "start": { - "line": 251, + "line": 312, "column": 35 }, "end": { - "line": 251, + "line": 312, "column": 40 } } @@ -90173,15 +106581,15 @@ "postfix": false, "binop": null }, - "start": 9933, - "end": 9934, + "start": 11532, + "end": 11533, "loc": { "start": { - "line": 251, + "line": 312, "column": 40 }, "end": { - "line": 251, + "line": 312, "column": 41 } } @@ -90199,15 +106607,15 @@ "binop": null, "updateContext": null }, - "start": 9934, - "end": 9935, + "start": 11533, + "end": 11534, "loc": { "start": { - "line": 251, + "line": 312, "column": 41 }, "end": { - "line": 251, + "line": 312, "column": 42 } } @@ -90224,15 +106632,15 @@ "postfix": false, "binop": null }, - "start": 9939, - "end": 9940, + "start": 11538, + "end": 11539, "loc": { "start": { - "line": 252, + "line": 313, "column": 2 }, "end": { - "line": 252, + "line": 313, "column": 3 } } @@ -90240,15 +106648,15 @@ { "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, + "start": 11547, + "end": 11656, "loc": { "start": { - "line": 254, + "line": 315, "column": 2 }, "end": { - "line": 257, + "line": 318, "column": 5 } } @@ -90266,15 +106674,15 @@ "binop": null }, "value": "replaceInput", - "start": 10061, - "end": 10073, + "start": 11660, + "end": 11672, "loc": { "start": { - "line": 258, + "line": 319, "column": 2 }, "end": { - "line": 258, + "line": 319, "column": 14 } } @@ -90291,15 +106699,15 @@ "postfix": false, "binop": null }, - "start": 10073, - "end": 10074, + "start": 11672, + "end": 11673, "loc": { "start": { - "line": 258, + "line": 319, "column": 14 }, "end": { - "line": 258, + "line": 319, "column": 15 } } @@ -90317,15 +106725,15 @@ "binop": null }, "value": "inputObj", - "start": 10074, - "end": 10082, + "start": 11673, + "end": 11681, "loc": { "start": { - "line": 258, + "line": 319, "column": 15 }, "end": { - "line": 258, + "line": 319, "column": 23 } } @@ -90342,15 +106750,15 @@ "postfix": false, "binop": null }, - "start": 10082, - "end": 10083, + "start": 11681, + "end": 11682, "loc": { "start": { - "line": 258, + "line": 319, "column": 23 }, "end": { - "line": 258, + "line": 319, "column": 24 } } @@ -90367,15 +106775,15 @@ "postfix": false, "binop": null }, - "start": 10083, - "end": 10084, + "start": 11682, + "end": 11683, "loc": { "start": { - "line": 258, + "line": 319, "column": 24 }, "end": { - "line": 258, + "line": 319, "column": 25 } } @@ -90395,15 +106803,15 @@ "updateContext": null }, "value": "this", - "start": 10090, - "end": 10094, + "start": 11689, + "end": 11693, "loc": { "start": { - "line": 259, + "line": 320, "column": 4 }, "end": { - "line": 259, + "line": 320, "column": 8 } } @@ -90421,15 +106829,15 @@ "binop": null, "updateContext": null }, - "start": 10094, - "end": 10095, + "start": 11693, + "end": 11694, "loc": { "start": { - "line": 259, + "line": 320, "column": 8 }, "end": { - "line": 259, + "line": 320, "column": 9 } } @@ -90447,15 +106855,15 @@ "binop": null }, "value": "input", - "start": 10095, - "end": 10100, + "start": 11694, + "end": 11699, "loc": { "start": { - "line": 259, + "line": 320, "column": 9 }, "end": { - "line": 259, + "line": 320, "column": 14 } } @@ -90474,15 +106882,15 @@ "updateContext": null }, "value": "=", - "start": 10101, - "end": 10102, + "start": 11700, + "end": 11701, "loc": { "start": { - "line": 259, + "line": 320, "column": 15 }, "end": { - "line": 259, + "line": 320, "column": 16 } } @@ -90500,15 +106908,15 @@ "binop": null }, "value": "inputObj", - "start": 10103, - "end": 10111, + "start": 11702, + "end": 11710, "loc": { "start": { - "line": 259, + "line": 320, "column": 17 }, "end": { - "line": 259, + "line": 320, "column": 25 } } @@ -90526,15 +106934,15 @@ "binop": null, "updateContext": null }, - "start": 10111, - "end": 10112, + "start": 11710, + "end": 11711, "loc": { "start": { - "line": 259, + "line": 320, "column": 25 }, "end": { - "line": 259, + "line": 320, "column": 26 } } @@ -90551,15 +106959,15 @@ "postfix": false, "binop": null }, - "start": 10116, - "end": 10117, + "start": 11715, + "end": 11716, "loc": { "start": { - "line": 260, + "line": 321, "column": 2 }, "end": { - "line": 260, + "line": 321, "column": 3 } } @@ -90567,15 +106975,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": 10123, - "end": 10249, + "start": 11722, + "end": 11848, "loc": { "start": { - "line": 262, + "line": 323, "column": 2 }, "end": { - "line": 265, + "line": 326, "column": 5 } } @@ -90593,15 +107001,15 @@ "binop": null }, "value": "setOptions", - "start": 10253, - "end": 10263, + "start": 11852, + "end": 11862, "loc": { "start": { - "line": 266, + "line": 327, "column": 2 }, "end": { - "line": 266, + "line": 327, "column": 12 } } @@ -90620,15 +107028,15 @@ "updateContext": null }, "value": "=", - "start": 10264, - "end": 10265, + "start": 11863, + "end": 11864, "loc": { "start": { - "line": 266, + "line": 327, "column": 13 }, "end": { - "line": 266, + "line": 327, "column": 14 } } @@ -90646,15 +107054,15 @@ "binop": null }, "value": "option", - "start": 10266, - "end": 10272, + "start": 11865, + "end": 11871, "loc": { "start": { - "line": 266, + "line": 327, "column": 15 }, "end": { - "line": 266, + "line": 327, "column": 21 } } @@ -90672,15 +107080,15 @@ "binop": null, "updateContext": null }, - "start": 10273, - "end": 10275, + "start": 11872, + "end": 11874, "loc": { "start": { - "line": 266, + "line": 327, "column": 22 }, "end": { - "line": 266, + "line": 327, "column": 24 } } @@ -90697,15 +107105,15 @@ "postfix": false, "binop": null }, - "start": 10276, - "end": 10277, + "start": 11875, + "end": 11876, "loc": { "start": { - "line": 266, + "line": 327, "column": 25 }, "end": { - "line": 266, + "line": 327, "column": 26 } } @@ -90723,15 +107131,15 @@ "binop": null }, "value": "option", - "start": 10283, - "end": 10289, + "start": 11882, + "end": 11888, "loc": { "start": { - "line": 267, + "line": 328, "column": 4 }, "end": { - "line": 267, + "line": 328, "column": 10 } } @@ -90750,15 +107158,15 @@ "updateContext": null }, "value": "=", - "start": 10290, - "end": 10291, + "start": 11889, + "end": 11890, "loc": { "start": { - "line": 267, + "line": 328, "column": 11 }, "end": { - "line": 267, + "line": 328, "column": 12 } } @@ -90776,15 +107184,15 @@ "binop": null }, "value": "option", - "start": 10292, - "end": 10298, + "start": 11891, + "end": 11897, "loc": { "start": { - "line": 267, + "line": 328, "column": 13 }, "end": { - "line": 267, + "line": 328, "column": 19 } } @@ -90803,15 +107211,15 @@ "updateContext": null }, "value": "||", - "start": 10299, - "end": 10301, + "start": 11898, + "end": 11900, "loc": { "start": { - "line": 267, + "line": 328, "column": 20 }, "end": { - "line": 267, + "line": 328, "column": 22 } } @@ -90828,15 +107236,15 @@ "postfix": false, "binop": null }, - "start": 10302, - "end": 10303, + "start": 11901, + "end": 11902, "loc": { "start": { - "line": 267, + "line": 328, "column": 23 }, "end": { - "line": 267, + "line": 328, "column": 24 } } @@ -90853,15 +107261,15 @@ "postfix": false, "binop": null }, - "start": 10303, - "end": 10304, + "start": 11902, + "end": 11903, "loc": { "start": { - "line": 267, + "line": 328, "column": 24 }, "end": { - "line": 267, + "line": 328, "column": 25 } } @@ -90879,15 +107287,15 @@ "binop": null, "updateContext": null }, - "start": 10304, - "end": 10305, + "start": 11903, + "end": 11904, "loc": { "start": { - "line": 267, + "line": 328, "column": 25 }, "end": { - "line": 267, + "line": 328, "column": 26 } } @@ -90907,15 +107315,15 @@ "updateContext": null }, "value": "this", - "start": 10311, - "end": 10315, + "start": 11910, + "end": 11914, "loc": { "start": { - "line": 268, + "line": 329, "column": 4 }, "end": { - "line": 268, + "line": 329, "column": 8 } } @@ -90933,15 +107341,15 @@ "binop": null, "updateContext": null }, - "start": 10315, - "end": 10316, + "start": 11914, + "end": 11915, "loc": { "start": { - "line": 268, + "line": 329, "column": 8 }, "end": { - "line": 268, + "line": 329, "column": 9 } } @@ -90959,15 +107367,15 @@ "binop": null }, "value": "options", - "start": 10316, - "end": 10323, + "start": 11915, + "end": 11922, "loc": { "start": { - "line": 268, + "line": 329, "column": 9 }, "end": { - "line": 268, + "line": 329, "column": 16 } } @@ -90986,15 +107394,15 @@ "updateContext": null }, "value": "=", - "start": 10324, - "end": 10325, + "start": 11923, + "end": 11924, "loc": { "start": { - "line": 268, + "line": 329, "column": 17 }, "end": { - "line": 268, + "line": 329, "column": 18 } } @@ -91012,15 +107420,15 @@ "binop": null }, "value": "Object", - "start": 10326, - "end": 10332, + "start": 11925, + "end": 11931, "loc": { "start": { - "line": 268, + "line": 329, "column": 19 }, "end": { - "line": 268, + "line": 329, "column": 25 } } @@ -91038,15 +107446,15 @@ "binop": null, "updateContext": null }, - "start": 10332, - "end": 10333, + "start": 11931, + "end": 11932, "loc": { "start": { - "line": 268, + "line": 329, "column": 25 }, "end": { - "line": 268, + "line": 329, "column": 26 } } @@ -91064,15 +107472,15 @@ "binop": null }, "value": "assign", - "start": 10333, - "end": 10339, + "start": 11932, + "end": 11938, "loc": { "start": { - "line": 268, + "line": 329, "column": 26 }, "end": { - "line": 268, + "line": 329, "column": 32 } } @@ -91089,15 +107497,15 @@ "postfix": false, "binop": null }, - "start": 10339, - "end": 10340, + "start": 11938, + "end": 11939, "loc": { "start": { - "line": 268, + "line": 329, "column": 32 }, "end": { - "line": 268, + "line": 329, "column": 33 } } @@ -91117,15 +107525,15 @@ "updateContext": null }, "value": "this", - "start": 10340, - "end": 10344, + "start": 11939, + "end": 11943, "loc": { "start": { - "line": 268, + "line": 329, "column": 33 }, "end": { - "line": 268, + "line": 329, "column": 37 } } @@ -91143,15 +107551,15 @@ "binop": null, "updateContext": null }, - "start": 10344, - "end": 10345, + "start": 11943, + "end": 11944, "loc": { "start": { - "line": 268, + "line": 329, "column": 37 }, "end": { - "line": 268, + "line": 329, "column": 38 } } @@ -91169,15 +107577,15 @@ "binop": null }, "value": "options", - "start": 10345, - "end": 10352, + "start": 11944, + "end": 11951, "loc": { "start": { - "line": 268, + "line": 329, "column": 38 }, "end": { - "line": 268, + "line": 329, "column": 45 } } @@ -91195,15 +107603,15 @@ "binop": null, "updateContext": null }, - "start": 10352, - "end": 10353, + "start": 11951, + "end": 11952, "loc": { "start": { - "line": 268, + "line": 329, "column": 45 }, "end": { - "line": 268, + "line": 329, "column": 46 } } @@ -91221,15 +107629,15 @@ "binop": null }, "value": "option", - "start": 10354, - "end": 10360, + "start": 11953, + "end": 11959, "loc": { "start": { - "line": 268, + "line": 329, "column": 47 }, "end": { - "line": 268, + "line": 329, "column": 53 } } @@ -91246,15 +107654,15 @@ "postfix": false, "binop": null }, - "start": 10360, - "end": 10361, + "start": 11959, + "end": 11960, "loc": { "start": { - "line": 268, + "line": 329, "column": 53 }, "end": { - "line": 268, + "line": 329, "column": 54 } } @@ -91272,15 +107680,15 @@ "binop": null, "updateContext": null }, - "start": 10361, - "end": 10362, + "start": 11960, + "end": 11961, "loc": { "start": { - "line": 268, + "line": 329, "column": 54 }, "end": { - "line": 268, + "line": 329, "column": 55 } } @@ -91300,15 +107708,15 @@ "updateContext": null }, "value": "this", - "start": 10368, - "end": 10372, + "start": 11967, + "end": 11971, "loc": { "start": { - "line": 269, + "line": 330, "column": 4 }, "end": { - "line": 269, + "line": 330, "column": 8 } } @@ -91326,15 +107734,15 @@ "binop": null, "updateContext": null }, - "start": 10372, - "end": 10373, + "start": 11971, + "end": 11972, "loc": { "start": { - "line": 269, + "line": 330, "column": 8 }, "end": { - "line": 269, + "line": 330, "column": 9 } } @@ -91352,4660 +107760,16 @@ "binop": null }, "value": "render", - "start": 10373, - "end": 10379, - "loc": { - "start": { - "line": 269, - "column": 9 - }, - "end": { - "line": 269, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10379, - "end": 10380, - "loc": { - "start": { - "line": 269, - "column": 15 - }, - "end": { - "line": 269, - "column": 16 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10380, - "end": 10381, - "loc": { - "start": { - "line": 269, - "column": 16 - }, - "end": { - "line": 269, - "column": 17 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10381, - "end": 10382, - "loc": { - "start": { - "line": 269, - "column": 17 - }, - "end": { - "line": 269, - "column": 18 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10386, - "end": 10387, - "loc": { - "start": { - "line": 270, - "column": 2 - }, - "end": { - "line": 270, - "column": 3 - } - } - }, - { - "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 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "clear", - "start": 10506, - "end": 10511, - "loc": { - "start": { - "line": 276, - "column": 2 - }, - "end": { - "line": 276, - "column": 7 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10511, - "end": 10512, - "loc": { - "start": { - "line": 276, - "column": 7 - }, - "end": { - "line": 276, - "column": 8 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10512, - "end": 10513, - "loc": { - "start": { - "line": 276, - "column": 8 - }, - "end": { - "line": 276, - "column": 9 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10513, - "end": 10514, - "loc": { - "start": { - "line": 276, - "column": 9 - }, - "end": { - "line": 276, - "column": 10 - } - } - }, - { - "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": 10520, - "end": 10524, - "loc": { - "start": { - "line": 277, - "column": 4 - }, - "end": { - "line": 277, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10524, - "end": 10525, - "loc": { - "start": { - "line": 277, - "column": 8 - }, - "end": { - "line": 277, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "keyboardDOM", - "start": 10525, - "end": 10536, - "loc": { - "start": { - "line": 277, - "column": 9 - }, - "end": { - "line": 277, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10536, - "end": 10537, - "loc": { - "start": { - "line": 277, - "column": 20 - }, - "end": { - "line": 277, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "innerHTML", - "start": 10537, - "end": 10546, - "loc": { - "start": { - "line": 277, - "column": 21 - }, - "end": { - "line": 277, - "column": 30 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 10547, - "end": 10548, - "loc": { - "start": { - "line": 277, - "column": 31 - }, - "end": { - "line": 277, - "column": 32 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 10549, - "end": 10551, - "loc": { - "start": { - "line": 277, - "column": 33 - }, - "end": { - "line": 277, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10551, - "end": 10552, - "loc": { - "start": { - "line": 277, - "column": 35 - }, - "end": { - "line": 277, - "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": 10558, - "end": 10562, - "loc": { - "start": { - "line": 278, - "column": 4 - }, - "end": { - "line": 278, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10562, - "end": 10563, - "loc": { - "start": { - "line": 278, - "column": 8 - }, - "end": { - "line": 278, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "keyboardDOM", - "start": 10563, - "end": 10574, - "loc": { - "start": { - "line": 278, - "column": 9 - }, - "end": { - "line": 278, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10574, - "end": 10575, - "loc": { - "start": { - "line": 278, - "column": 20 - }, - "end": { - "line": 278, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "className", - "start": 10575, - "end": 10584, - "loc": { - "start": { - "line": 278, - "column": 21 - }, - "end": { - "line": 278, - "column": 30 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 10585, - "end": 10586, - "loc": { - "start": { - "line": 278, - "column": 31 - }, - "end": { - "line": 278, - "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": 10587, - "end": 10591, - "loc": { - "start": { - "line": 278, - "column": 33 - }, - "end": { - "line": 278, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10591, - "end": 10592, - "loc": { - "start": { - "line": 278, - "column": 37 - }, - "end": { - "line": 278, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "keyboardDOMClass", - "start": 10592, - "end": 10608, - "loc": { - "start": { - "line": 278, - "column": 38 - }, - "end": { - "line": 278, - "column": 54 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10608, - "end": 10609, - "loc": { - "start": { - "line": 278, - "column": 54 - }, - "end": { - "line": 278, - "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": 10615, - "end": 10619, - "loc": { - "start": { - "line": 279, - "column": 4 - }, - "end": { - "line": 279, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10619, - "end": 10620, - "loc": { - "start": { - "line": 279, - "column": 8 - }, - "end": { - "line": 279, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonElements", - "start": 10620, - "end": 10634, - "loc": { - "start": { - "line": 279, - "column": 9 - }, - "end": { - "line": 279, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 10635, - "end": 10636, - "loc": { - "start": { - "line": 279, - "column": 24 - }, - "end": { - "line": 279, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10637, - "end": 10638, - "loc": { - "start": { - "line": 279, - "column": 26 - }, - "end": { - "line": 279, - "column": 27 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10638, - "end": 10639, - "loc": { - "start": { - "line": 279, - "column": 27 - }, - "end": { - "line": 279, - "column": 28 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10639, - "end": 10640, - "loc": { - "start": { - "line": 279, - "column": 28 - }, - "end": { - "line": 279, - "column": 29 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10644, - "end": 10645, - "loc": { - "start": { - "line": 280, - "column": 2 - }, - "end": { - "line": 280, - "column": 3 - } - } - }, - { - "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": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "dispatch", - "start": 10860, - "end": 10868, - "loc": { - "start": { - "line": 286, - "column": 2 - }, - "end": { - "line": 286, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10868, - "end": 10869, - "loc": { - "start": { - "line": 286, - "column": 10 - }, - "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": "callback", - "start": 10869, - "end": 10877, - "loc": { - "start": { - "line": 286, - "column": 11 - }, - "end": { - "line": 286, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10877, - "end": 10878, - "loc": { - "start": { - "line": 286, - "column": 19 - }, - "end": { - "line": 286, - "column": 20 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10878, - "end": 10879, - "loc": { - "start": { - "line": 286, - "column": 20 - }, - "end": { - "line": 286, - "column": 21 - } - } - }, - { - "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": 10885, - "end": 10887, - "loc": { - "start": { - "line": 287, - "column": 4 - }, - "end": { - "line": 287, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10887, - "end": 10888, - "loc": { - "start": { - "line": 287, - "column": 6 - }, - "end": { - "line": 287, - "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": 10888, - "end": 10889, - "loc": { - "start": { - "line": 287, - "column": 7 - }, - "end": { - "line": 287, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "window", - "start": 10889, - "end": 10895, - "loc": { - "start": { - "line": 287, - "column": 8 - }, - "end": { - "line": 287, - "column": 14 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10895, - "end": 10896, - "loc": { - "start": { - "line": 287, - "column": 14 - }, - "end": { - "line": 287, - "column": 15 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "SimpleKeyboardInstances", - "start": 10896, - "end": 10921, - "loc": { - "start": { - "line": 287, - "column": 15 - }, - "end": { - "line": 287, - "column": 40 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10921, - "end": 10922, - "loc": { - "start": { - "line": 287, - "column": 40 - }, - "end": { - "line": 287, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10922, - "end": 10923, - "loc": { - "start": { - "line": 287, - "column": 41 - }, - "end": { - "line": 287, - "column": 42 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10923, - "end": 10924, - "loc": { - "start": { - "line": 287, - "column": 42 - }, - "end": { - "line": 287, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "console", - "start": 10932, - "end": 10939, - "loc": { - "start": { - "line": 288, - "column": 6 - }, - "end": { - "line": 288, - "column": 13 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10939, - "end": 10940, - "loc": { - "start": { - "line": 288, - "column": 13 - }, - "end": { - "line": 288, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "warn", - "start": 10940, - "end": 10944, - "loc": { - "start": { - "line": 288, - "column": 14 - }, - "end": { - "line": 288, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10944, - "end": 10945, - "loc": { - "start": { - "line": 288, - "column": 18 - }, - "end": { - "line": 288, - "column": 19 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10945, - "end": 10946, - "loc": { - "start": { - "line": 288, - "column": 19 - }, - "end": { - "line": 288, - "column": 20 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "SimpleKeyboardInstances is not defined. Dispatch cannot be called.", - "start": 10946, - "end": 11012, - "loc": { - "start": { - "line": 288, - "column": 20 - }, - "end": { - "line": 288, - "column": 86 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11012, - "end": 11013, - "loc": { - "start": { - "line": 288, - "column": 86 - }, - "end": { - "line": 288, - "column": 87 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11013, - "end": 11014, - "loc": { - "start": { - "line": 288, - "column": 87 - }, - "end": { - "line": 288, - "column": 88 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11014, - "end": 11015, - "loc": { - "start": { - "line": 288, - "column": 88 - }, - "end": { - "line": 288, - "column": 89 - } - } - }, - { - "type": { - "label": "throw", - "keyword": "throw", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "throw", - "start": 11023, - "end": 11028, - "loc": { - "start": { - "line": 289, - "column": 6 - }, - "end": { - "line": 289, - "column": 11 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 11029, - "end": 11032, - "loc": { - "start": { - "line": 289, - "column": 12 - }, - "end": { - "line": 289, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Error", - "start": 11033, - "end": 11038, - "loc": { - "start": { - "line": 289, - "column": 16 - }, - "end": { - "line": 289, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11038, - "end": 11039, - "loc": { - "start": { - "line": 289, - "column": 21 - }, - "end": { - "line": 289, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "INSTANCES_VAR_ERROR", - "start": 11039, - "end": 11060, - "loc": { - "start": { - "line": 289, - "column": 22 - }, - "end": { - "line": 289, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11060, - "end": 11061, - "loc": { - "start": { - "line": 289, - "column": 43 - }, - "end": { - "line": 289, - "column": 44 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11061, - "end": 11062, - "loc": { - "start": { - "line": 289, - "column": 44 - }, - "end": { - "line": 289, - "column": 45 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11068, - "end": 11069, - "loc": { - "start": { - "line": 290, - "column": 4 - }, - "end": { - "line": 290, - "column": 5 - } - } - }, - { - "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": 11081, - "end": 11087, - "loc": { - "start": { - "line": 292, - "column": 4 - }, - "end": { - "line": 292, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Object", - "start": 11088, - "end": 11094, - "loc": { - "start": { - "line": 292, - "column": 11 - }, - "end": { - "line": 292, - "column": 17 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11094, - "end": 11095, - "loc": { - "start": { - "line": 292, - "column": 17 - }, - "end": { - "line": 292, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "keys", - "start": 11095, - "end": 11099, - "loc": { - "start": { - "line": 292, - "column": 18 - }, - "end": { - "line": 292, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11099, - "end": 11100, - "loc": { - "start": { - "line": 292, - "column": 22 - }, - "end": { - "line": 292, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "window", - "start": 11100, - "end": 11106, - "loc": { - "start": { - "line": 292, - "column": 23 - }, - "end": { - "line": 292, - "column": 29 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11106, - "end": 11107, - "loc": { - "start": { - "line": 292, - "column": 29 - }, - "end": { - "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 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11132, - "end": 11133, - "loc": { - "start": { - "line": 292, - "column": 55 - }, - "end": { - "line": 292, - "column": 56 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11133, - "end": 11134, - "loc": { - "start": { - "line": 292, - "column": 56 - }, - "end": { - "line": 292, - "column": 57 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11134, - "end": 11135, - "loc": { - "start": { - "line": 292, - "column": 57 - }, - "end": { - "line": 292, - "column": 58 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "forEach", - "start": 11135, - "end": 11142, - "loc": { - "start": { - "line": 292, - "column": 58 - }, - "end": { - "line": 292, - "column": 65 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11142, - "end": 11143, - "loc": { - "start": { - "line": 292, - "column": 65 - }, - "end": { - "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 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11147, - "end": 11148, - "loc": { - "start": { - "line": 292, - "column": 70 - }, - "end": { - "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 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11214, - "end": 11215, - "loc": { - "start": { - "line": 293, - "column": 59 - }, - "end": { - "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", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 11594, - "end": 11600, - "loc": { - "start": { - "line": 304, - "column": 6 - }, - "end": { - "line": 304, - "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": 11601, - "end": 11606, - "loc": { - "start": { - "line": 304, - "column": 13 - }, - "end": { - "line": 304, - "column": 18 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11606, - "end": 11607, - "loc": { - "start": { - "line": 304, - "column": 18 - }, - "end": { - "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, + "end": 11978, "loc": { "start": { - "line": 316, - "column": 37 + "line": 330, + "column": 9 }, "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 + "line": 330, + "column": 15 } } }, @@ -96021,24 +107785,24 @@ "postfix": false, "binop": null }, - "start": 12004, - "end": 12005, + "start": 11978, + "end": 11979, "loc": { "start": { - "line": 318, - "column": 12 + "line": 330, + "column": 15 }, "end": { - "line": 318, - "column": 13 + "line": 330, + "column": 16 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -96046,24 +107810,23 @@ "postfix": false, "binop": null }, - "value": "buttonTheme", - "start": 12005, - "end": 12016, + "start": 11979, + "end": 11980, "loc": { "start": { - "line": 318, - "column": 13 + "line": 330, + "column": 16 }, "end": { - "line": 318, - "column": 24 + "line": 330, + "column": 17 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -96073,127 +107836,39 @@ "binop": null, "updateContext": null }, - "start": 12016, - "end": 12017, + "start": 11980, + "end": 11981, "loc": { "start": { - "line": 318, - "column": 24 + "line": 330, + "column": 17 }, "end": { - "line": 318, - "column": 25 + "line": 330, + "column": 18 } } }, { - "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, + "type": "CommentBlock", + "value": "*\r\n * Apply modules\r\n ", + "start": 11989, "end": 12023, "loc": { "start": { - "line": 318, - "column": 30 + "line": 332, + "column": 4 }, "end": { - "line": 318, - "column": 31 + "line": 334, + "column": 7 } } }, { "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", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -96204,42 +107879,17 @@ "binop": null, "updateContext": null }, - "value": " ", + "value": "this", "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 + "line": 335, + "column": 4 }, "end": { - "line": 318, - "column": 41 + "line": 335, + "column": 8 } } }, @@ -96260,12 +107910,12 @@ "end": 12034, "loc": { "start": { - "line": 318, - "column": 41 + "line": 335, + "column": 8 }, "end": { - "line": 318, - "column": 42 + "line": 335, + "column": 9 } } }, @@ -96281,2194 +107931,137 @@ "postfix": false, "binop": null }, - "value": "includes", + "value": "loadModules", "start": 12034, - "end": 12042, + "end": 12045, "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": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12393, - "end": 12394, - "loc": { - "start": { - "line": 326, - "column": 12 - }, - "end": { - "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, + "line": 335, "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 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": 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": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12045, + "end": 12046, + "loc": { + "start": { + "line": 335, + "column": 20 + }, + "end": { + "line": 335, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12046, + "end": 12047, + "loc": { + "start": { + "line": 335, + "column": 21 + }, + "end": { + "line": 335, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12047, + "end": 12048, + "loc": { + "start": { + "line": 335, + "column": 22 + }, + "end": { + "line": 335, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12052, + "end": 12053, + "loc": { + "start": { + "line": 336, + "column": 2 + }, + "end": { + "line": 336, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", + "start": 12059, + "end": 12168, + "loc": { + "start": { + "line": 338, + "column": 2 + }, + "end": { + "line": 341, + "column": 5 + } + } + }, { "type": { "label": "name", @@ -98481,23 +108074,48 @@ "postfix": false, "binop": null }, - "value": "buttons", - "start": 12669, - "end": 12676, + "value": "clear", + "start": 12172, + "end": 12177, "loc": { "start": { - "line": 337, - "column": 21 + "line": 342, + "column": 2 }, "end": { - "line": 337, - "column": 28 + "line": 342, + "column": 7 } } }, { "type": { - "label": "}", + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12177, + "end": 12178, + "loc": { + "start": { + "line": 342, + "column": 7 + }, + "end": { + "line": 342, + "column": 8 + } + } + }, + { + "type": { + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -98507,244 +108125,41 @@ "postfix": false, "binop": null }, - "start": 12688, - "end": 12689, + "start": 12178, + "end": 12179, "loc": { "start": { - "line": 338, + "line": 342, + "column": 8 + }, + "end": { + "line": 342, + "column": 9 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12179, + "end": 12180, + "loc": { + "start": { + "line": 342, + "column": 9 + }, + "end": { + "line": 342, "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 } } }, @@ -98763,8 +108178,220 @@ "updateContext": null }, "value": "this", - "start": 12732, - "end": 12736, + "start": 12186, + "end": 12190, + "loc": { + "start": { + "line": 343, + "column": 4 + }, + "end": { + "line": 343, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12190, + "end": 12191, + "loc": { + "start": { + "line": 343, + "column": 8 + }, + "end": { + "line": 343, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keyboardDOM", + "start": 12191, + "end": 12202, + "loc": { + "start": { + "line": 343, + "column": 9 + }, + "end": { + "line": 343, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12202, + "end": 12203, + "loc": { + "start": { + "line": 343, + "column": 20 + }, + "end": { + "line": 343, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "innerHTML", + "start": 12203, + "end": 12212, + "loc": { + "start": { + "line": 343, + "column": 21 + }, + "end": { + "line": 343, + "column": 30 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 12213, + "end": 12214, + "loc": { + "start": { + "line": 343, + "column": 31 + }, + "end": { + "line": 343, + "column": 32 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 12215, + "end": 12217, + "loc": { + "start": { + "line": 343, + "column": 33 + }, + "end": { + "line": 343, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12217, + "end": 12218, + "loc": { + "start": { + "line": 343, + "column": 35 + }, + "end": { + "line": 343, + "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": 12224, + "end": 12228, "loc": { "start": { "line": 344, @@ -98789,8 +108416,8 @@ "binop": null, "updateContext": null }, - "start": 12736, - "end": 12737, + "start": 12228, + "end": 12229, "loc": { "start": { "line": 344, @@ -98814,9 +108441,9 @@ "postfix": false, "binop": null }, - "value": "render", - "start": 12737, - "end": 12743, + "value": "keyboardDOM", + "start": 12229, + "end": 12240, "loc": { "start": { "line": 344, @@ -98824,14 +108451,40 @@ }, "end": { "line": 344, - "column": 15 + "column": 20 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12240, + "end": 12241, + "loc": { + "start": { + "line": 344, + "column": 20 + }, + "end": { + "line": 344, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -98840,22 +108493,78 @@ "postfix": false, "binop": null }, - "start": 12743, - "end": 12744, + "value": "className", + "start": 12241, + "end": 12250, "loc": { "start": { "line": 344, - "column": 15 + "column": 21 }, "end": { "line": 344, - "column": 16 + "column": 30 } } }, { "type": { - "label": ")", + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 12251, + "end": 12252, + "loc": { + "start": { + "line": 344, + "column": 31 + }, + "end": { + "line": 344, + "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": 12253, + "end": 12257, + "loc": { + "start": { + "line": 344, + "column": 33 + }, + "end": { + "line": 344, + "column": 37 + } + } + }, + { + "type": { + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -98863,18 +108572,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 12744, - "end": 12745, + "start": 12257, + "end": 12258, "loc": { "start": { "line": 344, - "column": 16 + "column": 37 }, "end": { "line": 344, - "column": 17 + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keyboardDOMClass", + "start": 12258, + "end": 12274, + "loc": { + "start": { + "line": 344, + "column": 38 + }, + "end": { + "line": 344, + "column": 54 } } }, @@ -98891,16 +108627,148 @@ "binop": null, "updateContext": null }, - "start": 12745, - "end": 12746, + "start": 12274, + "end": 12275, "loc": { "start": { "line": 344, - "column": 17 + "column": 54 }, "end": { "line": 344, - "column": 18 + "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": 12281, + "end": 12285, + "loc": { + "start": { + "line": 345, + "column": 4 + }, + "end": { + "line": 345, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12285, + "end": 12286, + "loc": { + "start": { + "line": 345, + "column": 8 + }, + "end": { + "line": 345, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonElements", + "start": 12286, + "end": 12300, + "loc": { + "start": { + "line": 345, + "column": 9 + }, + "end": { + "line": 345, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 12301, + "end": 12302, + "loc": { + "start": { + "line": 345, + "column": 24 + }, + "end": { + "line": 345, + "column": 25 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12303, + "end": 12304, + "loc": { + "start": { + "line": 345, + "column": 26 + }, + "end": { + "line": 345, + "column": 27 } } }, @@ -98916,27 +108784,78 @@ "postfix": false, "binop": null }, - "start": 12750, - "end": 12751, + "start": 12304, + "end": 12305, "loc": { "start": { "line": 345, - "column": 2 + "column": 27 }, "end": { "line": 345, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12305, + "end": 12306, + "loc": { + "start": { + "line": 345, + "column": 28 + }, + "end": { + "line": 345, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12310, + "end": 12311, + "loc": { + "start": { + "line": 346, + "column": 2 + }, + "end": { + "line": 346, "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, + "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": 12317, + "end": 12522, "loc": { "start": { - "line": 347, + "line": 348, "column": 2 }, "end": { @@ -98957,9 +108876,9 @@ "postfix": false, "binop": null }, - "value": "removeButtonTheme", - "start": 13101, - "end": 13118, + "value": "dispatch", + "start": 12526, + "end": 12534, "loc": { "start": { "line": 352, @@ -98967,7 +108886,7 @@ }, "end": { "line": 352, - "column": 19 + "column": 10 } } }, @@ -98983,94 +108902,42 @@ "postfix": false, "binop": null }, - "start": 13118, - "end": 13119, + "start": 12534, + "end": 12535, "loc": { "start": { + "line": 352, + "column": 10 + }, + "end": { + "line": 352, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "callback", + "start": 12535, + "end": 12543, + "loc": { + "start": { + "line": 352, + "column": 11 + }, + "end": { "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 } } }, @@ -99086,16 +108953,16 @@ "postfix": false, "binop": null }, - "start": 13137, - "end": 13138, + "start": 12543, + "end": 12544, "loc": { "start": { "line": 352, - "column": 38 + "column": 19 }, "end": { "line": 352, - "column": 39 + "column": 20 } } }, @@ -99111,32 +108978,16 @@ "postfix": false, "binop": null }, - "start": 13138, - "end": 13139, + "start": 12544, + "end": 12545, "loc": { "start": { "line": 352, - "column": 39 + "column": 20 }, "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 + "column": 21 } } }, @@ -99155,15 +109006,15 @@ "updateContext": null }, "value": "if", - "start": 13231, - "end": 13233, + "start": 12551, + "end": 12553, "loc": { "start": { - "line": 356, + "line": 353, "column": 4 }, "end": { - "line": 356, + "line": 353, "column": 6 } } @@ -99180,15 +109031,15 @@ "postfix": false, "binop": null }, - "start": 13233, - "end": 13234, + "start": 12553, + "end": 12554, "loc": { "start": { - "line": 356, + "line": 353, "column": 6 }, "end": { - "line": 356, + "line": 353, "column": 7 } } @@ -99207,15 +109058,15 @@ "updateContext": null }, "value": "!", - "start": 13234, - "end": 13235, + "start": 12554, + "end": 12555, "loc": { "start": { - "line": 356, + "line": 353, "column": 7 }, "end": { - "line": 356, + "line": 353, "column": 8 } } @@ -99232,306 +109083,17 @@ "postfix": false, "binop": null }, - "value": "buttons", - "start": 13235, - "end": 13242, + "value": "window", + "start": 12555, + "end": 12561, "loc": { "start": { - "line": 356, + "line": 353, "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 + "line": 353, + "column": 14 } } }, @@ -99548,16 +109110,43 @@ "binop": null, "updateContext": null }, - "start": 13293, - "end": 13294, + "start": 12561, + "end": 12562, "loc": { "start": { - "line": 357, - "column": 33 + "line": 353, + "column": 14 }, "end": { - "line": 357, - "column": 34 + "line": 353, + "column": 15 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "SimpleKeyboardInstances", + "start": 12562, + "end": 12587, + "loc": { + "start": { + "line": 353, + "column": 15 + }, + "end": { + "line": 353, + "column": 40 } } }, @@ -99574,49 +109163,72 @@ "binop": null, "updateContext": null }, - "start": 13294, - "end": 13295, + "start": 12587, + "end": 12588, "loc": { "start": { - "line": 357, - "column": 34 + "line": 353, + "column": 40 }, "end": { - "line": 357, - "column": 35 + "line": 353, + "column": 41 } } }, { "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": 13295, - "end": 13296, + "start": 12588, + "end": 12589, "loc": { "start": { - "line": 357, - "column": 35 + "line": 353, + "column": 41 }, "end": { - "line": 357, - "column": 36 + "line": 353, + "column": 42 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12589, + "end": 12590, + "loc": { + "start": { + "line": 353, + "column": 42 + }, + "end": { + "line": 353, + "column": 43 + } + } + }, + { + "type": { + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -99624,20 +109236,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 13304, - "end": 13308, + "value": "console", + "start": 12598, + "end": 12605, "loc": { "start": { - "line": 358, + "line": 354, "column": 6 }, "end": { - "line": 358, - "column": 10 + "line": 354, + "column": 13 } } }, @@ -99654,16 +109265,16 @@ "binop": null, "updateContext": null }, - "start": 13308, - "end": 13309, + "start": 12605, + "end": 12606, "loc": { "start": { - "line": 358, - "column": 10 + "line": 354, + "column": 13 }, "end": { - "line": 358, - "column": 11 + "line": 354, + "column": 14 } } }, @@ -99679,17 +109290,17 @@ "postfix": false, "binop": null }, - "value": "render", - "start": 13309, - "end": 13315, + "value": "warn", + "start": 12606, + "end": 12610, "loc": { "start": { - "line": 358, - "column": 11 + "line": 354, + "column": 14 }, "end": { - "line": 358, - "column": 17 + "line": 354, + "column": 18 } } }, @@ -99705,16 +109316,93 @@ "postfix": false, "binop": null }, - "start": 13315, - "end": 13316, + "start": 12610, + "end": 12611, "loc": { "start": { - "line": 358, - "column": 17 + "line": 354, + "column": 18 }, "end": { - "line": 358, - "column": 18 + "line": 354, + "column": 19 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12611, + "end": 12612, + "loc": { + "start": { + "line": 354, + "column": 19 + }, + "end": { + "line": 354, + "column": 20 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "SimpleKeyboardInstances is not defined. Dispatch cannot be called.", + "start": 12612, + "end": 12678, + "loc": { + "start": { + "line": 354, + "column": 20 + }, + "end": { + "line": 354, + "column": 86 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12678, + "end": 12679, + "loc": { + "start": { + "line": 354, + "column": 86 + }, + "end": { + "line": 354, + "column": 87 } } }, @@ -99730,16 +109418,16 @@ "postfix": false, "binop": null }, - "start": 13316, - "end": 13317, + "start": 12679, + "end": 12680, "loc": { "start": { - "line": 358, - "column": 18 + "line": 354, + "column": 87 }, "end": { - "line": 358, - "column": 19 + "line": 354, + "column": 88 } } }, @@ -99756,16 +109444,226 @@ "binop": null, "updateContext": null }, - "start": 13317, - "end": 13318, + "start": 12680, + "end": 12681, "loc": { "start": { - "line": 358, - "column": 19 + "line": 354, + "column": 88 }, "end": { - "line": 358, - "column": 20 + "line": 354, + "column": 89 + } + } + }, + { + "type": { + "label": "throw", + "keyword": "throw", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "throw", + "start": 12689, + "end": 12694, + "loc": { + "start": { + "line": 355, + "column": 6 + }, + "end": { + "line": 355, + "column": 11 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 12695, + "end": 12698, + "loc": { + "start": { + "line": 355, + "column": 12 + }, + "end": { + "line": 355, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 12699, + "end": 12704, + "loc": { + "start": { + "line": 355, + "column": 16 + }, + "end": { + "line": 355, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12704, + "end": 12705, + "loc": { + "start": { + "line": 355, + "column": 21 + }, + "end": { + "line": 355, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "INSTANCES_VAR_ERROR", + "start": 12705, + "end": 12726, + "loc": { + "start": { + "line": 355, + "column": 22 + }, + "end": { + "line": 355, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12726, + "end": 12727, + "loc": { + "start": { + "line": 355, + "column": 43 + }, + "end": { + "line": 355, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12727, + "end": 12728, + "loc": { + "start": { + "line": 355, + "column": 44 + }, + "end": { + "line": 355, + "column": 45 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12734, + "end": 12735, + "loc": { + "start": { + "line": 356, + "column": 4 + }, + "end": { + "line": 356, + "column": 5 } } }, @@ -99784,8 +109682,471 @@ "updateContext": null }, "value": "return", - "start": 13326, - "end": 13332, + "start": 12747, + "end": 12753, + "loc": { + "start": { + "line": 358, + "column": 4 + }, + "end": { + "line": 358, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Object", + "start": 12754, + "end": 12760, + "loc": { + "start": { + "line": 358, + "column": 11 + }, + "end": { + "line": 358, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12760, + "end": 12761, + "loc": { + "start": { + "line": 358, + "column": 17 + }, + "end": { + "line": 358, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keys", + "start": 12761, + "end": 12765, + "loc": { + "start": { + "line": 358, + "column": 18 + }, + "end": { + "line": 358, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12765, + "end": 12766, + "loc": { + "start": { + "line": 358, + "column": 22 + }, + "end": { + "line": 358, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "window", + "start": 12766, + "end": 12772, + "loc": { + "start": { + "line": 358, + "column": 23 + }, + "end": { + "line": 358, + "column": 29 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12772, + "end": 12773, + "loc": { + "start": { + "line": 358, + "column": 29 + }, + "end": { + "line": 358, + "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": 12773, + "end": 12798, + "loc": { + "start": { + "line": 358, + "column": 30 + }, + "end": { + "line": 358, + "column": 55 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12798, + "end": 12799, + "loc": { + "start": { + "line": 358, + "column": 55 + }, + "end": { + "line": 358, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12799, + "end": 12800, + "loc": { + "start": { + "line": 358, + "column": 56 + }, + "end": { + "line": 358, + "column": 57 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12800, + "end": 12801, + "loc": { + "start": { + "line": 358, + "column": 57 + }, + "end": { + "line": 358, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 12801, + "end": 12808, + "loc": { + "start": { + "line": 358, + "column": 58 + }, + "end": { + "line": 358, + "column": 65 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12808, + "end": 12809, + "loc": { + "start": { + "line": 358, + "column": 65 + }, + "end": { + "line": 358, + "column": 66 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12809, + "end": 12810, + "loc": { + "start": { + "line": 358, + "column": 66 + }, + "end": { + "line": 358, + "column": 67 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 12810, + "end": 12813, + "loc": { + "start": { + "line": 358, + "column": 67 + }, + "end": { + "line": 358, + "column": 70 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12813, + "end": 12814, + "loc": { + "start": { + "line": 358, + "column": 70 + }, + "end": { + "line": 358, + "column": 71 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12815, + "end": 12817, + "loc": { + "start": { + "line": 358, + "column": 72 + }, + "end": { + "line": 358, + "column": 74 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12818, + "end": 12819, + "loc": { + "start": { + "line": 358, + "column": 75 + }, + "end": { + "line": 358, + "column": 76 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "callback", + "start": 12827, + "end": 12835, "loc": { "start": { "line": 359, @@ -99793,6 +110154,826 @@ }, "end": { "line": 359, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12835, + "end": 12836, + "loc": { + "start": { + "line": 359, + "column": 14 + }, + "end": { + "line": 359, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "window", + "start": 12836, + "end": 12842, + "loc": { + "start": { + "line": 359, + "column": 15 + }, + "end": { + "line": 359, + "column": 21 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12842, + "end": 12843, + "loc": { + "start": { + "line": 359, + "column": 21 + }, + "end": { + "line": 359, + "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": 12843, + "end": 12868, + "loc": { + "start": { + "line": 359, + "column": 22 + }, + "end": { + "line": 359, + "column": 47 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12868, + "end": 12869, + "loc": { + "start": { + "line": 359, + "column": 47 + }, + "end": { + "line": 359, + "column": 48 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12869, + "end": 12870, + "loc": { + "start": { + "line": 359, + "column": 48 + }, + "end": { + "line": 359, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 12870, + "end": 12873, + "loc": { + "start": { + "line": 359, + "column": 49 + }, + "end": { + "line": 359, + "column": 52 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12873, + "end": 12874, + "loc": { + "start": { + "line": 359, + "column": 52 + }, + "end": { + "line": 359, + "column": 53 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12874, + "end": 12875, + "loc": { + "start": { + "line": 359, + "column": 53 + }, + "end": { + "line": 359, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 12876, + "end": 12879, + "loc": { + "start": { + "line": 359, + "column": 55 + }, + "end": { + "line": 359, + "column": 58 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12879, + "end": 12880, + "loc": { + "start": { + "line": 359, + "column": 58 + }, + "end": { + "line": 359, + "column": 59 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12880, + "end": 12881, + "loc": { + "start": { + "line": 359, + "column": 59 + }, + "end": { + "line": 359, + "column": 60 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12887, + "end": 12888, + "loc": { + "start": { + "line": 360, + "column": 4 + }, + "end": { + "line": 360, + "column": 5 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12888, + "end": 12889, + "loc": { + "start": { + "line": 360, + "column": 5 + }, + "end": { + "line": 360, + "column": 6 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12893, + "end": 12894, + "loc": { + "start": { + "line": 361, + "column": 2 + }, + "end": { + "line": 361, + "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": 12900, + "end": 13181, + "loc": { + "start": { + "line": 363, + "column": 2 + }, + "end": { + "line": 367, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "addButtonTheme", + "start": 13185, + "end": 13199, + "loc": { + "start": { + "line": 368, + "column": 2 + }, + "end": { + "line": 368, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13199, + "end": 13200, + "loc": { + "start": { + "line": 368, + "column": 16 + }, + "end": { + "line": 368, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 13200, + "end": 13207, + "loc": { + "start": { + "line": 368, + "column": 17 + }, + "end": { + "line": 368, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13207, + "end": 13208, + "loc": { + "start": { + "line": 368, + "column": 24 + }, + "end": { + "line": 368, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "className", + "start": 13209, + "end": 13218, + "loc": { + "start": { + "line": 368, + "column": 26 + }, + "end": { + "line": 368, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13218, + "end": 13219, + "loc": { + "start": { + "line": 368, + "column": 35 + }, + "end": { + "line": 368, + "column": 36 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13219, + "end": 13220, + "loc": { + "start": { + "line": 368, + "column": 36 + }, + "end": { + "line": 368, + "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": 13226, + "end": 13228, + "loc": { + "start": { + "line": 369, + "column": 4 + }, + "end": { + "line": 369, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13228, + "end": 13229, + "loc": { + "start": { + "line": 369, + "column": 6 + }, + "end": { + "line": 369, + "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": 13229, + "end": 13230, + "loc": { + "start": { + "line": 369, + "column": 7 + }, + "end": { + "line": 369, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "className", + "start": 13230, + "end": 13239, + "loc": { + "start": { + "line": 369, + "column": 8 + }, + "end": { + "line": 369, + "column": 17 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 13240, + "end": 13242, + "loc": { + "start": { + "line": 369, + "column": 18 + }, + "end": { + "line": 369, + "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": 13243, + "end": 13244, + "loc": { + "start": { + "line": 369, + "column": 21 + }, + "end": { + "line": 369, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 13244, + "end": 13251, + "loc": { + "start": { + "line": 369, + "column": 22 + }, + "end": { + "line": 369, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13251, + "end": 13252, + "loc": { + "start": { + "line": 369, + "column": 29 + }, + "end": { + "line": 369, + "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": 13260, + "end": 13266, + "loc": { + "start": { + "line": 370, + "column": 6 + }, + "end": { + "line": 370, "column": 12 } } @@ -99812,15 +110993,15 @@ "updateContext": null }, "value": "false", - "start": 13333, - "end": 13338, + "start": 13267, + "end": 13272, "loc": { "start": { - "line": 359, + "line": 370, "column": 13 }, "end": { - "line": 359, + "line": 370, "column": 18 } } @@ -99838,19 +111019,3266 @@ "binop": null, "updateContext": null }, - "start": 13338, - "end": 13339, + "start": 13272, + "end": 13273, "loc": { "start": { - "line": 359, + "line": 370, "column": 18 }, "end": { - "line": 359, + "line": 370, "column": 19 } } }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 13281, + "end": 13288, + "loc": { + "start": { + "line": 372, + "column": 4 + }, + "end": { + "line": 372, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13288, + "end": 13289, + "loc": { + "start": { + "line": 372, + "column": 11 + }, + "end": { + "line": 372, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "split", + "start": 13289, + "end": 13294, + "loc": { + "start": { + "line": 372, + "column": 12 + }, + "end": { + "line": 372, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13294, + "end": 13295, + "loc": { + "start": { + "line": 372, + "column": 17 + }, + "end": { + "line": 372, + "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": 13295, + "end": 13298, + "loc": { + "start": { + "line": 372, + "column": 18 + }, + "end": { + "line": 372, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13298, + "end": 13299, + "loc": { + "start": { + "line": 372, + "column": 21 + }, + "end": { + "line": 372, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13299, + "end": 13300, + "loc": { + "start": { + "line": 372, + "column": 22 + }, + "end": { + "line": 372, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 13300, + "end": 13307, + "loc": { + "start": { + "line": 372, + "column": 23 + }, + "end": { + "line": 372, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13307, + "end": 13308, + "loc": { + "start": { + "line": 372, + "column": 30 + }, + "end": { + "line": 372, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 13308, + "end": 13314, + "loc": { + "start": { + "line": 372, + "column": 31 + }, + "end": { + "line": 372, + "column": 37 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13315, + "end": 13317, + "loc": { + "start": { + "line": 372, + "column": 38 + }, + "end": { + "line": 372, + "column": 40 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13318, + "end": 13319, + "loc": { + "start": { + "line": 372, + "column": 41 + }, + "end": { + "line": 372, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "className", + "start": 13327, + "end": 13336, + "loc": { + "start": { + "line": 373, + "column": 6 + }, + "end": { + "line": 373, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13336, + "end": 13337, + "loc": { + "start": { + "line": 373, + "column": 15 + }, + "end": { + "line": 373, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "split", + "start": 13337, + "end": 13342, + "loc": { + "start": { + "line": 373, + "column": 16 + }, + "end": { + "line": 373, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13342, + "end": 13343, + "loc": { + "start": { + "line": 373, + "column": 21 + }, + "end": { + "line": 373, + "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": 13343, + "end": 13346, + "loc": { + "start": { + "line": 373, + "column": 22 + }, + "end": { + "line": 373, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13346, + "end": 13347, + "loc": { + "start": { + "line": 373, + "column": 25 + }, + "end": { + "line": 373, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13347, + "end": 13348, + "loc": { + "start": { + "line": 373, + "column": 26 + }, + "end": { + "line": 373, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 13348, + "end": 13355, + "loc": { + "start": { + "line": 373, + "column": 27 + }, + "end": { + "line": 373, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13355, + "end": 13356, + "loc": { + "start": { + "line": 373, + "column": 34 + }, + "end": { + "line": 373, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "classNameItem", + "start": 13356, + "end": 13369, + "loc": { + "start": { + "line": 373, + "column": 35 + }, + "end": { + "line": 373, + "column": 48 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13370, + "end": 13372, + "loc": { + "start": { + "line": 373, + "column": 49 + }, + "end": { + "line": 373, + "column": 51 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13373, + "end": 13374, + "loc": { + "start": { + "line": 373, + "column": 52 + }, + "end": { + "line": 373, + "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": 13384, + "end": 13386, + "loc": { + "start": { + "line": 374, + "column": 8 + }, + "end": { + "line": 374, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13386, + "end": 13387, + "loc": { + "start": { + "line": 374, + "column": 10 + }, + "end": { + "line": 374, + "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": 13387, + "end": 13388, + "loc": { + "start": { + "line": 374, + "column": 11 + }, + "end": { + "line": 374, + "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": 13388, + "end": 13392, + "loc": { + "start": { + "line": 374, + "column": 12 + }, + "end": { + "line": 374, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13392, + "end": 13393, + "loc": { + "start": { + "line": 374, + "column": 16 + }, + "end": { + "line": 374, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 13393, + "end": 13400, + "loc": { + "start": { + "line": 374, + "column": 17 + }, + "end": { + "line": 374, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13400, + "end": 13401, + "loc": { + "start": { + "line": 374, + "column": 24 + }, + "end": { + "line": 374, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 13401, + "end": 13412, + "loc": { + "start": { + "line": 374, + "column": 25 + }, + "end": { + "line": 374, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13412, + "end": 13413, + "loc": { + "start": { + "line": 374, + "column": 36 + }, + "end": { + "line": 374, + "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": 13425, + "end": 13429, + "loc": { + "start": { + "line": 375, + "column": 10 + }, + "end": { + "line": 375, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13429, + "end": 13430, + "loc": { + "start": { + "line": 375, + "column": 14 + }, + "end": { + "line": 375, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 13430, + "end": 13437, + "loc": { + "start": { + "line": 375, + "column": 15 + }, + "end": { + "line": 375, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13437, + "end": 13438, + "loc": { + "start": { + "line": 375, + "column": 22 + }, + "end": { + "line": 375, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 13438, + "end": 13449, + "loc": { + "start": { + "line": 375, + "column": 23 + }, + "end": { + "line": 375, + "column": 34 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 13450, + "end": 13451, + "loc": { + "start": { + "line": 375, + "column": 35 + }, + "end": { + "line": 375, + "column": 36 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13452, + "end": 13453, + "loc": { + "start": { + "line": 375, + "column": 37 + }, + "end": { + "line": 375, + "column": 38 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13453, + "end": 13454, + "loc": { + "start": { + "line": 375, + "column": 38 + }, + "end": { + "line": 375, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13454, + "end": 13455, + "loc": { + "start": { + "line": 375, + "column": 39 + }, + "end": { + "line": 375, + "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": 13467, + "end": 13470, + "loc": { + "start": { + "line": 377, + "column": 8 + }, + "end": { + "line": 377, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "classNameFound", + "start": 13471, + "end": 13485, + "loc": { + "start": { + "line": 377, + "column": 12 + }, + "end": { + "line": 377, + "column": 26 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 13486, + "end": 13487, + "loc": { + "start": { + "line": 377, + "column": 27 + }, + "end": { + "line": 377, + "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": 13488, + "end": 13493, + "loc": { + "start": { + "line": 377, + "column": 29 + }, + "end": { + "line": 377, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13493, + "end": 13494, + "loc": { + "start": { + "line": 377, + "column": 34 + }, + "end": { + "line": 377, + "column": 35 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", + "start": 13508, + "end": 13599, + "loc": { + "start": { + "line": 379, + "column": 8 + }, + "end": { + "line": 381, + "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": 13609, + "end": 13613, + "loc": { + "start": { + "line": 382, + "column": 8 + }, + "end": { + "line": 382, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13613, + "end": 13614, + "loc": { + "start": { + "line": 382, + "column": 12 + }, + "end": { + "line": 382, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 13614, + "end": 13621, + "loc": { + "start": { + "line": 382, + "column": 13 + }, + "end": { + "line": 382, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13621, + "end": 13622, + "loc": { + "start": { + "line": 382, + "column": 20 + }, + "end": { + "line": 382, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 13622, + "end": 13633, + "loc": { + "start": { + "line": 382, + "column": 21 + }, + "end": { + "line": 382, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13633, + "end": 13634, + "loc": { + "start": { + "line": 382, + "column": 32 + }, + "end": { + "line": 382, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 13634, + "end": 13637, + "loc": { + "start": { + "line": 382, + "column": 33 + }, + "end": { + "line": 382, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13637, + "end": 13638, + "loc": { + "start": { + "line": 382, + "column": 36 + }, + "end": { + "line": 382, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 13638, + "end": 13649, + "loc": { + "start": { + "line": 382, + "column": 37 + }, + "end": { + "line": 382, + "column": 48 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13650, + "end": 13652, + "loc": { + "start": { + "line": 382, + "column": 49 + }, + "end": { + "line": 382, + "column": 51 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13653, + "end": 13654, + "loc": { + "start": { + "line": 382, + "column": 52 + }, + "end": { + "line": 382, + "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": 13668, + "end": 13670, + "loc": { + "start": { + "line": 384, + "column": 10 + }, + "end": { + "line": 384, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13670, + "end": 13671, + "loc": { + "start": { + "line": 384, + "column": 12 + }, + "end": { + "line": 384, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 13671, + "end": 13682, + "loc": { + "start": { + "line": 384, + "column": 13 + }, + "end": { + "line": 384, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13682, + "end": 13683, + "loc": { + "start": { + "line": 384, + "column": 24 + }, + "end": { + "line": 384, + "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": 13683, + "end": 13688, + "loc": { + "start": { + "line": 384, + "column": 25 + }, + "end": { + "line": 384, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13688, + "end": 13689, + "loc": { + "start": { + "line": 384, + "column": 30 + }, + "end": { + "line": 384, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "split", + "start": 13689, + "end": 13694, + "loc": { + "start": { + "line": 384, + "column": 31 + }, + "end": { + "line": 384, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13694, + "end": 13695, + "loc": { + "start": { + "line": 384, + "column": 36 + }, + "end": { + "line": 384, + "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": 13695, + "end": 13698, + "loc": { + "start": { + "line": 384, + "column": 37 + }, + "end": { + "line": 384, + "column": 40 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13698, + "end": 13699, + "loc": { + "start": { + "line": 384, + "column": 40 + }, + "end": { + "line": 384, + "column": 41 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13699, + "end": 13700, + "loc": { + "start": { + "line": 384, + "column": 41 + }, + "end": { + "line": 384, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includes", + "start": 13700, + "end": 13708, + "loc": { + "start": { + "line": 384, + "column": 42 + }, + "end": { + "line": 384, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13708, + "end": 13709, + "loc": { + "start": { + "line": 384, + "column": 50 + }, + "end": { + "line": 384, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "classNameItem", + "start": 13709, + "end": 13722, + "loc": { + "start": { + "line": 384, + "column": 51 + }, + "end": { + "line": 384, + "column": 64 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13722, + "end": 13723, + "loc": { + "start": { + "line": 384, + "column": 64 + }, + "end": { + "line": 384, + "column": 65 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13723, + "end": 13724, + "loc": { + "start": { + "line": 384, + "column": 65 + }, + "end": { + "line": 384, + "column": 66 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13724, + "end": 13725, + "loc": { + "start": { + "line": 384, + "column": 66 + }, + "end": { + "line": 384, + "column": 67 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "classNameFound", + "start": 13739, + "end": 13753, + "loc": { + "start": { + "line": 385, + "column": 12 + }, + "end": { + "line": 385, + "column": 26 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 13754, + "end": 13755, + "loc": { + "start": { + "line": 385, + "column": 27 + }, + "end": { + "line": 385, + "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": 13756, + "end": 13760, + "loc": { + "start": { + "line": 385, + "column": 29 + }, + "end": { + "line": 385, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13760, + "end": 13761, + "loc": { + "start": { + "line": 385, + "column": 33 + }, + "end": { + "line": 385, + "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": 13789, + "end": 13792, + "loc": { + "start": { + "line": 387, + "column": 12 + }, + "end": { + "line": 387, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemeArray", + "start": 13793, + "end": 13809, + "loc": { + "start": { + "line": 387, + "column": 16 + }, + "end": { + "line": 387, + "column": 32 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 13810, + "end": 13811, + "loc": { + "start": { + "line": 387, + "column": 33 + }, + "end": { + "line": 387, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 13812, + "end": 13823, + "loc": { + "start": { + "line": 387, + "column": 35 + }, + "end": { + "line": 387, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13823, + "end": 13824, + "loc": { + "start": { + "line": 387, + "column": 46 + }, + "end": { + "line": 387, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 13824, + "end": 13831, + "loc": { + "start": { + "line": 387, + "column": 47 + }, + "end": { + "line": 387, + "column": 54 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13831, + "end": 13832, + "loc": { + "start": { + "line": 387, + "column": 54 + }, + "end": { + "line": 387, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "split", + "start": 13832, + "end": 13837, + "loc": { + "start": { + "line": 387, + "column": 55 + }, + "end": { + "line": 387, + "column": 60 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13837, + "end": 13838, + "loc": { + "start": { + "line": 387, + "column": 60 + }, + "end": { + "line": 387, + "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": 13838, + "end": 13841, + "loc": { + "start": { + "line": 387, + "column": 61 + }, + "end": { + "line": 387, + "column": 64 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13841, + "end": 13842, + "loc": { + "start": { + "line": 387, + "column": 64 + }, + "end": { + "line": 387, + "column": 65 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13842, + "end": 13843, + "loc": { + "start": { + "line": 387, + "column": 65 + }, + "end": { + "line": 387, + "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": 13857, + "end": 13859, + "loc": { + "start": { + "line": 388, + "column": 12 + }, + "end": { + "line": 388, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13859, + "end": 13860, + "loc": { + "start": { + "line": 388, + "column": 14 + }, + "end": { + "line": 388, + "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": 13860, + "end": 13861, + "loc": { + "start": { + "line": 388, + "column": 15 + }, + "end": { + "line": 388, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemeArray", + "start": 13861, + "end": 13877, + "loc": { + "start": { + "line": 388, + "column": 16 + }, + "end": { + "line": 388, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13877, + "end": 13878, + "loc": { + "start": { + "line": 388, + "column": 32 + }, + "end": { + "line": 388, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includes", + "start": 13878, + "end": 13886, + "loc": { + "start": { + "line": 388, + "column": 33 + }, + "end": { + "line": 388, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13886, + "end": 13887, + "loc": { + "start": { + "line": 388, + "column": 41 + }, + "end": { + "line": 388, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 13887, + "end": 13893, + "loc": { + "start": { + "line": 388, + "column": 42 + }, + "end": { + "line": 388, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13893, + "end": 13894, + "loc": { + "start": { + "line": 388, + "column": 48 + }, + "end": { + "line": 388, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13894, + "end": 13895, + "loc": { + "start": { + "line": 388, + "column": 49 + }, + "end": { + "line": 388, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13895, + "end": 13896, + "loc": { + "start": { + "line": 388, + "column": 50 + }, + "end": { + "line": 388, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "classNameFound", + "start": 13912, + "end": 13926, + "loc": { + "start": { + "line": 389, + "column": 14 + }, + "end": { + "line": 389, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 13927, + "end": 13928, + "loc": { + "start": { + "line": 389, + "column": 29 + }, + "end": { + "line": 389, + "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": 13929, + "end": 13933, + "loc": { + "start": { + "line": 389, + "column": 31 + }, + "end": { + "line": 389, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13933, + "end": 13934, + "loc": { + "start": { + "line": 389, + "column": 35 + }, + "end": { + "line": 389, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemeArray", + "start": 13950, + "end": 13966, + "loc": { + "start": { + "line": 390, + "column": 14 + }, + "end": { + "line": 390, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13966, + "end": 13967, + "loc": { + "start": { + "line": 390, + "column": 30 + }, + "end": { + "line": 390, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 13967, + "end": 13971, + "loc": { + "start": { + "line": 390, + "column": 31 + }, + "end": { + "line": 390, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13971, + "end": 13972, + "loc": { + "start": { + "line": 390, + "column": 35 + }, + "end": { + "line": 390, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 13972, + "end": 13978, + "loc": { + "start": { + "line": 390, + "column": 36 + }, + "end": { + "line": 390, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13978, + "end": 13979, + "loc": { + "start": { + "line": 390, + "column": 42 + }, + "end": { + "line": 390, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13979, + "end": 13980, + "loc": { + "start": { + "line": 390, + "column": 43 + }, + "end": { + "line": 390, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 13996, + "end": 14007, + "loc": { + "start": { + "line": 391, + "column": 14 + }, + "end": { + "line": 391, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14007, + "end": 14008, + "loc": { + "start": { + "line": 391, + "column": 25 + }, + "end": { + "line": 391, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 14008, + "end": 14015, + "loc": { + "start": { + "line": 391, + "column": 26 + }, + "end": { + "line": 391, + "column": 33 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 14016, + "end": 14017, + "loc": { + "start": { + "line": 391, + "column": 34 + }, + "end": { + "line": 391, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemeArray", + "start": 14018, + "end": 14034, + "loc": { + "start": { + "line": 391, + "column": 36 + }, + "end": { + "line": 391, + "column": 52 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14034, + "end": 14035, + "loc": { + "start": { + "line": 391, + "column": 52 + }, + "end": { + "line": 391, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "join", + "start": 14035, + "end": 14039, + "loc": { + "start": { + "line": 391, + "column": 53 + }, + "end": { + "line": 391, + "column": 57 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14039, + "end": 14040, + "loc": { + "start": { + "line": 391, + "column": 57 + }, + "end": { + "line": 391, + "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": 14040, + "end": 14043, + "loc": { + "start": { + "line": 391, + "column": 58 + }, + "end": { + "line": 391, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14043, + "end": 14044, + "loc": { + "start": { + "line": 391, + "column": 61 + }, + "end": { + "line": 391, + "column": 62 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14044, + "end": 14045, + "loc": { + "start": { + "line": 391, + "column": 62 + }, + "end": { + "line": 391, + "column": 63 + } + } + }, { "type": { "label": "}", @@ -99863,31 +114291,1431 @@ "postfix": false, "binop": null }, - "start": 13345, - "end": 13346, + "start": 14059, + "end": 14060, "loc": { "start": { - "line": 360, - "column": 4 + "line": 392, + "column": 12 }, "end": { - "line": 360, - "column": 5 + "line": 392, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14072, + "end": 14073, + "loc": { + "start": { + "line": 393, + "column": 10 + }, + "end": { + "line": 393, + "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": 14085, + "end": 14091, + "loc": { + "start": { + "line": 394, + "column": 10 + }, + "end": { + "line": 394, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 14092, + "end": 14103, + "loc": { + "start": { + "line": 394, + "column": 17 + }, + "end": { + "line": 394, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14103, + "end": 14104, + "loc": { + "start": { + "line": 394, + "column": 28 + }, + "end": { + "line": 394, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14114, + "end": 14115, + "loc": { + "start": { + "line": 395, + "column": 8 + }, + "end": { + "line": 395, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14115, + "end": 14116, + "loc": { + "start": { + "line": 395, + "column": 9 + }, + "end": { + "line": 395, + "column": 10 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14116, + "end": 14117, + "loc": { + "start": { + "line": 395, + "column": 10 + }, + "end": { + "line": 395, + "column": 11 } } }, { "type": "CommentBlock", - "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", - "start": 13354, - "end": 13422, + "value": "*\r\n * If class is not defined, we create a new entry\r\n ", + "start": 14129, + "end": 14204, "loc": { "start": { - "line": 362, + "line": 397, + "column": 8 + }, + "end": { + "line": 399, + "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": 14214, + "end": 14216, + "loc": { + "start": { + "line": 400, + "column": 8 + }, + "end": { + "line": 400, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14216, + "end": 14217, + "loc": { + "start": { + "line": 400, + "column": 10 + }, + "end": { + "line": 400, + "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": 14217, + "end": 14218, + "loc": { + "start": { + "line": 400, + "column": 11 + }, + "end": { + "line": 400, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "classNameFound", + "start": 14218, + "end": 14232, + "loc": { + "start": { + "line": 400, + "column": 12 + }, + "end": { + "line": 400, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14232, + "end": 14233, + "loc": { + "start": { + "line": 400, + "column": 26 + }, + "end": { + "line": 400, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14233, + "end": 14234, + "loc": { + "start": { + "line": 400, + "column": 27 + }, + "end": { + "line": 400, + "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": 14246, + "end": 14250, + "loc": { + "start": { + "line": 401, + "column": 10 + }, + "end": { + "line": 401, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14250, + "end": 14251, + "loc": { + "start": { + "line": 401, + "column": 14 + }, + "end": { + "line": 401, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 14251, + "end": 14258, + "loc": { + "start": { + "line": 401, + "column": 15 + }, + "end": { + "line": 401, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14258, + "end": 14259, + "loc": { + "start": { + "line": 401, + "column": 22 + }, + "end": { + "line": 401, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 14259, + "end": 14270, + "loc": { + "start": { + "line": 401, + "column": 23 + }, + "end": { + "line": 401, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14270, + "end": 14271, + "loc": { + "start": { + "line": 401, + "column": 34 + }, + "end": { + "line": 401, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 14271, + "end": 14275, + "loc": { + "start": { + "line": 401, + "column": 35 + }, + "end": { + "line": 401, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14275, + "end": 14276, + "loc": { + "start": { + "line": 401, + "column": 39 + }, + "end": { + "line": 401, + "column": 40 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14276, + "end": 14277, + "loc": { + "start": { + "line": 401, + "column": 40 + }, + "end": { + "line": 401, + "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": 14291, + "end": 14296, + "loc": { + "start": { + "line": 402, + "column": 12 + }, + "end": { + "line": 402, + "column": 17 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14296, + "end": 14297, + "loc": { + "start": { + "line": 402, + "column": 17 + }, + "end": { + "line": 402, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "classNameItem", + "start": 14298, + "end": 14311, + "loc": { + "start": { + "line": 402, + "column": 19 + }, + "end": { + "line": 402, + "column": 32 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14311, + "end": 14312, + "loc": { + "start": { + "line": 402, + "column": 32 + }, + "end": { + "line": 402, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 14326, + "end": 14333, + "loc": { + "start": { + "line": 403, + "column": 12 + }, + "end": { + "line": 403, + "column": 19 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14333, + "end": 14334, + "loc": { + "start": { + "line": 403, + "column": 19 + }, + "end": { + "line": 403, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 14335, + "end": 14342, + "loc": { + "start": { + "line": 403, + "column": 21 + }, + "end": { + "line": 403, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14354, + "end": 14355, + "loc": { + "start": { + "line": 404, + "column": 10 + }, + "end": { + "line": 404, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14355, + "end": 14356, + "loc": { + "start": { + "line": 404, + "column": 11 + }, + "end": { + "line": 404, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14356, + "end": 14357, + "loc": { + "start": { + "line": 404, + "column": 12 + }, + "end": { + "line": 404, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14367, + "end": 14368, + "loc": { + "start": { + "line": 405, + "column": 8 + }, + "end": { + "line": 405, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14378, + "end": 14379, + "loc": { + "start": { + "line": 407, + "column": 6 + }, + "end": { + "line": 407, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14379, + "end": 14380, + "loc": { + "start": { + "line": 407, + "column": 7 + }, + "end": { + "line": 407, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14380, + "end": 14381, + "loc": { + "start": { + "line": 407, + "column": 8 + }, + "end": { + "line": 407, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14387, + "end": 14388, + "loc": { + "start": { + "line": 408, "column": 4 }, "end": { - "line": 364, + "line": 408, + "column": 5 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14388, + "end": 14389, + "loc": { + "start": { + "line": 408, + "column": 5 + }, + "end": { + "line": 408, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14389, + "end": 14390, + "loc": { + "start": { + "line": 408, + "column": 6 + }, + "end": { + "line": 408, + "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": 14398, + "end": 14402, + "loc": { + "start": { + "line": 410, + "column": 4 + }, + "end": { + "line": 410, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14402, + "end": 14403, + "loc": { + "start": { + "line": 410, + "column": 8 + }, + "end": { + "line": 410, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "render", + "start": 14403, + "end": 14409, + "loc": { + "start": { + "line": 410, + "column": 9 + }, + "end": { + "line": 410, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14409, + "end": 14410, + "loc": { + "start": { + "line": 410, + "column": 15 + }, + "end": { + "line": 410, + "column": 16 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14410, + "end": 14411, + "loc": { + "start": { + "line": 410, + "column": 16 + }, + "end": { + "line": 410, + "column": 17 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14411, + "end": 14412, + "loc": { + "start": { + "line": 410, + "column": 17 + }, + "end": { + "line": 410, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14416, + "end": 14417, + "loc": { + "start": { + "line": 411, + "column": 2 + }, + "end": { + "line": 411, + "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": 14423, + "end": 14763, + "loc": { + "start": { + "line": 413, + "column": 2 + }, + "end": { + "line": 417, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "removeButtonTheme", + "start": 14767, + "end": 14784, + "loc": { + "start": { + "line": 418, + "column": 2 + }, + "end": { + "line": 418, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14784, + "end": 14785, + "loc": { + "start": { + "line": 418, + "column": 19 + }, + "end": { + "line": 418, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 14785, + "end": 14792, + "loc": { + "start": { + "line": 418, + "column": 20 + }, + "end": { + "line": 418, + "column": 27 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14792, + "end": 14793, + "loc": { + "start": { + "line": 418, + "column": 27 + }, + "end": { + "line": 418, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "className", + "start": 14794, + "end": 14803, + "loc": { + "start": { + "line": 418, + "column": 29 + }, + "end": { + "line": 418, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14803, + "end": 14804, + "loc": { + "start": { + "line": 418, + "column": 38 + }, + "end": { + "line": 418, + "column": 39 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14804, + "end": 14805, + "loc": { + "start": { + "line": 418, + "column": 39 + }, + "end": { + "line": 418, + "column": 40 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", + "start": 14811, + "end": 14891, + "loc": { + "start": { + "line": 419, + "column": 4 + }, + "end": { + "line": 421, "column": 7 } } @@ -99907,15 +115735,15 @@ "updateContext": null }, "value": "if", - "start": 13428, - "end": 13430, + "start": 14897, + "end": 14899, "loc": { "start": { - "line": 365, + "line": 422, "column": 4 }, "end": { - "line": 365, + "line": 422, "column": 6 } } @@ -99932,15 +115760,767 @@ "postfix": false, "binop": null }, - "start": 13430, - "end": 13431, + "start": 14899, + "end": 14900, "loc": { "start": { - "line": 365, + "line": 422, "column": 6 }, "end": { - "line": 365, + "line": 422, + "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": 14900, + "end": 14901, + "loc": { + "start": { + "line": 422, + "column": 7 + }, + "end": { + "line": 422, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 14901, + "end": 14908, + "loc": { + "start": { + "line": 422, + "column": 8 + }, + "end": { + "line": 422, + "column": 15 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 14909, + "end": 14911, + "loc": { + "start": { + "line": 422, + "column": 16 + }, + "end": { + "line": 422, + "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": 14912, + "end": 14913, + "loc": { + "start": { + "line": 422, + "column": 19 + }, + "end": { + "line": 422, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "className", + "start": 14913, + "end": 14922, + "loc": { + "start": { + "line": 422, + "column": 20 + }, + "end": { + "line": 422, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14922, + "end": 14923, + "loc": { + "start": { + "line": 422, + "column": 29 + }, + "end": { + "line": 422, + "column": 30 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14923, + "end": 14924, + "loc": { + "start": { + "line": 422, + "column": 30 + }, + "end": { + "line": 422, + "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": 14932, + "end": 14936, + "loc": { + "start": { + "line": 423, + "column": 6 + }, + "end": { + "line": 423, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14936, + "end": 14937, + "loc": { + "start": { + "line": 423, + "column": 10 + }, + "end": { + "line": 423, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 14937, + "end": 14944, + "loc": { + "start": { + "line": 423, + "column": 11 + }, + "end": { + "line": 423, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14944, + "end": 14945, + "loc": { + "start": { + "line": 423, + "column": 18 + }, + "end": { + "line": 423, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 14945, + "end": 14956, + "loc": { + "start": { + "line": 423, + "column": 19 + }, + "end": { + "line": 423, + "column": 30 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 14957, + "end": 14958, + "loc": { + "start": { + "line": 423, + "column": 31 + }, + "end": { + "line": 423, + "column": 32 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14959, + "end": 14960, + "loc": { + "start": { + "line": 423, + "column": 33 + }, + "end": { + "line": 423, + "column": 34 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14960, + "end": 14961, + "loc": { + "start": { + "line": 423, + "column": 34 + }, + "end": { + "line": 423, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14961, + "end": 14962, + "loc": { + "start": { + "line": 423, + "column": 35 + }, + "end": { + "line": 423, + "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": 14970, + "end": 14974, + "loc": { + "start": { + "line": 424, + "column": 6 + }, + "end": { + "line": 424, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14974, + "end": 14975, + "loc": { + "start": { + "line": 424, + "column": 10 + }, + "end": { + "line": 424, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "render", + "start": 14975, + "end": 14981, + "loc": { + "start": { + "line": 424, + "column": 11 + }, + "end": { + "line": 424, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14981, + "end": 14982, + "loc": { + "start": { + "line": 424, + "column": 17 + }, + "end": { + "line": 424, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14982, + "end": 14983, + "loc": { + "start": { + "line": 424, + "column": 18 + }, + "end": { + "line": 424, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14983, + "end": 14984, + "loc": { + "start": { + "line": 424, + "column": 19 + }, + "end": { + "line": 424, + "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": 14992, + "end": 14998, + "loc": { + "start": { + "line": 425, + "column": 6 + }, + "end": { + "line": 425, + "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": 14999, + "end": 15004, + "loc": { + "start": { + "line": 425, + "column": 13 + }, + "end": { + "line": 425, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15004, + "end": 15005, + "loc": { + "start": { + "line": 425, + "column": 18 + }, + "end": { + "line": 425, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15011, + "end": 15012, + "loc": { + "start": { + "line": 426, + "column": 4 + }, + "end": { + "line": 426, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", + "start": 15020, + "end": 15088, + "loc": { + "start": { + "line": 428, + "column": 4 + }, + "end": { + "line": 430, + "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": 15094, + "end": 15096, + "loc": { + "start": { + "line": 431, + "column": 4 + }, + "end": { + "line": 431, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15096, + "end": 15097, + "loc": { + "start": { + "line": 431, + "column": 6 + }, + "end": { + "line": 431, "column": 7 } } @@ -99958,15 +116538,15 @@ "binop": null }, "value": "buttons", - "start": 13431, - "end": 13438, + "start": 15097, + "end": 15104, "loc": { "start": { - "line": 365, + "line": 431, "column": 7 }, "end": { - "line": 365, + "line": 431, "column": 14 } } @@ -99985,15 +116565,15 @@ "updateContext": null }, "value": "&&", - "start": 13439, - "end": 13441, + "start": 15105, + "end": 15107, "loc": { "start": { - "line": 365, + "line": 431, "column": 15 }, "end": { - "line": 365, + "line": 431, "column": 17 } } @@ -100011,15 +116591,15 @@ "binop": null }, "value": "Array", - "start": 13442, - "end": 13447, + "start": 15108, + "end": 15113, "loc": { "start": { - "line": 365, + "line": 431, "column": 18 }, "end": { - "line": 365, + "line": 431, "column": 23 } } @@ -100037,15 +116617,15 @@ "binop": null, "updateContext": null }, - "start": 13447, - "end": 13448, + "start": 15113, + "end": 15114, "loc": { "start": { - "line": 365, + "line": 431, "column": 23 }, "end": { - "line": 365, + "line": 431, "column": 24 } } @@ -100063,15 +116643,15 @@ "binop": null }, "value": "isArray", - "start": 13448, - "end": 13455, + "start": 15114, + "end": 15121, "loc": { "start": { - "line": 365, + "line": 431, "column": 24 }, "end": { - "line": 365, + "line": 431, "column": 31 } } @@ -100088,15 +116668,15 @@ "postfix": false, "binop": null }, - "start": 13455, - "end": 13456, + "start": 15121, + "end": 15122, "loc": { "start": { - "line": 365, + "line": 431, "column": 31 }, "end": { - "line": 365, + "line": 431, "column": 32 } } @@ -100116,15 +116696,15 @@ "updateContext": null }, "value": "this", - "start": 13456, - "end": 13460, + "start": 15122, + "end": 15126, "loc": { "start": { - "line": 365, + "line": 431, "column": 32 }, "end": { - "line": 365, + "line": 431, "column": 36 } } @@ -100142,15 +116722,15 @@ "binop": null, "updateContext": null }, - "start": 13460, - "end": 13461, + "start": 15126, + "end": 15127, "loc": { "start": { - "line": 365, + "line": 431, "column": 36 }, "end": { - "line": 365, + "line": 431, "column": 37 } } @@ -100168,15 +116748,15 @@ "binop": null }, "value": "options", - "start": 13461, - "end": 13468, + "start": 15127, + "end": 15134, "loc": { "start": { - "line": 365, + "line": 431, "column": 37 }, "end": { - "line": 365, + "line": 431, "column": 44 } } @@ -100194,15 +116774,15 @@ "binop": null, "updateContext": null }, - "start": 13468, - "end": 13469, + "start": 15134, + "end": 15135, "loc": { "start": { - "line": 365, + "line": 431, "column": 44 }, "end": { - "line": 365, + "line": 431, "column": 45 } } @@ -100220,15 +116800,15 @@ "binop": null }, "value": "buttonTheme", - "start": 13469, - "end": 13480, + "start": 15135, + "end": 15146, "loc": { "start": { - "line": 365, + "line": 431, "column": 45 }, "end": { - "line": 365, + "line": 431, "column": 56 } } @@ -100245,15 +116825,15 @@ "postfix": false, "binop": null }, - "start": 13480, - "end": 13481, + "start": 15146, + "end": 15147, "loc": { "start": { - "line": 365, + "line": 431, "column": 56 }, "end": { - "line": 365, + "line": 431, "column": 57 } } @@ -100272,15 +116852,15 @@ "updateContext": null }, "value": "&&", - "start": 13482, - "end": 13484, + "start": 15148, + "end": 15150, "loc": { "start": { - "line": 365, + "line": 431, "column": 58 }, "end": { - "line": 365, + "line": 431, "column": 60 } } @@ -100300,15 +116880,15 @@ "updateContext": null }, "value": "this", - "start": 13485, - "end": 13489, + "start": 15151, + "end": 15155, "loc": { "start": { - "line": 365, + "line": 431, "column": 61 }, "end": { - "line": 365, + "line": 431, "column": 65 } } @@ -100326,15 +116906,15 @@ "binop": null, "updateContext": null }, - "start": 13489, - "end": 13490, + "start": 15155, + "end": 15156, "loc": { "start": { - "line": 365, + "line": 431, "column": 65 }, "end": { - "line": 365, + "line": 431, "column": 66 } } @@ -100352,15 +116932,15 @@ "binop": null }, "value": "options", - "start": 13490, - "end": 13497, + "start": 15156, + "end": 15163, "loc": { "start": { - "line": 365, + "line": 431, "column": 66 }, "end": { - "line": 365, + "line": 431, "column": 73 } } @@ -100378,15 +116958,15 @@ "binop": null, "updateContext": null }, - "start": 13497, - "end": 13498, + "start": 15163, + "end": 15164, "loc": { "start": { - "line": 365, + "line": 431, "column": 73 }, "end": { - "line": 365, + "line": 431, "column": 74 } } @@ -100404,15 +116984,15 @@ "binop": null }, "value": "buttonTheme", - "start": 13498, - "end": 13509, + "start": 15164, + "end": 15175, "loc": { "start": { - "line": 365, + "line": 431, "column": 74 }, "end": { - "line": 365, + "line": 431, "column": 85 } } @@ -100430,15 +117010,15 @@ "binop": null, "updateContext": null }, - "start": 13509, - "end": 13510, + "start": 15175, + "end": 15176, "loc": { "start": { - "line": 365, + "line": 431, "column": 85 }, "end": { - "line": 365, + "line": 431, "column": 86 } } @@ -100456,15 +117036,15 @@ "binop": null }, "value": "length", - "start": 13510, - "end": 13516, + "start": 15176, + "end": 15182, "loc": { "start": { - "line": 365, + "line": 431, "column": 86 }, "end": { - "line": 365, + "line": 431, "column": 92 } } @@ -100481,15 +117061,15 @@ "postfix": false, "binop": null }, - "start": 13516, - "end": 13517, + "start": 15182, + "end": 15183, "loc": { "start": { - "line": 365, + "line": 431, "column": 92 }, "end": { - "line": 365, + "line": 431, "column": 93 } } @@ -100506,15 +117086,15 @@ "postfix": false, "binop": null }, - "start": 13517, - "end": 13518, + "start": 15183, + "end": 15184, "loc": { "start": { - "line": 365, + "line": 431, "column": 93 }, "end": { - "line": 365, + "line": 431, "column": 94 } } @@ -100534,15 +117114,15 @@ "updateContext": null }, "value": "let", - "start": 13526, - "end": 13529, + "start": 15192, + "end": 15195, "loc": { "start": { - "line": 366, + "line": 432, "column": 6 }, "end": { - "line": 366, + "line": 432, "column": 9 } } @@ -100560,15 +117140,15 @@ "binop": null }, "value": "buttonArray", - "start": 13530, - "end": 13541, + "start": 15196, + "end": 15207, "loc": { "start": { - "line": 366, + "line": 432, "column": 10 }, "end": { - "line": 366, + "line": 432, "column": 21 } } @@ -100587,15 +117167,15 @@ "updateContext": null }, "value": "=", - "start": 13542, - "end": 13543, + "start": 15208, + "end": 15209, "loc": { "start": { - "line": 366, + "line": 432, "column": 22 }, "end": { - "line": 366, + "line": 432, "column": 23 } } @@ -100613,15 +117193,15 @@ "binop": null }, "value": "buttons", - "start": 13544, - "end": 13551, + "start": 15210, + "end": 15217, "loc": { "start": { - "line": 366, + "line": 432, "column": 24 }, "end": { - "line": 366, + "line": 432, "column": 31 } } @@ -100639,15 +117219,15 @@ "binop": null, "updateContext": null }, - "start": 13551, - "end": 13552, + "start": 15217, + "end": 15218, "loc": { "start": { - "line": 366, + "line": 432, "column": 31 }, "end": { - "line": 366, + "line": 432, "column": 32 } } @@ -100665,15 +117245,15 @@ "binop": null }, "value": "split", - "start": 13552, - "end": 13557, + "start": 15218, + "end": 15223, "loc": { "start": { - "line": 366, + "line": 432, "column": 32 }, "end": { - "line": 366, + "line": 432, "column": 37 } } @@ -100690,15 +117270,15 @@ "postfix": false, "binop": null }, - "start": 13557, - "end": 13558, + "start": 15223, + "end": 15224, "loc": { "start": { - "line": 366, + "line": 432, "column": 37 }, "end": { - "line": 366, + "line": 432, "column": 38 } } @@ -100717,15 +117297,15 @@ "updateContext": null }, "value": " ", - "start": 13558, - "end": 13561, + "start": 15224, + "end": 15227, "loc": { "start": { - "line": 366, + "line": 432, "column": 38 }, "end": { - "line": 366, + "line": 432, "column": 41 } } @@ -100742,15 +117322,15 @@ "postfix": false, "binop": null }, - "start": 13561, - "end": 13562, + "start": 15227, + "end": 15228, "loc": { "start": { - "line": 366, + "line": 432, "column": 41 }, "end": { - "line": 366, + "line": 432, "column": 42 } } @@ -100768,15 +117348,15 @@ "binop": null, "updateContext": null }, - "start": 13562, - "end": 13563, + "start": 15228, + "end": 15229, "loc": { "start": { - "line": 366, + "line": 432, "column": 42 }, "end": { - "line": 366, + "line": 432, "column": 43 } } @@ -100794,15 +117374,15 @@ "binop": null }, "value": "buttonArray", - "start": 13571, - "end": 13582, + "start": 15237, + "end": 15248, "loc": { "start": { - "line": 367, + "line": 433, "column": 6 }, "end": { - "line": 367, + "line": 433, "column": 17 } } @@ -100820,15 +117400,15 @@ "binop": null, "updateContext": null }, - "start": 13582, - "end": 13583, + "start": 15248, + "end": 15249, "loc": { "start": { - "line": 367, + "line": 433, "column": 17 }, "end": { - "line": 367, + "line": 433, "column": 18 } } @@ -100846,15 +117426,15 @@ "binop": null }, "value": "forEach", - "start": 13583, - "end": 13590, + "start": 15249, + "end": 15256, "loc": { "start": { - "line": 367, + "line": 433, "column": 18 }, "end": { - "line": 367, + "line": 433, "column": 25 } } @@ -100871,15 +117451,15 @@ "postfix": false, "binop": null }, - "start": 13590, - "end": 13591, + "start": 15256, + "end": 15257, "loc": { "start": { - "line": 367, + "line": 433, "column": 25 }, "end": { - "line": 367, + "line": 433, "column": 26 } } @@ -100896,15 +117476,15 @@ "postfix": false, "binop": null }, - "start": 13591, - "end": 13592, + "start": 15257, + "end": 15258, "loc": { "start": { - "line": 367, + "line": 433, "column": 26 }, "end": { - "line": 367, + "line": 433, "column": 27 } } @@ -100922,15 +117502,15 @@ "binop": null }, "value": "button", - "start": 13592, - "end": 13598, + "start": 15258, + "end": 15264, "loc": { "start": { - "line": 367, + "line": 433, "column": 27 }, "end": { - "line": 367, + "line": 433, "column": 33 } } @@ -100948,15 +117528,15 @@ "binop": null, "updateContext": null }, - "start": 13598, - "end": 13599, + "start": 15264, + "end": 15265, "loc": { "start": { - "line": 367, + "line": 433, "column": 33 }, "end": { - "line": 367, + "line": 433, "column": 34 } } @@ -100974,15 +117554,15 @@ "binop": null }, "value": "key", - "start": 13600, - "end": 13603, + "start": 15266, + "end": 15269, "loc": { "start": { - "line": 367, + "line": 433, "column": 35 }, "end": { - "line": 367, + "line": 433, "column": 38 } } @@ -100999,15 +117579,15 @@ "postfix": false, "binop": null }, - "start": 13603, - "end": 13604, + "start": 15269, + "end": 15270, "loc": { "start": { - "line": 367, + "line": 433, "column": 38 }, "end": { - "line": 367, + "line": 433, "column": 39 } } @@ -101025,15 +117605,15 @@ "binop": null, "updateContext": null }, - "start": 13605, - "end": 13607, + "start": 15271, + "end": 15273, "loc": { "start": { - "line": 367, + "line": 433, "column": 40 }, "end": { - "line": 367, + "line": 433, "column": 42 } } @@ -101050,15 +117630,15 @@ "postfix": false, "binop": null }, - "start": 13608, - "end": 13609, + "start": 15274, + "end": 15275, "loc": { "start": { - "line": 367, + "line": 433, "column": 43 }, "end": { - "line": 367, + "line": 433, "column": 44 } } @@ -101078,15 +117658,15 @@ "updateContext": null }, "value": "this", - "start": 13619, - "end": 13623, + "start": 15285, + "end": 15289, "loc": { "start": { - "line": 368, + "line": 434, "column": 8 }, "end": { - "line": 368, + "line": 434, "column": 12 } } @@ -101104,15 +117684,15 @@ "binop": null, "updateContext": null }, - "start": 13623, - "end": 13624, + "start": 15289, + "end": 15290, "loc": { "start": { - "line": 368, + "line": 434, "column": 12 }, "end": { - "line": 368, + "line": 434, "column": 13 } } @@ -101130,15 +117710,15 @@ "binop": null }, "value": "options", - "start": 13624, - "end": 13631, + "start": 15290, + "end": 15297, "loc": { "start": { - "line": 368, + "line": 434, "column": 13 }, "end": { - "line": 368, + "line": 434, "column": 20 } } @@ -101156,15 +117736,15 @@ "binop": null, "updateContext": null }, - "start": 13631, - "end": 13632, + "start": 15297, + "end": 15298, "loc": { "start": { - "line": 368, + "line": 434, "column": 20 }, "end": { - "line": 368, + "line": 434, "column": 21 } } @@ -101182,15 +117762,15 @@ "binop": null }, "value": "buttonTheme", - "start": 13632, - "end": 13643, + "start": 15298, + "end": 15309, "loc": { "start": { - "line": 368, + "line": 434, "column": 21 }, "end": { - "line": 368, + "line": 434, "column": 32 } } @@ -101208,15 +117788,15 @@ "binop": null, "updateContext": null }, - "start": 13643, - "end": 13644, + "start": 15309, + "end": 15310, "loc": { "start": { - "line": 368, + "line": 434, "column": 32 }, "end": { - "line": 368, + "line": 434, "column": 33 } } @@ -101234,15 +117814,15 @@ "binop": null }, "value": "map", - "start": 13644, - "end": 13647, + "start": 15310, + "end": 15313, "loc": { "start": { - "line": 368, + "line": 434, "column": 33 }, "end": { - "line": 368, + "line": 434, "column": 36 } } @@ -101259,15 +117839,15 @@ "postfix": false, "binop": null }, - "start": 13647, - "end": 13648, + "start": 15313, + "end": 15314, "loc": { "start": { - "line": 368, + "line": 434, "column": 36 }, "end": { - "line": 368, + "line": 434, "column": 37 } } @@ -101284,15 +117864,15 @@ "postfix": false, "binop": null }, - "start": 13648, - "end": 13649, + "start": 15314, + "end": 15315, "loc": { "start": { - "line": 368, + "line": 434, "column": 37 }, "end": { - "line": 368, + "line": 434, "column": 38 } } @@ -101310,15 +117890,15 @@ "binop": null }, "value": "buttonTheme", - "start": 13649, - "end": 13660, + "start": 15315, + "end": 15326, "loc": { "start": { - "line": 368, + "line": 434, "column": 38 }, "end": { - "line": 368, + "line": 434, "column": 49 } } @@ -101336,15 +117916,15 @@ "binop": null, "updateContext": null }, - "start": 13660, - "end": 13661, + "start": 15326, + "end": 15327, "loc": { "start": { - "line": 368, + "line": 434, "column": 49 }, "end": { - "line": 368, + "line": 434, "column": 50 } } @@ -101362,15 +117942,15 @@ "binop": null }, "value": "index", - "start": 13662, - "end": 13667, + "start": 15328, + "end": 15333, "loc": { "start": { - "line": 368, + "line": 434, "column": 51 }, "end": { - "line": 368, + "line": 434, "column": 56 } } @@ -101387,15 +117967,15 @@ "postfix": false, "binop": null }, - "start": 13667, - "end": 13668, + "start": 15333, + "end": 15334, "loc": { "start": { - "line": 368, + "line": 434, "column": 56 }, "end": { - "line": 368, + "line": 434, "column": 57 } } @@ -101413,15 +117993,15 @@ "binop": null, "updateContext": null }, - "start": 13669, - "end": 13671, + "start": 15335, + "end": 15337, "loc": { "start": { - "line": 368, + "line": 434, "column": 58 }, "end": { - "line": 368, + "line": 434, "column": 60 } } @@ -101438,15 +118018,15 @@ "postfix": false, "binop": null }, - "start": 13672, - "end": 13673, + "start": 15338, + "end": 15339, "loc": { "start": { - "line": 368, + "line": 434, "column": 61 }, "end": { - "line": 368, + "line": 434, "column": 62 } } @@ -101454,15 +118034,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": 13687, - "end": 13828, + "start": 15353, + "end": 15494, "loc": { "start": { - "line": 370, + "line": 436, "column": 10 }, "end": { - "line": 373, + "line": 439, "column": 13 } } @@ -101482,15 +118062,15 @@ "updateContext": null }, "value": "if", - "start": 13840, - "end": 13842, + "start": 15506, + "end": 15508, "loc": { "start": { - "line": 374, + "line": 440, "column": 10 }, "end": { - "line": 374, + "line": 440, "column": 12 } } @@ -101507,15 +118087,15 @@ "postfix": false, "binop": null }, - "start": 13842, - "end": 13843, + "start": 15508, + "end": 15509, "loc": { "start": { - "line": 374, + "line": 440, "column": 12 }, "end": { - "line": 374, + "line": 440, "column": 13 } } @@ -101532,15 +118112,15 @@ "postfix": false, "binop": null }, - "start": 13857, - "end": 13858, + "start": 15523, + "end": 15524, "loc": { "start": { - "line": 375, + "line": 441, "column": 12 }, "end": { - "line": 375, + "line": 441, "column": 13 } } @@ -101558,15 +118138,15 @@ "binop": null }, "value": "className", - "start": 13858, - "end": 13867, + "start": 15524, + "end": 15533, "loc": { "start": { - "line": 375, + "line": 441, "column": 13 }, "end": { - "line": 375, + "line": 441, "column": 22 } } @@ -101585,15 +118165,15 @@ "updateContext": null }, "value": "&&", - "start": 13868, - "end": 13870, + "start": 15534, + "end": 15536, "loc": { "start": { - "line": 375, + "line": 441, "column": 23 }, "end": { - "line": 375, + "line": 441, "column": 25 } } @@ -101611,15 +118191,15 @@ "binop": null }, "value": "className", - "start": 13871, - "end": 13880, + "start": 15537, + "end": 15546, "loc": { "start": { - "line": 375, + "line": 441, "column": 26 }, "end": { - "line": 375, + "line": 441, "column": 35 } } @@ -101637,15 +118217,15 @@ "binop": null, "updateContext": null }, - "start": 13880, - "end": 13881, + "start": 15546, + "end": 15547, "loc": { "start": { - "line": 375, + "line": 441, "column": 35 }, "end": { - "line": 375, + "line": 441, "column": 36 } } @@ -101663,15 +118243,15 @@ "binop": null }, "value": "includes", - "start": 13881, - "end": 13889, + "start": 15547, + "end": 15555, "loc": { "start": { - "line": 375, + "line": 441, "column": 36 }, "end": { - "line": 375, + "line": 441, "column": 44 } } @@ -101688,15 +118268,15 @@ "postfix": false, "binop": null }, - "start": 13889, - "end": 13890, + "start": 15555, + "end": 15556, "loc": { "start": { - "line": 375, + "line": 441, "column": 44 }, "end": { - "line": 375, + "line": 441, "column": 45 } } @@ -101714,15 +118294,15 @@ "binop": null }, "value": "buttonTheme", - "start": 13890, - "end": 13901, + "start": 15556, + "end": 15567, "loc": { "start": { - "line": 375, + "line": 441, "column": 45 }, "end": { - "line": 375, + "line": 441, "column": 56 } } @@ -101740,15 +118320,15 @@ "binop": null, "updateContext": null }, - "start": 13901, - "end": 13902, + "start": 15567, + "end": 15568, "loc": { "start": { - "line": 375, + "line": 441, "column": 56 }, "end": { - "line": 375, + "line": 441, "column": 57 } } @@ -101768,15 +118348,15 @@ "updateContext": null }, "value": "class", - "start": 13902, - "end": 13907, + "start": 15568, + "end": 15573, "loc": { "start": { - "line": 375, + "line": 441, "column": 57 }, "end": { - "line": 375, + "line": 441, "column": 62 } } @@ -101793,15 +118373,15 @@ "postfix": false, "binop": null }, - "start": 13907, - "end": 13908, + "start": 15573, + "end": 15574, "loc": { "start": { - "line": 375, + "line": 441, "column": 62 }, "end": { - "line": 375, + "line": 441, "column": 63 } } @@ -101818,15 +118398,15 @@ "postfix": false, "binop": null }, - "start": 13908, - "end": 13909, + "start": 15574, + "end": 15575, "loc": { "start": { - "line": 375, + "line": 441, "column": 63 }, "end": { - "line": 375, + "line": 441, "column": 64 } } @@ -101845,15 +118425,15 @@ "updateContext": null }, "value": "||", - "start": 13910, - "end": 13912, + "start": 15576, + "end": 15578, "loc": { "start": { - "line": 375, + "line": 441, "column": 65 }, "end": { - "line": 375, + "line": 441, "column": 67 } } @@ -101872,15 +118452,15 @@ "updateContext": null }, "value": "!", - "start": 13926, - "end": 13927, + "start": 15592, + "end": 15593, "loc": { "start": { - "line": 376, + "line": 442, "column": 12 }, "end": { - "line": 376, + "line": 442, "column": 13 } } @@ -101898,15 +118478,15 @@ "binop": null }, "value": "className", - "start": 13927, - "end": 13936, + "start": 15593, + "end": 15602, "loc": { "start": { - "line": 376, + "line": 442, "column": 13 }, "end": { - "line": 376, + "line": 442, "column": 22 } } @@ -101923,15 +118503,15 @@ "postfix": false, "binop": null }, - "start": 13948, - "end": 13949, + "start": 15614, + "end": 15615, "loc": { "start": { - "line": 377, + "line": 443, "column": 10 }, "end": { - "line": 377, + "line": 443, "column": 11 } } @@ -101948,15 +118528,15 @@ "postfix": false, "binop": null }, - "start": 13949, - "end": 13950, + "start": 15615, + "end": 15616, "loc": { "start": { - "line": 377, + "line": 443, "column": 11 }, "end": { - "line": 377, + "line": 443, "column": 12 } } @@ -101976,15 +118556,15 @@ "updateContext": null }, "value": "let", - "start": 13964, - "end": 13967, + "start": 15630, + "end": 15633, "loc": { "start": { - "line": 378, + "line": 444, "column": 12 }, "end": { - "line": 378, + "line": 444, "column": 15 } } @@ -102002,15 +118582,15 @@ "binop": null }, "value": "filteredButtonArray", - "start": 13968, - "end": 13987, + "start": 15634, + "end": 15653, "loc": { "start": { - "line": 378, + "line": 444, "column": 16 }, "end": { - "line": 378, + "line": 444, "column": 35 } } @@ -102029,15 +118609,15 @@ "updateContext": null }, "value": "=", - "start": 13988, - "end": 13989, + "start": 15654, + "end": 15655, "loc": { "start": { - "line": 378, + "line": 444, "column": 36 }, "end": { - "line": 378, + "line": 444, "column": 37 } } @@ -102055,15 +118635,15 @@ "binop": null }, "value": "buttonTheme", - "start": 13990, - "end": 14001, + "start": 15656, + "end": 15667, "loc": { "start": { - "line": 378, + "line": 444, "column": 38 }, "end": { - "line": 378, + "line": 444, "column": 49 } } @@ -102081,15 +118661,15 @@ "binop": null, "updateContext": null }, - "start": 14001, - "end": 14002, + "start": 15667, + "end": 15668, "loc": { "start": { - "line": 378, + "line": 444, "column": 49 }, "end": { - "line": 378, + "line": 444, "column": 50 } } @@ -102107,15 +118687,15 @@ "binop": null }, "value": "buttons", - "start": 14002, - "end": 14009, + "start": 15668, + "end": 15675, "loc": { "start": { - "line": 378, + "line": 444, "column": 50 }, "end": { - "line": 378, + "line": 444, "column": 57 } } @@ -102133,15 +118713,15 @@ "binop": null, "updateContext": null }, - "start": 14009, - "end": 14010, + "start": 15675, + "end": 15676, "loc": { "start": { - "line": 378, + "line": 444, "column": 57 }, "end": { - "line": 378, + "line": 444, "column": 58 } } @@ -102159,15 +118739,15 @@ "binop": null }, "value": "split", - "start": 14010, - "end": 14015, + "start": 15676, + "end": 15681, "loc": { "start": { - "line": 378, + "line": 444, "column": 58 }, "end": { - "line": 378, + "line": 444, "column": 63 } } @@ -102184,15 +118764,15 @@ "postfix": false, "binop": null }, - "start": 14015, - "end": 14016, + "start": 15681, + "end": 15682, "loc": { "start": { - "line": 378, + "line": 444, "column": 63 }, "end": { - "line": 378, + "line": 444, "column": 64 } } @@ -102211,15 +118791,15 @@ "updateContext": null }, "value": " ", - "start": 14016, - "end": 14019, + "start": 15682, + "end": 15685, "loc": { "start": { - "line": 378, + "line": 444, "column": 64 }, "end": { - "line": 378, + "line": 444, "column": 67 } } @@ -102236,15 +118816,15 @@ "postfix": false, "binop": null }, - "start": 14019, - "end": 14020, + "start": 15685, + "end": 15686, "loc": { "start": { - "line": 378, + "line": 444, "column": 67 }, "end": { - "line": 378, + "line": 444, "column": 68 } } @@ -102262,15 +118842,15 @@ "binop": null, "updateContext": null }, - "start": 14020, - "end": 14021, + "start": 15686, + "end": 15687, "loc": { "start": { - "line": 378, + "line": 444, "column": 68 }, "end": { - "line": 378, + "line": 444, "column": 69 } } @@ -102288,15 +118868,15 @@ "binop": null }, "value": "filter", - "start": 14021, - "end": 14027, + "start": 15687, + "end": 15693, "loc": { "start": { - "line": 378, + "line": 444, "column": 69 }, "end": { - "line": 378, + "line": 444, "column": 75 } } @@ -102313,15 +118893,15 @@ "postfix": false, "binop": null }, - "start": 14027, - "end": 14028, + "start": 15693, + "end": 15694, "loc": { "start": { - "line": 378, + "line": 444, "column": 75 }, "end": { - "line": 378, + "line": 444, "column": 76 } } @@ -102339,15 +118919,15 @@ "binop": null }, "value": "item", - "start": 14028, - "end": 14032, + "start": 15694, + "end": 15698, "loc": { "start": { - "line": 378, + "line": 444, "column": 76 }, "end": { - "line": 378, + "line": 444, "column": 80 } } @@ -102365,15 +118945,15 @@ "binop": null, "updateContext": null }, - "start": 14033, - "end": 14035, + "start": 15699, + "end": 15701, "loc": { "start": { - "line": 378, + "line": 444, "column": 81 }, "end": { - "line": 378, + "line": 444, "column": 83 } } @@ -102391,15 +118971,15 @@ "binop": null }, "value": "item", - "start": 14036, - "end": 14040, + "start": 15702, + "end": 15706, "loc": { "start": { - "line": 378, + "line": 444, "column": 84 }, "end": { - "line": 378, + "line": 444, "column": 88 } } @@ -102418,15 +118998,15 @@ "updateContext": null }, "value": "!==", - "start": 14041, - "end": 14044, + "start": 15707, + "end": 15710, "loc": { "start": { - "line": 378, + "line": 444, "column": 89 }, "end": { - "line": 378, + "line": 444, "column": 92 } } @@ -102444,15 +119024,15 @@ "binop": null }, "value": "button", - "start": 14045, - "end": 14051, + "start": 15711, + "end": 15717, "loc": { "start": { - "line": 378, + "line": 444, "column": 93 }, "end": { - "line": 378, + "line": 444, "column": 99 } } @@ -102469,15 +119049,15 @@ "postfix": false, "binop": null }, - "start": 14051, - "end": 14052, + "start": 15717, + "end": 15718, "loc": { "start": { - "line": 378, + "line": 444, "column": 99 }, "end": { - "line": 378, + "line": 444, "column": 100 } } @@ -102495,15 +119075,15 @@ "binop": null, "updateContext": null }, - "start": 14052, - "end": 14053, + "start": 15718, + "end": 15719, "loc": { "start": { - "line": 378, + "line": 444, "column": 100 }, "end": { - "line": 378, + "line": 444, "column": 101 } } @@ -102511,15 +119091,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", - "start": 14069, - "end": 14166, + "start": 15735, + "end": 15832, "loc": { "start": { - "line": 380, + "line": 446, "column": 12 }, "end": { - "line": 382, + "line": 448, "column": 15 } } @@ -102539,15 +119119,15 @@ "updateContext": null }, "value": "if", - "start": 14180, - "end": 14182, + "start": 15846, + "end": 15848, "loc": { "start": { - "line": 383, + "line": 449, "column": 12 }, "end": { - "line": 383, + "line": 449, "column": 14 } } @@ -102564,15 +119144,15 @@ "postfix": false, "binop": null }, - "start": 14182, - "end": 14183, + "start": 15848, + "end": 15849, "loc": { "start": { - "line": 383, + "line": 449, "column": 14 }, "end": { - "line": 383, + "line": 449, "column": 15 } } @@ -102590,5050 +119170,16 @@ "binop": null }, "value": "filteredButtonArray", - "start": 14183, - "end": 14202, - "loc": { - "start": { - "line": 383, - "column": 15 - }, - "end": { - "line": 383, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14202, - "end": 14203, - "loc": { - "start": { - "line": 383, - "column": 34 - }, - "end": { - "line": 383, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "length", - "start": 14203, - "end": 14209, - "loc": { - "start": { - "line": 383, - "column": 35 - }, - "end": { - "line": 383, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14209, - "end": 14210, - "loc": { - "start": { - "line": 383, - "column": 41 - }, - "end": { - "line": 383, - "column": 42 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14210, - "end": 14211, - "loc": { - "start": { - "line": 383, - "column": 42 - }, - "end": { - "line": 383, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonTheme", - "start": 14227, - "end": 14238, - "loc": { - "start": { - "line": 384, - "column": 14 - }, - "end": { - "line": 384, - "column": 25 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14238, - "end": 14239, - "loc": { - "start": { - "line": 384, - "column": 25 - }, - "end": { - "line": 384, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttons", - "start": 14239, - "end": 14246, - "loc": { - "start": { - "line": 384, - "column": 26 - }, - "end": { - "line": 384, - "column": 33 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 14247, - "end": 14248, - "loc": { - "start": { - "line": 384, - "column": 34 - }, - "end": { - "line": 384, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "filteredButtonArray", - "start": 14249, - "end": 14268, - "loc": { - "start": { - "line": 384, - "column": 36 - }, - "end": { - "line": 384, - "column": 55 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14268, - "end": 14269, - "loc": { - "start": { - "line": 384, - "column": 55 - }, - "end": { - "line": 384, - "column": 56 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "join", - "start": 14269, - "end": 14273, - "loc": { - "start": { - "line": 384, - "column": 56 - }, - "end": { - "line": 384, - "column": 60 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14273, - "end": 14274, - "loc": { - "start": { - "line": 384, - "column": 60 - }, - "end": { - "line": 384, - "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": 14274, - "end": 14277, - "loc": { - "start": { - "line": 384, - "column": 61 - }, - "end": { - "line": 384, - "column": 64 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14277, - "end": 14278, - "loc": { - "start": { - "line": 384, - "column": 64 - }, - "end": { - "line": 384, - "column": 65 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14278, - "end": 14279, - "loc": { - "start": { - "line": 384, - "column": 65 - }, - "end": { - "line": 384, - "column": 66 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14293, - "end": 14294, - "loc": { - "start": { - "line": 385, - "column": 12 - }, - "end": { - "line": 385, - "column": 13 - } - } - }, - { - "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": 14295, - "end": 14299, - "loc": { - "start": { - "line": 385, - "column": 14 - }, - "end": { - "line": 385, - "column": 18 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14300, - "end": 14301, - "loc": { - "start": { - "line": 385, - "column": 19 - }, - "end": { - "line": 385, - "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": 14317, - "end": 14321, - "loc": { - "start": { - "line": 386, - "column": 14 - }, - "end": { - "line": 386, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14321, - "end": 14322, - "loc": { - "start": { - "line": 386, - "column": 18 - }, - "end": { - "line": 386, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 14322, - "end": 14329, - "loc": { - "start": { - "line": 386, - "column": 19 - }, - "end": { - "line": 386, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14329, - "end": 14330, - "loc": { - "start": { - "line": 386, - "column": 26 - }, - "end": { - "line": 386, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonTheme", - "start": 14330, - "end": 14341, - "loc": { - "start": { - "line": 386, - "column": 27 - }, - "end": { - "line": 386, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14341, - "end": 14342, - "loc": { - "start": { - "line": 386, - "column": 38 - }, - "end": { - "line": 386, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "splice", - "start": 14342, - "end": 14348, - "loc": { - "start": { - "line": 386, - "column": 39 - }, - "end": { - "line": 386, - "column": 45 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14348, - "end": 14349, - "loc": { - "start": { - "line": 386, - "column": 45 - }, - "end": { - "line": 386, - "column": 46 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "index", - "start": 14349, - "end": 14354, - "loc": { - "start": { - "line": 386, - "column": 46 - }, - "end": { - "line": 386, - "column": 51 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14354, - "end": 14355, - "loc": { - "start": { - "line": 386, - "column": 51 - }, - "end": { - "line": 386, - "column": 52 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 14356, - "end": 14357, - "loc": { - "start": { - "line": 386, - "column": 53 - }, - "end": { - "line": 386, - "column": 54 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14357, - "end": 14358, - "loc": { - "start": { - "line": 386, - "column": 54 - }, - "end": { - "line": 386, - "column": 55 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14358, - "end": 14359, - "loc": { - "start": { - "line": 386, - "column": 55 - }, - "end": { - "line": 386, - "column": 56 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonTheme", - "start": 14375, - "end": 14386, - "loc": { - "start": { - "line": 387, - "column": 14 - }, - "end": { - "line": 387, - "column": 25 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 14387, - "end": 14388, - "loc": { - "start": { - "line": 387, - "column": 26 - }, - "end": { - "line": 387, - "column": 27 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 14389, - "end": 14393, - "loc": { - "start": { - "line": 387, - "column": 28 - }, - "end": { - "line": 387, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14393, - "end": 14394, - "loc": { - "start": { - "line": 387, - "column": 32 - }, - "end": { - "line": 387, - "column": 33 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14408, - "end": 14409, - "loc": { - "start": { - "line": 388, - "column": 12 - }, - "end": { - "line": 388, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14424, - "end": 14425, - "loc": { - "start": { - "line": 390, - "column": 10 - }, - "end": { - "line": 390, - "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": 14439, - "end": 14445, - "loc": { - "start": { - "line": 392, - "column": 10 - }, - "end": { - "line": 392, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonTheme", - "start": 14446, - "end": 14457, - "loc": { - "start": { - "line": 392, - "column": 17 - }, - "end": { - "line": 392, - "column": 28 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14457, - "end": 14458, - "loc": { - "start": { - "line": 392, - "column": 28 - }, - "end": { - "line": 392, - "column": 29 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14468, - "end": 14469, - "loc": { - "start": { - "line": 393, - "column": 8 - }, - "end": { - "line": 393, - "column": 9 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14469, - "end": 14470, - "loc": { - "start": { - "line": 393, - "column": 9 - }, - "end": { - "line": 393, - "column": 10 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14470, - "end": 14471, - "loc": { - "start": { - "line": 393, - "column": 10 - }, - "end": { - "line": 393, - "column": 11 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14479, - "end": 14480, - "loc": { - "start": { - "line": 394, - "column": 6 - }, - "end": { - "line": 394, - "column": 7 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14480, - "end": 14481, - "loc": { - "start": { - "line": 394, - "column": 7 - }, - "end": { - "line": 394, - "column": 8 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14481, - "end": 14482, - "loc": { - "start": { - "line": 394, - "column": 8 - }, - "end": { - "line": 394, - "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": 14492, - "end": 14496, - "loc": { - "start": { - "line": 396, - "column": 6 - }, - "end": { - "line": 396, - "column": 10 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14496, - "end": 14497, - "loc": { - "start": { - "line": 396, - "column": 10 - }, - "end": { - "line": 396, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "render", - "start": 14497, - "end": 14503, - "loc": { - "start": { - "line": 396, - "column": 11 - }, - "end": { - "line": 396, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14503, - "end": 14504, - "loc": { - "start": { - "line": 396, - "column": 17 - }, - "end": { - "line": 396, - "column": 18 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14504, - "end": 14505, - "loc": { - "start": { - "line": 396, - "column": 18 - }, - "end": { - "line": 396, - "column": 19 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14505, - "end": 14506, - "loc": { - "start": { - "line": 396, - "column": 19 - }, - "end": { - "line": 396, - "column": 20 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14512, - "end": 14513, - "loc": { - "start": { - "line": 397, - "column": 4 - }, - "end": { - "line": 397, - "column": 5 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14517, - "end": 14518, - "loc": { - "start": { - "line": 398, - "column": 2 - }, - "end": { - "line": 398, - "column": 3 - } - } - }, - { - "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": 14524, - "end": 14727, - "loc": { - "start": { - "line": 400, - "column": 2 - }, - "end": { - "line": 403, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getButtonElement", - "start": 14731, - "end": 14747, - "loc": { - "start": { - "line": 404, - "column": 2 - }, - "end": { - "line": 404, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14747, - "end": 14748, - "loc": { - "start": { - "line": 404, - "column": 18 - }, - "end": { - "line": 404, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 14748, - "end": 14754, - "loc": { - "start": { - "line": 404, - "column": 19 - }, - "end": { - "line": 404, - "column": 25 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14754, - "end": 14755, - "loc": { - "start": { - "line": 404, - "column": 25 - }, - "end": { - "line": 404, - "column": 26 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14755, - "end": 14756, - "loc": { - "start": { - "line": 404, - "column": 26 - }, - "end": { - "line": 404, - "column": 27 - } - } - }, - { - "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": 14762, - "end": 14765, - "loc": { - "start": { - "line": 405, - "column": 4 - }, - "end": { - "line": 405, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "output", - "start": 14766, - "end": 14772, - "loc": { - "start": { - "line": 405, - "column": 8 - }, - "end": { - "line": 405, - "column": 14 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14772, - "end": 14773, - "loc": { - "start": { - "line": 405, - "column": 14 - }, - "end": { - "line": 405, - "column": 15 - } - } - }, - { - "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": 14781, - "end": 14784, - "loc": { - "start": { - "line": 407, - "column": 4 - }, - "end": { - "line": 407, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonArr", - "start": 14785, - "end": 14794, - "loc": { - "start": { - "line": 407, - "column": 8 - }, - "end": { - "line": 407, - "column": 17 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 14795, - "end": 14796, - "loc": { - "start": { - "line": 407, - "column": 18 - }, - "end": { - "line": 407, - "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": 14797, - "end": 14801, - "loc": { - "start": { - "line": 407, - "column": 20 - }, - "end": { - "line": 407, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14801, - "end": 14802, - "loc": { - "start": { - "line": 407, - "column": 24 - }, - "end": { - "line": 407, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonElements", - "start": 14802, - "end": 14816, - "loc": { - "start": { - "line": 407, - "column": 25 - }, - "end": { - "line": 407, - "column": 39 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14816, - "end": 14817, - "loc": { - "start": { - "line": 407, - "column": 39 - }, - "end": { - "line": 407, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 14817, - "end": 14823, - "loc": { - "start": { - "line": 407, - "column": 40 - }, - "end": { - "line": 407, - "column": 46 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14823, - "end": 14824, - "loc": { - "start": { - "line": 407, - "column": 46 - }, - "end": { - "line": 407, - "column": 47 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14824, - "end": 14825, - "loc": { - "start": { - "line": 407, - "column": 47 - }, - "end": { - "line": 407, - "column": 48 - } - } - }, - { - "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": 14831, - "end": 14833, - "loc": { - "start": { - "line": 408, - "column": 4 - }, - "end": { - "line": 408, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14833, - "end": 14834, - "loc": { - "start": { - "line": 408, - "column": 6 - }, - "end": { - "line": 408, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonArr", - "start": 14834, - "end": 14843, - "loc": { - "start": { - "line": 408, - "column": 7 - }, - "end": { - "line": 408, - "column": 16 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14843, - "end": 14844, - "loc": { - "start": { - "line": 408, - "column": 16 - }, - "end": { - "line": 408, - "column": 17 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14844, - "end": 14845, - "loc": { - "start": { - "line": 408, - "column": 17 - }, - "end": { - "line": 408, - "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": 14853, - "end": 14855, - "loc": { - "start": { - "line": 409, - "column": 6 - }, - "end": { - "line": 409, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14855, - "end": 14856, - "loc": { - "start": { - "line": 409, - "column": 8 - }, - "end": { - "line": 409, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonArr", - "start": 14856, - "end": 14865, - "loc": { - "start": { - "line": 409, - "column": 9 - }, - "end": { - "line": 409, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14865, - "end": 14866, - "loc": { - "start": { - "line": 409, - "column": 18 - }, - "end": { - "line": 409, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "length", - "start": 14866, - "end": 14872, - "loc": { - "start": { - "line": 409, - "column": 19 - }, - "end": { - "line": 409, - "column": 25 - } - } - }, - { - "type": { - "label": "", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 7, - "updateContext": null - }, - "value": ">", - "start": 14873, - "end": 14874, - "loc": { - "start": { - "line": 409, - "column": 26 - }, - "end": { - "line": 409, - "column": 27 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 14875, - "end": 14876, - "loc": { - "start": { - "line": 409, - "column": 28 - }, - "end": { - "line": 409, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14876, - "end": 14877, - "loc": { - "start": { - "line": 409, - "column": 29 - }, - "end": { - "line": 409, - "column": 30 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14877, - "end": 14878, - "loc": { - "start": { - "line": 409, - "column": 30 - }, - "end": { - "line": 409, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "output", - "start": 14888, - "end": 14894, - "loc": { - "start": { - "line": 410, - "column": 8 - }, - "end": { - "line": 410, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 14895, - "end": 14896, - "loc": { - "start": { - "line": 410, - "column": 15 - }, - "end": { - "line": 410, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonArr", - "start": 14897, - "end": 14906, - "loc": { - "start": { - "line": 410, - "column": 17 - }, - "end": { - "line": 410, - "column": 26 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14906, - "end": 14907, - "loc": { - "start": { - "line": 410, - "column": 26 - }, - "end": { - "line": 410, - "column": 27 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14915, - "end": 14916, - "loc": { - "start": { - "line": 411, - "column": 6 - }, - "end": { - "line": 411, - "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": 14917, - "end": 14921, - "loc": { - "start": { - "line": 411, - "column": 8 - }, - "end": { - "line": 411, - "column": 12 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14922, - "end": 14923, - "loc": { - "start": { - "line": 411, - "column": 13 - }, - "end": { - "line": 411, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "output", - "start": 14933, - "end": 14939, - "loc": { - "start": { - "line": 412, - "column": 8 - }, - "end": { - "line": 412, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 14940, - "end": 14941, - "loc": { - "start": { - "line": 412, - "column": 15 - }, - "end": { - "line": 412, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonArr", - "start": 14942, - "end": 14951, - "loc": { - "start": { - "line": 412, - "column": 17 - }, - "end": { - "line": 412, - "column": 26 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14951, - "end": 14952, - "loc": { - "start": { - "line": 412, - "column": 26 - }, - "end": { - "line": 412, - "column": 27 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 14952, - "end": 14953, - "loc": { - "start": { - "line": 412, - "column": 27 - }, - "end": { - "line": 412, - "column": 28 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14953, - "end": 14954, - "loc": { - "start": { - "line": 412, - "column": 28 - }, - "end": { - "line": 412, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14954, - "end": 14955, - "loc": { - "start": { - "line": 412, - "column": 29 - }, - "end": { - "line": 412, - "column": 30 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14963, - "end": 14964, - "loc": { - "start": { - "line": 413, - "column": 6 - }, - "end": { - "line": 413, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14970, - "end": 14971, - "loc": { - "start": { - "line": 414, - "column": 4 - }, - "end": { - "line": 414, - "column": 5 - } - } - }, - { - "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": 14979, - "end": 14985, - "loc": { - "start": { - "line": 416, - "column": 4 - }, - "end": { - "line": 416, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "output", - "start": 14986, - "end": 14992, - "loc": { - "start": { - "line": 416, - "column": 11 - }, - "end": { - "line": 416, - "column": 17 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14992, - "end": 14993, - "loc": { - "start": { - "line": 416, - "column": 17 - }, - "end": { - "line": 416, - "column": 18 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14997, - "end": 14998, - "loc": { - "start": { - "line": 417, - "column": 2 - }, - "end": { - "line": 417, - "column": 3 - } - } - }, - { - "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 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "handleCaret", - "start": 15098, - "end": 15109, - "loc": { - "start": { - "line": 422, - "column": 2 - }, - "end": { - "line": 422, - "column": 13 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15109, - "end": 15110, - "loc": { - "start": { - "line": 422, - "column": 13 - }, - "end": { - "line": 422, - "column": 14 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15110, - "end": 15111, - "loc": { - "start": { - "line": 422, - "column": 14 - }, - "end": { - "line": 422, - "column": 15 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15111, - "end": 15112, - "loc": { - "start": { - "line": 422, - "column": 15 - }, - "end": { - "line": 422, - "column": 16 - } - } - }, - { - "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": 15118, - "end": 15120, - "loc": { - "start": { - "line": 423, - "column": 4 - }, - "end": { - "line": 423, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15120, - "end": 15121, - "loc": { - "start": { - "line": 423, - "column": 6 - }, - "end": { - "line": 423, - "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": 15121, - "end": 15125, - "loc": { - "start": { - "line": 423, - "column": 7 - }, - "end": { - "line": 423, - "column": 11 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15125, - "end": 15126, - "loc": { - "start": { - "line": 423, - "column": 11 - }, - "end": { - "line": 423, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 15126, - "end": 15133, - "loc": { - "start": { - "line": 423, - "column": 12 - }, - "end": { - "line": 423, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15133, - "end": 15134, - "loc": { - "start": { - "line": 423, - "column": 19 - }, - "end": { - "line": 423, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "debug", - "start": 15134, - "end": 15139, - "loc": { - "start": { - "line": 423, - "column": 20 - }, - "end": { - "line": 423, - "column": 25 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15139, - "end": 15140, - "loc": { - "start": { - "line": 423, - "column": 25 - }, - "end": { - "line": 423, - "column": 26 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15140, - "end": 15141, - "loc": { - "start": { - "line": 423, - "column": 26 - }, - "end": { - "line": 423, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "console", - "start": 15149, - "end": 15156, - "loc": { - "start": { - "line": 424, - "column": 6 - }, - "end": { - "line": 424, - "column": 13 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15156, - "end": 15157, - "loc": { - "start": { - "line": 424, - "column": 13 - }, - "end": { - "line": 424, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "log", - "start": 15157, - "end": 15160, - "loc": { - "start": { - "line": 424, - "column": 14 - }, - "end": { - "line": 424, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15160, - "end": 15161, - "loc": { - "start": { - "line": 424, - "column": 17 - }, - "end": { - "line": 424, - "column": 18 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Caret handling started", - "start": 15161, - "end": 15185, - "loc": { - "start": { - "line": 424, - "column": 18 - }, - "end": { - "line": 424, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15185, - "end": 15186, - "loc": { - "start": { - "line": 424, - "column": 42 - }, - "end": { - "line": 424, - "column": 43 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15186, - "end": 15187, - "loc": { - "start": { - "line": 424, - "column": 43 - }, - "end": { - "line": 424, - "column": 44 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15193, - "end": 15194, - "loc": { - "start": { - "line": 425, - "column": 4 - }, - "end": { - "line": 425, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "document", - "start": 15202, - "end": 15210, - "loc": { - "start": { - "line": 427, - "column": 4 - }, - "end": { - "line": 427, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15210, - "end": 15211, - "loc": { - "start": { - "line": 427, - "column": 12 - }, - "end": { - "line": 427, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "addEventListener", - "start": 15211, - "end": 15227, - "loc": { - "start": { - "line": 427, - "column": 13 - }, - "end": { - "line": 427, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15227, - "end": 15228, - "loc": { - "start": { - "line": 427, - "column": 29 - }, - "end": { - "line": 427, - "column": 30 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "keyup", - "start": 15228, - "end": 15235, - "loc": { - "start": { - "line": 427, - "column": 30 - }, - "end": { - "line": 427, - "column": 37 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15235, - "end": 15236, - "loc": { - "start": { - "line": 427, - "column": 37 - }, - "end": { - "line": 427, - "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": 15237, - "end": 15241, - "loc": { - "start": { - "line": 427, - "column": 39 - }, - "end": { - "line": 427, - "column": 43 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15241, - "end": 15242, - "loc": { - "start": { - "line": 427, - "column": 43 - }, - "end": { - "line": 427, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "caretEventHandler", - "start": 15242, - "end": 15259, - "loc": { - "start": { - "line": 427, - "column": 44 - }, - "end": { - "line": 427, - "column": 61 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15259, - "end": 15260, - "loc": { - "start": { - "line": 427, - "column": 61 - }, - "end": { - "line": 427, - "column": 62 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15260, - "end": 15261, - "loc": { - "start": { - "line": 427, - "column": 62 - }, - "end": { - "line": 427, - "column": 63 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "document", - "start": 15267, - "end": 15275, - "loc": { - "start": { - "line": 428, - "column": 4 - }, - "end": { - "line": 428, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15275, - "end": 15276, - "loc": { - "start": { - "line": 428, - "column": 12 - }, - "end": { - "line": 428, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "addEventListener", - "start": 15276, - "end": 15292, - "loc": { - "start": { - "line": 428, - "column": 13 - }, - "end": { - "line": 428, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15292, - "end": 15293, - "loc": { - "start": { - "line": 428, - "column": 29 - }, - "end": { - "line": 428, - "column": 30 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "mouseup", - "start": 15293, - "end": 15302, - "loc": { - "start": { - "line": 428, - "column": 30 - }, - "end": { - "line": 428, - "column": 39 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15302, - "end": 15303, - "loc": { - "start": { - "line": 428, - "column": 39 - }, - "end": { - "line": 428, - "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": 15304, - "end": 15308, - "loc": { - "start": { - "line": 428, - "column": 41 - }, - "end": { - "line": 428, - "column": 45 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15308, - "end": 15309, - "loc": { - "start": { - "line": 428, - "column": 45 - }, - "end": { - "line": 428, - "column": 46 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "caretEventHandler", - "start": 15309, - "end": 15326, - "loc": { - "start": { - "line": 428, - "column": 46 - }, - "end": { - "line": 428, - "column": 63 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15326, - "end": 15327, - "loc": { - "start": { - "line": 428, - "column": 63 - }, - "end": { - "line": 428, - "column": 64 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15327, - "end": 15328, - "loc": { - "start": { - "line": 428, - "column": 64 - }, - "end": { - "line": 428, - "column": 65 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "document", - "start": 15334, - "end": 15342, - "loc": { - "start": { - "line": 429, - "column": 4 - }, - "end": { - "line": 429, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15342, - "end": 15343, - "loc": { - "start": { - "line": 429, - "column": 12 - }, - "end": { - "line": 429, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "addEventListener", - "start": 15343, - "end": 15359, - "loc": { - "start": { - "line": 429, - "column": 13 - }, - "end": { - "line": 429, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15359, - "end": 15360, - "loc": { - "start": { - "line": 429, - "column": 29 - }, - "end": { - "line": 429, - "column": 30 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "touchend", - "start": 15360, - "end": 15370, - "loc": { - "start": { - "line": 429, - "column": 30 - }, - "end": { - "line": 429, - "column": 40 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15370, - "end": 15371, - "loc": { - "start": { - "line": 429, - "column": 40 - }, - "end": { - "line": 429, - "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": 15372, - "end": 15376, - "loc": { - "start": { - "line": 429, - "column": 42 - }, - "end": { - "line": 429, - "column": 46 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15376, - "end": 15377, - "loc": { - "start": { - "line": 429, - "column": 46 - }, - "end": { - "line": 429, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "caretEventHandler", - "start": 15377, - "end": 15394, - "loc": { - "start": { - "line": 429, - "column": 47 - }, - "end": { - "line": 429, - "column": 64 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15394, - "end": 15395, - "loc": { - "start": { - "line": 429, - "column": 64 - }, - "end": { - "line": 429, - "column": 65 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15395, - "end": 15396, - "loc": { - "start": { - "line": 429, - "column": 65 - }, - "end": { - "line": 429, - "column": 66 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15400, - "end": 15401, - "loc": { - "start": { - "line": 430, - "column": 2 - }, - "end": { - "line": 430, - "column": 3 - } - } - }, - { - "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": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "caretEventHandler", - "start": 15523, - "end": 15540, - "loc": { - "start": { - "line": 435, - "column": 2 - }, - "end": { - "line": 435, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15540, - "end": 15541, - "loc": { - "start": { - "line": 435, - "column": 19 - }, - "end": { - "line": 435, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "event", - "start": 15541, - "end": 15546, - "loc": { - "start": { - "line": 435, - "column": 20 - }, - "end": { - "line": 435, - "column": 25 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15546, - "end": 15547, - "loc": { - "start": { - "line": 435, - "column": 25 - }, - "end": { - "line": 435, - "column": 26 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15547, - "end": 15548, - "loc": { - "start": { - "line": 435, - "column": 26 - }, - "end": { - "line": 435, - "column": 27 - } - } - }, - { - "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": 15554, - "end": 15557, - "loc": { - "start": { - "line": 436, - "column": 4 - }, - "end": { - "line": 436, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "targetTagName", - "start": 15558, - "end": 15571, - "loc": { - "start": { - "line": 436, - "column": 8 - }, - "end": { - "line": 436, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 15572, - "end": 15573, - "loc": { - "start": { - "line": 436, - "column": 22 - }, - "end": { - "line": 436, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "event", - "start": 15574, - "end": 15579, - "loc": { - "start": { - "line": 436, - "column": 24 - }, - "end": { - "line": 436, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15579, - "end": 15580, - "loc": { - "start": { - "line": 436, - "column": 29 - }, - "end": { - "line": 436, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "target", - "start": 15580, - "end": 15586, - "loc": { - "start": { - "line": 436, - "column": 30 - }, - "end": { - "line": 436, - "column": 36 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15586, - "end": 15587, - "loc": { - "start": { - "line": 436, - "column": 36 - }, - "end": { - "line": 436, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tagName", - "start": 15587, - "end": 15594, - "loc": { - "start": { - "line": 436, - "column": 37 - }, - "end": { - "line": 436, - "column": 44 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15594, - "end": 15595, - "loc": { - "start": { - "line": 436, - "column": 44 - }, - "end": { - "line": 436, - "column": 45 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "toLowerCase", - "start": 15595, - "end": 15606, - "loc": { - "start": { - "line": 436, - "column": 45 - }, - "end": { - "line": 436, - "column": 56 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15606, - "end": 15607, - "loc": { - "start": { - "line": 436, - "column": 56 - }, - "end": { - "line": 436, - "column": 57 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15607, - "end": 15608, - "loc": { - "start": { - "line": 436, - "column": 57 - }, - "end": { - "line": 436, - "column": 58 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15608, - "end": 15609, - "loc": { - "start": { - "line": 436, - "column": 58 - }, - "end": { - "line": 436, - "column": 59 - } - } - }, - { - "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": 15617, - "end": 15619, - "loc": { - "start": { - "line": 438, - "column": 4 - }, - "end": { - "line": 438, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15619, - "end": 15620, - "loc": { - "start": { - "line": 438, - "column": 6 - }, - "end": { - "line": 438, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "targetTagName", - "start": 15628, - "end": 15641, - "loc": { - "start": { - "line": 439, - "column": 6 - }, - "end": { - "line": 439, - "column": 19 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 15642, - "end": 15645, - "loc": { - "start": { - "line": 439, - "column": 20 - }, - "end": { - "line": 439, - "column": 23 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "textarea", - "start": 15646, - "end": 15656, - "loc": { - "start": { - "line": 439, - "column": 24 - }, - "end": { - "line": 439, - "column": 34 - } - } - }, - { - "type": { - "label": "||", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 1, - "updateContext": null - }, - "value": "||", - "start": 15657, - "end": 15659, - "loc": { - "start": { - "line": 439, - "column": 35 - }, - "end": { - "line": 439, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "targetTagName", - "start": 15667, - "end": 15680, - "loc": { - "start": { - "line": 440, - "column": 6 - }, - "end": { - "line": 440, - "column": 19 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 15681, - "end": 15684, - "loc": { - "start": { - "line": 440, - "column": 20 - }, - "end": { - "line": 440, - "column": 23 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "input", - "start": 15685, - "end": 15692, - "loc": { - "start": { - "line": 440, - "column": 24 - }, - "end": { - "line": 440, - "column": 31 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15698, - "end": 15699, - "loc": { - "start": { - "line": 441, - "column": 4 - }, - "end": { - "line": 441, - "column": 5 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15699, - "end": 15700, - "loc": { - "start": { - "line": 441, - "column": 5 - }, - "end": { - "line": 441, - "column": 6 - } - } - }, - { - "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": { - "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": 15864, + "start": 15849, "end": 15868, "loc": { "start": { - "line": 446, - "column": 6 + "line": 449, + "column": 15 }, "end": { - "line": 446, - "column": 10 + "line": 449, + "column": 34 } } }, @@ -107654,12 +119200,12 @@ "end": 15869, "loc": { "start": { - "line": 446, - "column": 10 + "line": 449, + "column": 34 }, "end": { - "line": 446, - "column": 11 + "line": 449, + "column": 35 } } }, @@ -107675,17 +119221,145 @@ "postfix": false, "binop": null }, - "value": "caretPosition", + "value": "length", "start": 15869, - "end": 15882, + "end": 15875, "loc": { "start": { - "line": 446, - "column": 11 + "line": 449, + "column": 35 }, "end": { - "line": 446, - "column": 24 + "line": 449, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15875, + "end": 15876, + "loc": { + "start": { + "line": 449, + "column": 41 + }, + "end": { + "line": 449, + "column": 42 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15876, + "end": 15877, + "loc": { + "start": { + "line": 449, + "column": 42 + }, + "end": { + "line": 449, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 15893, + "end": 15904, + "loc": { + "start": { + "line": 450, + "column": 14 + }, + "end": { + "line": 450, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15904, + "end": 15905, + "loc": { + "start": { + "line": 450, + "column": 25 + }, + "end": { + "line": 450, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 15905, + "end": 15912, + "loc": { + "start": { + "line": 450, + "column": 26 + }, + "end": { + "line": 450, + "column": 33 } } }, @@ -107703,16 +119377,16 @@ "updateContext": null }, "value": "=", - "start": 15883, - "end": 15884, + "start": 15913, + "end": 15914, "loc": { "start": { - "line": 446, - "column": 25 + "line": 450, + "column": 34 }, "end": { - "line": 446, - "column": 26 + "line": 450, + "column": 35 } } }, @@ -107728,17 +119402,17 @@ "postfix": false, "binop": null }, - "value": "event", - "start": 15885, - "end": 15890, + "value": "filteredButtonArray", + "start": 15915, + "end": 15934, "loc": { "start": { - "line": 446, - "column": 27 + "line": 450, + "column": 36 }, "end": { - "line": 446, - "column": 32 + "line": 450, + "column": 55 } } }, @@ -107755,16 +119429,16 @@ "binop": null, "updateContext": null }, - "start": 15890, - "end": 15891, + "start": 15934, + "end": 15935, "loc": { "start": { - "line": 446, - "column": 32 + "line": 450, + "column": 55 }, "end": { - "line": 446, - "column": 33 + "line": 450, + "column": 56 } } }, @@ -107780,25 +119454,50 @@ "postfix": false, "binop": null }, - "value": "target", - "start": 15891, - "end": 15897, + "value": "join", + "start": 15935, + "end": 15939, "loc": { "start": { - "line": 446, - "column": 33 + "line": 450, + "column": 56 }, "end": { - "line": 446, - "column": 39 + "line": 450, + "column": 60 } } }, { "type": { - "label": ".", + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15939, + "end": 15940, + "loc": { + "start": { + "line": 450, + "column": 60 + }, + "end": { + "line": 450, + "column": 61 + } + } + }, + { + "type": { + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -107807,24 +119506,25 @@ "binop": null, "updateContext": null }, - "start": 15897, - "end": 15898, + "value": " ", + "start": 15940, + "end": 15943, "loc": { "start": { - "line": 446, - "column": 39 + "line": 450, + "column": 61 }, "end": { - "line": 446, - "column": 40 + "line": 450, + "column": 64 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -107832,17 +119532,16 @@ "postfix": false, "binop": null }, - "value": "selectionStart", - "start": 15898, - "end": 15912, + "start": 15943, + "end": 15944, "loc": { "start": { - "line": 446, - "column": 40 + "line": 450, + "column": 64 }, "end": { - "line": 446, - "column": 54 + "line": 450, + "column": 65 } } }, @@ -107859,23 +119558,22 @@ "binop": null, "updateContext": null }, - "start": 15912, - "end": 15913, + "start": 15944, + "end": 15945, "loc": { "start": { - "line": 446, - "column": 54 + "line": 450, + "column": 65 }, "end": { - "line": 446, - "column": 55 + "line": 450, + "column": 66 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -107883,26 +119581,52 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "start": 15959, + "end": 15960, + "loc": { + "start": { + "line": 451, + "column": 12 + }, + "end": { + "line": 451, + "column": 13 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "value": "if", - "start": 15923, - "end": 15925, + "value": "else", + "start": 15961, + "end": 15965, "loc": { "start": { - "line": 448, - "column": 6 + "line": 451, + "column": 14 }, "end": { - "line": 448, - "column": 8 + "line": 451, + "column": 18 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -107912,16 +119636,16 @@ "postfix": false, "binop": null }, - "start": 15925, - "end": 15926, + "start": 15966, + "end": 15967, "loc": { "start": { - "line": 448, - "column": 8 + "line": 451, + "column": 19 }, "end": { - "line": 448, - "column": 9 + "line": 451, + "column": 20 } } }, @@ -107940,352 +119664,16 @@ "updateContext": null }, "value": "this", - "start": 15926, - "end": 15930, - "loc": { - "start": { - "line": 448, - "column": 9 - }, - "end": { - "line": 448, - "column": 13 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15930, - "end": 15931, - "loc": { - "start": { - "line": 448, - "column": 13 - }, - "end": { - "line": 448, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 15931, - "end": 15938, - "loc": { - "start": { - "line": 448, - "column": 14 - }, - "end": { - "line": 448, - "column": 21 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15938, - "end": 15939, - "loc": { - "start": { - "line": 448, - "column": 21 - }, - "end": { - "line": 448, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "debug", - "start": 15939, - "end": 15944, - "loc": { - "start": { - "line": 448, - "column": 22 - }, - "end": { - "line": 448, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15944, - "end": 15945, - "loc": { - "start": { - "line": 448, - "column": 27 - }, - "end": { - "line": 448, - "column": 28 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15945, - "end": 15946, - "loc": { - "start": { - "line": 448, - "column": 28 - }, - "end": { - "line": 448, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "console", - "start": 15956, - "end": 15963, - "loc": { - "start": { - "line": 449, - "column": 8 - }, - "end": { - "line": 449, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15963, - "end": 15964, - "loc": { - "start": { - "line": 449, - "column": 15 - }, - "end": { - "line": 449, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "log", - "start": 15964, - "end": 15967, - "loc": { - "start": { - "line": 449, - "column": 16 - }, - "end": { - "line": 449, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15967, - "end": 15968, - "loc": { - "start": { - "line": 449, - "column": 19 - }, - "end": { - "line": 449, - "column": 20 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Caret at: ", - "start": 15968, - "end": 15980, - "loc": { - "start": { - "line": 449, - "column": 20 - }, - "end": { - "line": 449, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15980, - "end": 15981, - "loc": { - "start": { - "line": 449, - "column": 32 - }, - "end": { - "line": 449, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "event", - "start": 15982, + "start": 15983, "end": 15987, "loc": { "start": { - "line": 449, - "column": 34 + "line": 452, + "column": 14 }, "end": { - "line": 449, - "column": 39 + "line": 452, + "column": 18 } } }, @@ -108306,12 +119694,12 @@ "end": 15988, "loc": { "start": { - "line": 449, - "column": 39 + "line": 452, + "column": 18 }, "end": { - "line": 449, - "column": 40 + "line": 452, + "column": 19 } } }, @@ -108327,17 +119715,17 @@ "postfix": false, "binop": null }, - "value": "target", + "value": "options", "start": 15988, - "end": 15994, + "end": 15995, "loc": { "start": { - "line": 449, - "column": 40 + "line": 452, + "column": 19 }, "end": { - "line": 449, - "column": 46 + "line": 452, + "column": 26 } } }, @@ -108354,16 +119742,16 @@ "binop": null, "updateContext": null }, - "start": 15994, - "end": 15995, + "start": 15995, + "end": 15996, "loc": { "start": { - "line": 449, - "column": 46 + "line": 452, + "column": 26 }, "end": { - "line": 449, - "column": 47 + "line": 452, + "column": 27 } } }, @@ -108379,17 +119767,120 @@ "postfix": false, "binop": null }, - "value": "selectionStart", - "start": 15995, - "end": 16009, + "value": "buttonTheme", + "start": 15996, + "end": 16007, "loc": { "start": { - "line": 449, - "column": 47 + "line": 452, + "column": 27 }, "end": { - "line": 449, - "column": 61 + "line": 452, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16007, + "end": 16008, + "loc": { + "start": { + "line": 452, + "column": 38 + }, + "end": { + "line": 452, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "splice", + "start": 16008, + "end": 16014, + "loc": { + "start": { + "line": 452, + "column": 39 + }, + "end": { + "line": 452, + "column": 45 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16014, + "end": 16015, + "loc": { + "start": { + "line": 452, + "column": 45 + }, + "end": { + "line": 452, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "index", + "start": 16015, + "end": 16020, + "loc": { + "start": { + "line": 452, + "column": 46 + }, + "end": { + "line": 452, + "column": 51 } } }, @@ -108406,22 +119897,22 @@ "binop": null, "updateContext": null }, - "start": 16009, - "end": 16010, + "start": 16020, + "end": 16021, "loc": { "start": { - "line": 449, - "column": 61 + "line": 452, + "column": 51 }, "end": { - "line": 449, - "column": 62 + "line": 452, + "column": 52 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -108429,77 +119920,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "event", - "start": 16011, - "end": 16016, - "loc": { - "start": { - "line": 449, - "column": 63 - }, - "end": { - "line": 449, - "column": 68 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "start": 16016, - "end": 16017, - "loc": { - "start": { - "line": 449, - "column": 68 - }, - "end": { - "line": 449, - "column": 69 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "target", - "start": 16017, + "value": 1, + "start": 16022, "end": 16023, "loc": { "start": { - "line": 449, - "column": 69 + "line": 452, + "column": 53 }, "end": { - "line": 449, - "column": 75 + "line": 452, + "column": 54 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -108507,172 +119947,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, "start": 16023, "end": 16024, "loc": { "start": { - "line": 449, - "column": 75 + "line": 452, + "column": 54 }, "end": { - "line": 449, - "column": 76 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tagName", - "start": 16024, - "end": 16031, - "loc": { - "start": { - "line": 449, - "column": 76 - }, - "end": { - "line": 449, - "column": 83 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16031, - "end": 16032, - "loc": { - "start": { - "line": 449, - "column": 83 - }, - "end": { - "line": 449, - "column": 84 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "toLowerCase", - "start": 16032, - "end": 16043, - "loc": { - "start": { - "line": 449, - "column": 84 - }, - "end": { - "line": 449, - "column": 95 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16043, - "end": 16044, - "loc": { - "start": { - "line": 449, - "column": 95 - }, - "end": { - "line": 449, - "column": 96 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16044, - "end": 16045, - "loc": { - "start": { - "line": 449, - "column": 96 - }, - "end": { - "line": 449, - "column": 97 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16045, - "end": 16046, - "loc": { - "start": { - "line": 449, - "column": 97 - }, - "end": { - "line": 449, - "column": 98 + "line": 452, + "column": 55 } } }, @@ -108689,107 +119975,16 @@ "binop": null, "updateContext": null }, - "start": 16046, - "end": 16047, - "loc": { - "start": { - "line": 449, - "column": 98 - }, - "end": { - "line": 449, - "column": 99 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16055, - "end": 16056, - "loc": { - "start": { - "line": 450, - "column": 6 - }, - "end": { - "line": 450, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16067, - "end": 16068, - "loc": { - "start": { - "line": 451, - "column": 4 - }, - "end": { - "line": 451, - "column": 5 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16072, - "end": 16073, + "start": 16024, + "end": 16025, "loc": { "start": { "line": 452, - "column": 2 + "column": 55 }, "end": { "line": 452, - "column": 3 - } - } - }, - { - "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 + "column": 56 } } }, @@ -108805,24 +120000,183 @@ "postfix": false, "binop": null }, - "value": "onInit", - "start": 16203, - "end": 16209, + "value": "buttonTheme", + "start": 16041, + "end": 16052, "loc": { "start": { - "line": 457, - "column": 2 + "line": 453, + "column": 14 }, "end": { - "line": 457, - "column": 8 + "line": 453, + "column": 25 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 16053, + "end": 16054, + "loc": { + "start": { + "line": 453, + "column": 26 + }, + "end": { + "line": 453, + "column": 27 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 16055, + "end": 16059, + "loc": { + "start": { + "line": 453, + "column": 28 + }, + "end": { + "line": 453, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16059, + "end": 16060, + "loc": { + "start": { + "line": 453, + "column": 32 + }, + "end": { + "line": 453, + "column": 33 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16074, + "end": 16075, + "loc": { + "start": { + "line": 454, + "column": 12 + }, + "end": { + "line": 454, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16090, + "end": 16091, + "loc": { + "start": { + "line": 456, + "column": 10 + }, + "end": { + "line": 456, + "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": 16105, + "end": 16111, + "loc": { + "start": { + "line": 458, + "column": 10 + }, + "end": { + "line": 458, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -108831,15 +120185,67 @@ "postfix": false, "binop": null }, - "start": 16209, - "end": 16210, + "value": "buttonTheme", + "start": 16112, + "end": 16123, "loc": { "start": { - "line": 457, + "line": 458, + "column": 17 + }, + "end": { + "line": 458, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16123, + "end": 16124, + "loc": { + "start": { + "line": 458, + "column": 28 + }, + "end": { + "line": 458, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16134, + "end": 16135, + "loc": { + "start": { + "line": 459, "column": 8 }, "end": { - "line": 457, + "line": 459, "column": 9 } } @@ -108856,19 +120262,445 @@ "postfix": false, "binop": null }, - "start": 16210, - "end": 16211, + "start": 16135, + "end": 16136, "loc": { "start": { - "line": 457, + "line": 459, "column": 9 }, "end": { - "line": 457, + "line": 459, "column": 10 } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16136, + "end": 16137, + "loc": { + "start": { + "line": 459, + "column": 10 + }, + "end": { + "line": 459, + "column": 11 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16145, + "end": 16146, + "loc": { + "start": { + "line": 460, + "column": 6 + }, + "end": { + "line": 460, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16146, + "end": 16147, + "loc": { + "start": { + "line": 460, + "column": 7 + }, + "end": { + "line": 460, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16147, + "end": 16148, + "loc": { + "start": { + "line": 460, + "column": 8 + }, + "end": { + "line": 460, + "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": 16158, + "end": 16162, + "loc": { + "start": { + "line": 462, + "column": 6 + }, + "end": { + "line": 462, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16162, + "end": 16163, + "loc": { + "start": { + "line": 462, + "column": 10 + }, + "end": { + "line": 462, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "render", + "start": 16163, + "end": 16169, + "loc": { + "start": { + "line": 462, + "column": 11 + }, + "end": { + "line": 462, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16169, + "end": 16170, + "loc": { + "start": { + "line": 462, + "column": 17 + }, + "end": { + "line": 462, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16170, + "end": 16171, + "loc": { + "start": { + "line": 462, + "column": 18 + }, + "end": { + "line": 462, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16171, + "end": 16172, + "loc": { + "start": { + "line": 462, + "column": 19 + }, + "end": { + "line": 462, + "column": 20 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16178, + "end": 16179, + "loc": { + "start": { + "line": 463, + "column": 4 + }, + "end": { + "line": 463, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16183, + "end": 16184, + "loc": { + "start": { + "line": 464, + "column": 2 + }, + "end": { + "line": 464, + "column": 3 + } + } + }, + { + "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": 16190, + "end": 16393, + "loc": { + "start": { + "line": 466, + "column": 2 + }, + "end": { + "line": 469, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getButtonElement", + "start": 16397, + "end": 16413, + "loc": { + "start": { + "line": 470, + "column": 2 + }, + "end": { + "line": 470, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16413, + "end": 16414, + "loc": { + "start": { + "line": 470, + "column": 18 + }, + "end": { + "line": 470, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 16414, + "end": 16420, + "loc": { + "start": { + "line": 470, + "column": 19 + }, + "end": { + "line": 470, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16420, + "end": 16421, + "loc": { + "start": { + "line": 470, + "column": 25 + }, + "end": { + "line": 470, + "column": 26 + } + } + }, { "type": { "label": "{", @@ -108881,16 +120713,361 @@ "postfix": false, "binop": null }, - "start": 16211, - "end": 16212, + "start": 16421, + "end": 16422, "loc": { "start": { - "line": 457, - "column": 10 + "line": 470, + "column": 26 }, "end": { - "line": 457, - "column": 11 + "line": 470, + "column": 27 + } + } + }, + { + "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": 16428, + "end": 16431, + "loc": { + "start": { + "line": 471, + "column": 4 + }, + "end": { + "line": 471, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "output", + "start": 16432, + "end": 16438, + "loc": { + "start": { + "line": 471, + "column": 8 + }, + "end": { + "line": 471, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16438, + "end": 16439, + "loc": { + "start": { + "line": 471, + "column": 14 + }, + "end": { + "line": 471, + "column": 15 + } + } + }, + { + "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": 16447, + "end": 16450, + "loc": { + "start": { + "line": 473, + "column": 4 + }, + "end": { + "line": 473, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonArr", + "start": 16451, + "end": 16460, + "loc": { + "start": { + "line": 473, + "column": 8 + }, + "end": { + "line": 473, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 16461, + "end": 16462, + "loc": { + "start": { + "line": 473, + "column": 18 + }, + "end": { + "line": 473, + "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": 16463, + "end": 16467, + "loc": { + "start": { + "line": 473, + "column": 20 + }, + "end": { + "line": 473, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16467, + "end": 16468, + "loc": { + "start": { + "line": 473, + "column": 24 + }, + "end": { + "line": 473, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonElements", + "start": 16468, + "end": 16482, + "loc": { + "start": { + "line": 473, + "column": 25 + }, + "end": { + "line": 473, + "column": 39 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16482, + "end": 16483, + "loc": { + "start": { + "line": 473, + "column": 39 + }, + "end": { + "line": 473, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 16483, + "end": 16489, + "loc": { + "start": { + "line": 473, + "column": 40 + }, + "end": { + "line": 473, + "column": 46 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16489, + "end": 16490, + "loc": { + "start": { + "line": 473, + "column": 46 + }, + "end": { + "line": 473, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16490, + "end": 16491, + "loc": { + "start": { + "line": 473, + "column": 47 + }, + "end": { + "line": 473, + "column": 48 } } }, @@ -108909,15 +121086,15 @@ "updateContext": null }, "value": "if", - "start": 16218, - "end": 16220, + "start": 16497, + "end": 16499, "loc": { "start": { - "line": 458, + "line": 474, "column": 4 }, "end": { - "line": 458, + "line": 474, "column": 6 } } @@ -108934,15 +121111,1018 @@ "postfix": false, "binop": null }, - "start": 16220, - "end": 16221, + "start": 16499, + "end": 16500, "loc": { "start": { - "line": 458, + "line": 474, "column": 6 }, "end": { - "line": 458, + "line": 474, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonArr", + "start": 16500, + "end": 16509, + "loc": { + "start": { + "line": 474, + "column": 7 + }, + "end": { + "line": 474, + "column": 16 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16509, + "end": 16510, + "loc": { + "start": { + "line": 474, + "column": 16 + }, + "end": { + "line": 474, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16510, + "end": 16511, + "loc": { + "start": { + "line": 474, + "column": 17 + }, + "end": { + "line": 474, + "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": 16519, + "end": 16521, + "loc": { + "start": { + "line": 475, + "column": 6 + }, + "end": { + "line": 475, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16521, + "end": 16522, + "loc": { + "start": { + "line": 475, + "column": 8 + }, + "end": { + "line": 475, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonArr", + "start": 16522, + "end": 16531, + "loc": { + "start": { + "line": 475, + "column": 9 + }, + "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": 16531, + "end": 16532, + "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": "length", + "start": 16532, + "end": 16538, + "loc": { + "start": { + "line": 475, + "column": 19 + }, + "end": { + "line": 475, + "column": 25 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": ">", + "start": 16539, + "end": 16540, + "loc": { + "start": { + "line": 475, + "column": 26 + }, + "end": { + "line": 475, + "column": 27 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 16541, + "end": 16542, + "loc": { + "start": { + "line": 475, + "column": 28 + }, + "end": { + "line": 475, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16542, + "end": 16543, + "loc": { + "start": { + "line": 475, + "column": 29 + }, + "end": { + "line": 475, + "column": 30 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16543, + "end": 16544, + "loc": { + "start": { + "line": 475, + "column": 30 + }, + "end": { + "line": 475, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "output", + "start": 16554, + "end": 16560, + "loc": { + "start": { + "line": 476, + "column": 8 + }, + "end": { + "line": 476, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 16561, + "end": 16562, + "loc": { + "start": { + "line": 476, + "column": 15 + }, + "end": { + "line": 476, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonArr", + "start": 16563, + "end": 16572, + "loc": { + "start": { + "line": 476, + "column": 17 + }, + "end": { + "line": 476, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16572, + "end": 16573, + "loc": { + "start": { + "line": 476, + "column": 26 + }, + "end": { + "line": 476, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16581, + "end": 16582, + "loc": { + "start": { + "line": 477, + "column": 6 + }, + "end": { + "line": 477, + "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": 16583, + "end": 16587, + "loc": { + "start": { + "line": 477, + "column": 8 + }, + "end": { + "line": 477, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16588, + "end": 16589, + "loc": { + "start": { + "line": 477, + "column": 13 + }, + "end": { + "line": 477, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "output", + "start": 16599, + "end": 16605, + "loc": { + "start": { + "line": 478, + "column": 8 + }, + "end": { + "line": 478, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 16606, + "end": 16607, + "loc": { + "start": { + "line": 478, + "column": 15 + }, + "end": { + "line": 478, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonArr", + "start": 16608, + "end": 16617, + "loc": { + "start": { + "line": 478, + "column": 17 + }, + "end": { + "line": 478, + "column": 26 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16617, + "end": 16618, + "loc": { + "start": { + "line": 478, + "column": 26 + }, + "end": { + "line": 478, + "column": 27 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 16618, + "end": 16619, + "loc": { + "start": { + "line": 478, + "column": 27 + }, + "end": { + "line": 478, + "column": 28 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16619, + "end": 16620, + "loc": { + "start": { + "line": 478, + "column": 28 + }, + "end": { + "line": 478, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16620, + "end": 16621, + "loc": { + "start": { + "line": 478, + "column": 29 + }, + "end": { + "line": 478, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16629, + "end": 16630, + "loc": { + "start": { + "line": 479, + "column": 6 + }, + "end": { + "line": 479, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16636, + "end": 16637, + "loc": { + "start": { + "line": 480, + "column": 4 + }, + "end": { + "line": 480, + "column": 5 + } + } + }, + { + "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": 16645, + "end": 16651, + "loc": { + "start": { + "line": 482, + "column": 4 + }, + "end": { + "line": 482, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "output", + "start": 16652, + "end": 16658, + "loc": { + "start": { + "line": 482, + "column": 11 + }, + "end": { + "line": 482, + "column": 17 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16658, + "end": 16659, + "loc": { + "start": { + "line": 482, + "column": 17 + }, + "end": { + "line": 482, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16663, + "end": 16664, + "loc": { + "start": { + "line": 483, + "column": 2 + }, + "end": { + "line": 483, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", + "start": 16670, + "end": 16760, + "loc": { + "start": { + "line": 485, + "column": 2 + }, + "end": { + "line": 487, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handleCaret", + "start": 16764, + "end": 16775, + "loc": { + "start": { + "line": 488, + "column": 2 + }, + "end": { + "line": 488, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16775, + "end": 16776, + "loc": { + "start": { + "line": 488, + "column": 13 + }, + "end": { + "line": 488, + "column": 14 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16776, + "end": 16777, + "loc": { + "start": { + "line": 488, + "column": 14 + }, + "end": { + "line": 488, + "column": 15 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16777, + "end": 16778, + "loc": { + "start": { + "line": 488, + "column": 15 + }, + "end": { + "line": 488, + "column": 16 + } + } + }, + { + "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": 16784, + "end": 16786, + "loc": { + "start": { + "line": 489, + "column": 4 + }, + "end": { + "line": 489, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16786, + "end": 16787, + "loc": { + "start": { + "line": 489, + "column": 6 + }, + "end": { + "line": 489, "column": 7 } } @@ -108962,15 +122142,15 @@ "updateContext": null }, "value": "this", - "start": 16221, - "end": 16225, + "start": 16787, + "end": 16791, "loc": { "start": { - "line": 458, + "line": 489, "column": 7 }, "end": { - "line": 458, + "line": 489, "column": 11 } } @@ -108988,15 +122168,15 @@ "binop": null, "updateContext": null }, - "start": 16225, - "end": 16226, + "start": 16791, + "end": 16792, "loc": { "start": { - "line": 458, + "line": 489, "column": 11 }, "end": { - "line": 458, + "line": 489, "column": 12 } } @@ -109014,15 +122194,15 @@ "binop": null }, "value": "options", - "start": 16226, - "end": 16233, + "start": 16792, + "end": 16799, "loc": { "start": { - "line": 458, + "line": 489, "column": 12 }, "end": { - "line": 458, + "line": 489, "column": 19 } } @@ -109040,15 +122220,15 @@ "binop": null, "updateContext": null }, - "start": 16233, - "end": 16234, + "start": 16799, + "end": 16800, "loc": { "start": { - "line": 458, + "line": 489, "column": 19 }, "end": { - "line": 458, + "line": 489, "column": 20 } } @@ -109066,15 +122246,15 @@ "binop": null }, "value": "debug", - "start": 16234, - "end": 16239, + "start": 16800, + "end": 16805, "loc": { "start": { - "line": 458, + "line": 489, "column": 20 }, "end": { - "line": 458, + "line": 489, "column": 25 } } @@ -109091,15 +122271,15 @@ "postfix": false, "binop": null }, - "start": 16239, - "end": 16240, + "start": 16805, + "end": 16806, "loc": { "start": { - "line": 458, + "line": 489, "column": 25 }, "end": { - "line": 458, + "line": 489, "column": 26 } } @@ -109116,15 +122296,15 @@ "postfix": false, "binop": null }, - "start": 16240, - "end": 16241, + "start": 16806, + "end": 16807, "loc": { "start": { - "line": 458, + "line": 489, "column": 26 }, "end": { - "line": 458, + "line": 489, "column": 27 } } @@ -109142,15 +122322,15 @@ "binop": null }, "value": "console", - "start": 16249, - "end": 16256, + "start": 16815, + "end": 16822, "loc": { "start": { - "line": 459, + "line": 490, "column": 6 }, "end": { - "line": 459, + "line": 490, "column": 13 } } @@ -109168,15 +122348,15 @@ "binop": null, "updateContext": null }, - "start": 16256, - "end": 16257, + "start": 16822, + "end": 16823, "loc": { "start": { - "line": 459, + "line": 490, "column": 13 }, "end": { - "line": 459, + "line": 490, "column": 14 } } @@ -109194,15 +122374,15 @@ "binop": null }, "value": "log", - "start": 16257, - "end": 16260, + "start": 16823, + "end": 16826, "loc": { "start": { - "line": 459, + "line": 490, "column": 14 }, "end": { - "line": 459, + "line": 490, "column": 17 } } @@ -109219,15 +122399,15 @@ "postfix": false, "binop": null }, - "start": 16260, - "end": 16261, + "start": 16826, + "end": 16827, "loc": { "start": { - "line": 459, + "line": 490, "column": 17 }, "end": { - "line": 459, + "line": 490, "column": 18 } } @@ -109245,2153 +122425,20 @@ "binop": null, "updateContext": null }, - "value": "Initialized", - "start": 16261, - "end": 16274, + "value": "Caret handling started", + "start": 16827, + "end": 16851, "loc": { "start": { - "line": 459, + "line": 490, "column": 18 }, "end": { - "line": 459, - "column": 31 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16274, - "end": 16275, - "loc": { - "start": { - "line": 459, - "column": 31 - }, - "end": { - "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 - } - } - }, - { - "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": 16332, - "end": 16336, - "loc": { - "start": { - "line": 465, - "column": 4 - }, - "end": { - "line": 465, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16336, - "end": 16337, - "loc": { - "start": { - "line": 465, - "column": 8 - }, - "end": { - "line": 465, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "handleCaret", - "start": 16337, - "end": 16348, - "loc": { - "start": { - "line": 465, - "column": 9 - }, - "end": { - "line": 465, - "column": 20 - } - } - }, - { - "type": { - "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, - "isLoop": false, - "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 - }, - "start": 16350, - "end": 16351, - "loc": { - "start": { - "line": 465, - "column": 22 - }, - "end": { - "line": 465, - "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": 16359, - "end": 16361, - "loc": { - "start": { - "line": 467, - "column": 4 - }, - "end": { - "line": 467, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16361, - "end": 16362, - "loc": { - "start": { - "line": 467, - "column": 6 - }, - "end": { - "line": 467, - "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": 16362, - "end": 16368, - "loc": { - "start": { - "line": 467, - "column": 7 - }, - "end": { - "line": 467, - "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": 16369, - "end": 16373, - "loc": { - "start": { - "line": 467, - "column": 14 - }, - "end": { - "line": 467, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16373, - "end": 16374, - "loc": { - "start": { - "line": 467, - "column": 18 - }, - "end": { - "line": 467, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 16374, - "end": 16381, - "loc": { - "start": { - "line": 467, - "column": 19 - }, - "end": { - "line": 467, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16381, - "end": 16382, - "loc": { - "start": { - "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": 467, - "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": 16393, - "end": 16403, - "loc": { - "start": { - "line": 467, - "column": 38 - }, - "end": { - "line": 467, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16403, - "end": 16404, - "loc": { - "start": { - "line": 467, - "column": 48 - }, - "end": { - "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 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16732, - "end": 16733, - "loc": { - "start": { - "line": 482, - "column": 24 - }, - "end": { - "line": 482, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "initCallback", - "start": 16734, - "end": 16746, - "loc": { - "start": { - "line": 482, - "column": 26 - }, - "end": { - "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, + "line": 490, "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 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16762, - "end": 16763, - "loc": { - "start": { - "line": 483, - "column": 8 - }, - "end": { - "line": 483, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "modules", - "start": 16763, - "end": 16770, - "loc": { - "start": { - "line": 483, - "column": 9 - }, - "end": { - "line": 483, - "column": 16 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16770, - "end": 16771, - "loc": { - "start": { - "line": 483, - "column": 16 - }, - "end": { - "line": 483, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 16771, - "end": 16775, - "loc": { - "start": { - "line": 483, - "column": 17 - }, - "end": { - "line": 483, - "column": 21 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16775, - "end": 16776, - "loc": { - "start": { - "line": 483, - "column": 21 - }, - "end": { - "line": 483, - "column": 22 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 16777, - "end": 16778, - "loc": { - "start": { - "line": 483, - "column": 23 - }, - "end": { - "line": 483, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16779, - "end": 16780, - "loc": { - "start": { - "line": 483, - "column": 25 - }, - "end": { - "line": 483, - "column": 26 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16780, - "end": 16781, - "loc": { - "start": { - "line": 483, - "column": 26 - }, - "end": { - "line": 483, - "column": 27 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16781, - "end": 16782, - "loc": { - "start": { - "line": 483, - "column": 27 - }, - "end": { - "line": 483, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "initCallback", - "start": 16790, - "end": 16802, - "loc": { - "start": { - "line": 485, - "column": 4 - }, - "end": { - "line": 485, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16802, - "end": 16803, - "loc": { - "start": { - "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": 485, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "modules", - "start": 16808, - "end": 16815, - "loc": { - "start": { - "line": 485, - "column": 22 - }, - "end": { - "line": 485, - "column": 29 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16815, - "end": 16816, - "loc": { - "start": { - "line": 485, - "column": 29 - }, - "end": { - "line": 485, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 16816, - "end": 16820, - "loc": { - "start": { - "line": 485, - "column": 30 - }, - "end": { - "line": 485, - "column": 34 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16820, - "end": 16821, - "loc": { - "start": { - "line": 485, - "column": 34 - }, - "end": { - "line": 485, - "column": 35 - } - } - }, { "type": { "label": ")", @@ -111404,16 +122451,16 @@ "postfix": false, "binop": null }, - "start": 16821, - "end": 16822, + "start": 16851, + "end": 16852, "loc": { "start": { - "line": 485, - "column": 35 + "line": 490, + "column": 42 }, "end": { - "line": 485, - "column": 36 + "line": 490, + "column": 43 } } }, @@ -111430,16 +122477,16 @@ "binop": null, "updateContext": null }, - "start": 16822, - "end": 16823, + "start": 16852, + "end": 16853, "loc": { "start": { - "line": 485, - "column": 36 + "line": 490, + "column": 43 }, "end": { - "line": 485, - "column": 37 + "line": 490, + "column": 44 } } }, @@ -111455,31 +122502,15 @@ "postfix": false, "binop": null }, - "start": 16827, - "end": 16828, + "start": 16859, + "end": 16860, "loc": { "start": { - "line": 486, - "column": 2 + "line": 491, + "column": 4 }, "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, + "line": 491, "column": 5 } } @@ -111496,69 +122527,43 @@ "postfix": false, "binop": null }, - "value": "getModuleProp", - "start": 16870, - "end": 16883, + "value": "document", + "start": 16868, + "end": 16876, "loc": { "start": { - "line": 491, - "column": 2 + "line": 493, + "column": 4 }, "end": { - "line": 491, - "column": 15 + "line": 493, + "column": 12 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 16884, - "end": 16885, - "loc": { - "start": { - "line": 491, - "column": 16 - }, - "end": { - "line": 491, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 16886, - "end": 16887, + "start": 16876, + "end": 16877, "loc": { "start": { - "line": 491, - "column": 18 + "line": 493, + "column": 12 }, "end": { - "line": 491, - "column": 19 + "line": 493, + "column": 13 } } }, @@ -111574,17 +122579,69 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 16887, - "end": 16891, + "value": "addEventListener", + "start": 16877, + "end": 16893, "loc": { "start": { - "line": 491, - "column": 19 + "line": 493, + "column": 13 }, "end": { - "line": 491, - "column": 23 + "line": 493, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16893, + "end": 16894, + "loc": { + "start": { + "line": 493, + "column": 29 + }, + "end": { + "line": 493, + "column": 30 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "keyup", + "start": 16894, + "end": 16901, + "loc": { + "start": { + "line": 493, + "column": 30 + }, + "end": { + "line": 493, + "column": 37 } } }, @@ -111601,16 +122658,70 @@ "binop": null, "updateContext": null }, - "start": 16891, - "end": 16892, + "start": 16901, + "end": 16902, "loc": { "start": { - "line": 491, - "column": 23 + "line": 493, + "column": 37 }, "end": { - "line": 491, - "column": 24 + "line": 493, + "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": 16903, + "end": 16907, + "loc": { + "start": { + "line": 493, + "column": 39 + }, + "end": { + "line": 493, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16907, + "end": 16908, + "loc": { + "start": { + "line": 493, + "column": 43 + }, + "end": { + "line": 493, + "column": 44 } } }, @@ -111626,17 +122737,17 @@ "postfix": false, "binop": null }, - "value": "prop", - "start": 16893, - "end": 16897, + "value": "caretEventHandler", + "start": 16908, + "end": 16925, "loc": { "start": { - "line": 491, - "column": 25 + "line": 493, + "column": 44 }, "end": { - "line": 491, - "column": 29 + "line": 493, + "column": 61 } } }, @@ -111652,22 +122763,22 @@ "postfix": false, "binop": null }, - "start": 16897, - "end": 16898, + "start": 16925, + "end": 16926, "loc": { "start": { - "line": 491, - "column": 29 + "line": 493, + "column": 61 }, "end": { - "line": 491, - "column": 30 + "line": 493, + "column": 62 } } }, { "type": { - "label": "=>", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -111678,23 +122789,23 @@ "binop": null, "updateContext": null }, - "start": 16899, - "end": 16901, + "start": 16926, + "end": 16927, "loc": { "start": { - "line": 491, - "column": 31 + "line": 493, + "column": 62 }, "end": { - "line": 491, - "column": 33 + "line": 493, + "column": 63 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -111703,23 +122814,23 @@ "postfix": false, "binop": null }, - "start": 16902, - "end": 16903, + "value": "document", + "start": 16933, + "end": 16941, "loc": { "start": { - "line": 491, - "column": 34 + "line": 494, + "column": 4 }, "end": { - "line": 491, - "column": 35 + "line": 494, + "column": 12 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -111730,17 +122841,42 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 16909, - "end": 16911, + "start": 16941, + "end": 16942, "loc": { "start": { - "line": 492, - "column": 4 + "line": 494, + "column": 12 }, "end": { - "line": 492, - "column": 6 + "line": 494, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "addEventListener", + "start": 16942, + "end": 16958, + "loc": { + "start": { + "line": 494, + "column": 13 + }, + "end": { + "line": 494, + "column": 29 } } }, @@ -111756,43 +122892,69 @@ "postfix": false, "binop": null }, - "start": 16911, - "end": 16912, + "start": 16958, + "end": 16959, "loc": { "start": { - "line": 492, - "column": 6 + "line": 494, + "column": 29 }, "end": { - "line": 492, - "column": 7 + "line": 494, + "column": 30 } } }, { "type": { - "label": "prefix", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "!", - "start": 16912, - "end": 16913, + "value": "mouseup", + "start": 16959, + "end": 16968, "loc": { "start": { - "line": 492, - "column": 7 + "line": 494, + "column": 30 }, "end": { - "line": 492, - "column": 8 + "line": 494, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16968, + "end": 16969, + "loc": { + "start": { + "line": 494, + "column": 39 + }, + "end": { + "line": 494, + "column": 40 } } }, @@ -111811,16 +122973,16 @@ "updateContext": null }, "value": "this", - "start": 16913, - "end": 16917, + "start": 16970, + "end": 16974, "loc": { "start": { - "line": 492, - "column": 8 + "line": 494, + "column": 41 }, "end": { - "line": 492, - "column": 12 + "line": 494, + "column": 45 } } }, @@ -111837,16 +122999,16 @@ "binop": null, "updateContext": null }, - "start": 16917, - "end": 16918, + "start": 16974, + "end": 16975, "loc": { "start": { - "line": 492, - "column": 12 + "line": 494, + "column": 45 }, "end": { - "line": 492, - "column": 13 + "line": 494, + "column": 46 } } }, @@ -111862,95 +123024,17 @@ "postfix": false, "binop": null }, - "value": "modules", - "start": 16918, - "end": 16925, + "value": "caretEventHandler", + "start": 16975, + "end": 16992, "loc": { "start": { - "line": 492, - "column": 13 + "line": 494, + "column": 46 }, "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 + "line": 494, + "column": 63 } } }, @@ -111966,72 +123050,16 @@ "postfix": false, "binop": null }, - "start": 16931, - "end": 16932, + "start": 16992, + "end": 16993, "loc": { "start": { - "line": 492, - "column": 26 + "line": 494, + "column": 63 }, "end": { - "line": 492, - "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 + "line": 494, + "column": 64 } } }, @@ -112048,23 +123076,152 @@ "binop": null, "updateContext": null }, - "start": 16952, - "end": 16953, + "start": 16993, + "end": 16994, "loc": { "start": { - "line": 493, - "column": 18 + "line": 494, + "column": 64 }, "end": { - "line": 493, - "column": 19 + "line": 494, + "column": 65 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "document", + "start": 17000, + "end": 17008, + "loc": { + "start": { + "line": 495, + "column": 4 + }, + "end": { + "line": 495, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17008, + "end": 17009, + "loc": { + "start": { + "line": 495, + "column": 12 + }, + "end": { + "line": 495, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "addEventListener", + "start": 17009, + "end": 17025, + "loc": { + "start": { + "line": 495, + "column": 13 + }, + "end": { + "line": 495, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17025, + "end": 17026, + "loc": { + "start": { + "line": 495, + "column": 29 + }, + "end": { + "line": 495, + "column": 30 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "touchend", + "start": 17026, + "end": 17036, + "loc": { + "start": { + "line": 495, + "column": 30 + }, + "end": { + "line": 495, + "column": 40 + } + } + }, + { + "type": { + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -112075,17 +123232,16 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 16965, - "end": 16971, + "start": 17036, + "end": 17037, "loc": { "start": { "line": 495, - "column": 4 + "column": 40 }, "end": { "line": 495, - "column": 10 + "column": 41 } } }, @@ -112104,16 +123260,16 @@ "updateContext": null }, "value": "this", - "start": 16972, - "end": 16976, + "start": 17038, + "end": 17042, "loc": { "start": { "line": 495, - "column": 11 + "column": 42 }, "end": { "line": 495, - "column": 15 + "column": 46 } } }, @@ -112130,16 +123286,16 @@ "binop": null, "updateContext": null }, - "start": 16976, - "end": 16977, + "start": 17042, + "end": 17043, "loc": { "start": { "line": 495, - "column": 15 + "column": 46 }, "end": { "line": 495, - "column": 16 + "column": 47 } } }, @@ -112155,75 +123311,23 @@ "postfix": false, "binop": null }, - "value": "modules", - "start": 16977, - "end": 16984, + "value": "caretEventHandler", + "start": 17043, + "end": 17060, "loc": { "start": { "line": 495, - "column": 16 + "column": 47 }, "end": { "line": 495, - "column": 23 + "column": 64 } } }, { "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": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -112231,97 +123335,18 @@ "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, + "start": 17060, + "end": 17061, "loc": { "start": { "line": 495, - "column": 30 + "column": 64 }, "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 + "column": 65 } } }, @@ -112338,16 +123363,16 @@ "binop": null, "updateContext": null }, - "start": 16996, - "end": 16997, + "start": 17061, + "end": 17062, "loc": { "start": { "line": 495, - "column": 35 + "column": 65 }, "end": { "line": 495, - "column": 36 + "column": 66 } } }, @@ -112363,8 +123388,8 @@ "postfix": false, "binop": null }, - "start": 17001, - "end": 17002, + "start": 17066, + "end": 17067, "loc": { "start": { "line": 496, @@ -112378,9 +123403,9 @@ }, { "type": "CommentBlock", - "value": "*\r\n * getModulesList\r\n ", - "start": 17008, - "end": 17039, + "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", + "start": 17073, + "end": 17185, "loc": { "start": { "line": 498, @@ -112404,9 +123429,9 @@ "postfix": false, "binop": null }, - "value": "getModulesList", - "start": 17043, - "end": 17057, + "value": "caretEventHandler", + "start": 17189, + "end": 17206, "loc": { "start": { "line": 501, @@ -112414,34 +123439,7 @@ }, "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 + "column": 19 } } }, @@ -112457,8 +123455,8 @@ "postfix": false, "binop": null }, - "start": 17060, - "end": 17061, + "start": 17206, + "end": 17207, "loc": { "start": { "line": 501, @@ -112470,6 +123468,32 @@ } } }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "event", + "start": 17207, + "end": 17212, + "loc": { + "start": { + "line": 501, + "column": 20 + }, + "end": { + "line": 501, + "column": 25 + } + } + }, { "type": { "label": ")", @@ -112482,59 +123506,8 @@ "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, + "start": 17212, + "end": 17213, "loc": { "start": { "line": 501, @@ -112546,385 +123519,6 @@ } } }, - { - "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 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17086, - "end": 17087, - "loc": { - "start": { - "line": 502, - "column": 17 - }, - "end": { - "line": 502, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "keys", - "start": 17087, - "end": 17091, - "loc": { - "start": { - "line": 502, - "column": 18 - }, - "end": { - "line": 502, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17091, - "end": 17092, - "loc": { - "start": { - "line": 502, - "column": 22 - }, - "end": { - "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": "{", @@ -112937,188 +123531,16 @@ "postfix": false, "binop": null }, - "start": 17185, - "end": 17186, + "start": 17213, + "end": 17214, "loc": { "start": { - "line": 508, - "column": 10 + "line": 501, + "column": 26 }, "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 + "line": 501, + "column": 27 } } }, @@ -113137,15 +123559,15 @@ "updateContext": null }, "value": "let", - "start": 17254, - "end": 17257, + "start": 17220, + "end": 17223, "loc": { "start": { - "line": 514, + "line": 502, "column": 4 }, "end": { - "line": 514, + "line": 502, "column": 7 } } @@ -113162,17 +123584,17 @@ "postfix": false, "binop": null }, - "value": "layoutClass", - "start": 17258, - "end": 17269, + "value": "targetTagName", + "start": 17224, + "end": 17237, "loc": { "start": { - "line": 514, + "line": 502, "column": 8 }, "end": { - "line": 514, - "column": 19 + "line": 502, + "column": 21 } } }, @@ -113190,44 +123612,42 @@ "updateContext": null }, "value": "=", - "start": 17270, - "end": 17271, + "start": 17238, + "end": 17239, "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, + "line": 502, "column": 22 }, "end": { - "line": 514, - "column": 26 + "line": 502, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "event", + "start": 17240, + "end": 17245, + "loc": { + "start": { + "line": 502, + "column": 24 + }, + "end": { + "line": 502, + "column": 29 } } }, @@ -113244,16 +123664,16 @@ "binop": null, "updateContext": null }, - "start": 17276, - "end": 17277, + "start": 17245, + "end": 17246, "loc": { "start": { - "line": 514, - "column": 26 + "line": 502, + "column": 29 }, "end": { - "line": 514, - "column": 27 + "line": 502, + "column": 30 } } }, @@ -113269,17 +123689,17 @@ "postfix": false, "binop": null }, - "value": "options", - "start": 17277, - "end": 17284, + "value": "target", + "start": 17246, + "end": 17252, "loc": { "start": { - "line": 514, - "column": 27 + "line": 502, + "column": 30 }, "end": { - "line": 514, - "column": 34 + "line": 502, + "column": 36 } } }, @@ -113296,16 +123716,16 @@ "binop": null, "updateContext": null }, - "start": 17284, - "end": 17285, + "start": 17252, + "end": 17253, "loc": { "start": { - "line": 514, - "column": 34 + "line": 502, + "column": 36 }, "end": { - "line": 514, - "column": 35 + "line": 502, + "column": 37 } } }, @@ -113321,23 +123741,125 @@ "postfix": false, "binop": null }, - "value": "layout", - "start": 17285, - "end": 17291, + "value": "tagName", + "start": 17253, + "end": 17260, "loc": { "start": { - "line": 514, - "column": 35 + "line": 502, + "column": 37 }, "end": { - "line": 514, - "column": 41 + "line": 502, + "column": 44 } } }, { "type": { - "label": "?", + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17260, + "end": 17261, + "loc": { + "start": { + "line": 502, + "column": 44 + }, + "end": { + "line": 502, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "toLowerCase", + "start": 17261, + "end": 17272, + "loc": { + "start": { + "line": 502, + "column": 45 + }, + "end": { + "line": 502, + "column": 56 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17272, + "end": 17273, + "loc": { + "start": { + "line": 502, + "column": 56 + }, + "end": { + "line": 502, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17273, + "end": 17274, + "loc": { + "start": { + "line": 502, + "column": 57 + }, + "end": { + "line": 502, + "column": 58 + } + } + }, + { + "type": { + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -113348,16 +123870,122 @@ "binop": null, "updateContext": null }, - "start": 17292, - "end": 17293, + "start": 17274, + "end": 17275, "loc": { "start": { - "line": 514, - "column": 42 + "line": 502, + "column": 58 }, "end": { - "line": 514, - "column": 43 + "line": 502, + "column": 59 + } + } + }, + { + "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": 17283, + "end": 17285, + "loc": { + "start": { + "line": 504, + "column": 4 + }, + "end": { + "line": 504, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17285, + "end": 17286, + "loc": { + "start": { + "line": 504, + "column": 6 + }, + "end": { + "line": 504, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "targetTagName", + "start": 17294, + "end": 17307, + "loc": { + "start": { + "line": 505, + "column": 6 + }, + "end": { + "line": 505, + "column": 19 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 17308, + "end": 17311, + "loc": { + "start": { + "line": 505, + "column": 20 + }, + "end": { + "line": 505, + "column": 23 } } }, @@ -113374,568 +124002,17 @@ "binop": null, "updateContext": null }, - "value": "hg-layout-custom", - "start": 17294, - "end": 17312, + "value": "textarea", + "start": 17312, + "end": 17322, "loc": { "start": { - "line": 514, - "column": 44 + "line": 505, + "column": 24 }, "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": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17315, - "end": 17316, - "loc": { - "start": { - "line": 514, - "column": 65 - }, - "end": { - "line": 514, - "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": 17316, - "end": 17326, - "loc": { - "start": { - "line": 514, - "column": 66 - }, - "end": { - "line": 514, - "column": 76 - } - } - }, - { - "type": { - "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, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 17333, - "end": 17340, - "loc": { - "start": { - "line": 514, - "column": 83 - }, - "end": { - "line": 514, - "column": 90 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17340, - "end": 17341, - "loc": { - "start": { - "line": 514, - "column": 90 - }, - "end": { - "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 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17351, - "end": 17352, - "loc": { - "start": { - "line": 514, - "column": 101 - }, - "end": { - "line": 514, - "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": 17352, - "end": 17352, - "loc": { - "start": { - "line": 514, - "column": 102 - }, - "end": { - "line": 514, - "column": 102 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17352, - "end": 17353, - "loc": { - "start": { - "line": 514, - "column": 102 - }, - "end": { - "line": 514, - "column": 103 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17353, - "end": 17354, - "loc": { - "start": { - "line": 514, - "column": 103 - }, - "end": { - "line": 514, - "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": 17360, - "end": 17363, - "loc": { - "start": { - "line": 515, - "column": 4 - }, - "end": { - "line": 515, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "layout", - "start": 17364, - "end": 17370, - "loc": { - "start": { - "line": 515, - "column": 8 - }, - "end": { - "line": 515, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 17371, - "end": 17372, - "loc": { - "start": { - "line": 515, - "column": 15 - }, - "end": { - "line": 515, - "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": 17373, - "end": 17377, - "loc": { - "start": { - "line": 515, - "column": 17 - }, - "end": { - "line": 515, - "column": 21 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17377, - "end": 17378, - "loc": { - "start": { - "line": 515, - "column": 21 - }, - "end": { - "line": 515, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 17378, - "end": 17385, - "loc": { - "start": { - "line": 515, - "column": 22 - }, - "end": { - "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 + "line": 505, + "column": 34 } } }, @@ -113953,16 +124030,16 @@ "updateContext": null }, "value": "||", - "start": 17393, - "end": 17395, + "start": 17323, + "end": 17325, "loc": { "start": { - "line": 515, - "column": 37 + "line": 505, + "column": 35 }, "end": { - "line": 515, - "column": 39 + "line": 505, + "column": 37 } } }, @@ -113978,17 +124055,165 @@ "postfix": false, "binop": null }, - "value": "KeyboardLayout", - "start": 17396, - "end": 17410, + "value": "targetTagName", + "start": 17333, + "end": 17346, "loc": { "start": { - "line": 515, - "column": 40 + "line": 506, + "column": 6 }, "end": { - "line": 515, - "column": 54 + "line": 506, + "column": 19 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 17347, + "end": 17350, + "loc": { + "start": { + "line": 506, + "column": 20 + }, + "end": { + "line": 506, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "input", + "start": 17351, + "end": 17358, + "loc": { + "start": { + "line": 506, + "column": 24 + }, + "end": { + "line": 506, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17364, + "end": 17365, + "loc": { + "start": { + "line": 507, + "column": 4 + }, + "end": { + "line": 507, + "column": 5 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17365, + "end": 17366, + "loc": { + "start": { + "line": 507, + "column": 5 + }, + "end": { + "line": 507, + "column": 6 + } + } + }, + { + "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": 17374, + "end": 17522, + "loc": { + "start": { + "line": 508, + "column": 6 + }, + "end": { + "line": 511, + "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": 17530, + "end": 17534, + "loc": { + "start": { + "line": 512, + "column": 6 + }, + "end": { + "line": 512, + "column": 10 } } }, @@ -114005,16 +124230,16 @@ "binop": null, "updateContext": null }, - "start": 17410, - "end": 17411, + "start": 17534, + "end": 17535, "loc": { "start": { - "line": 515, - "column": 54 + "line": 512, + "column": 10 }, "end": { - "line": 515, - "column": 55 + "line": 512, + "column": 11 } } }, @@ -114030,163 +124255,17 @@ "postfix": false, "binop": null }, - "value": "getDefaultLayout", - "start": 17411, - "end": 17427, + "value": "caretPosition", + "start": 17535, + "end": 17548, "loc": { "start": { - "line": 515, - "column": 55 + "line": 512, + "column": 11 }, "end": { - "line": 515, - "column": 71 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17427, - "end": 17428, - "loc": { - "start": { - "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 + "line": 512, + "column": 24 } } }, @@ -114204,15 +124283,381 @@ "updateContext": null }, "value": "=", - "start": 17519, - "end": 17520, + "start": 17549, + "end": 17550, "loc": { "start": { - "line": 520, + "line": 512, + "column": 25 + }, + "end": { + "line": 512, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "event", + "start": 17551, + "end": 17556, + "loc": { + "start": { + "line": 512, "column": 27 }, "end": { - "line": 520, + "line": 512, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17556, + "end": 17557, + "loc": { + "start": { + "line": 512, + "column": 32 + }, + "end": { + "line": 512, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "target", + "start": 17557, + "end": 17563, + "loc": { + "start": { + "line": 512, + "column": 33 + }, + "end": { + "line": 512, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17563, + "end": 17564, + "loc": { + "start": { + "line": 512, + "column": 39 + }, + "end": { + "line": 512, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "selectionStart", + "start": 17564, + "end": 17578, + "loc": { + "start": { + "line": 512, + "column": 40 + }, + "end": { + "line": 512, + "column": 54 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17578, + "end": 17579, + "loc": { + "start": { + "line": 512, + "column": 54 + }, + "end": { + "line": 512, + "column": 55 + } + } + }, + { + "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": 17589, + "end": 17591, + "loc": { + "start": { + "line": 514, + "column": 6 + }, + "end": { + "line": 514, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17591, + "end": 17592, + "loc": { + "start": { + "line": 514, + "column": 8 + }, + "end": { + "line": 514, + "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": 17592, + "end": 17596, + "loc": { + "start": { + "line": 514, + "column": 9 + }, + "end": { + "line": 514, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17596, + "end": 17597, + "loc": { + "start": { + "line": 514, + "column": 13 + }, + "end": { + "line": 514, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 17597, + "end": 17604, + "loc": { + "start": { + "line": 514, + "column": 14 + }, + "end": { + "line": 514, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17604, + "end": 17605, + "loc": { + "start": { + "line": 514, + "column": 21 + }, + "end": { + "line": 514, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "debug", + "start": 17605, + "end": 17610, + "loc": { + "start": { + "line": 514, + "column": 22 + }, + "end": { + "line": 514, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17610, + "end": 17611, + "loc": { + "start": { + "line": 514, + "column": 27 + }, + "end": { + "line": 514, "column": 28 } } @@ -114229,16 +124674,611 @@ "postfix": false, "binop": null }, - "start": 17521, - "end": 17522, + "start": 17611, + "end": 17612, "loc": { "start": { - "line": 520, - "column": 29 + "line": 514, + "column": 28 }, "end": { - "line": 520, - "column": 30 + "line": 514, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 17622, + "end": 17629, + "loc": { + "start": { + "line": 515, + "column": 8 + }, + "end": { + "line": 515, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17629, + "end": 17630, + "loc": { + "start": { + "line": 515, + "column": 15 + }, + "end": { + "line": 515, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 17630, + "end": 17633, + "loc": { + "start": { + "line": 515, + "column": 16 + }, + "end": { + "line": 515, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17633, + "end": 17634, + "loc": { + "start": { + "line": 515, + "column": 19 + }, + "end": { + "line": 515, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Caret at: ", + "start": 17634, + "end": 17646, + "loc": { + "start": { + "line": 515, + "column": 20 + }, + "end": { + "line": 515, + "column": 32 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17646, + "end": 17647, + "loc": { + "start": { + "line": 515, + "column": 32 + }, + "end": { + "line": 515, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "event", + "start": 17648, + "end": 17653, + "loc": { + "start": { + "line": 515, + "column": 34 + }, + "end": { + "line": 515, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17653, + "end": 17654, + "loc": { + "start": { + "line": 515, + "column": 39 + }, + "end": { + "line": 515, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "target", + "start": 17654, + "end": 17660, + "loc": { + "start": { + "line": 515, + "column": 40 + }, + "end": { + "line": 515, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17660, + "end": 17661, + "loc": { + "start": { + "line": 515, + "column": 46 + }, + "end": { + "line": 515, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "selectionStart", + "start": 17661, + "end": 17675, + "loc": { + "start": { + "line": 515, + "column": 47 + }, + "end": { + "line": 515, + "column": 61 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17675, + "end": 17676, + "loc": { + "start": { + "line": 515, + "column": 61 + }, + "end": { + "line": 515, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "event", + "start": 17677, + "end": 17682, + "loc": { + "start": { + "line": 515, + "column": 63 + }, + "end": { + "line": 515, + "column": 68 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17682, + "end": 17683, + "loc": { + "start": { + "line": 515, + "column": 68 + }, + "end": { + "line": 515, + "column": 69 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "target", + "start": 17683, + "end": 17689, + "loc": { + "start": { + "line": 515, + "column": 69 + }, + "end": { + "line": 515, + "column": 75 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17689, + "end": 17690, + "loc": { + "start": { + "line": 515, + "column": 75 + }, + "end": { + "line": 515, + "column": 76 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tagName", + "start": 17690, + "end": 17697, + "loc": { + "start": { + "line": 515, + "column": 76 + }, + "end": { + "line": 515, + "column": 83 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17697, + "end": 17698, + "loc": { + "start": { + "line": 515, + "column": 83 + }, + "end": { + "line": 515, + "column": 84 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "toLowerCase", + "start": 17698, + "end": 17709, + "loc": { + "start": { + "line": 515, + "column": 84 + }, + "end": { + "line": 515, + "column": 95 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17709, + "end": 17710, + "loc": { + "start": { + "line": 515, + "column": 95 + }, + "end": { + "line": 515, + "column": 96 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17710, + "end": 17711, + "loc": { + "start": { + "line": 515, + "column": 96 + }, + "end": { + "line": 515, + "column": 97 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17711, + "end": 17712, + "loc": { + "start": { + "line": 515, + "column": 97 + }, + "end": { + "line": 515, + "column": 98 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17712, + "end": 17713, + "loc": { + "start": { + "line": 515, + "column": 98 + }, + "end": { + "line": 515, + "column": 99 } } }, @@ -114254,49 +125294,22 @@ "postfix": false, "binop": null }, - "start": 17522, - "end": 17523, + "start": 17721, + "end": 17722, "loc": { "start": { - "line": 520, - "column": 30 + "line": 516, + "column": 6 }, "end": { - "line": 520, - "column": 31 + "line": 516, + "column": 7 } } }, { "type": { - "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", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -114304,20 +125317,85 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 17530, - "end": 17532, + "start": 17733, + "end": 17734, "loc": { "start": { - "line": 521, + "line": 517, "column": 4 }, "end": { - "line": 521, - "column": 6 + "line": 517, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17738, + "end": 17739, + "loc": { + "start": { + "line": 518, + "column": 2 + }, + "end": { + "line": 518, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", + "start": 17745, + "end": 17865, + "loc": { + "start": { + "line": 520, + "column": 2 + }, + "end": { + "line": 522, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onInit", + "start": 17869, + "end": 17875, + "loc": { + "start": { + "line": 523, + "column": 2 + }, + "end": { + "line": 523, + "column": 8 } } }, @@ -114333,632 +125411,8 @@ "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, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 17547, - "end": 17551, - "loc": { - "start": { - "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": 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, + "start": 17875, + "end": 17876, "loc": { "start": { "line": 523, @@ -114966,217 +125420,7 @@ }, "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 + "column": 9 } } }, @@ -115192,16 +125436,16 @@ "postfix": false, "binop": null }, - "start": 17675, - "end": 17676, + "start": 17876, + "end": 17877, "loc": { "start": { "line": 523, - "column": 45 + "column": 9 }, "end": { "line": 523, - "column": 46 + "column": 10 } } }, @@ -115217,96 +125461,16 @@ "postfix": false, "binop": null }, - "start": 17676, - "end": 17677, + "start": 17877, + "end": 17878, "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 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17705, - "end": 17706, - "loc": { - "start": { - "line": 524, - "column": 26 - }, - "end": { - "line": 524, - "column": 27 + "line": 523, + "column": 11 } } }, @@ -115325,16 +125489,16 @@ "updateContext": null }, "value": "if", - "start": 17720, - "end": 17722, + "start": 17884, + "end": 17886, "loc": { "start": { - "line": 526, - "column": 10 + "line": 524, + "column": 4 }, "end": { - "line": 526, - "column": 12 + "line": 524, + "column": 6 } } }, @@ -115350,19 +125514,632 @@ "postfix": false, "binop": null }, - "start": 17722, - "end": 17723, + "start": 17886, + "end": 17887, "loc": { "start": { - "line": 526, + "line": 524, + "column": 6 + }, + "end": { + "line": 524, + "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": 17887, + "end": 17891, + "loc": { + "start": { + "line": 524, + "column": 7 + }, + "end": { + "line": 524, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17891, + "end": 17892, + "loc": { + "start": { + "line": 524, + "column": 11 + }, + "end": { + "line": 524, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 17892, + "end": 17899, + "loc": { + "start": { + "line": 524, "column": 12 }, "end": { - "line": 526, + "line": 524, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17899, + "end": 17900, + "loc": { + "start": { + "line": 524, + "column": 19 + }, + "end": { + "line": 524, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "debug", + "start": 17900, + "end": 17905, + "loc": { + "start": { + "line": 524, + "column": 20 + }, + "end": { + "line": 524, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17905, + "end": 17906, + "loc": { + "start": { + "line": 524, + "column": 25 + }, + "end": { + "line": 524, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17906, + "end": 17907, + "loc": { + "start": { + "line": 524, + "column": 26 + }, + "end": { + "line": 524, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 17915, + "end": 17922, + "loc": { + "start": { + "line": 525, + "column": 6 + }, + "end": { + "line": 525, "column": 13 } } }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17922, + "end": 17923, + "loc": { + "start": { + "line": 525, + "column": 13 + }, + "end": { + "line": 525, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 17923, + "end": 17926, + "loc": { + "start": { + "line": 525, + "column": 14 + }, + "end": { + "line": 525, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17926, + "end": 17927, + "loc": { + "start": { + "line": 525, + "column": 17 + }, + "end": { + "line": 525, + "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": 17927, + "end": 17940, + "loc": { + "start": { + "line": 525, + "column": 18 + }, + "end": { + "line": 525, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17940, + "end": 17941, + "loc": { + "start": { + "line": 525, + "column": 31 + }, + "end": { + "line": 525, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17941, + "end": 17942, + "loc": { + "start": { + "line": 525, + "column": 32 + }, + "end": { + "line": 525, + "column": 33 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17948, + "end": 17949, + "loc": { + "start": { + "line": 526, + "column": 4 + }, + "end": { + "line": 526, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Caret handling\r\n ", + "start": 17957, + "end": 17992, + "loc": { + "start": { + "line": 528, + "column": 4 + }, + "end": { + "line": 530, + "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": 17998, + "end": 18002, + "loc": { + "start": { + "line": 531, + "column": 4 + }, + "end": { + "line": 531, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18002, + "end": 18003, + "loc": { + "start": { + "line": 531, + "column": 8 + }, + "end": { + "line": 531, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handleCaret", + "start": 18003, + "end": 18014, + "loc": { + "start": { + "line": 531, + "column": 9 + }, + "end": { + "line": 531, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18014, + "end": 18015, + "loc": { + "start": { + "line": 531, + "column": 20 + }, + "end": { + "line": 531, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18015, + "end": 18016, + "loc": { + "start": { + "line": 531, + "column": 21 + }, + "end": { + "line": 531, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18016, + "end": 18017, + "loc": { + "start": { + "line": 531, + "column": 22 + }, + "end": { + "line": 531, + "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": 18025, + "end": 18027, + "loc": { + "start": { + "line": 533, + "column": 4 + }, + "end": { + "line": 533, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18027, + "end": 18028, + "loc": { + "start": { + "line": 533, + "column": 6 + }, + "end": { + "line": 533, + "column": 7 + } + } + }, { "type": { "label": "typeof", @@ -115378,22 +126155,23 @@ "updateContext": null }, "value": "typeof", - "start": 17723, - "end": 17729, + "start": 18028, + "end": 18034, "loc": { "start": { - "line": 526, - "column": 13 + "line": 533, + "column": 7 }, "end": { - "line": 526, - "column": 19 + "line": 533, + "column": 13 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -115401,19 +126179,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "themeObj", - "start": 17730, - "end": 17738, + "value": "this", + "start": 18035, + "end": 18039, "loc": { "start": { - "line": 526, - "column": 20 + "line": 533, + "column": 14 }, "end": { - "line": 526, - "column": 28 + "line": 533, + "column": 18 } } }, @@ -115430,16 +126209,16 @@ "binop": null, "updateContext": null }, - "start": 17738, - "end": 17739, + "start": 18039, + "end": 18040, "loc": { "start": { - "line": 526, - "column": 28 + "line": 533, + "column": 18 }, "end": { - "line": 526, - "column": 29 + "line": 533, + "column": 19 } } }, @@ -115455,17 +126234,69 @@ "postfix": false, "binop": null }, - "value": "buttons", - "start": 17739, - "end": 17746, + "value": "options", + "start": 18040, + "end": 18047, "loc": { "start": { - "line": 526, - "column": 29 + "line": 533, + "column": 19 }, "end": { - "line": 526, - "column": 36 + "line": 533, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18047, + "end": 18048, + "loc": { + "start": { + "line": 533, + "column": 26 + }, + "end": { + "line": 533, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onInit", + "start": 18048, + "end": 18054, + "loc": { + "start": { + "line": 533, + "column": 27 + }, + "end": { + "line": 533, + "column": 33 } } }, @@ -115483,16 +126314,16 @@ "updateContext": null }, "value": "===", - "start": 17747, - "end": 17750, + "start": 18055, + "end": 18058, "loc": { "start": { - "line": 526, - "column": 37 + "line": 533, + "column": 34 }, "end": { - "line": 526, - "column": 40 + "line": 533, + "column": 37 } } }, @@ -115509,17 +126340,17 @@ "binop": null, "updateContext": null }, - "value": "string", - "start": 17751, - "end": 17759, + "value": "function", + "start": 18059, + "end": 18069, "loc": { "start": { - "line": 526, - "column": 41 + "line": 533, + "column": 38 }, "end": { - "line": 526, - "column": 49 + "line": 533, + "column": 48 } } }, @@ -115535,41 +126366,70 @@ "postfix": false, "binop": null }, - "start": 17759, - "end": 17760, + "start": 18069, + "end": 18070, "loc": { "start": { - "line": 526, - "column": 49 + "line": 533, + "column": 48 }, "end": { - "line": 526, - "column": 50 + "line": 533, + "column": 49 } } }, { "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": 17760, - "end": 17761, + "value": "this", + "start": 18078, + "end": 18082, "loc": { "start": { - "line": 526, - "column": 50 + "line": 534, + "column": 6 }, "end": { - "line": 526, - "column": 51 + "line": 534, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18082, + "end": 18083, + "loc": { + "start": { + "line": 534, + "column": 10 + }, + "end": { + "line": 534, + "column": 11 } } }, @@ -115585,174 +126445,69 @@ "postfix": false, "binop": null }, - "value": "themeButtons", - "start": 17775, - "end": 17787, + "value": "options", + "start": 18083, + "end": 18090, "loc": { "start": { - "line": 527, - "column": 12 + "line": 534, + "column": 11 }, "end": { - "line": 527, - "column": 24 + "line": 534, + "column": 18 } } }, { "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": 17788, - "end": 17789, + "start": 18090, + "end": 18091, "loc": { "start": { - "line": 527, + "line": 534, + "column": 18 + }, + "end": { + "line": 534, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onInit", + "start": 18091, + "end": 18097, + "loc": { + "start": { + "line": 534, + "column": 19 + }, + "end": { + "line": 534, "column": 25 - }, - "end": { - "line": 527, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "themeObj", - "start": 17790, - "end": 17798, - "loc": { - "start": { - "line": 527, - "column": 27 - }, - "end": { - "line": 527, - "column": 35 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17798, - "end": 17799, - "loc": { - "start": { - "line": 527, - "column": 35 - }, - "end": { - "line": 527, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttons", - "start": 17799, - "end": 17806, - "loc": { - "start": { - "line": 527, - "column": 36 - }, - "end": { - "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 } } }, @@ -115768,43 +126523,16 @@ "postfix": false, "binop": null }, - "start": 17812, - "end": 17813, + "start": 18097, + "end": 18098, "loc": { "start": { - "line": 527, - "column": 49 + "line": 534, + "column": 25 }, "end": { - "line": 527, - "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": 17813, - "end": 17816, - "loc": { - "start": { - "line": 527, - "column": 50 - }, - "end": { - "line": 527, - "column": 53 + "line": 534, + "column": 26 } } }, @@ -115820,16 +126548,16 @@ "postfix": false, "binop": null }, - "start": 17816, - "end": 17817, + "start": 18098, + "end": 18099, "loc": { "start": { - "line": 527, - "column": 53 + "line": 534, + "column": 26 }, "end": { - "line": 527, - "column": 54 + "line": 534, + "column": 27 } } }, @@ -115846,16 +126574,16 @@ "binop": null, "updateContext": null }, - "start": 17817, - "end": 17818, + "start": 18099, + "end": 18100, "loc": { "start": { - "line": 527, - "column": 54 + "line": 534, + "column": 27 }, "end": { - "line": 527, - "column": 55 + "line": 534, + "column": 28 } } }, @@ -115871,19 +126599,136 @@ "postfix": false, "binop": null }, - "start": 17830, - "end": 17831, + "start": 18104, + "end": 18105, "loc": { "start": { - "line": 528, + "line": 535, + "column": 2 + }, + "end": { + "line": 535, + "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": 18111, + "end": 18229, + "loc": { + "start": { + "line": 537, + "column": 2 + }, + "end": { + "line": 539, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onRender", + "start": 18233, + "end": 18241, + "loc": { + "start": { + "line": 540, + "column": 2 + }, + "end": { + "line": 540, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18241, + "end": 18242, + "loc": { + "start": { + "line": 540, "column": 10 }, "end": { - "line": 528, + "line": 540, "column": 11 } } }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18242, + "end": 18243, + "loc": { + "start": { + "line": 540, + "column": 11 + }, + "end": { + "line": 540, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18243, + "end": 18244, + "loc": { + "start": { + "line": 540, + "column": 12 + }, + "end": { + "line": 540, + "column": 13 + } + } + }, { "type": { "label": "if", @@ -115899,16 +126744,16 @@ "updateContext": null }, "value": "if", - "start": 17845, - "end": 17847, + "start": 18250, + "end": 18252, "loc": { "start": { - "line": 530, - "column": 10 + "line": 541, + "column": 4 }, "end": { - "line": 530, - "column": 12 + "line": 541, + "column": 6 } } }, @@ -115924,98 +126769,51 @@ "postfix": false, "binop": null }, - "start": 17847, - "end": 17848, + "start": 18252, + "end": 18253, "loc": { "start": { - "line": 530, - "column": 12 + "line": 541, + "column": 6 }, "end": { - "line": 530, - "column": 13 + "line": 541, + "column": 7 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "themeButtons", - "start": 17848, - "end": 17860, - "loc": { - "start": { - "line": 530, - "column": 13 - }, - "end": { - "line": 530, - "column": 25 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17860, - "end": 17861, - "loc": { - "start": { - "line": 530, - "column": 25 - }, - "end": { - "line": 530, - "column": 26 - } - } - }, - { - "type": { - "label": "{", + "label": "typeof", + "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 17861, - "end": 17862, + "value": "typeof", + "start": 18253, + "end": 18259, "loc": { "start": { - "line": 530, - "column": 26 + "line": 541, + "column": 7 }, "end": { - "line": 530, - "column": 27 + "line": 541, + "column": 13 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -116023,19 +126821,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "themeButtons", - "start": 17876, - "end": 17888, + "value": "this", + "start": 18260, + "end": 18264, "loc": { "start": { - "line": 531, - "column": 12 + "line": 541, + "column": 14 }, "end": { - "line": 531, - "column": 24 + "line": 541, + "column": 18 } } }, @@ -116052,16 +126851,16 @@ "binop": null, "updateContext": null }, - "start": 17888, - "end": 17889, + "start": 18264, + "end": 18265, "loc": { "start": { - "line": 531, - "column": 24 + "line": 541, + "column": 18 }, "end": { - "line": 531, - "column": 25 + "line": 541, + "column": 19 } } }, @@ -116077,17 +126876,280 @@ "postfix": false, "binop": null }, - "value": "forEach", - "start": 17889, - "end": 17896, + "value": "options", + "start": 18265, + "end": 18272, "loc": { "start": { - "line": 531, - "column": 25 + "line": 541, + "column": 19 }, "end": { - "line": 531, - "column": 32 + "line": 541, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18272, + "end": 18273, + "loc": { + "start": { + "line": 541, + "column": 26 + }, + "end": { + "line": 541, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onRender", + "start": 18273, + "end": 18281, + "loc": { + "start": { + "line": 541, + "column": 27 + }, + "end": { + "line": 541, + "column": 35 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 18282, + "end": 18285, + "loc": { + "start": { + "line": 541, + "column": 36 + }, + "end": { + "line": 541, + "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": 18286, + "end": 18296, + "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": 18296, + "end": 18297, + "loc": { + "start": { + "line": 541, + "column": 50 + }, + "end": { + "line": 541, + "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": 18305, + "end": 18309, + "loc": { + "start": { + "line": 542, + "column": 6 + }, + "end": { + "line": 542, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18309, + "end": 18310, + "loc": { + "start": { + "line": 542, + "column": 10 + }, + "end": { + "line": 542, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 18310, + "end": 18317, + "loc": { + "start": { + "line": 542, + "column": 11 + }, + "end": { + "line": 542, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18317, + "end": 18318, + "loc": { + "start": { + "line": 542, + "column": 18 + }, + "end": { + "line": 542, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onRender", + "start": 18318, + "end": 18326, + "loc": { + "start": { + "line": 542, + "column": 19 + }, + "end": { + "line": 542, + "column": 27 } } }, @@ -116103,16 +127165,108 @@ "postfix": false, "binop": null }, - "start": 17896, - "end": 17897, + "start": 18326, + "end": 18327, "loc": { "start": { - "line": 531, - "column": 32 + "line": 542, + "column": 27 }, "end": { - "line": 531, - "column": 33 + "line": 542, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18327, + "end": 18328, + "loc": { + "start": { + "line": 542, + "column": 28 + }, + "end": { + "line": 542, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18328, + "end": 18329, + "loc": { + "start": { + "line": 542, + "column": 29 + }, + "end": { + "line": 542, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18333, + "end": 18334, + "loc": { + "start": { + "line": 543, + "column": 2 + }, + "end": { + "line": 543, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Register module\r\n ", + "start": 18340, + "end": 18372, + "loc": { + "start": { + "line": 545, + "column": 2 + }, + "end": { + "line": 547, + "column": 5 } } }, @@ -116128,17 +127282,172 @@ "postfix": false, "binop": null }, - "value": "themeButton", - "start": 17897, - "end": 17908, + "value": "registerModule", + "start": 18376, + "end": 18390, "loc": { "start": { - "line": 531, - "column": 33 + "line": 548, + "column": 2 }, "end": { - "line": 531, - "column": 44 + "line": 548, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 18391, + "end": 18392, + "loc": { + "start": { + "line": 548, + "column": 17 + }, + "end": { + "line": 548, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18393, + "end": 18394, + "loc": { + "start": { + "line": 548, + "column": 19 + }, + "end": { + "line": 548, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 18394, + "end": 18398, + "loc": { + "start": { + "line": 548, + "column": 20 + }, + "end": { + "line": 548, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18398, + "end": 18399, + "loc": { + "start": { + "line": 548, + "column": 24 + }, + "end": { + "line": 548, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "initCallback", + "start": 18400, + "end": 18412, + "loc": { + "start": { + "line": 548, + "column": 26 + }, + "end": { + "line": 548, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18412, + "end": 18413, + "loc": { + "start": { + "line": 548, + "column": 38 + }, + "end": { + "line": 548, + "column": 39 } } }, @@ -116155,16 +127464,16 @@ "binop": null, "updateContext": null }, - "start": 17909, - "end": 17911, + "start": 18414, + "end": 18416, "loc": { "start": { - "line": 531, - "column": 45 + "line": 548, + "column": 40 }, "end": { - "line": 531, - "column": 47 + "line": 548, + "column": 42 } } }, @@ -116180,16 +127489,1591 @@ "postfix": false, "binop": null }, - "start": 17912, - "end": 17913, + "start": 18417, + "end": 18418, "loc": { "start": { - "line": 531, - "column": 48 + "line": 548, + "column": 43 }, "end": { - "line": 531, - "column": 49 + "line": 548, + "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": 18424, + "end": 18426, + "loc": { + "start": { + "line": 549, + "column": 4 + }, + "end": { + "line": 549, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18426, + "end": 18427, + "loc": { + "start": { + "line": 549, + "column": 6 + }, + "end": { + "line": 549, + "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": 18427, + "end": 18428, + "loc": { + "start": { + "line": 549, + "column": 7 + }, + "end": { + "line": 549, + "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": 18428, + "end": 18432, + "loc": { + "start": { + "line": 549, + "column": 8 + }, + "end": { + "line": 549, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18432, + "end": 18433, + "loc": { + "start": { + "line": 549, + "column": 12 + }, + "end": { + "line": 549, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "modules", + "start": 18433, + "end": 18440, + "loc": { + "start": { + "line": 549, + "column": 13 + }, + "end": { + "line": 549, + "column": 20 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18440, + "end": 18441, + "loc": { + "start": { + "line": 549, + "column": 20 + }, + "end": { + "line": 549, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 18441, + "end": 18445, + "loc": { + "start": { + "line": 549, + "column": 21 + }, + "end": { + "line": 549, + "column": 25 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18445, + "end": 18446, + "loc": { + "start": { + "line": 549, + "column": 25 + }, + "end": { + "line": 549, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18446, + "end": 18447, + "loc": { + "start": { + "line": 549, + "column": 26 + }, + "end": { + "line": 549, + "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": 18455, + "end": 18459, + "loc": { + "start": { + "line": 550, + "column": 6 + }, + "end": { + "line": 550, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18459, + "end": 18460, + "loc": { + "start": { + "line": 550, + "column": 10 + }, + "end": { + "line": 550, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "modules", + "start": 18460, + "end": 18467, + "loc": { + "start": { + "line": 550, + "column": 11 + }, + "end": { + "line": 550, + "column": 18 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18467, + "end": 18468, + "loc": { + "start": { + "line": 550, + "column": 18 + }, + "end": { + "line": 550, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 18468, + "end": 18472, + "loc": { + "start": { + "line": 550, + "column": 19 + }, + "end": { + "line": 550, + "column": 23 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18472, + "end": 18473, + "loc": { + "start": { + "line": 550, + "column": 23 + }, + "end": { + "line": 550, + "column": 24 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 18474, + "end": 18475, + "loc": { + "start": { + "line": 550, + "column": 25 + }, + "end": { + "line": 550, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18476, + "end": 18477, + "loc": { + "start": { + "line": 550, + "column": 27 + }, + "end": { + "line": 550, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18477, + "end": 18478, + "loc": { + "start": { + "line": 550, + "column": 28 + }, + "end": { + "line": 550, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18478, + "end": 18479, + "loc": { + "start": { + "line": 550, + "column": 29 + }, + "end": { + "line": 550, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "initCallback", + "start": 18487, + "end": 18499, + "loc": { + "start": { + "line": 552, + "column": 4 + }, + "end": { + "line": 552, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18499, + "end": 18500, + "loc": { + "start": { + "line": 552, + "column": 16 + }, + "end": { + "line": 552, + "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": 18500, + "end": 18504, + "loc": { + "start": { + "line": 552, + "column": 17 + }, + "end": { + "line": 552, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18504, + "end": 18505, + "loc": { + "start": { + "line": 552, + "column": 21 + }, + "end": { + "line": 552, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "modules", + "start": 18505, + "end": 18512, + "loc": { + "start": { + "line": 552, + "column": 22 + }, + "end": { + "line": 552, + "column": 29 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18512, + "end": 18513, + "loc": { + "start": { + "line": 552, + "column": 29 + }, + "end": { + "line": 552, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 18513, + "end": 18517, + "loc": { + "start": { + "line": 552, + "column": 30 + }, + "end": { + "line": 552, + "column": 34 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18517, + "end": 18518, + "loc": { + "start": { + "line": 552, + "column": 34 + }, + "end": { + "line": 552, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18518, + "end": 18519, + "loc": { + "start": { + "line": 552, + "column": 35 + }, + "end": { + "line": 552, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18519, + "end": 18520, + "loc": { + "start": { + "line": 552, + "column": 36 + }, + "end": { + "line": 552, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18524, + "end": 18525, + "loc": { + "start": { + "line": 553, + "column": 2 + }, + "end": { + "line": 553, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Load modules\r\n ", + "start": 18531, + "end": 18560, + "loc": { + "start": { + "line": 555, + "column": 2 + }, + "end": { + "line": 557, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "loadModules", + "start": 18564, + "end": 18575, + "loc": { + "start": { + "line": 558, + "column": 2 + }, + "end": { + "line": 558, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18575, + "end": 18576, + "loc": { + "start": { + "line": 558, + "column": 13 + }, + "end": { + "line": 558, + "column": 14 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18576, + "end": 18577, + "loc": { + "start": { + "line": 558, + "column": 14 + }, + "end": { + "line": 558, + "column": 15 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18577, + "end": 18578, + "loc": { + "start": { + "line": 558, + "column": 15 + }, + "end": { + "line": 558, + "column": 16 + } + } + }, + { + "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": 18584, + "end": 18586, + "loc": { + "start": { + "line": 559, + "column": 4 + }, + "end": { + "line": 559, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18586, + "end": 18587, + "loc": { + "start": { + "line": 559, + "column": 6 + }, + "end": { + "line": 559, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Array", + "start": 18587, + "end": 18592, + "loc": { + "start": { + "line": 559, + "column": 7 + }, + "end": { + "line": 559, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18592, + "end": 18593, + "loc": { + "start": { + "line": 559, + "column": 12 + }, + "end": { + "line": 559, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isArray", + "start": 18593, + "end": 18600, + "loc": { + "start": { + "line": 559, + "column": 13 + }, + "end": { + "line": 559, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18600, + "end": 18601, + "loc": { + "start": { + "line": 559, + "column": 20 + }, + "end": { + "line": 559, + "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": 18601, + "end": 18605, + "loc": { + "start": { + "line": 559, + "column": 21 + }, + "end": { + "line": 559, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18605, + "end": 18606, + "loc": { + "start": { + "line": 559, + "column": 25 + }, + "end": { + "line": 559, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 18606, + "end": 18613, + "loc": { + "start": { + "line": 559, + "column": 26 + }, + "end": { + "line": 559, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18613, + "end": 18614, + "loc": { + "start": { + "line": 559, + "column": 33 + }, + "end": { + "line": 559, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "modules", + "start": 18614, + "end": 18621, + "loc": { + "start": { + "line": 559, + "column": 34 + }, + "end": { + "line": 559, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18621, + "end": 18622, + "loc": { + "start": { + "line": 559, + "column": 41 + }, + "end": { + "line": 559, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18622, + "end": 18623, + "loc": { + "start": { + "line": 559, + "column": 42 + }, + "end": { + "line": 559, + "column": 43 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18623, + "end": 18624, + "loc": { + "start": { + "line": 559, + "column": 43 + }, + "end": { + "line": 559, + "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": 18632, + "end": 18636, + "loc": { + "start": { + "line": 560, + "column": 6 + }, + "end": { + "line": 560, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18636, + "end": 18637, + "loc": { + "start": { + "line": 560, + "column": 10 + }, + "end": { + "line": 560, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 18637, + "end": 18644, + "loc": { + "start": { + "line": 560, + "column": 11 + }, + "end": { + "line": 560, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18644, + "end": 18645, + "loc": { + "start": { + "line": 560, + "column": 18 + }, + "end": { + "line": 560, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "modules", + "start": 18645, + "end": 18652, + "loc": { + "start": { + "line": 560, + "column": 19 + }, + "end": { + "line": 560, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18652, + "end": 18653, + "loc": { + "start": { + "line": 560, + "column": 26 + }, + "end": { + "line": 560, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 18653, + "end": 18660, + "loc": { + "start": { + "line": 560, + "column": 27 + }, + "end": { + "line": 560, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18660, + "end": 18661, + "loc": { + "start": { + "line": 560, + "column": 34 + }, + "end": { + "line": 560, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Module", + "start": 18661, + "end": 18667, + "loc": { + "start": { + "line": 560, + "column": 35 + }, + "end": { + "line": 560, + "column": 41 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18668, + "end": 18670, + "loc": { + "start": { + "line": 560, + "column": 42 + }, + "end": { + "line": 560, + "column": 44 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18671, + "end": 18672, + "loc": { + "start": { + "line": 560, + "column": 45 + }, + "end": { + "line": 560, + "column": 46 } } }, @@ -116208,1953 +129092,23 @@ "updateContext": null }, "value": "let", - "start": 17929, - "end": 17932, + "start": 18682, + "end": 18685, "loc": { "start": { - "line": 532, - "column": 14 + "line": 561, + "column": 8 }, "end": { - "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 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 17945, - "end": 17946, - "loc": { - "start": { - "line": 532, - "column": 30 - }, - "end": { - "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 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17965, - "end": 17966, - "loc": { - "start": { - "line": 532, - "column": 50 - }, - "end": { - "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 - } - } - }, - { - "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": 532, - "column": 62 - }, - "end": { - "line": 532, - "column": 63 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17978, - "end": 17979, - "loc": { - "start": { - "line": 532, - "column": 63 - }, - "end": { - "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 - } - } - }, - { - "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": 18191, - "end": 18195, - "loc": { - "start": { - "line": 537, - "column": 20 - }, - "end": { - "line": 537, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18195, - "end": 18196, - "loc": { - "start": { - "line": 537, - "column": 24 - }, - "end": { - "line": 537, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "utilities", - "start": 18196, - "end": 18205, - "loc": { - "start": { - "line": 537, - "column": 25 - }, - "end": { - "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 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18298, - "end": 18299, - "loc": { - "start": { - "line": 538, - "column": 36 - }, - "end": { - "line": 538, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "themeButton", - "start": 18299, - "end": 18310, - "loc": { - "start": { - "line": 538, - "column": 37 - }, - "end": { - "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, + "line": 561, "column": 11 } } }, { "type": { - "label": "}", + "label": "name", "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, @@ -118163,16 +129117,72 @@ "postfix": false, "binop": null }, - "start": 18523, - "end": 18524, + "value": "module", + "start": 18686, + "end": 18692, "loc": { "start": { - "line": 545, - "column": 15 + "line": 561, + "column": 12 }, "end": { - "line": 545, - "column": 16 + "line": 561, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 18693, + "end": 18694, + "loc": { + "start": { + "line": 561, + "column": 19 + }, + "end": { + "line": 561, + "column": 20 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 18695, + "end": 18698, + "loc": { + "start": { + "line": 561, + "column": 21 + }, + "end": { + "line": 561, + "column": 24 } } }, @@ -118188,69 +129198,17 @@ "postfix": false, "binop": null }, - "value": "console", - "start": 18536, - "end": 18543, + "value": "Module", + "start": 18699, + "end": 18705, "loc": { "start": { - "line": 546, - "column": 10 + "line": 561, + "column": 25 }, "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 + "line": 561, + "column": 31 } } }, @@ -118266,93 +129224,16 @@ "postfix": false, "binop": null }, - "start": 18548, - "end": 18549, + "start": 18705, + "end": 18706, "loc": { "start": { - "line": 546, - "column": 22 + "line": 561, + "column": 31 }, "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 + "line": 561, + "column": 32 } } }, @@ -118368,91 +129249,16 @@ "postfix": false, "binop": null }, - "start": 18639, - "end": 18640, + "start": 18706, + "end": 18707, "loc": { "start": { - "line": 546, - "column": 113 + "line": 561, + "column": 32 }, "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 + "line": 561, + "column": 33 } } }, @@ -118469,22 +129275,39 @@ "binop": null, "updateContext": null }, - "start": 18661, - "end": 18662, + "start": 18707, + "end": 18708, "loc": { "start": { - "line": 548, + "line": 561, + "column": 33 + }, + "end": { + "line": 561, + "column": 34 + } + } + }, + { + "type": "CommentBlock", + "value": " istanbul ignore next ", + "start": 18720, + "end": 18746, + "loc": { + "start": { + "line": 563, "column": 8 }, "end": { - "line": 548, - "column": 9 + "line": 563, + "column": 34 } } }, { "type": { - "label": "}", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -118492,88 +129315,45 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 18756, + "end": 18758, + "loc": { + "start": { + "line": 564, + "column": 8 + }, + "end": { + "line": 564, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null }, - "start": 18668, - "end": 18669, + "start": 18758, + "end": 18759, "loc": { "start": { - "line": 549, - "column": 4 + "line": 564, + "column": 10 }, "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 + "line": 564, + "column": 11 } } }, @@ -118589,17 +129369,17 @@ "postfix": false, "binop": null }, - "value": "keyboardDOM", - "start": 18754, + "value": "module", + "start": 18759, "end": 18765, "loc": { "start": { - "line": 554, - "column": 9 + "line": 564, + "column": 11 }, "end": { - "line": 554, - "column": 20 + "line": 564, + "column": 17 } } }, @@ -118620,12 +129400,12 @@ "end": 18766, "loc": { "start": { - "line": 554, - "column": 20 + "line": 564, + "column": 17 }, "end": { - "line": 554, - "column": 21 + "line": 564, + "column": 18 } } }, @@ -118641,50 +129421,49 @@ "postfix": false, "binop": null }, - "value": "className", + "value": "constructor", "start": 18766, - "end": 18775, + "end": 18777, "loc": { "start": { - "line": 554, - "column": 21 + "line": 564, + "column": 18 }, "end": { - "line": 554, + "line": 564, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18777, + "end": 18778, + "loc": { + "start": { + "line": 564, + "column": 29 + }, + "end": { + "line": 564, "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": "`", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -118694,22 +129473,76 @@ "postfix": false, "binop": null }, - "start": 18779, - "end": 18780, + "value": "name", + "start": 18778, + "end": 18782, "loc": { "start": { - "line": 554, + "line": 564, + "column": 30 + }, + "end": { + "line": 564, "column": 34 - }, - "end": { - "line": 554, - "column": 35 } } }, { "type": { - "label": "template", + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 18783, + "end": 18785, + "loc": { + "start": { + "line": 564, + "column": 35 + }, + "end": { + "line": 564, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "module", + "start": 18786, + "end": 18792, + "loc": { + "start": { + "line": 564, + "column": 38 + }, + "end": { + "line": 564, + "column": 44 + } + } + }, + { + "type": { + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -118720,23 +129553,179 @@ "binop": null, "updateContext": null }, - "value": " ", - "start": 18780, - "end": 18781, + "start": 18792, + "end": 18793, "loc": { "start": { - "line": 554, - "column": 35 + "line": 564, + "column": 44 }, "end": { - "line": 554, - "column": 36 + "line": 564, + "column": 45 } } }, { "type": { - "label": "${", + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 18793, + "end": 18804, + "loc": { + "start": { + "line": 564, + "column": 45 + }, + "end": { + "line": 564, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18804, + "end": 18805, + "loc": { + "start": { + "line": 564, + "column": 56 + }, + "end": { + "line": 564, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 18805, + "end": 18809, + "loc": { + "start": { + "line": 564, + "column": 57 + }, + "end": { + "line": 564, + "column": 61 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!==", + "start": 18810, + "end": 18813, + "loc": { + "start": { + "line": 564, + "column": 62 + }, + "end": { + "line": 564, + "column": 65 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Function", + "start": 18814, + "end": 18824, + "loc": { + "start": { + "line": 564, + "column": 66 + }, + "end": { + "line": 564, + "column": 76 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18824, + "end": 18825, + "loc": { + "start": { + "line": 564, + "column": 76 + }, + "end": { + "line": 564, + "column": 77 + } + } + }, + { + "type": { + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -118746,16 +129735,16 @@ "postfix": false, "binop": null }, - "start": 18781, - "end": 18783, + "start": 18825, + "end": 18826, "loc": { "start": { - "line": 554, - "column": 36 + "line": 564, + "column": 77 }, "end": { - "line": 554, - "column": 38 + "line": 564, + "column": 78 } } }, @@ -118774,16 +129763,16 @@ "updateContext": null }, "value": "this", - "start": 18783, - "end": 18787, + "start": 18838, + "end": 18842, "loc": { "start": { - "line": 554, - "column": 38 + "line": 565, + "column": 10 }, "end": { - "line": 554, - "column": 42 + "line": 565, + "column": 14 } } }, @@ -118800,16 +129789,16 @@ "binop": null, "updateContext": null }, - "start": 18787, - "end": 18788, + "start": 18842, + "end": 18843, "loc": { "start": { - "line": 554, - "column": 42 + "line": 565, + "column": 14 }, "end": { - "line": 554, - "column": 43 + "line": 565, + "column": 15 } } }, @@ -118825,17 +129814,17 @@ "postfix": false, "binop": null }, - "value": "options", - "start": 18788, - "end": 18795, + "value": "keyboardDOM", + "start": 18843, + "end": 18854, "loc": { "start": { - "line": 554, - "column": 43 + "line": 565, + "column": 15 }, "end": { - "line": 554, - "column": 50 + "line": 565, + "column": 26 } } }, @@ -118852,16 +129841,16 @@ "binop": null, "updateContext": null }, - "start": 18795, - "end": 18796, + "start": 18854, + "end": 18855, "loc": { "start": { - "line": 554, - "column": 50 + "line": 565, + "column": 26 }, "end": { - "line": 554, - "column": 51 + "line": 565, + "column": 27 } } }, @@ -118877,23 +129866,23 @@ "postfix": false, "binop": null }, - "value": "theme", - "start": 18796, - "end": 18801, + "value": "classList", + "start": 18855, + "end": 18864, "loc": { "start": { - "line": 554, - "column": 51 + "line": 565, + "column": 27 }, "end": { - "line": 554, - "column": 56 + "line": 565, + "column": 36 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -118901,18 +129890,95 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 18801, - "end": 18802, + "start": 18864, + "end": 18865, "loc": { "start": { - "line": 554, - "column": 56 + "line": 565, + "column": 36 }, "end": { - "line": 554, - "column": 57 + "line": 565, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "add", + "start": 18865, + "end": 18868, + "loc": { + "start": { + "line": 565, + "column": 37 + }, + "end": { + "line": 565, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18868, + "end": 18869, + "loc": { + "start": { + "line": 565, + "column": 40 + }, + "end": { + "line": 565, + "column": 41 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18883, + "end": 18884, + "loc": { + "start": { + "line": 566, + "column": 12 + }, + "end": { + "line": 566, + "column": 13 } } }, @@ -118929,17 +129995,17 @@ "binop": null, "updateContext": null }, - "value": " ", - "start": 18802, - "end": 18803, + "value": "module-", + "start": 18884, + "end": 18891, "loc": { "start": { - "line": 554, - "column": 57 + "line": 566, + "column": 13 }, "end": { - "line": 554, - "column": 58 + "line": 566, + "column": 20 } } }, @@ -118955,16 +130021,70 @@ "postfix": false, "binop": null }, - "start": 18803, - "end": 18805, + "start": 18891, + "end": 18893, "loc": { "start": { - "line": 554, - "column": 58 + "line": 566, + "column": 20 }, "end": { - "line": 554, - "column": 60 + "line": 566, + "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": 18893, + "end": 18897, + "loc": { + "start": { + "line": 566, + "column": 22 + }, + "end": { + "line": 566, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18897, + "end": 18898, + "loc": { + "start": { + "line": 566, + "column": 26 + }, + "end": { + "line": 566, + "column": 27 } } }, @@ -118980,16 +130100,248 @@ "postfix": false, "binop": null }, - "value": "layoutClass", - "start": 18805, - "end": 18816, + "value": "utilities", + "start": 18898, + "end": 18907, "loc": { "start": { - "line": 554, - "column": 60 + "line": 566, + "column": 27 }, "end": { - "line": 554, + "line": 566, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18907, + "end": 18908, + "loc": { + "start": { + "line": 566, + "column": 36 + }, + "end": { + "line": 566, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "camelCase", + "start": 18908, + "end": 18917, + "loc": { + "start": { + "line": 566, + "column": 37 + }, + "end": { + "line": 566, + "column": 46 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18917, + "end": 18918, + "loc": { + "start": { + "line": 566, + "column": 46 + }, + "end": { + "line": 566, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "module", + "start": 18918, + "end": 18924, + "loc": { + "start": { + "line": 566, + "column": 47 + }, + "end": { + "line": 566, + "column": 53 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18924, + "end": 18925, + "loc": { + "start": { + "line": 566, + "column": 53 + }, + "end": { + "line": 566, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 18925, + "end": 18936, + "loc": { + "start": { + "line": 566, + "column": 54 + }, + "end": { + "line": 566, + "column": 65 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18936, + "end": 18937, + "loc": { + "start": { + "line": 566, + "column": 65 + }, + "end": { + "line": 566, + "column": 66 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 18937, + "end": 18941, + "loc": { + "start": { + "line": 566, + "column": 66 + }, + "end": { + "line": 566, + "column": 70 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18941, + "end": 18942, + "loc": { + "start": { + "line": 566, + "column": 70 + }, + "end": { + "line": 566, "column": 71 } } @@ -119006,15 +130358,15 @@ "postfix": false, "binop": null }, - "start": 18816, - "end": 18817, + "start": 18942, + "end": 18943, "loc": { "start": { - "line": 554, + "line": 566, "column": 71 }, "end": { - "line": 554, + "line": 566, "column": 72 } } @@ -119033,15 +130385,15 @@ "updateContext": null }, "value": "", - "start": 18817, - "end": 18817, + "start": 18943, + "end": 18943, "loc": { "start": { - "line": 554, + "line": 566, "column": 72 }, "end": { - "line": 554, + "line": 566, "column": 72 } } @@ -119058,19 +130410,44 @@ "postfix": false, "binop": null }, - "start": 18817, - "end": 18818, + "start": 18943, + "end": 18944, "loc": { "start": { - "line": 554, + "line": 566, "column": 72 }, "end": { - "line": 554, + "line": 566, "column": 73 } } }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18956, + "end": 18957, + "loc": { + "start": { + "line": 567, + "column": 10 + }, + "end": { + "line": 567, + "column": 11 + } + } + }, { "type": { "label": ";", @@ -119084,32 +130461,41 @@ "binop": null, "updateContext": null }, - "start": 18818, - "end": 18819, + "start": 18957, + "end": 18958, "loc": { "start": { - "line": 554, - "column": 73 + "line": 567, + "column": 11 }, "end": { - "line": 554, - "column": 74 + "line": 567, + "column": 12 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Iterating through each row\r\n ", - "start": 18827, - "end": 18874, + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18968, + "end": 18969, "loc": { "start": { - "line": 556, - "column": 4 + "line": 568, + "column": 8 }, "end": { - "line": 558, - "column": 7 + "line": 568, + "column": 9 } } }, @@ -119125,25 +130511,25 @@ "postfix": false, "binop": null }, - "value": "layout", - "start": 18880, - "end": 18886, + "value": "module", + "start": 18981, + "end": 18987, "loc": { "start": { - "line": 559, - "column": 4 + "line": 570, + "column": 8 }, "end": { - "line": 559, - "column": 10 + "line": 570, + "column": 14 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -119152,16 +130538,67 @@ "binop": null, "updateContext": null }, - "start": 18886, - "end": 18887, + "start": 18987, + "end": 18988, "loc": { "start": { - "line": 559, - "column": 10 + "line": 570, + "column": 14 }, "end": { - "line": 559, - "column": 11 + "line": 570, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "init", + "start": 18988, + "end": 18992, + "loc": { + "start": { + "line": 570, + "column": 15 + }, + "end": { + "line": 570, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18992, + "end": 18993, + "loc": { + "start": { + "line": 570, + "column": 19 + }, + "end": { + "line": 570, + "column": 20 } } }, @@ -119180,15 +130617,841 @@ "updateContext": null }, "value": "this", - "start": 18887, - "end": 18891, + "start": 18993, + "end": 18997, "loc": { "start": { - "line": 559, + "line": 570, + "column": 20 + }, + "end": { + "line": 570, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18997, + "end": 18998, + "loc": { + "start": { + "line": 570, + "column": 24 + }, + "end": { + "line": 570, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18998, + "end": 18999, + "loc": { + "start": { + "line": 570, + "column": 25 + }, + "end": { + "line": 570, + "column": 26 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19007, + "end": 19008, + "loc": { + "start": { + "line": 571, + "column": 6 + }, + "end": { + "line": 571, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19008, + "end": 19009, + "loc": { + "start": { + "line": 571, + "column": 7 + }, + "end": { + "line": 571, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19009, + "end": 19010, + "loc": { + "start": { + "line": 571, + "column": 8 + }, + "end": { + "line": 571, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19016, + "end": 19017, + "loc": { + "start": { + "line": 572, + "column": 4 + }, + "end": { + "line": 572, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19021, + "end": 19022, + "loc": { + "start": { + "line": 573, + "column": 2 + }, + "end": { + "line": 573, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Get module prop\r\n ", + "start": 19028, + "end": 19060, + "loc": { + "start": { + "line": 575, + "column": 2 + }, + "end": { + "line": 577, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getModuleProp", + "start": 19064, + "end": 19077, + "loc": { + "start": { + "line": 578, + "column": 2 + }, + "end": { + "line": 578, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 19078, + "end": 19079, + "loc": { + "start": { + "line": 578, + "column": 16 + }, + "end": { + "line": 578, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19080, + "end": 19081, + "loc": { + "start": { + "line": 578, + "column": 18 + }, + "end": { + "line": 578, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 19081, + "end": 19085, + "loc": { + "start": { + "line": 578, + "column": 19 + }, + "end": { + "line": 578, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19085, + "end": 19086, + "loc": { + "start": { + "line": 578, + "column": 23 + }, + "end": { + "line": 578, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "prop", + "start": 19087, + "end": 19091, + "loc": { + "start": { + "line": 578, + "column": 25 + }, + "end": { + "line": 578, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19091, + "end": 19092, + "loc": { + "start": { + "line": 578, + "column": 29 + }, + "end": { + "line": 578, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19093, + "end": 19095, + "loc": { + "start": { + "line": 578, + "column": 31 + }, + "end": { + "line": 578, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19096, + "end": 19097, + "loc": { + "start": { + "line": 578, + "column": 34 + }, + "end": { + "line": 578, + "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": 19103, + "end": 19105, + "loc": { + "start": { + "line": 579, + "column": 4 + }, + "end": { + "line": 579, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19105, + "end": 19106, + "loc": { + "start": { + "line": 579, + "column": 6 + }, + "end": { + "line": 579, + "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": 19106, + "end": 19107, + "loc": { + "start": { + "line": 579, + "column": 7 + }, + "end": { + "line": 579, + "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": 19107, + "end": 19111, + "loc": { + "start": { + "line": 579, + "column": 8 + }, + "end": { + "line": 579, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19111, + "end": 19112, + "loc": { + "start": { + "line": 579, + "column": 12 + }, + "end": { + "line": 579, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "modules", + "start": 19112, + "end": 19119, + "loc": { + "start": { + "line": 579, + "column": 13 + }, + "end": { + "line": 579, + "column": 20 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19119, + "end": 19120, + "loc": { + "start": { + "line": 579, + "column": 20 + }, + "end": { + "line": 579, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 19120, + "end": 19124, + "loc": { + "start": { + "line": 579, + "column": 21 + }, + "end": { + "line": 579, + "column": 25 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19124, + "end": 19125, + "loc": { + "start": { + "line": 579, + "column": 25 + }, + "end": { + "line": 579, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19125, + "end": 19126, + "loc": { + "start": { + "line": 579, + "column": 26 + }, + "end": { + "line": 579, + "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": 19134, + "end": 19140, + "loc": { + "start": { + "line": 580, + "column": 6 + }, + "end": { + "line": 580, + "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": 19141, + "end": 19146, + "loc": { + "start": { + "line": 580, + "column": 13 + }, + "end": { + "line": 580, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19146, + "end": 19147, + "loc": { + "start": { + "line": 580, + "column": 18 + }, + "end": { + "line": 580, + "column": 19 + } + } + }, + { + "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": 19159, + "end": 19165, + "loc": { + "start": { + "line": 582, + "column": 4 + }, + "end": { + "line": 582, + "column": 10 + } + } + }, + { + "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": 19166, + "end": 19170, + "loc": { + "start": { + "line": 582, "column": 11 }, "end": { - "line": 559, + "line": 582, "column": 15 } } @@ -119206,15 +131469,15 @@ "binop": null, "updateContext": null }, - "start": 18891, - "end": 18892, + "start": 19170, + "end": 19171, "loc": { "start": { - "line": 559, + "line": 582, "column": 15 }, "end": { - "line": 559, + "line": 582, "column": 16 } } @@ -119231,23 +131494,75 @@ "postfix": false, "binop": null }, - "value": "options", - "start": 18892, - "end": 18899, + "value": "modules", + "start": 19171, + "end": 19178, "loc": { "start": { - "line": 559, + "line": 582, "column": 16 }, "end": { - "line": 559, + "line": 582, "column": 23 } } }, { "type": { - "label": ".", + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19178, + "end": 19179, + "loc": { + "start": { + "line": 582, + "column": 23 + }, + "end": { + "line": 582, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 19179, + "end": 19183, + "loc": { + "start": { + "line": 582, + "column": 24 + }, + "end": { + "line": 582, + "column": 28 + } + } + }, + { + "type": { + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -119258,16 +131573,42 @@ "binop": null, "updateContext": null }, - "start": 18899, - "end": 18900, + "start": 19183, + "end": 19184, "loc": { "start": { - "line": 559, - "column": 23 + "line": 582, + "column": 28 }, "end": { - "line": 559, - "column": 24 + "line": 582, + "column": 29 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19184, + "end": 19185, + "loc": { + "start": { + "line": 582, + "column": 29 + }, + "end": { + "line": 582, + "column": 30 } } }, @@ -119283,16 +131624,16 @@ "postfix": false, "binop": null }, - "value": "layoutName", - "start": 18900, - "end": 18910, + "value": "prop", + "start": 19185, + "end": 19189, "loc": { "start": { - "line": 559, - "column": 24 + "line": 582, + "column": 30 }, "end": { - "line": 559, + "line": 582, "column": 34 } } @@ -119310,507 +131651,15 @@ "binop": null, "updateContext": null }, - "start": 18910, - "end": 18911, + "start": 19189, + "end": 19190, "loc": { "start": { - "line": 559, + "line": 582, "column": 34 }, "end": { - "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, + "line": 582, "column": 35 } } @@ -119828,39 +131677,22 @@ "binop": null, "updateContext": null }, - "start": 18975, - "end": 18976, + "start": 19190, + "end": 19191, "loc": { "start": { - "line": 560, + "line": 582, "column": 35 }, "end": { - "line": 560, + "line": 582, "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", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -119868,20 +131700,34 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "var", - "start": 19037, - "end": 19040, + "start": 19195, + "end": 19196, "loc": { "start": { - "line": 565, - "column": 6 + "line": 583, + "column": 2 }, "end": { - "line": 565, - "column": 9 + "line": 583, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * getModulesList\r\n ", + "start": 19202, + "end": 19233, + "loc": { + "start": { + "line": 585, + "column": 2 + }, + "end": { + "line": 587, + "column": 5 } } }, @@ -119897,16 +131743,16 @@ "postfix": false, "binop": null }, - "value": "rowDOM", - "start": 19041, - "end": 19047, + "value": "getModulesList", + "start": 19237, + "end": 19251, "loc": { "start": { - "line": 565, - "column": 10 + "line": 588, + "column": 2 }, "end": { - "line": 565, + "line": 588, "column": 16 } } @@ -119925,23 +131771,23 @@ "updateContext": null }, "value": "=", - "start": 19048, - "end": 19049, + "start": 19252, + "end": 19253, "loc": { "start": { - "line": 565, + "line": 588, "column": 17 }, "end": { - "line": 565, + "line": 588, "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -119950,121 +131796,16 @@ "postfix": false, "binop": null }, - "value": "document", - "start": 19050, - "end": 19058, + "start": 19254, + "end": 19255, "loc": { "start": { - "line": 565, + "line": 588, "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 + "line": 588, + "column": 20 } } }, @@ -120080,447 +131821,16 @@ "postfix": false, "binop": null }, - "start": 19078, - "end": 19079, + "start": 19255, + "end": 19256, "loc": { "start": { - "line": 565, - "column": 47 + "line": 588, + "column": 20 }, "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 + "line": 588, + "column": 21 } } }, @@ -120537,16 +131847,16 @@ "binop": null, "updateContext": null }, - "start": 19230, - "end": 19232, + "start": 19257, + "end": 19259, "loc": { "start": { - "line": 571, - "column": 40 + "line": 588, + "column": 22 }, "end": { - "line": 571, - "column": 42 + "line": 588, + "column": 24 } } }, @@ -120562,24 +131872,24 @@ "postfix": false, "binop": null }, - "start": 19233, - "end": 19234, + "start": 19260, + "end": 19261, "loc": { "start": { - "line": 571, - "column": 43 + "line": 588, + "column": 25 }, "end": { - "line": 571, - "column": 44 + "line": 588, + "column": 26 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -120589,17 +131899,17 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 19244, - "end": 19247, + "value": "return", + "start": 19267, + "end": 19273, "loc": { "start": { - "line": 572, - "column": 8 + "line": 589, + "column": 4 }, "end": { - "line": 572, - "column": 11 + "line": 589, + "column": 10 } } }, @@ -120615,44 +131925,94 @@ "postfix": false, "binop": null }, - "value": "fctBtnClass", - "start": 19248, - "end": 19259, + "value": "Object", + "start": 19274, + "end": 19280, "loc": { "start": { - "line": 572, - "column": 12 + "line": 589, + "column": 11 }, "end": { - "line": 572, - "column": 23 + "line": 589, + "column": 17 } } }, { "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": 19260, - "end": 19261, + "start": 19280, + "end": 19281, "loc": { "start": { - "line": 572, - "column": 24 + "line": 589, + "column": 17 }, "end": { - "line": 572, - "column": 25 + "line": 589, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keys", + "start": 19281, + "end": 19285, + "loc": { + "start": { + "line": 589, + "column": 18 + }, + "end": { + "line": 589, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19285, + "end": 19286, + "loc": { + "start": { + "line": 589, + "column": 22 + }, + "end": { + "line": 589, + "column": 23 } } }, @@ -120671,16 +132031,16 @@ "updateContext": null }, "value": "this", - "start": 19262, - "end": 19266, + "start": 19286, + "end": 19290, "loc": { "start": { - "line": 572, - "column": 26 + "line": 589, + "column": 23 }, "end": { - "line": 572, - "column": 30 + "line": 589, + "column": 27 } } }, @@ -120697,119 +132057,16 @@ "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, + "start": 19290, "end": 19291, "loc": { "start": { - "line": 572, - "column": 41 + "line": 589, + "column": 27 }, "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 + "line": 589, + "column": 28 } } }, @@ -120825,17 +132082,17 @@ "postfix": false, "binop": null }, - "value": "button", - "start": 19292, + "value": "modules", + "start": 19291, "end": 19298, "loc": { "start": { - "line": 572, - "column": 56 + "line": 589, + "column": 28 }, "end": { - "line": 572, - "column": 62 + "line": 589, + "column": 35 } } }, @@ -120855,12 +132112,12 @@ "end": 19299, "loc": { "start": { - "line": 572, - "column": 62 + "line": 589, + "column": 35 }, "end": { - "line": 572, - "column": 63 + "line": 589, + "column": 36 } } }, @@ -120881,11 +132138,8093 @@ "end": 19300, "loc": { "start": { - "line": 572, + "line": 589, + "column": 36 + }, + "end": { + "line": 589, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19304, + "end": 19305, + "loc": { + "start": { + "line": 590, + "column": 2 + }, + "end": { + "line": 590, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Renders rows and buttons as per options\r\n ", + "start": 19311, + "end": 19367, + "loc": { + "start": { + "line": 592, + "column": 2 + }, + "end": { + "line": 594, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "render", + "start": 19371, + "end": 19377, + "loc": { + "start": { + "line": 595, + "column": 2 + }, + "end": { + "line": 595, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19377, + "end": 19378, + "loc": { + "start": { + "line": 595, + "column": 8 + }, + "end": { + "line": 595, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19378, + "end": 19379, + "loc": { + "start": { + "line": 595, + "column": 9 + }, + "end": { + "line": 595, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19379, + "end": 19380, + "loc": { + "start": { + "line": 595, + "column": 10 + }, + "end": { + "line": 595, + "column": 11 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Clear keyboard\r\n ", + "start": 19386, + "end": 19421, + "loc": { + "start": { + "line": 596, + "column": 4 + }, + "end": { + "line": 598, + "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": 19427, + "end": 19431, + "loc": { + "start": { + "line": 599, + "column": 4 + }, + "end": { + "line": 599, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19431, + "end": 19432, + "loc": { + "start": { + "line": 599, + "column": 8 + }, + "end": { + "line": 599, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clear", + "start": 19432, + "end": 19437, + "loc": { + "start": { + "line": 599, + "column": 9 + }, + "end": { + "line": 599, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19437, + "end": 19438, + "loc": { + "start": { + "line": 599, + "column": 14 + }, + "end": { + "line": 599, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19438, + "end": 19439, + "loc": { + "start": { + "line": 599, + "column": 15 + }, + "end": { + "line": 599, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19439, + "end": 19440, + "loc": { + "start": { + "line": 599, + "column": 16 + }, + "end": { + "line": 599, + "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": 19448, + "end": 19451, + "loc": { + "start": { + "line": 601, + "column": 4 + }, + "end": { + "line": 601, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "layoutClass", + "start": 19452, + "end": 19463, + "loc": { + "start": { + "line": 601, + "column": 8 + }, + "end": { + "line": 601, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 19464, + "end": 19465, + "loc": { + "start": { + "line": 601, + "column": 20 + }, + "end": { + "line": 601, + "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": 19466, + "end": 19470, + "loc": { + "start": { + "line": 601, + "column": 22 + }, + "end": { + "line": 601, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19470, + "end": 19471, + "loc": { + "start": { + "line": 601, + "column": 26 + }, + "end": { + "line": 601, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 19471, + "end": 19478, + "loc": { + "start": { + "line": 601, + "column": 27 + }, + "end": { + "line": 601, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19478, + "end": 19479, + "loc": { + "start": { + "line": 601, + "column": 34 + }, + "end": { + "line": 601, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "layout", + "start": 19479, + "end": 19485, + "loc": { + "start": { + "line": 601, + "column": 35 + }, + "end": { + "line": 601, + "column": 41 + } + } + }, + { + "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": 601, + "column": 42 + }, + "end": { + "line": 601, + "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": 19488, + "end": 19506, + "loc": { + "start": { + "line": 601, + "column": 44 + }, + "end": { + "line": 601, + "column": 62 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19507, + "end": 19508, + "loc": { + "start": { + "line": 601, "column": 63 }, "end": { - "line": 572, + "line": 601, + "column": 64 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19509, + "end": 19510, + "loc": { + "start": { + "line": 601, + "column": 65 + }, + "end": { + "line": 601, + "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": 19510, + "end": 19520, + "loc": { + "start": { + "line": 601, + "column": 66 + }, + "end": { + "line": 601, + "column": 76 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19520, + "end": 19522, + "loc": { + "start": { + "line": 601, + "column": 76 + }, + "end": { + "line": 601, + "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": 19522, + "end": 19526, + "loc": { + "start": { + "line": 601, + "column": 78 + }, + "end": { + "line": 601, + "column": 82 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19526, + "end": 19527, + "loc": { + "start": { + "line": 601, + "column": 82 + }, + "end": { + "line": 601, + "column": 83 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 19527, + "end": 19534, + "loc": { + "start": { + "line": 601, + "column": 83 + }, + "end": { + "line": 601, + "column": 90 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19534, + "end": 19535, + "loc": { + "start": { + "line": 601, + "column": 90 + }, + "end": { + "line": 601, + "column": 91 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "layoutName", + "start": 19535, + "end": 19545, + "loc": { + "start": { + "line": 601, + "column": 91 + }, + "end": { + "line": 601, + "column": 101 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19545, + "end": 19546, + "loc": { + "start": { + "line": 601, + "column": 101 + }, + "end": { + "line": 601, + "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": 19546, + "end": 19546, + "loc": { + "start": { + "line": 601, + "column": 102 + }, + "end": { + "line": 601, + "column": 102 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19546, + "end": 19547, + "loc": { + "start": { + "line": 601, + "column": 102 + }, + "end": { + "line": 601, + "column": 103 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19547, + "end": 19548, + "loc": { + "start": { + "line": 601, + "column": 103 + }, + "end": { + "line": 601, + "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": 19554, + "end": 19557, + "loc": { + "start": { + "line": 602, + "column": 4 + }, + "end": { + "line": 602, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "layout", + "start": 19558, + "end": 19564, + "loc": { + "start": { + "line": 602, + "column": 8 + }, + "end": { + "line": 602, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 19565, + "end": 19566, + "loc": { + "start": { + "line": 602, + "column": 15 + }, + "end": { + "line": 602, + "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": 19567, + "end": 19571, + "loc": { + "start": { + "line": 602, + "column": 17 + }, + "end": { + "line": 602, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19571, + "end": 19572, + "loc": { + "start": { + "line": 602, + "column": 21 + }, + "end": { + "line": 602, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 19572, + "end": 19579, + "loc": { + "start": { + "line": 602, + "column": 22 + }, + "end": { + "line": 602, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19579, + "end": 19580, + "loc": { + "start": { + "line": 602, + "column": 29 + }, + "end": { + "line": 602, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "layout", + "start": 19580, + "end": 19586, + "loc": { + "start": { + "line": 602, + "column": 30 + }, + "end": { + "line": 602, + "column": 36 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 19587, + "end": 19589, + "loc": { + "start": { + "line": 602, + "column": 37 + }, + "end": { + "line": 602, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "KeyboardLayout", + "start": 19590, + "end": 19604, + "loc": { + "start": { + "line": 602, + "column": 40 + }, + "end": { + "line": 602, + "column": 54 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19604, + "end": 19605, + "loc": { + "start": { + "line": 602, + "column": 54 + }, + "end": { + "line": 602, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getDefaultLayout", + "start": 19605, + "end": 19621, + "loc": { + "start": { + "line": 602, + "column": 55 + }, + "end": { + "line": 602, + "column": 71 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19621, + "end": 19622, + "loc": { + "start": { + "line": 602, + "column": 71 + }, + "end": { + "line": 602, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19622, + "end": 19623, + "loc": { + "start": { + "line": 602, + "column": 72 + }, + "end": { + "line": 602, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19623, + "end": 19624, + "loc": { + "start": { + "line": 602, + "column": 73 + }, + "end": { + "line": 602, + "column": 74 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Account for buttonTheme, if set\r\n ", + "start": 19632, + "end": 19684, + "loc": { + "start": { + "line": 604, + "column": 4 + }, + "end": { + "line": 606, + "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": 19690, + "end": 19693, + "loc": { + "start": { + "line": 607, + "column": 4 + }, + "end": { + "line": 607, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemesParsed", + "start": 19694, + "end": 19712, + "loc": { + "start": { + "line": 607, + "column": 8 + }, + "end": { + "line": 607, + "column": 26 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 19713, + "end": 19714, + "loc": { + "start": { + "line": 607, + "column": 27 + }, + "end": { + "line": 607, + "column": 28 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19715, + "end": 19716, + "loc": { + "start": { + "line": 607, + "column": 29 + }, + "end": { + "line": 607, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19716, + "end": 19717, + "loc": { + "start": { + "line": 607, + "column": 30 + }, + "end": { + "line": 607, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19717, + "end": 19718, + "loc": { + "start": { + "line": 607, + "column": 31 + }, + "end": { + "line": 607, + "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": 19724, + "end": 19726, + "loc": { + "start": { + "line": 608, + "column": 4 + }, + "end": { + "line": 608, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19726, + "end": 19727, + "loc": { + "start": { + "line": 608, + "column": 6 + }, + "end": { + "line": 608, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Array", + "start": 19727, + "end": 19732, + "loc": { + "start": { + "line": 608, + "column": 7 + }, + "end": { + "line": 608, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19732, + "end": 19733, + "loc": { + "start": { + "line": 608, + "column": 12 + }, + "end": { + "line": 608, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isArray", + "start": 19733, + "end": 19740, + "loc": { + "start": { + "line": 608, + "column": 13 + }, + "end": { + "line": 608, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19740, + "end": 19741, + "loc": { + "start": { + "line": 608, + "column": 20 + }, + "end": { + "line": 608, + "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": 19741, + "end": 19745, + "loc": { + "start": { + "line": 608, + "column": 21 + }, + "end": { + "line": 608, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19745, + "end": 19746, + "loc": { + "start": { + "line": 608, + "column": 25 + }, + "end": { + "line": 608, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 19746, + "end": 19753, + "loc": { + "start": { + "line": 608, + "column": 26 + }, + "end": { + "line": 608, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19753, + "end": 19754, + "loc": { + "start": { + "line": 608, + "column": 33 + }, + "end": { + "line": 608, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 19754, + "end": 19765, + "loc": { + "start": { + "line": 608, + "column": 34 + }, + "end": { + "line": 608, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19765, + "end": 19766, + "loc": { + "start": { + "line": 608, + "column": 45 + }, + "end": { + "line": 608, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19766, + "end": 19767, + "loc": { + "start": { + "line": 608, + "column": 46 + }, + "end": { + "line": 608, + "column": 47 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19767, + "end": 19768, + "loc": { + "start": { + "line": 608, + "column": 47 + }, + "end": { + "line": 608, + "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": 19776, + "end": 19780, + "loc": { + "start": { + "line": 609, + "column": 6 + }, + "end": { + "line": 609, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19780, + "end": 19781, + "loc": { + "start": { + "line": 609, + "column": 10 + }, + "end": { + "line": 609, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 19781, + "end": 19788, + "loc": { + "start": { + "line": 609, + "column": 11 + }, + "end": { + "line": 609, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19788, + "end": 19789, + "loc": { + "start": { + "line": 609, + "column": 18 + }, + "end": { + "line": 609, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 19789, + "end": 19800, + "loc": { + "start": { + "line": 609, + "column": 19 + }, + "end": { + "line": 609, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19800, + "end": 19801, + "loc": { + "start": { + "line": 609, + "column": 30 + }, + "end": { + "line": 609, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 19801, + "end": 19808, + "loc": { + "start": { + "line": 609, + "column": 31 + }, + "end": { + "line": 609, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19808, + "end": 19809, + "loc": { + "start": { + "line": 609, + "column": 38 + }, + "end": { + "line": 609, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeObj", + "start": 19809, + "end": 19817, + "loc": { + "start": { + "line": 609, + "column": 39 + }, + "end": { + "line": 609, + "column": 47 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19818, + "end": 19820, + "loc": { + "start": { + "line": 609, + "column": 48 + }, + "end": { + "line": 609, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19821, + "end": 19822, + "loc": { + "start": { + "line": 609, + "column": 51 + }, + "end": { + "line": 609, + "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": 19832, + "end": 19834, + "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": 19834, + "end": 19835, + "loc": { + "start": { + "line": 610, + "column": 10 + }, + "end": { + "line": 610, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeObj", + "start": 19835, + "end": 19843, + "loc": { + "start": { + "line": 610, + "column": 11 + }, + "end": { + "line": 610, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19843, + "end": 19844, + "loc": { + "start": { + "line": 610, + "column": 19 + }, + "end": { + "line": 610, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 19844, + "end": 19851, + "loc": { + "start": { + "line": 610, + "column": 20 + }, + "end": { + "line": 610, + "column": 27 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 19852, + "end": 19854, + "loc": { + "start": { + "line": 610, + "column": 28 + }, + "end": { + "line": 610, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeObj", + "start": 19855, + "end": 19863, + "loc": { + "start": { + "line": 610, + "column": 31 + }, + "end": { + "line": 610, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19863, + "end": 19864, + "loc": { + "start": { + "line": 610, + "column": 39 + }, + "end": { + "line": 610, + "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": 19864, + "end": 19869, + "loc": { + "start": { + "line": 610, + "column": 40 + }, + "end": { + "line": 610, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19869, + "end": 19870, + "loc": { + "start": { + "line": 610, + "column": 45 + }, + "end": { + "line": 610, + "column": 46 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19870, + "end": 19871, + "loc": { + "start": { + "line": 610, + "column": 46 + }, + "end": { + "line": 610, + "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": 19883, + "end": 19886, + "loc": { + "start": { + "line": 611, + "column": 10 + }, + "end": { + "line": 611, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeButtons", + "start": 19887, + "end": 19899, + "loc": { + "start": { + "line": 611, + "column": 14 + }, + "end": { + "line": 611, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19899, + "end": 19900, + "loc": { + "start": { + "line": 611, + "column": 26 + }, + "end": { + "line": 611, + "column": 27 + } + } + }, + { + "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": 19914, + "end": 19916, + "loc": { + "start": { + "line": 613, + "column": 10 + }, + "end": { + "line": 613, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19916, + "end": 19917, + "loc": { + "start": { + "line": 613, + "column": 12 + }, + "end": { + "line": 613, + "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": 19917, + "end": 19923, + "loc": { + "start": { + "line": 613, + "column": 13 + }, + "end": { + "line": 613, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeObj", + "start": 19924, + "end": 19932, + "loc": { + "start": { + "line": 613, + "column": 20 + }, + "end": { + "line": 613, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19932, + "end": 19933, + "loc": { + "start": { + "line": 613, + "column": 28 + }, + "end": { + "line": 613, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 19933, + "end": 19940, + "loc": { + "start": { + "line": 613, + "column": 29 + }, + "end": { + "line": 613, + "column": 36 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 19941, + "end": 19944, + "loc": { + "start": { + "line": 613, + "column": 37 + }, + "end": { + "line": 613, + "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": 19945, + "end": 19953, + "loc": { + "start": { + "line": 613, + "column": 41 + }, + "end": { + "line": 613, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19953, + "end": 19954, + "loc": { + "start": { + "line": 613, + "column": 49 + }, + "end": { + "line": 613, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19954, + "end": 19955, + "loc": { + "start": { + "line": 613, + "column": 50 + }, + "end": { + "line": 613, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeButtons", + "start": 19969, + "end": 19981, + "loc": { + "start": { + "line": 614, + "column": 12 + }, + "end": { + "line": 614, + "column": 24 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 19982, + "end": 19983, + "loc": { + "start": { + "line": 614, + "column": 25 + }, + "end": { + "line": 614, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeObj", + "start": 19984, + "end": 19992, + "loc": { + "start": { + "line": 614, + "column": 27 + }, + "end": { + "line": 614, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19992, + "end": 19993, + "loc": { + "start": { + "line": 614, + "column": 35 + }, + "end": { + "line": 614, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 19993, + "end": 20000, + "loc": { + "start": { + "line": 614, + "column": 36 + }, + "end": { + "line": 614, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20000, + "end": 20001, + "loc": { + "start": { + "line": 614, + "column": 43 + }, + "end": { + "line": 614, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "split", + "start": 20001, + "end": 20006, + "loc": { + "start": { + "line": 614, + "column": 44 + }, + "end": { + "line": 614, + "column": 49 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20006, + "end": 20007, + "loc": { + "start": { + "line": 614, + "column": 49 + }, + "end": { + "line": 614, + "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": 20007, + "end": 20010, + "loc": { + "start": { + "line": 614, + "column": 50 + }, + "end": { + "line": 614, + "column": 53 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20010, + "end": 20011, + "loc": { + "start": { + "line": 614, + "column": 53 + }, + "end": { + "line": 614, + "column": 54 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20011, + "end": 20012, + "loc": { + "start": { + "line": 614, + "column": 54 + }, + "end": { + "line": 614, + "column": 55 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20024, + "end": 20025, + "loc": { + "start": { + "line": 615, + "column": 10 + }, + "end": { + "line": 615, + "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": 20039, + "end": 20041, + "loc": { + "start": { + "line": 617, + "column": 10 + }, + "end": { + "line": 617, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20041, + "end": 20042, + "loc": { + "start": { + "line": 617, + "column": 12 + }, + "end": { + "line": 617, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeButtons", + "start": 20042, + "end": 20054, + "loc": { + "start": { + "line": 617, + "column": 13 + }, + "end": { + "line": 617, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20054, + "end": 20055, + "loc": { + "start": { + "line": 617, + "column": 25 + }, + "end": { + "line": 617, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20055, + "end": 20056, + "loc": { + "start": { + "line": 617, + "column": 26 + }, + "end": { + "line": 617, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeButtons", + "start": 20070, + "end": 20082, + "loc": { + "start": { + "line": 618, + "column": 12 + }, + "end": { + "line": 618, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20082, + "end": 20083, + "loc": { + "start": { + "line": 618, + "column": 24 + }, + "end": { + "line": 618, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 20083, + "end": 20090, + "loc": { + "start": { + "line": 618, + "column": 25 + }, + "end": { + "line": 618, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20090, + "end": 20091, + "loc": { + "start": { + "line": 618, + "column": 32 + }, + "end": { + "line": 618, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeButton", + "start": 20091, + "end": 20102, + "loc": { + "start": { + "line": 618, + "column": 33 + }, + "end": { + "line": 618, + "column": 44 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20103, + "end": 20105, + "loc": { + "start": { + "line": 618, + "column": 45 + }, + "end": { + "line": 618, + "column": 47 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20106, + "end": 20107, + "loc": { + "start": { + "line": 618, + "column": 48 + }, + "end": { + "line": 618, + "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": 20123, + "end": 20126, + "loc": { + "start": { + "line": 619, + "column": 14 + }, + "end": { + "line": 619, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeParsed", + "start": 20127, + "end": 20138, + "loc": { + "start": { + "line": 619, + "column": 18 + }, + "end": { + "line": 619, + "column": 29 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 20139, + "end": 20140, + "loc": { + "start": { + "line": 619, + "column": 30 + }, + "end": { + "line": 619, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemesParsed", + "start": 20141, + "end": 20159, + "loc": { + "start": { + "line": 619, + "column": 32 + }, + "end": { + "line": 619, + "column": 50 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20159, + "end": 20160, + "loc": { + "start": { + "line": 619, + "column": 50 + }, + "end": { + "line": 619, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeButton", + "start": 20160, + "end": 20171, + "loc": { + "start": { + "line": 619, + "column": 51 + }, + "end": { + "line": 619, + "column": 62 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20171, + "end": 20172, + "loc": { + "start": { + "line": 619, + "column": 62 + }, + "end": { + "line": 619, + "column": 63 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20172, + "end": 20173, + "loc": { + "start": { + "line": 619, + "column": 63 + }, + "end": { + "line": 619, + "column": 64 + } + } + }, + { + "type": "CommentLine", + "value": " If the button has already been added", + "start": 20191, + "end": 20230, + "loc": { + "start": { + "line": 621, + "column": 14 + }, + "end": { + "line": 621, + "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": 20246, + "end": 20248, + "loc": { + "start": { + "line": 622, + "column": 14 + }, + "end": { + "line": 622, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20248, + "end": 20249, + "loc": { + "start": { + "line": 622, + "column": 16 + }, + "end": { + "line": 622, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeParsed", + "start": 20249, + "end": 20260, + "loc": { + "start": { + "line": 622, + "column": 17 + }, + "end": { + "line": 622, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20260, + "end": 20261, + "loc": { + "start": { + "line": 622, + "column": 28 + }, + "end": { + "line": 622, + "column": 29 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20261, + "end": 20262, + "loc": { + "start": { + "line": 622, + "column": 29 + }, + "end": { + "line": 622, + "column": 30 + } + } + }, + { + "type": "CommentLine", + "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", + "start": 20280, + "end": 20363, + "loc": { + "start": { + "line": 623, + "column": 16 + }, + "end": { + "line": 623, + "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": 20381, + "end": 20383, + "loc": { + "start": { + "line": 624, + "column": 16 + }, + "end": { + "line": 624, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20383, + "end": 20384, + "loc": { + "start": { + "line": 624, + "column": 18 + }, + "end": { + "line": 624, + "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": 20384, + "end": 20385, + "loc": { + "start": { + "line": 624, + "column": 19 + }, + "end": { + "line": 624, + "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": 20385, + "end": 20389, + "loc": { + "start": { + "line": 624, + "column": 20 + }, + "end": { + "line": 624, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20389, + "end": 20390, + "loc": { + "start": { + "line": 624, + "column": 24 + }, + "end": { + "line": 624, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "utilities", + "start": 20390, + "end": 20399, + "loc": { + "start": { + "line": 624, + "column": 25 + }, + "end": { + "line": 624, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20399, + "end": 20400, + "loc": { + "start": { + "line": 624, + "column": 34 + }, + "end": { + "line": 624, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "countInArray", + "start": 20400, + "end": 20412, + "loc": { + "start": { + "line": 624, + "column": 35 + }, + "end": { + "line": 624, + "column": 47 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20412, + "end": 20413, + "loc": { + "start": { + "line": 624, + "column": 47 + }, + "end": { + "line": 624, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeParsed", + "start": 20413, + "end": 20424, + "loc": { + "start": { + "line": 624, + "column": 48 + }, + "end": { + "line": 624, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20424, + "end": 20425, + "loc": { + "start": { + "line": 624, + "column": 59 + }, + "end": { + "line": 624, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "split", + "start": 20425, + "end": 20430, + "loc": { + "start": { + "line": 624, + "column": 60 + }, + "end": { + "line": 624, + "column": 65 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20430, + "end": 20431, + "loc": { + "start": { + "line": 624, + "column": 65 + }, + "end": { + "line": 624, + "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": 20431, + "end": 20434, + "loc": { + "start": { + "line": 624, + "column": 66 + }, + "end": { + "line": 624, + "column": 69 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20434, + "end": 20435, + "loc": { + "start": { + "line": 624, + "column": 69 + }, + "end": { + "line": 624, + "column": 70 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20435, + "end": 20436, + "loc": { + "start": { + "line": 624, + "column": 70 + }, + "end": { + "line": 624, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeObj", + "start": 20437, + "end": 20445, + "loc": { + "start": { + "line": 624, + "column": 72 + }, + "end": { + "line": 624, + "column": 80 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20445, + "end": 20446, + "loc": { + "start": { + "line": 624, + "column": 80 + }, + "end": { + "line": 624, + "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": 20446, + "end": 20451, + "loc": { + "start": { + "line": 624, + "column": 81 + }, + "end": { + "line": 624, + "column": 86 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20451, + "end": 20452, + "loc": { + "start": { + "line": 624, + "column": 86 + }, + "end": { + "line": 624, + "column": 87 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20452, + "end": 20453, + "loc": { + "start": { + "line": 624, + "column": 87 + }, + "end": { + "line": 624, + "column": 88 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20453, + "end": 20454, + "loc": { + "start": { + "line": 624, + "column": 88 + }, + "end": { + "line": 624, + "column": 89 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemesParsed", + "start": 20474, + "end": 20492, + "loc": { + "start": { + "line": 625, + "column": 18 + }, + "end": { + "line": 625, + "column": 36 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20492, + "end": 20493, + "loc": { + "start": { + "line": 625, + "column": 36 + }, + "end": { + "line": 625, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeButton", + "start": 20493, + "end": 20504, + "loc": { + "start": { + "line": 625, + "column": 37 + }, + "end": { + "line": 625, + "column": 48 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20504, + "end": 20505, + "loc": { + "start": { + "line": 625, + "column": 48 + }, + "end": { + "line": 625, + "column": 49 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 20506, + "end": 20507, + "loc": { + "start": { + "line": 625, + "column": 50 + }, + "end": { + "line": 625, + "column": 51 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20508, + "end": 20509, + "loc": { + "start": { + "line": 625, + "column": 52 + }, + "end": { + "line": 625, + "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": 20509, + "end": 20509, + "loc": { + "start": { + "line": 625, + "column": 53 + }, + "end": { + "line": 625, + "column": 53 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20509, + "end": 20511, + "loc": { + "start": { + "line": 625, + "column": 53 + }, + "end": { + "line": 625, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeParsed", + "start": 20511, + "end": 20522, + "loc": { + "start": { + "line": 625, + "column": 55 + }, + "end": { + "line": 625, + "column": 66 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20522, + "end": 20523, + "loc": { + "start": { + "line": 625, + "column": 66 + }, + "end": { + "line": 625, + "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": 20523, + "end": 20524, + "loc": { + "start": { + "line": 625, + "column": 67 + }, + "end": { + "line": 625, + "column": 68 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20524, + "end": 20526, + "loc": { + "start": { + "line": 625, + "column": 68 + }, + "end": { + "line": 625, + "column": 70 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeObj", + "start": 20526, + "end": 20534, + "loc": { + "start": { + "line": 625, + "column": 70 + }, + "end": { + "line": 625, + "column": 78 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20534, + "end": 20535, + "loc": { + "start": { + "line": 625, + "column": 78 + }, + "end": { + "line": 625, + "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": 20535, + "end": 20540, + "loc": { + "start": { + "line": 625, + "column": 79 + }, + "end": { + "line": 625, + "column": 84 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20540, + "end": 20541, + "loc": { + "start": { + "line": 625, + "column": 84 + }, + "end": { + "line": 625, + "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": 20541, + "end": 20541, + "loc": { + "start": { + "line": 625, + "column": 85 + }, + "end": { + "line": 625, + "column": 85 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20541, + "end": 20542, + "loc": { + "start": { + "line": 625, + "column": 85 + }, + "end": { + "line": 625, + "column": 86 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20542, + "end": 20543, + "loc": { + "start": { + "line": 625, + "column": 86 + }, + "end": { + "line": 625, + "column": 87 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20561, + "end": 20562, + "loc": { + "start": { + "line": 626, + "column": 16 + }, + "end": { + "line": 626, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20578, + "end": 20579, + "loc": { + "start": { + "line": 627, + "column": 14 + }, + "end": { + "line": 627, + "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": 20580, + "end": 20584, + "loc": { + "start": { + "line": 627, + "column": 16 + }, + "end": { + "line": 627, + "column": 20 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20585, + "end": 20586, + "loc": { + "start": { + "line": 627, + "column": 21 + }, + "end": { + "line": 627, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemesParsed", + "start": 20604, + "end": 20622, + "loc": { + "start": { + "line": 628, + "column": 16 + }, + "end": { + "line": 628, + "column": 34 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20622, + "end": 20623, + "loc": { + "start": { + "line": 628, + "column": 34 + }, + "end": { + "line": 628, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeButton", + "start": 20623, + "end": 20634, + "loc": { + "start": { + "line": 628, + "column": 35 + }, + "end": { + "line": 628, + "column": 46 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20634, + "end": 20635, + "loc": { + "start": { + "line": 628, + "column": 46 + }, + "end": { + "line": 628, + "column": 47 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 20636, + "end": 20637, + "loc": { + "start": { + "line": 628, + "column": 48 + }, + "end": { + "line": 628, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeObj", + "start": 20638, + "end": 20646, + "loc": { + "start": { + "line": 628, + "column": 50 + }, + "end": { + "line": 628, + "column": 58 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20646, + "end": 20647, + "loc": { + "start": { + "line": 628, + "column": 58 + }, + "end": { + "line": 628, + "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": 20647, + "end": 20652, + "loc": { + "start": { + "line": 628, + "column": 59 + }, + "end": { + "line": 628, + "column": 64 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20652, + "end": 20653, + "loc": { + "start": { + "line": 628, + "column": 64 + }, + "end": { + "line": 628, + "column": 65 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20669, + "end": 20670, + "loc": { + "start": { + "line": 629, + "column": 14 + }, + "end": { + "line": 629, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20684, + "end": 20685, + "loc": { + "start": { + "line": 630, + "column": 12 + }, + "end": { + "line": 630, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20685, + "end": 20686, + "loc": { + "start": { + "line": 630, + "column": 13 + }, + "end": { + "line": 630, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20686, + "end": 20687, + "loc": { + "start": { + "line": 630, + "column": 14 + }, + "end": { + "line": 630, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20699, + "end": 20700, + "loc": { + "start": { + "line": 631, + "column": 10 + }, + "end": { + "line": 631, + "column": 11 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20710, + "end": 20711, + "loc": { + "start": { + "line": 632, + "column": 8 + }, + "end": { + "line": 632, + "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": 20712, + "end": 20716, + "loc": { + "start": { + "line": 632, + "column": 10 + }, + "end": { + "line": 632, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20717, + "end": 20718, + "loc": { + "start": { + "line": 632, + "column": 15 + }, + "end": { + "line": 632, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 20730, + "end": 20737, + "loc": { + "start": { + "line": 633, + "column": 10 + }, + "end": { + "line": 633, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20737, + "end": 20738, + "loc": { + "start": { + "line": 633, + "column": 17 + }, + "end": { + "line": 633, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "warn", + "start": 20738, + "end": 20742, + "loc": { + "start": { + "line": 633, + "column": 18 + }, + "end": { + "line": 633, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20742, + "end": 20743, + "loc": { + "start": { + "line": 633, + "column": 22 + }, + "end": { + "line": 633, + "column": 23 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20743, + "end": 20744, + "loc": { + "start": { + "line": 633, + "column": 23 + }, + "end": { + "line": 633, + "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": 20744, + "end": 20832, + "loc": { + "start": { + "line": 633, + "column": 24 + }, + "end": { + "line": 633, + "column": 112 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20832, + "end": 20833, + "loc": { + "start": { + "line": 633, + "column": 112 + }, + "end": { + "line": 633, + "column": 113 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20833, + "end": 20834, + "loc": { + "start": { + "line": 633, + "column": 113 + }, + "end": { + "line": 633, + "column": 114 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20844, + "end": 20845, + "loc": { + "start": { + "line": 634, + "column": 8 + }, + "end": { + "line": 634, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20853, + "end": 20854, + "loc": { + "start": { + "line": 635, + "column": 6 + }, + "end": { + "line": 635, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20854, + "end": 20855, + "loc": { + "start": { + "line": 635, + "column": 7 + }, + "end": { + "line": 635, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20855, + "end": 20856, + "loc": { + "start": { + "line": 635, + "column": 8 + }, + "end": { + "line": 635, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20862, + "end": 20863, + "loc": { + "start": { + "line": 636, + "column": 4 + }, + "end": { + "line": 636, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", + "start": 20871, + "end": 20937, + "loc": { + "start": { + "line": 638, + "column": 4 + }, + "end": { + "line": 640, + "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": 20943, + "end": 20947, + "loc": { + "start": { + "line": 641, + "column": 4 + }, + "end": { + "line": 641, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20947, + "end": 20948, + "loc": { + "start": { + "line": 641, + "column": 8 + }, + "end": { + "line": 641, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "keyboardDOM", + "start": 20948, + "end": 20959, + "loc": { + "start": { + "line": 641, + "column": 9 + }, + "end": { + "line": 641, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20959, + "end": 20960, + "loc": { + "start": { + "line": 641, + "column": 20 + }, + "end": { + "line": 641, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "className", + "start": 20960, + "end": 20969, + "loc": { + "start": { + "line": 641, + "column": 21 + }, + "end": { + "line": 641, + "column": 30 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 20970, + "end": 20972, + "loc": { + "start": { + "line": 641, + "column": 31 + }, + "end": { + "line": 641, + "column": 33 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20973, + "end": 20974, + "loc": { + "start": { + "line": 641, + "column": 34 + }, + "end": { + "line": 641, + "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": 20974, + "end": 20975, + "loc": { + "start": { + "line": 641, + "column": 35 + }, + "end": { + "line": 641, + "column": 36 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20975, + "end": 20977, + "loc": { + "start": { + "line": 641, + "column": 36 + }, + "end": { + "line": 641, + "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": 20977, + "end": 20981, + "loc": { + "start": { + "line": 641, + "column": 38 + }, + "end": { + "line": 641, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20981, + "end": 20982, + "loc": { + "start": { + "line": 641, + "column": 42 + }, + "end": { + "line": 641, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 20982, + "end": 20989, + "loc": { + "start": { + "line": 641, + "column": 43 + }, + "end": { + "line": 641, + "column": 50 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 20989, + "end": 20990, + "loc": { + "start": { + "line": 641, + "column": 50 + }, + "end": { + "line": 641, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "theme", + "start": 20990, + "end": 20995, + "loc": { + "start": { + "line": 641, + "column": 51 + }, + "end": { + "line": 641, + "column": 56 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20995, + "end": 20996, + "loc": { + "start": { + "line": 641, + "column": 56 + }, + "end": { + "line": 641, + "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": 20996, + "end": 20997, + "loc": { + "start": { + "line": 641, + "column": 57 + }, + "end": { + "line": 641, + "column": 58 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20997, + "end": 20999, + "loc": { + "start": { + "line": 641, + "column": 58 + }, + "end": { + "line": 641, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "layoutClass", + "start": 20999, + "end": 21010, + "loc": { + "start": { + "line": 641, + "column": 60 + }, + "end": { + "line": 641, + "column": 71 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21010, + "end": 21011, + "loc": { + "start": { + "line": 641, + "column": 71 + }, + "end": { + "line": 641, + "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": 21011, + "end": 21011, + "loc": { + "start": { + "line": 641, + "column": 72 + }, + "end": { + "line": 641, + "column": 72 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21011, + "end": 21012, + "loc": { + "start": { + "line": 641, + "column": 72 + }, + "end": { + "line": 641, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21012, + "end": 21013, + "loc": { + "start": { + "line": 641, + "column": 73 + }, + "end": { + "line": 641, + "column": 74 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Iterating through each row\r\n ", + "start": 21021, + "end": 21068, + "loc": { + "start": { + "line": 643, + "column": 4 + }, + "end": { + "line": 645, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "layout", + "start": 21074, + "end": 21080, + "loc": { + "start": { + "line": 646, + "column": 4 + }, + "end": { + "line": 646, + "column": 10 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21080, + "end": 21081, + "loc": { + "start": { + "line": 646, + "column": 10 + }, + "end": { + "line": 646, + "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": 21081, + "end": 21085, + "loc": { + "start": { + "line": 646, + "column": 11 + }, + "end": { + "line": 646, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21085, + "end": 21086, + "loc": { + "start": { + "line": 646, + "column": 15 + }, + "end": { + "line": 646, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 21086, + "end": 21093, + "loc": { + "start": { + "line": 646, + "column": 16 + }, + "end": { + "line": 646, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21093, + "end": 21094, + "loc": { + "start": { + "line": 646, + "column": 23 + }, + "end": { + "line": 646, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "layoutName", + "start": 21094, + "end": 21104, + "loc": { + "start": { + "line": 646, + "column": 24 + }, + "end": { + "line": 646, + "column": 34 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21104, + "end": 21105, + "loc": { + "start": { + "line": 646, + "column": 34 + }, + "end": { + "line": 646, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21105, + "end": 21106, + "loc": { + "start": { + "line": 646, + "column": 35 + }, + "end": { + "line": 646, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 21106, + "end": 21113, + "loc": { + "start": { + "line": 646, + "column": 36 + }, + "end": { + "line": 646, + "column": 43 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21113, + "end": 21114, + "loc": { + "start": { + "line": 646, + "column": 43 + }, + "end": { + "line": 646, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21114, + "end": 21115, + "loc": { + "start": { + "line": 646, + "column": 44 + }, + "end": { + "line": 646, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "row", + "start": 21115, + "end": 21118, + "loc": { + "start": { + "line": 646, + "column": 45 + }, + "end": { + "line": 646, + "column": 48 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21118, + "end": 21119, + "loc": { + "start": { + "line": 646, + "column": 48 + }, + "end": { + "line": 646, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rIndex", + "start": 21120, + "end": 21126, + "loc": { + "start": { + "line": 646, + "column": 50 + }, + "end": { + "line": 646, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21126, + "end": 21127, + "loc": { + "start": { + "line": 646, + "column": 56 + }, + "end": { + "line": 646, + "column": 57 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21128, + "end": 21130, + "loc": { + "start": { + "line": 646, + "column": 58 + }, + "end": { + "line": 646, + "column": 60 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21131, + "end": 21132, + "loc": { + "start": { + "line": 646, + "column": 61 + }, + "end": { + "line": 646, + "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": 21140, + "end": 21143, + "loc": { + "start": { + "line": 647, + "column": 6 + }, + "end": { + "line": 647, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rowArray", + "start": 21144, + "end": 21152, + "loc": { + "start": { + "line": 647, + "column": 10 + }, + "end": { + "line": 647, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 21153, + "end": 21154, + "loc": { + "start": { + "line": 647, + "column": 19 + }, + "end": { + "line": 647, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "row", + "start": 21155, + "end": 21158, + "loc": { + "start": { + "line": 647, + "column": 21 + }, + "end": { + "line": 647, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21158, + "end": 21159, + "loc": { + "start": { + "line": 647, + "column": 24 + }, + "end": { + "line": 647, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "split", + "start": 21159, + "end": 21164, + "loc": { + "start": { + "line": 647, + "column": 25 + }, + "end": { + "line": 647, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21164, + "end": 21165, + "loc": { + "start": { + "line": 647, + "column": 30 + }, + "end": { + "line": 647, + "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": 21165, + "end": 21168, + "loc": { + "start": { + "line": 647, + "column": 31 + }, + "end": { + "line": 647, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21168, + "end": 21169, + "loc": { + "start": { + "line": 647, + "column": 34 + }, + "end": { + "line": 647, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21169, + "end": 21170, + "loc": { + "start": { + "line": 647, + "column": 35 + }, + "end": { + "line": 647, + "column": 36 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Creating empty row\r\n ", + "start": 21180, + "end": 21223, + "loc": { + "start": { + "line": 649, + "column": 6 + }, + "end": { + "line": 651, + "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": 21231, + "end": 21234, + "loc": { + "start": { + "line": 652, + "column": 6 + }, + "end": { + "line": 652, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rowDOM", + "start": 21235, + "end": 21241, + "loc": { + "start": { + "line": 652, + "column": 10 + }, + "end": { + "line": 652, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 21242, + "end": 21243, + "loc": { + "start": { + "line": 652, + "column": 17 + }, + "end": { + "line": 652, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "document", + "start": 21244, + "end": 21252, + "loc": { + "start": { + "line": 652, + "column": 19 + }, + "end": { + "line": 652, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21252, + "end": 21253, + "loc": { + "start": { + "line": 652, + "column": 27 + }, + "end": { + "line": 652, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createElement", + "start": 21253, + "end": 21266, + "loc": { + "start": { + "line": 652, + "column": 28 + }, + "end": { + "line": 652, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21266, + "end": 21267, + "loc": { + "start": { + "line": 652, + "column": 41 + }, + "end": { + "line": 652, + "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": 21267, + "end": 21272, + "loc": { + "start": { + "line": 652, + "column": 42 + }, + "end": { + "line": 652, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21272, + "end": 21273, + "loc": { + "start": { + "line": 652, + "column": 47 + }, + "end": { + "line": 652, + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21273, + "end": 21274, + "loc": { + "start": { + "line": 652, + "column": 48 + }, + "end": { + "line": 652, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rowDOM", + "start": 21282, + "end": 21288, + "loc": { + "start": { + "line": 653, + "column": 6 + }, + "end": { + "line": 653, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21288, + "end": 21289, + "loc": { + "start": { + "line": 653, + "column": 12 + }, + "end": { + "line": 653, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "className", + "start": 21289, + "end": 21298, + "loc": { + "start": { + "line": 653, + "column": 13 + }, + "end": { + "line": 653, + "column": 22 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 21299, + "end": 21301, + "loc": { + "start": { + "line": 653, + "column": 23 + }, + "end": { + "line": 653, + "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": 21302, + "end": 21310, + "loc": { + "start": { + "line": 653, + "column": 26 + }, + "end": { + "line": 653, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21310, + "end": 21311, + "loc": { + "start": { + "line": 653, + "column": 34 + }, + "end": { + "line": 653, + "column": 35 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Iterating through each button in row\r\n ", + "start": 21321, + "end": 21382, + "loc": { + "start": { + "line": 655, + "column": 6 + }, + "end": { + "line": 657, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rowArray", + "start": 21390, + "end": 21398, + "loc": { + "start": { + "line": 658, + "column": 6 + }, + "end": { + "line": 658, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21398, + "end": 21399, + "loc": { + "start": { + "line": 658, + "column": 14 + }, + "end": { + "line": 658, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 21399, + "end": 21406, + "loc": { + "start": { + "line": 658, + "column": 15 + }, + "end": { + "line": 658, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21406, + "end": 21407, + "loc": { + "start": { + "line": 658, + "column": 22 + }, + "end": { + "line": 658, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21407, + "end": 21408, + "loc": { + "start": { + "line": 658, + "column": 23 + }, + "end": { + "line": 658, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 21408, + "end": 21414, + "loc": { + "start": { + "line": 658, + "column": 24 + }, + "end": { + "line": 658, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21414, + "end": 21415, + "loc": { + "start": { + "line": 658, + "column": 30 + }, + "end": { + "line": 658, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bIndex", + "start": 21416, + "end": 21422, + "loc": { + "start": { + "line": 658, + "column": 32 + }, + "end": { + "line": 658, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21422, + "end": 21423, + "loc": { + "start": { + "line": 658, + "column": 38 + }, + "end": { + "line": 658, + "column": 39 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21424, + "end": 21426, + "loc": { + "start": { + "line": 658, + "column": 40 + }, + "end": { + "line": 658, + "column": 42 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21427, + "end": 21428, + "loc": { + "start": { + "line": 658, + "column": 43 + }, + "end": { + "line": 658, + "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": 21438, + "end": 21441, + "loc": { + "start": { + "line": 659, + "column": 8 + }, + "end": { + "line": 659, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fctBtnClass", + "start": 21442, + "end": 21453, + "loc": { + "start": { + "line": 659, + "column": 12 + }, + "end": { + "line": 659, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 21454, + "end": 21455, + "loc": { + "start": { + "line": 659, + "column": 24 + }, + "end": { + "line": 659, + "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": 21456, + "end": 21460, + "loc": { + "start": { + "line": 659, + "column": 26 + }, + "end": { + "line": 659, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21460, + "end": 21461, + "loc": { + "start": { + "line": 659, + "column": 30 + }, + "end": { + "line": 659, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "utilities", + "start": 21461, + "end": 21470, + "loc": { + "start": { + "line": 659, + "column": 31 + }, + "end": { + "line": 659, + "column": 40 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21470, + "end": 21471, + "loc": { + "start": { + "line": 659, + "column": 40 + }, + "end": { + "line": 659, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getButtonClass", + "start": 21471, + "end": 21485, + "loc": { + "start": { + "line": 659, + "column": 41 + }, + "end": { + "line": 659, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21485, + "end": 21486, + "loc": { + "start": { + "line": 659, + "column": 55 + }, + "end": { + "line": 659, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 21486, + "end": 21492, + "loc": { + "start": { + "line": 659, + "column": 56 + }, + "end": { + "line": 659, + "column": 62 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21492, + "end": 21493, + "loc": { + "start": { + "line": 659, + "column": 62 + }, + "end": { + "line": 659, + "column": 63 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21493, + "end": 21494, + "loc": { + "start": { + "line": 659, + "column": 63 + }, + "end": { + "line": 659, "column": 64 } } @@ -120905,15 +140244,15 @@ "updateContext": null }, "value": "let", - "start": 19310, - "end": 19313, + "start": 21504, + "end": 21507, "loc": { "start": { - "line": 573, + "line": 660, "column": 8 }, "end": { - "line": 573, + "line": 660, "column": 11 } } @@ -120931,15 +140270,15 @@ "binop": null }, "value": "buttonThemeClass", - "start": 19314, - "end": 19330, + "start": 21508, + "end": 21524, "loc": { "start": { - "line": 573, + "line": 660, "column": 12 }, "end": { - "line": 573, + "line": 660, "column": 28 } } @@ -120958,15 +140297,15 @@ "updateContext": null }, "value": "=", - "start": 19331, - "end": 19332, + "start": 21525, + "end": 21526, "loc": { "start": { - "line": 573, + "line": 660, "column": 29 }, "end": { - "line": 573, + "line": 660, "column": 30 } } @@ -120984,15 +140323,15 @@ "binop": null }, "value": "buttonThemesParsed", - "start": 19333, - "end": 19351, + "start": 21527, + "end": 21545, "loc": { "start": { - "line": 573, + "line": 660, "column": 31 }, "end": { - "line": 573, + "line": 660, "column": 49 } } @@ -121010,15 +140349,15 @@ "binop": null, "updateContext": null }, - "start": 19351, - "end": 19352, + "start": 21545, + "end": 21546, "loc": { "start": { - "line": 573, + "line": 660, "column": 49 }, "end": { - "line": 573, + "line": 660, "column": 50 } } @@ -121036,15 +140375,15 @@ "binop": null }, "value": "button", - "start": 19352, - "end": 19358, + "start": 21546, + "end": 21552, "loc": { "start": { - "line": 573, + "line": 660, "column": 50 }, "end": { - "line": 573, + "line": 660, "column": 56 } } @@ -121062,15 +140401,15 @@ "binop": null, "updateContext": null }, - "start": 19358, - "end": 19359, + "start": 21552, + "end": 21553, "loc": { "start": { - "line": 573, + "line": 660, "column": 56 }, "end": { - "line": 573, + "line": 660, "column": 57 } } @@ -121088,15 +140427,15 @@ "binop": null, "updateContext": null }, - "start": 19359, - "end": 19360, + "start": 21553, + "end": 21554, "loc": { "start": { - "line": 573, + "line": 660, "column": 57 }, "end": { - "line": 573, + "line": 660, "column": 58 } } @@ -121116,15 +140455,15 @@ "updateContext": null }, "value": "let", - "start": 19370, - "end": 19373, + "start": 21564, + "end": 21567, "loc": { "start": { - "line": 574, + "line": 661, "column": 8 }, "end": { - "line": 574, + "line": 661, "column": 11 } } @@ -121142,15 +140481,15 @@ "binop": null }, "value": "buttonDisplayName", - "start": 19374, - "end": 19391, + "start": 21568, + "end": 21585, "loc": { "start": { - "line": 574, + "line": 661, "column": 12 }, "end": { - "line": 574, + "line": 661, "column": 29 } } @@ -121169,15 +140508,15 @@ "updateContext": null }, "value": "=", - "start": 19392, - "end": 19393, + "start": 21586, + "end": 21587, "loc": { "start": { - "line": 574, + "line": 661, "column": 30 }, "end": { - "line": 574, + "line": 661, "column": 31 } } @@ -121197,15 +140536,15 @@ "updateContext": null }, "value": "this", - "start": 19394, - "end": 19398, + "start": 21588, + "end": 21592, "loc": { "start": { - "line": 574, + "line": 661, "column": 32 }, "end": { - "line": 574, + "line": 661, "column": 36 } } @@ -121223,15 +140562,15 @@ "binop": null, "updateContext": null }, - "start": 19398, - "end": 19399, + "start": 21592, + "end": 21593, "loc": { "start": { - "line": 574, + "line": 661, "column": 36 }, "end": { - "line": 574, + "line": 661, "column": 37 } } @@ -121249,15 +140588,15 @@ "binop": null }, "value": "utilities", - "start": 19399, - "end": 19408, + "start": 21593, + "end": 21602, "loc": { "start": { - "line": 574, + "line": 661, "column": 37 }, "end": { - "line": 574, + "line": 661, "column": 46 } } @@ -121275,15 +140614,15 @@ "binop": null, "updateContext": null }, - "start": 19408, - "end": 19409, + "start": 21602, + "end": 21603, "loc": { "start": { - "line": 574, + "line": 661, "column": 46 }, "end": { - "line": 574, + "line": 661, "column": 47 } } @@ -121301,15 +140640,15 @@ "binop": null }, "value": "getButtonDisplayName", - "start": 19409, - "end": 19429, + "start": 21603, + "end": 21623, "loc": { "start": { - "line": 574, + "line": 661, "column": 47 }, "end": { - "line": 574, + "line": 661, "column": 67 } } @@ -121326,15 +140665,15 @@ "postfix": false, "binop": null }, - "start": 19429, - "end": 19430, + "start": 21623, + "end": 21624, "loc": { "start": { - "line": 574, + "line": 661, "column": 67 }, "end": { - "line": 574, + "line": 661, "column": 68 } } @@ -121352,15 +140691,15 @@ "binop": null }, "value": "button", - "start": 19430, - "end": 19436, + "start": 21624, + "end": 21630, "loc": { "start": { - "line": 574, + "line": 661, "column": 68 }, "end": { - "line": 574, + "line": 661, "column": 74 } } @@ -121378,15 +140717,15 @@ "binop": null, "updateContext": null }, - "start": 19436, - "end": 19437, + "start": 21630, + "end": 21631, "loc": { "start": { - "line": 574, + "line": 661, "column": 74 }, "end": { - "line": 574, + "line": 661, "column": 75 } } @@ -121406,15 +140745,15 @@ "updateContext": null }, "value": "this", - "start": 19438, - "end": 19442, + "start": 21632, + "end": 21636, "loc": { "start": { - "line": 574, + "line": 661, "column": 76 }, "end": { - "line": 574, + "line": 661, "column": 80 } } @@ -121432,15 +140771,15 @@ "binop": null, "updateContext": null }, - "start": 19442, - "end": 19443, + "start": 21636, + "end": 21637, "loc": { "start": { - "line": 574, + "line": 661, "column": 80 }, "end": { - "line": 574, + "line": 661, "column": 81 } } @@ -121458,15 +140797,15 @@ "binop": null }, "value": "options", - "start": 19443, - "end": 19450, + "start": 21637, + "end": 21644, "loc": { "start": { - "line": 574, + "line": 661, "column": 81 }, "end": { - "line": 574, + "line": 661, "column": 88 } } @@ -121484,15 +140823,15 @@ "binop": null, "updateContext": null }, - "start": 19450, - "end": 19451, + "start": 21644, + "end": 21645, "loc": { "start": { - "line": 574, + "line": 661, "column": 88 }, "end": { - "line": 574, + "line": 661, "column": 89 } } @@ -121510,15 +140849,15 @@ "binop": null }, "value": "display", - "start": 19451, - "end": 19458, + "start": 21645, + "end": 21652, "loc": { "start": { - "line": 574, + "line": 661, "column": 89 }, "end": { - "line": 574, + "line": 661, "column": 96 } } @@ -121536,15 +140875,15 @@ "binop": null, "updateContext": null }, - "start": 19458, - "end": 19459, + "start": 21652, + "end": 21653, "loc": { "start": { - "line": 574, + "line": 661, "column": 96 }, "end": { - "line": 574, + "line": 661, "column": 97 } } @@ -121564,15 +140903,15 @@ "updateContext": null }, "value": "this", - "start": 19460, - "end": 19464, + "start": 21654, + "end": 21658, "loc": { "start": { - "line": 574, + "line": 661, "column": 98 }, "end": { - "line": 574, + "line": 661, "column": 102 } } @@ -121590,15 +140929,15 @@ "binop": null, "updateContext": null }, - "start": 19464, - "end": 19465, + "start": 21658, + "end": 21659, "loc": { "start": { - "line": 574, + "line": 661, "column": 102 }, "end": { - "line": 574, + "line": 661, "column": 103 } } @@ -121616,15 +140955,15 @@ "binop": null }, "value": "options", - "start": 19465, - "end": 19472, + "start": 21659, + "end": 21666, "loc": { "start": { - "line": 574, + "line": 661, "column": 103 }, "end": { - "line": 574, + "line": 661, "column": 110 } } @@ -121642,15 +140981,15 @@ "binop": null, "updateContext": null }, - "start": 19472, - "end": 19473, + "start": 21666, + "end": 21667, "loc": { "start": { - "line": 574, + "line": 661, "column": 110 }, "end": { - "line": 574, + "line": 661, "column": 111 } } @@ -121668,15 +141007,15 @@ "binop": null }, "value": "mergeDisplay", - "start": 19473, - "end": 19485, + "start": 21667, + "end": 21679, "loc": { "start": { - "line": 574, + "line": 661, "column": 111 }, "end": { - "line": 574, + "line": 661, "column": 123 } } @@ -121693,15 +141032,15 @@ "postfix": false, "binop": null }, - "start": 19485, - "end": 19486, + "start": 21679, + "end": 21680, "loc": { "start": { - "line": 574, + "line": 661, "column": 123 }, "end": { - "line": 574, + "line": 661, "column": 124 } } @@ -121719,15 +141058,15 @@ "binop": null, "updateContext": null }, - "start": 19486, - "end": 19487, + "start": 21680, + "end": 21681, "loc": { "start": { - "line": 574, + "line": 661, "column": 124 }, "end": { - "line": 574, + "line": 661, "column": 125 } } @@ -121735,15 +141074,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", - "start": 19499, - "end": 19543, + "start": 21693, + "end": 21737, "loc": { "start": { - "line": 576, + "line": 663, "column": 8 }, "end": { - "line": 578, + "line": 665, "column": 11 } } @@ -121763,15 +141102,15 @@ "updateContext": null }, "value": "var", - "start": 19553, - "end": 19556, + "start": 21747, + "end": 21750, "loc": { "start": { - "line": 579, + "line": 666, "column": 8 }, "end": { - "line": 579, + "line": 666, "column": 11 } } @@ -121789,15 +141128,15 @@ "binop": null }, "value": "buttonDOM", - "start": 19557, - "end": 19566, + "start": 21751, + "end": 21760, "loc": { "start": { - "line": 579, + "line": 666, "column": 12 }, "end": { - "line": 579, + "line": 666, "column": 21 } } @@ -121816,15 +141155,15 @@ "updateContext": null }, "value": "=", - "start": 19567, - "end": 19568, + "start": 21761, + "end": 21762, "loc": { "start": { - "line": 579, + "line": 666, "column": 22 }, "end": { - "line": 579, + "line": 666, "column": 23 } } @@ -121842,15 +141181,15 @@ "binop": null }, "value": "document", - "start": 19569, - "end": 19577, + "start": 21763, + "end": 21771, "loc": { "start": { - "line": 579, + "line": 666, "column": 24 }, "end": { - "line": 579, + "line": 666, "column": 32 } } @@ -121868,15 +141207,15 @@ "binop": null, "updateContext": null }, - "start": 19577, - "end": 19578, + "start": 21771, + "end": 21772, "loc": { "start": { - "line": 579, + "line": 666, "column": 32 }, "end": { - "line": 579, + "line": 666, "column": 33 } } @@ -121894,15 +141233,15 @@ "binop": null }, "value": "createElement", - "start": 19578, - "end": 19591, + "start": 21772, + "end": 21785, "loc": { "start": { - "line": 579, + "line": 666, "column": 33 }, "end": { - "line": 579, + "line": 666, "column": 46 } } @@ -121919,15 +141258,15 @@ "postfix": false, "binop": null }, - "start": 19591, - "end": 19592, + "start": 21785, + "end": 21786, "loc": { "start": { - "line": 579, + "line": 666, "column": 46 }, "end": { - "line": 579, + "line": 666, "column": 47 } } @@ -121946,15 +141285,15 @@ "updateContext": null }, "value": "div", - "start": 19592, - "end": 19597, + "start": 21786, + "end": 21791, "loc": { "start": { - "line": 579, + "line": 666, "column": 47 }, "end": { - "line": 579, + "line": 666, "column": 52 } } @@ -121971,15 +141310,15 @@ "postfix": false, "binop": null }, - "start": 19597, - "end": 19598, + "start": 21791, + "end": 21792, "loc": { "start": { - "line": 579, + "line": 666, "column": 52 }, "end": { - "line": 579, + "line": 666, "column": 53 } } @@ -121997,15 +141336,15 @@ "binop": null, "updateContext": null }, - "start": 19598, - "end": 19599, + "start": 21792, + "end": 21793, "loc": { "start": { - "line": 579, + "line": 666, "column": 53 }, "end": { - "line": 579, + "line": 666, "column": 54 } } @@ -122023,15 +141362,15 @@ "binop": null }, "value": "buttonDOM", - "start": 19609, - "end": 19618, + "start": 21803, + "end": 21812, "loc": { "start": { - "line": 580, + "line": 667, "column": 8 }, "end": { - "line": 580, + "line": 667, "column": 17 } } @@ -122049,15 +141388,15 @@ "binop": null, "updateContext": null }, - "start": 19618, - "end": 19619, + "start": 21812, + "end": 21813, "loc": { "start": { - "line": 580, + "line": 667, "column": 17 }, "end": { - "line": 580, + "line": 667, "column": 18 } } @@ -122075,15 +141414,15 @@ "binop": null }, "value": "className", - "start": 19619, - "end": 19628, + "start": 21813, + "end": 21822, "loc": { "start": { - "line": 580, + "line": 667, "column": 18 }, "end": { - "line": 580, + "line": 667, "column": 27 } } @@ -122102,15 +141441,15 @@ "updateContext": null }, "value": "+=", - "start": 19629, - "end": 19631, + "start": 21823, + "end": 21825, "loc": { "start": { - "line": 580, + "line": 667, "column": 28 }, "end": { - "line": 580, + "line": 667, "column": 30 } } @@ -122127,15 +141466,15 @@ "postfix": false, "binop": null }, - "start": 19632, - "end": 19633, + "start": 21826, + "end": 21827, "loc": { "start": { - "line": 580, + "line": 667, "column": 31 }, "end": { - "line": 580, + "line": 667, "column": 32 } } @@ -122154,15 +141493,15 @@ "updateContext": null }, "value": "hg-button ", - "start": 19633, - "end": 19643, + "start": 21827, + "end": 21837, "loc": { "start": { - "line": 580, + "line": 667, "column": 32 }, "end": { - "line": 580, + "line": 667, "column": 42 } } @@ -122179,15 +141518,15 @@ "postfix": false, "binop": null }, - "start": 19643, - "end": 19645, + "start": 21837, + "end": 21839, "loc": { "start": { - "line": 580, + "line": 667, "column": 42 }, "end": { - "line": 580, + "line": 667, "column": 44 } } @@ -122205,15 +141544,15 @@ "binop": null }, "value": "fctBtnClass", - "start": 19645, - "end": 19656, + "start": 21839, + "end": 21850, "loc": { "start": { - "line": 580, + "line": 667, "column": 44 }, "end": { - "line": 580, + "line": 667, "column": 55 } } @@ -122230,15 +141569,15 @@ "postfix": false, "binop": null }, - "start": 19656, - "end": 19657, + "start": 21850, + "end": 21851, "loc": { "start": { - "line": 580, + "line": 667, "column": 55 }, "end": { - "line": 580, + "line": 667, "column": 56 } } @@ -122257,15 +141596,15 @@ "updateContext": null }, "value": "", - "start": 19657, - "end": 19657, + "start": 21851, + "end": 21851, "loc": { "start": { - "line": 580, + "line": 667, "column": 56 }, "end": { - "line": 580, + "line": 667, "column": 56 } } @@ -122282,15 +141621,15 @@ "postfix": false, "binop": null }, - "start": 19657, - "end": 19659, + "start": 21851, + "end": 21853, "loc": { "start": { - "line": 580, + "line": 667, "column": 56 }, "end": { - "line": 580, + "line": 667, "column": 58 } } @@ -122308,15 +141647,15 @@ "binop": null }, "value": "buttonThemeClass", - "start": 19659, - "end": 19675, + "start": 21853, + "end": 21869, "loc": { "start": { - "line": 580, + "line": 667, "column": 58 }, "end": { - "line": 580, + "line": 667, "column": 74 } } @@ -122334,15 +141673,15 @@ "binop": null, "updateContext": null }, - "start": 19676, - "end": 19677, + "start": 21870, + "end": 21871, "loc": { "start": { - "line": 580, + "line": 667, "column": 75 }, "end": { - "line": 580, + "line": 667, "column": 76 } } @@ -122361,15 +141700,15 @@ "updateContext": null }, "value": " ", - "start": 19678, - "end": 19681, + "start": 21872, + "end": 21875, "loc": { "start": { - "line": 580, + "line": 667, "column": 77 }, "end": { - "line": 580, + "line": 667, "column": 80 } } @@ -122388,15 +141727,15 @@ "updateContext": null }, "value": "+", - "start": 19681, - "end": 19682, + "start": 21875, + "end": 21876, "loc": { "start": { - "line": 580, + "line": 667, "column": 80 }, "end": { - "line": 580, + "line": 667, "column": 81 } } @@ -122414,15 +141753,15 @@ "binop": null }, "value": "buttonThemeClass", - "start": 19682, - "end": 19698, + "start": 21876, + "end": 21892, "loc": { "start": { - "line": 580, + "line": 667, "column": 81 }, "end": { - "line": 580, + "line": 667, "column": 97 } } @@ -122440,15 +141779,15 @@ "binop": null, "updateContext": null }, - "start": 19699, - "end": 19700, + "start": 21893, + "end": 21894, "loc": { "start": { - "line": 580, + "line": 667, "column": 98 }, "end": { - "line": 580, + "line": 667, "column": 99 } } @@ -122467,15 +141806,15 @@ "updateContext": null }, "value": "", - "start": 19701, - "end": 19703, + "start": 21895, + "end": 21897, "loc": { "start": { - "line": 580, + "line": 667, "column": 100 }, "end": { - "line": 580, + "line": 667, "column": 102 } } @@ -122492,15 +141831,15 @@ "postfix": false, "binop": null }, - "start": 19703, - "end": 19704, + "start": 21897, + "end": 21898, "loc": { "start": { - "line": 580, + "line": 667, "column": 102 }, "end": { - "line": 580, + "line": 667, "column": 103 } } @@ -122519,15 +141858,15 @@ "updateContext": null }, "value": "", - "start": 19704, - "end": 19704, + "start": 21898, + "end": 21898, "loc": { "start": { - "line": 580, + "line": 667, "column": 103 }, "end": { - "line": 580, + "line": 667, "column": 103 } } @@ -122544,15 +141883,15 @@ "postfix": false, "binop": null }, - "start": 19704, - "end": 19705, + "start": 21898, + "end": 21899, "loc": { "start": { - "line": 580, + "line": 667, "column": 103 }, "end": { - "line": 580, + "line": 667, "column": 104 } } @@ -122570,15 +141909,15 @@ "binop": null, "updateContext": null }, - "start": 19705, - "end": 19706, + "start": 21899, + "end": 21900, "loc": { "start": { - "line": 580, + "line": 667, "column": 104 }, "end": { - "line": 580, + "line": 667, "column": 105 } } @@ -122596,15 +141935,15 @@ "binop": null }, "value": "buttonDOM", - "start": 19716, - "end": 19725, + "start": 21910, + "end": 21919, "loc": { "start": { - "line": 581, + "line": 668, "column": 8 }, "end": { - "line": 581, + "line": 668, "column": 17 } } @@ -122622,15 +141961,15 @@ "binop": null, "updateContext": null }, - "start": 19725, - "end": 19726, + "start": 21919, + "end": 21920, "loc": { "start": { - "line": 581, + "line": 668, "column": 17 }, "end": { - "line": 581, + "line": 668, "column": 18 } } @@ -122648,15 +141987,15 @@ "binop": null }, "value": "onclick", - "start": 19726, - "end": 19733, + "start": 21920, + "end": 21927, "loc": { "start": { - "line": 581, + "line": 668, "column": 18 }, "end": { - "line": 581, + "line": 668, "column": 25 } } @@ -122675,15 +142014,15 @@ "updateContext": null }, "value": "=", - "start": 19734, - "end": 19735, + "start": 21928, + "end": 21929, "loc": { "start": { - "line": 581, + "line": 668, "column": 26 }, "end": { - "line": 581, + "line": 668, "column": 27 } } @@ -122700,15 +142039,15 @@ "postfix": false, "binop": null }, - "start": 19736, - "end": 19737, + "start": 21930, + "end": 21931, "loc": { "start": { - "line": 581, + "line": 668, "column": 28 }, "end": { - "line": 581, + "line": 668, "column": 29 } } @@ -122725,15 +142064,15 @@ "postfix": false, "binop": null }, - "start": 19737, - "end": 19738, + "start": 21931, + "end": 21932, "loc": { "start": { - "line": 581, + "line": 668, "column": 29 }, "end": { - "line": 581, + "line": 668, "column": 30 } } @@ -122751,15 +142090,15 @@ "binop": null, "updateContext": null }, - "start": 19739, - "end": 19741, + "start": 21933, + "end": 21935, "loc": { "start": { - "line": 581, + "line": 668, "column": 31 }, "end": { - "line": 581, + "line": 668, "column": 33 } } @@ -122779,15 +142118,15 @@ "updateContext": null }, "value": "this", - "start": 19742, - "end": 19746, + "start": 21936, + "end": 21940, "loc": { "start": { - "line": 581, + "line": 668, "column": 34 }, "end": { - "line": 581, + "line": 668, "column": 38 } } @@ -122805,15 +142144,15 @@ "binop": null, "updateContext": null }, - "start": 19746, - "end": 19747, + "start": 21940, + "end": 21941, "loc": { "start": { - "line": 581, + "line": 668, "column": 38 }, "end": { - "line": 581, + "line": 668, "column": 39 } } @@ -122831,15 +142170,15 @@ "binop": null }, "value": "handleButtonClicked", - "start": 19747, - "end": 19766, + "start": 21941, + "end": 21960, "loc": { "start": { - "line": 581, + "line": 668, "column": 39 }, "end": { - "line": 581, + "line": 668, "column": 58 } } @@ -122856,15 +142195,15 @@ "postfix": false, "binop": null }, - "start": 19766, - "end": 19767, + "start": 21960, + "end": 21961, "loc": { "start": { - "line": 581, + "line": 668, "column": 58 }, "end": { - "line": 581, + "line": 668, "column": 59 } } @@ -122882,15 +142221,15 @@ "binop": null }, "value": "button", - "start": 19767, - "end": 19773, + "start": 21961, + "end": 21967, "loc": { "start": { - "line": 581, + "line": 668, "column": 59 }, "end": { - "line": 581, + "line": 668, "column": 65 } } @@ -122907,15 +142246,15 @@ "postfix": false, "binop": null }, - "start": 19773, - "end": 19774, + "start": 21967, + "end": 21968, "loc": { "start": { - "line": 581, + "line": 668, "column": 65 }, "end": { - "line": 581, + "line": 668, "column": 66 } } @@ -122933,35 +142272,19 @@ "binop": null, "updateContext": null }, - "start": 19774, - "end": 19775, + "start": 21968, + "end": 21969, "loc": { "start": { - "line": 581, + "line": 668, "column": 66 }, "end": { - "line": 581, + "line": 668, "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", @@ -122975,15 +142298,15 @@ "binop": null }, "value": "buttonDOM", - "start": 19843, - "end": 19852, + "start": 21979, + "end": 21988, "loc": { "start": { - "line": 586, + "line": 669, "column": 8 }, "end": { - "line": 586, + "line": 669, "column": 17 } } @@ -123001,15 +142324,472 @@ "binop": null, "updateContext": null }, - "start": 19852, - "end": 19853, + "start": 21988, + "end": 21989, "loc": { "start": { - "line": 586, + "line": 669, "column": 17 }, "end": { - "line": 586, + "line": 669, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onmousedown", + "start": 21989, + "end": 22000, + "loc": { + "start": { + "line": 669, + "column": 18 + }, + "end": { + "line": 669, + "column": 29 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 22001, + "end": 22002, + "loc": { + "start": { + "line": 669, + "column": 30 + }, + "end": { + "line": 669, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22003, + "end": 22004, + "loc": { + "start": { + "line": 669, + "column": 32 + }, + "end": { + "line": 669, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "e", + "start": 22004, + "end": 22005, + "loc": { + "start": { + "line": 669, + "column": 33 + }, + "end": { + "line": 669, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22005, + "end": 22006, + "loc": { + "start": { + "line": 669, + "column": 34 + }, + "end": { + "line": 669, + "column": 35 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22007, + "end": 22009, + "loc": { + "start": { + "line": 669, + "column": 36 + }, + "end": { + "line": 669, + "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": 22010, + "end": 22014, + "loc": { + "start": { + "line": 669, + "column": 39 + }, + "end": { + "line": 669, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22014, + "end": 22015, + "loc": { + "start": { + "line": 669, + "column": 43 + }, + "end": { + "line": 669, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handleButtonMouseDown", + "start": 22015, + "end": 22036, + "loc": { + "start": { + "line": 669, + "column": 44 + }, + "end": { + "line": 669, + "column": 65 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22036, + "end": 22037, + "loc": { + "start": { + "line": 669, + "column": 65 + }, + "end": { + "line": 669, + "column": 66 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 22037, + "end": 22043, + "loc": { + "start": { + "line": 669, + "column": 66 + }, + "end": { + "line": 669, + "column": 72 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22043, + "end": 22044, + "loc": { + "start": { + "line": 669, + "column": 72 + }, + "end": { + "line": 669, + "column": 73 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "e", + "start": 22045, + "end": 22046, + "loc": { + "start": { + "line": 669, + "column": 74 + }, + "end": { + "line": 669, + "column": 75 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22046, + "end": 22047, + "loc": { + "start": { + "line": 669, + "column": 75 + }, + "end": { + "line": 669, + "column": 76 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22047, + "end": 22048, + "loc": { + "start": { + "line": 669, + "column": 76 + }, + "end": { + "line": 669, + "column": 77 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Adding identifier\r\n ", + "start": 22060, + "end": 22106, + "loc": { + "start": { + "line": 671, + "column": 8 + }, + "end": { + "line": 673, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonDOM", + "start": 22116, + "end": 22125, + "loc": { + "start": { + "line": 674, + "column": 8 + }, + "end": { + "line": 674, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22125, + "end": 22126, + "loc": { + "start": { + "line": 674, + "column": 17 + }, + "end": { + "line": 674, "column": 18 } } @@ -123027,15 +142807,15 @@ "binop": null }, "value": "setAttribute", - "start": 19853, - "end": 19865, + "start": 22126, + "end": 22138, "loc": { "start": { - "line": 586, + "line": 674, "column": 18 }, "end": { - "line": 586, + "line": 674, "column": 30 } } @@ -123052,15 +142832,15 @@ "postfix": false, "binop": null }, - "start": 19865, - "end": 19866, + "start": 22138, + "end": 22139, "loc": { "start": { - "line": 586, + "line": 674, "column": 30 }, "end": { - "line": 586, + "line": 674, "column": 31 } } @@ -123079,15 +142859,15 @@ "updateContext": null }, "value": "data-skBtn", - "start": 19866, - "end": 19878, + "start": 22139, + "end": 22151, "loc": { "start": { - "line": 586, + "line": 674, "column": 31 }, "end": { - "line": 586, + "line": 674, "column": 43 } } @@ -123105,15 +142885,15 @@ "binop": null, "updateContext": null }, - "start": 19878, - "end": 19879, + "start": 22151, + "end": 22152, "loc": { "start": { - "line": 586, + "line": 674, "column": 43 }, "end": { - "line": 586, + "line": 674, "column": 44 } } @@ -123131,15 +142911,15 @@ "binop": null }, "value": "button", - "start": 19880, - "end": 19886, + "start": 22153, + "end": 22159, "loc": { "start": { - "line": 586, + "line": 674, "column": 45 }, "end": { - "line": 586, + "line": 674, "column": 51 } } @@ -123156,15 +142936,15 @@ "postfix": false, "binop": null }, - "start": 19886, - "end": 19887, + "start": 22159, + "end": 22160, "loc": { "start": { - "line": 586, + "line": 674, "column": 51 }, "end": { - "line": 586, + "line": 674, "column": 52 } } @@ -123182,15 +142962,15 @@ "binop": null, "updateContext": null }, - "start": 19887, - "end": 19888, + "start": 22160, + "end": 22161, "loc": { "start": { - "line": 586, + "line": 674, "column": 52 }, "end": { - "line": 586, + "line": 674, "column": 53 } } @@ -123198,15 +142978,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": 19900, - "end": 20055, + "start": 22173, + "end": 22328, "loc": { "start": { - "line": 588, + "line": 676, "column": 8 }, "end": { - "line": 591, + "line": 679, "column": 11 } } @@ -123226,15 +143006,15 @@ "updateContext": null }, "value": "let", - "start": 20065, - "end": 20068, + "start": 22338, + "end": 22341, "loc": { "start": { - "line": 592, + "line": 680, "column": 8 }, "end": { - "line": 592, + "line": 680, "column": 11 } } @@ -123252,15 +143032,15 @@ "binop": null }, "value": "buttonUID", - "start": 20069, - "end": 20078, + "start": 22342, + "end": 22351, "loc": { "start": { - "line": 592, + "line": 680, "column": 12 }, "end": { - "line": 592, + "line": 680, "column": 21 } } @@ -123279,15 +143059,15 @@ "updateContext": null }, "value": "=", - "start": 20079, - "end": 20080, + "start": 22352, + "end": 22353, "loc": { "start": { - "line": 592, + "line": 680, "column": 22 }, "end": { - "line": 592, + "line": 680, "column": 23 } } @@ -123304,15 +143084,15 @@ "postfix": false, "binop": null }, - "start": 20081, - "end": 20082, + "start": 22354, + "end": 22355, "loc": { "start": { - "line": 592, + "line": 680, "column": 24 }, "end": { - "line": 592, + "line": 680, "column": 25 } } @@ -123331,15 +143111,15 @@ "updateContext": null }, "value": "", - "start": 20082, - "end": 20082, + "start": 22355, + "end": 22355, "loc": { "start": { - "line": 592, + "line": 680, "column": 25 }, "end": { - "line": 592, + "line": 680, "column": 25 } } @@ -123356,15 +143136,15 @@ "postfix": false, "binop": null }, - "start": 20082, - "end": 20084, + "start": 22355, + "end": 22357, "loc": { "start": { - "line": 592, + "line": 680, "column": 25 }, "end": { - "line": 592, + "line": 680, "column": 27 } } @@ -123384,15 +143164,15 @@ "updateContext": null }, "value": "this", - "start": 20084, - "end": 20088, + "start": 22357, + "end": 22361, "loc": { "start": { - "line": 592, + "line": 680, "column": 27 }, "end": { - "line": 592, + "line": 680, "column": 31 } } @@ -123410,15 +143190,15 @@ "binop": null, "updateContext": null }, - "start": 20088, - "end": 20089, + "start": 22361, + "end": 22362, "loc": { "start": { - "line": 592, + "line": 680, "column": 31 }, "end": { - "line": 592, + "line": 680, "column": 32 } } @@ -123436,15 +143216,15 @@ "binop": null }, "value": "options", - "start": 20089, - "end": 20096, + "start": 22362, + "end": 22369, "loc": { "start": { - "line": 592, + "line": 680, "column": 32 }, "end": { - "line": 592, + "line": 680, "column": 39 } } @@ -123462,15 +143242,15 @@ "binop": null, "updateContext": null }, - "start": 20096, - "end": 20097, + "start": 22369, + "end": 22370, "loc": { "start": { - "line": 592, + "line": 680, "column": 39 }, "end": { - "line": 592, + "line": 680, "column": 40 } } @@ -123488,15 +143268,15 @@ "binop": null }, "value": "layoutName", - "start": 20097, - "end": 20107, + "start": 22370, + "end": 22380, "loc": { "start": { - "line": 592, + "line": 680, "column": 40 }, "end": { - "line": 592, + "line": 680, "column": 50 } } @@ -123513,15 +143293,15 @@ "postfix": false, "binop": null }, - "start": 20107, - "end": 20108, + "start": 22380, + "end": 22381, "loc": { "start": { - "line": 592, + "line": 680, "column": 50 }, "end": { - "line": 592, + "line": 680, "column": 51 } } @@ -123540,15 +143320,15 @@ "updateContext": null }, "value": "-r", - "start": 20108, - "end": 20110, + "start": 22381, + "end": 22383, "loc": { "start": { - "line": 592, + "line": 680, "column": 51 }, "end": { - "line": 592, + "line": 680, "column": 53 } } @@ -123565,15 +143345,15 @@ "postfix": false, "binop": null }, - "start": 20110, - "end": 20112, + "start": 22383, + "end": 22385, "loc": { "start": { - "line": 592, + "line": 680, "column": 53 }, "end": { - "line": 592, + "line": 680, "column": 55 } } @@ -123591,15 +143371,15 @@ "binop": null }, "value": "rIndex", - "start": 20112, - "end": 20118, + "start": 22385, + "end": 22391, "loc": { "start": { - "line": 592, + "line": 680, "column": 55 }, "end": { - "line": 592, + "line": 680, "column": 61 } } @@ -123616,15 +143396,15 @@ "postfix": false, "binop": null }, - "start": 20118, - "end": 20119, + "start": 22391, + "end": 22392, "loc": { "start": { - "line": 592, + "line": 680, "column": 61 }, "end": { - "line": 592, + "line": 680, "column": 62 } } @@ -123643,15 +143423,15 @@ "updateContext": null }, "value": "b", - "start": 20119, - "end": 20120, + "start": 22392, + "end": 22393, "loc": { "start": { - "line": 592, + "line": 680, "column": 62 }, "end": { - "line": 592, + "line": 680, "column": 63 } } @@ -123668,15 +143448,15 @@ "postfix": false, "binop": null }, - "start": 20120, - "end": 20122, + "start": 22393, + "end": 22395, "loc": { "start": { - "line": 592, + "line": 680, "column": 63 }, "end": { - "line": 592, + "line": 680, "column": 65 } } @@ -123694,15 +143474,15 @@ "binop": null }, "value": "bIndex", - "start": 20122, - "end": 20128, + "start": 22395, + "end": 22401, "loc": { "start": { - "line": 592, + "line": 680, "column": 65 }, "end": { - "line": 592, + "line": 680, "column": 71 } } @@ -123719,15 +143499,15 @@ "postfix": false, "binop": null }, - "start": 20128, - "end": 20129, + "start": 22401, + "end": 22402, "loc": { "start": { - "line": 592, + "line": 680, "column": 71 }, "end": { - "line": 592, + "line": 680, "column": 72 } } @@ -123746,15 +143526,15 @@ "updateContext": null }, "value": "", - "start": 20129, - "end": 20129, + "start": 22402, + "end": 22402, "loc": { "start": { - "line": 592, + "line": 680, "column": 72 }, "end": { - "line": 592, + "line": 680, "column": 72 } } @@ -123771,15 +143551,15 @@ "postfix": false, "binop": null }, - "start": 20129, - "end": 20130, + "start": 22402, + "end": 22403, "loc": { "start": { - "line": 592, + "line": 680, "column": 72 }, "end": { - "line": 592, + "line": 680, "column": 73 } } @@ -123797,15 +143577,15 @@ "binop": null, "updateContext": null }, - "start": 20130, - "end": 20131, + "start": 22403, + "end": 22404, "loc": { "start": { - "line": 592, + "line": 680, "column": 73 }, "end": { - "line": 592, + "line": 680, "column": 74 } } @@ -123823,15 +143603,15 @@ "binop": null }, "value": "buttonDOM", - "start": 20141, - "end": 20150, + "start": 22414, + "end": 22423, "loc": { "start": { - "line": 593, + "line": 681, "column": 8 }, "end": { - "line": 593, + "line": 681, "column": 17 } } @@ -123849,15 +143629,15 @@ "binop": null, "updateContext": null }, - "start": 20150, - "end": 20151, + "start": 22423, + "end": 22424, "loc": { "start": { - "line": 593, + "line": 681, "column": 17 }, "end": { - "line": 593, + "line": 681, "column": 18 } } @@ -123875,15 +143655,15 @@ "binop": null }, "value": "setAttribute", - "start": 20151, - "end": 20163, + "start": 22424, + "end": 22436, "loc": { "start": { - "line": 593, + "line": 681, "column": 18 }, "end": { - "line": 593, + "line": 681, "column": 30 } } @@ -123900,15 +143680,15 @@ "postfix": false, "binop": null }, - "start": 20163, - "end": 20164, + "start": 22436, + "end": 22437, "loc": { "start": { - "line": 593, + "line": 681, "column": 30 }, "end": { - "line": 593, + "line": 681, "column": 31 } } @@ -123927,15 +143707,15 @@ "updateContext": null }, "value": "data-skBtnUID", - "start": 20164, - "end": 20179, + "start": 22437, + "end": 22452, "loc": { "start": { - "line": 593, + "line": 681, "column": 31 }, "end": { - "line": 593, + "line": 681, "column": 46 } } @@ -123953,15 +143733,15 @@ "binop": null, "updateContext": null }, - "start": 20179, - "end": 20180, + "start": 22452, + "end": 22453, "loc": { "start": { - "line": 593, + "line": 681, "column": 46 }, "end": { - "line": 593, + "line": 681, "column": 47 } } @@ -123979,15 +143759,15 @@ "binop": null }, "value": "buttonUID", - "start": 20181, - "end": 20190, + "start": 22454, + "end": 22463, "loc": { "start": { - "line": 593, + "line": 681, "column": 48 }, "end": { - "line": 593, + "line": 681, "column": 57 } } @@ -124004,15 +143784,15 @@ "postfix": false, "binop": null }, - "start": 20190, - "end": 20191, + "start": 22463, + "end": 22464, "loc": { "start": { - "line": 593, + "line": 681, "column": 57 }, "end": { - "line": 593, + "line": 681, "column": 58 } } @@ -124030,15 +143810,15 @@ "binop": null, "updateContext": null }, - "start": 20191, - "end": 20192, + "start": 22464, + "end": 22465, "loc": { "start": { - "line": 593, + "line": 681, "column": 58 }, "end": { - "line": 593, + "line": 681, "column": 59 } } @@ -124046,15 +143826,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", - "start": 20204, - "end": 20253, + "start": 22477, + "end": 22526, "loc": { "start": { - "line": 595, + "line": 683, "column": 8 }, "end": { - "line": 597, + "line": 685, "column": 11 } } @@ -124072,15 +143852,15 @@ "binop": null }, "value": "buttonDOM", - "start": 20263, - "end": 20272, + "start": 22536, + "end": 22545, "loc": { "start": { - "line": 598, + "line": 686, "column": 8 }, "end": { - "line": 598, + "line": 686, "column": 17 } } @@ -124098,15 +143878,15 @@ "binop": null, "updateContext": null }, - "start": 20272, - "end": 20273, + "start": 22545, + "end": 22546, "loc": { "start": { - "line": 598, + "line": 686, "column": 17 }, "end": { - "line": 598, + "line": 686, "column": 18 } } @@ -124124,15 +143904,15 @@ "binop": null }, "value": "setAttribute", - "start": 20273, - "end": 20285, + "start": 22546, + "end": 22558, "loc": { "start": { - "line": 598, + "line": 686, "column": 18 }, "end": { - "line": 598, + "line": 686, "column": 30 } } @@ -124149,15 +143929,15 @@ "postfix": false, "binop": null }, - "start": 20285, - "end": 20286, + "start": 22558, + "end": 22559, "loc": { "start": { - "line": 598, + "line": 686, "column": 30 }, "end": { - "line": 598, + "line": 686, "column": 31 } } @@ -124176,15 +143956,15 @@ "updateContext": null }, "value": "data-displayLabel", - "start": 20286, - "end": 20305, + "start": 22559, + "end": 22578, "loc": { "start": { - "line": 598, + "line": 686, "column": 31 }, "end": { - "line": 598, + "line": 686, "column": 50 } } @@ -124202,15 +143982,15 @@ "binop": null, "updateContext": null }, - "start": 20305, - "end": 20306, + "start": 22578, + "end": 22579, "loc": { "start": { - "line": 598, + "line": 686, "column": 50 }, "end": { - "line": 598, + "line": 686, "column": 51 } } @@ -124228,15 +144008,15 @@ "binop": null }, "value": "buttonDisplayName", - "start": 20307, - "end": 20324, + "start": 22580, + "end": 22597, "loc": { "start": { - "line": 598, + "line": 686, "column": 52 }, "end": { - "line": 598, + "line": 686, "column": 69 } } @@ -124253,15 +144033,15 @@ "postfix": false, "binop": null }, - "start": 20324, - "end": 20325, + "start": 22597, + "end": 22598, "loc": { "start": { - "line": 598, + "line": 686, "column": 69 }, "end": { - "line": 598, + "line": 686, "column": 70 } } @@ -124279,15 +144059,15 @@ "binop": null, "updateContext": null }, - "start": 20325, - "end": 20326, + "start": 22598, + "end": 22599, "loc": { "start": { - "line": 598, + "line": 686, "column": 70 }, "end": { - "line": 598, + "line": 686, "column": 71 } } @@ -124295,15 +144075,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", - "start": 20338, - "end": 20396, + "start": 22611, + "end": 22669, "loc": { "start": { - "line": 600, + "line": 688, "column": 8 }, "end": { - "line": 602, + "line": 690, "column": 11 } } @@ -124323,15 +144103,15 @@ "updateContext": null }, "value": "var", - "start": 20406, - "end": 20409, + "start": 22679, + "end": 22682, "loc": { "start": { - "line": 603, + "line": 691, "column": 8 }, "end": { - "line": 603, + "line": 691, "column": 11 } } @@ -124349,15 +144129,15 @@ "binop": null }, "value": "buttonSpanDOM", - "start": 20410, - "end": 20423, + "start": 22683, + "end": 22696, "loc": { "start": { - "line": 603, + "line": 691, "column": 12 }, "end": { - "line": 603, + "line": 691, "column": 25 } } @@ -124376,15 +144156,15 @@ "updateContext": null }, "value": "=", - "start": 20424, - "end": 20425, + "start": 22697, + "end": 22698, "loc": { "start": { - "line": 603, + "line": 691, "column": 26 }, "end": { - "line": 603, + "line": 691, "column": 27 } } @@ -124402,15 +144182,15 @@ "binop": null }, "value": "document", - "start": 20426, - "end": 20434, + "start": 22699, + "end": 22707, "loc": { "start": { - "line": 603, + "line": 691, "column": 28 }, "end": { - "line": 603, + "line": 691, "column": 36 } } @@ -124428,15 +144208,15 @@ "binop": null, "updateContext": null }, - "start": 20434, - "end": 20435, + "start": 22707, + "end": 22708, "loc": { "start": { - "line": 603, + "line": 691, "column": 36 }, "end": { - "line": 603, + "line": 691, "column": 37 } } @@ -124454,15 +144234,15 @@ "binop": null }, "value": "createElement", - "start": 20435, - "end": 20448, + "start": 22708, + "end": 22721, "loc": { "start": { - "line": 603, + "line": 691, "column": 37 }, "end": { - "line": 603, + "line": 691, "column": 50 } } @@ -124479,15 +144259,15 @@ "postfix": false, "binop": null }, - "start": 20448, - "end": 20449, + "start": 22721, + "end": 22722, "loc": { "start": { - "line": 603, + "line": 691, "column": 50 }, "end": { - "line": 603, + "line": 691, "column": 51 } } @@ -124506,15 +144286,15 @@ "updateContext": null }, "value": "span", - "start": 20449, - "end": 20455, + "start": 22722, + "end": 22728, "loc": { "start": { - "line": 603, + "line": 691, "column": 51 }, "end": { - "line": 603, + "line": 691, "column": 57 } } @@ -124531,15 +144311,15 @@ "postfix": false, "binop": null }, - "start": 20455, - "end": 20456, + "start": 22728, + "end": 22729, "loc": { "start": { - "line": 603, + "line": 691, "column": 57 }, "end": { - "line": 603, + "line": 691, "column": 58 } } @@ -124557,15 +144337,15 @@ "binop": null, "updateContext": null }, - "start": 20456, - "end": 20457, + "start": 22729, + "end": 22730, "loc": { "start": { - "line": 603, + "line": 691, "column": 58 }, "end": { - "line": 603, + "line": 691, "column": 59 } } @@ -124583,15 +144363,15 @@ "binop": null }, "value": "buttonSpanDOM", - "start": 20467, - "end": 20480, + "start": 22740, + "end": 22753, "loc": { "start": { - "line": 604, + "line": 692, "column": 8 }, "end": { - "line": 604, + "line": 692, "column": 21 } } @@ -124609,15 +144389,15 @@ "binop": null, "updateContext": null }, - "start": 20480, - "end": 20481, + "start": 22753, + "end": 22754, "loc": { "start": { - "line": 604, + "line": 692, "column": 21 }, "end": { - "line": 604, + "line": 692, "column": 22 } } @@ -124635,15 +144415,15 @@ "binop": null }, "value": "innerHTML", - "start": 20481, - "end": 20490, + "start": 22754, + "end": 22763, "loc": { "start": { - "line": 604, + "line": 692, "column": 22 }, "end": { - "line": 604, + "line": 692, "column": 31 } } @@ -124662,15 +144442,15 @@ "updateContext": null }, "value": "=", - "start": 20491, - "end": 20492, + "start": 22764, + "end": 22765, "loc": { "start": { - "line": 604, + "line": 692, "column": 32 }, "end": { - "line": 604, + "line": 692, "column": 33 } } @@ -124688,15 +144468,15 @@ "binop": null }, "value": "buttonDisplayName", - "start": 20493, - "end": 20510, + "start": 22766, + "end": 22783, "loc": { "start": { - "line": 604, + "line": 692, "column": 34 }, "end": { - "line": 604, + "line": 692, "column": 51 } } @@ -124714,15 +144494,15 @@ "binop": null, "updateContext": null }, - "start": 20510, - "end": 20511, + "start": 22783, + "end": 22784, "loc": { "start": { - "line": 604, + "line": 692, "column": 51 }, "end": { - "line": 604, + "line": 692, "column": 52 } } @@ -124740,15 +144520,15 @@ "binop": null }, "value": "buttonDOM", - "start": 20521, - "end": 20530, + "start": 22794, + "end": 22803, "loc": { "start": { - "line": 605, + "line": 693, "column": 8 }, "end": { - "line": 605, + "line": 693, "column": 17 } } @@ -124766,15 +144546,15 @@ "binop": null, "updateContext": null }, - "start": 20530, - "end": 20531, + "start": 22803, + "end": 22804, "loc": { "start": { - "line": 605, + "line": 693, "column": 17 }, "end": { - "line": 605, + "line": 693, "column": 18 } } @@ -124792,15 +144572,15 @@ "binop": null }, "value": "appendChild", - "start": 20531, - "end": 20542, + "start": 22804, + "end": 22815, "loc": { "start": { - "line": 605, + "line": 693, "column": 18 }, "end": { - "line": 605, + "line": 693, "column": 29 } } @@ -124817,15 +144597,15 @@ "postfix": false, "binop": null }, - "start": 20542, - "end": 20543, + "start": 22815, + "end": 22816, "loc": { "start": { - "line": 605, + "line": 693, "column": 29 }, "end": { - "line": 605, + "line": 693, "column": 30 } } @@ -124843,15 +144623,15 @@ "binop": null }, "value": "buttonSpanDOM", - "start": 20543, - "end": 20556, + "start": 22816, + "end": 22829, "loc": { "start": { - "line": 605, + "line": 693, "column": 30 }, "end": { - "line": 605, + "line": 693, "column": 43 } } @@ -124868,15 +144648,15 @@ "postfix": false, "binop": null }, - "start": 20556, - "end": 20557, + "start": 22829, + "end": 22830, "loc": { "start": { - "line": 605, + "line": 693, "column": 43 }, "end": { - "line": 605, + "line": 693, "column": 44 } } @@ -124894,15 +144674,15 @@ "binop": null, "updateContext": null }, - "start": 20557, - "end": 20558, + "start": 22830, + "end": 22831, "loc": { "start": { - "line": 605, + "line": 693, "column": 44 }, "end": { - "line": 605, + "line": 693, "column": 45 } } @@ -124910,15 +144690,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", - "start": 20570, - "end": 20623, + "start": 22843, + "end": 22896, "loc": { "start": { - "line": 607, + "line": 695, "column": 8 }, "end": { - "line": 609, + "line": 697, "column": 11 } } @@ -124938,15 +144718,15 @@ "updateContext": null }, "value": "if", - "start": 20633, - "end": 20635, + "start": 22906, + "end": 22908, "loc": { "start": { - "line": 610, + "line": 698, "column": 8 }, "end": { - "line": 610, + "line": 698, "column": 10 } } @@ -124963,15 +144743,15 @@ "postfix": false, "binop": null }, - "start": 20635, - "end": 20636, + "start": 22908, + "end": 22909, "loc": { "start": { - "line": 610, + "line": 698, "column": 10 }, "end": { - "line": 610, + "line": 698, "column": 11 } } @@ -124990,15 +144770,15 @@ "updateContext": null }, "value": "!", - "start": 20636, - "end": 20637, + "start": 22909, + "end": 22910, "loc": { "start": { - "line": 610, + "line": 698, "column": 11 }, "end": { - "line": 610, + "line": 698, "column": 12 } } @@ -125018,15 +144798,15 @@ "updateContext": null }, "value": "this", - "start": 20637, - "end": 20641, + "start": 22910, + "end": 22914, "loc": { "start": { - "line": 610, + "line": 698, "column": 12 }, "end": { - "line": 610, + "line": 698, "column": 16 } } @@ -125044,15 +144824,15 @@ "binop": null, "updateContext": null }, - "start": 20641, - "end": 20642, + "start": 22914, + "end": 22915, "loc": { "start": { - "line": 610, + "line": 698, "column": 16 }, "end": { - "line": 610, + "line": 698, "column": 17 } } @@ -125070,15 +144850,15 @@ "binop": null }, "value": "buttonElements", - "start": 20642, - "end": 20656, + "start": 22915, + "end": 22929, "loc": { "start": { - "line": 610, + "line": 698, "column": 17 }, "end": { - "line": 610, + "line": 698, "column": 31 } } @@ -125096,15 +144876,15 @@ "binop": null, "updateContext": null }, - "start": 20656, - "end": 20657, + "start": 22929, + "end": 22930, "loc": { "start": { - "line": 610, + "line": 698, "column": 31 }, "end": { - "line": 610, + "line": 698, "column": 32 } } @@ -125122,15 +144902,15 @@ "binop": null }, "value": "button", - "start": 20657, - "end": 20663, + "start": 22930, + "end": 22936, "loc": { "start": { - "line": 610, + "line": 698, "column": 32 }, "end": { - "line": 610, + "line": 698, "column": 38 } } @@ -125148,15 +144928,15 @@ "binop": null, "updateContext": null }, - "start": 20663, - "end": 20664, + "start": 22936, + "end": 22937, "loc": { "start": { - "line": 610, + "line": 698, "column": 38 }, "end": { - "line": 610, + "line": 698, "column": 39 } } @@ -125173,15 +144953,15 @@ "postfix": false, "binop": null }, - "start": 20664, - "end": 20665, + "start": 22937, + "end": 22938, "loc": { "start": { - "line": 610, + "line": 698, "column": 39 }, "end": { - "line": 610, + "line": 698, "column": 40 } } @@ -125201,15 +144981,15 @@ "updateContext": null }, "value": "this", - "start": 20677, - "end": 20681, + "start": 22950, + "end": 22954, "loc": { "start": { - "line": 611, + "line": 699, "column": 10 }, "end": { - "line": 611, + "line": 699, "column": 14 } } @@ -125227,15 +145007,15 @@ "binop": null, "updateContext": null }, - "start": 20681, - "end": 20682, + "start": 22954, + "end": 22955, "loc": { "start": { - "line": 611, + "line": 699, "column": 14 }, "end": { - "line": 611, + "line": 699, "column": 15 } } @@ -125253,15 +145033,15 @@ "binop": null }, "value": "buttonElements", - "start": 20682, - "end": 20696, + "start": 22955, + "end": 22969, "loc": { "start": { - "line": 611, + "line": 699, "column": 15 }, "end": { - "line": 611, + "line": 699, "column": 29 } } @@ -125279,15 +145059,15 @@ "binop": null, "updateContext": null }, - "start": 20696, - "end": 20697, + "start": 22969, + "end": 22970, "loc": { "start": { - "line": 611, + "line": 699, "column": 29 }, "end": { - "line": 611, + "line": 699, "column": 30 } } @@ -125305,15 +145085,15 @@ "binop": null }, "value": "button", - "start": 20697, - "end": 20703, + "start": 22970, + "end": 22976, "loc": { "start": { - "line": 611, + "line": 699, "column": 30 }, "end": { - "line": 611, + "line": 699, "column": 36 } } @@ -125331,15 +145111,15 @@ "binop": null, "updateContext": null }, - "start": 20703, - "end": 20704, + "start": 22976, + "end": 22977, "loc": { "start": { - "line": 611, + "line": 699, "column": 36 }, "end": { - "line": 611, + "line": 699, "column": 37 } } @@ -125358,15 +145138,15 @@ "updateContext": null }, "value": "=", - "start": 20705, - "end": 20706, + "start": 22978, + "end": 22979, "loc": { "start": { - "line": 611, + "line": 699, "column": 38 }, "end": { - "line": 611, + "line": 699, "column": 39 } } @@ -125384,15 +145164,15 @@ "binop": null, "updateContext": null }, - "start": 20707, - "end": 20708, + "start": 22980, + "end": 22981, "loc": { "start": { - "line": 611, + "line": 699, "column": 40 }, "end": { - "line": 611, + "line": 699, "column": 41 } } @@ -125410,15 +145190,15 @@ "binop": null, "updateContext": null }, - "start": 20708, - "end": 20709, + "start": 22981, + "end": 22982, "loc": { "start": { - "line": 611, + "line": 699, "column": 41 }, "end": { - "line": 611, + "line": 699, "column": 42 } } @@ -125436,15 +145216,15 @@ "binop": null, "updateContext": null }, - "start": 20709, - "end": 20710, + "start": 22982, + "end": 22983, "loc": { "start": { - "line": 611, + "line": 699, "column": 42 }, "end": { - "line": 611, + "line": 699, "column": 43 } } @@ -125464,15 +145244,15 @@ "updateContext": null }, "value": "this", - "start": 20722, - "end": 20726, + "start": 22995, + "end": 22999, "loc": { "start": { - "line": 613, + "line": 701, "column": 8 }, "end": { - "line": 613, + "line": 701, "column": 12 } } @@ -125490,15 +145270,15 @@ "binop": null, "updateContext": null }, - "start": 20726, - "end": 20727, + "start": 22999, + "end": 23000, "loc": { "start": { - "line": 613, + "line": 701, "column": 12 }, "end": { - "line": 613, + "line": 701, "column": 13 } } @@ -125516,15 +145296,15 @@ "binop": null }, "value": "buttonElements", - "start": 20727, - "end": 20741, + "start": 23000, + "end": 23014, "loc": { "start": { - "line": 613, + "line": 701, "column": 13 }, "end": { - "line": 613, + "line": 701, "column": 27 } } @@ -125542,15 +145322,15 @@ "binop": null, "updateContext": null }, - "start": 20741, - "end": 20742, + "start": 23014, + "end": 23015, "loc": { "start": { - "line": 613, + "line": 701, "column": 27 }, "end": { - "line": 613, + "line": 701, "column": 28 } } @@ -125568,15 +145348,15 @@ "binop": null }, "value": "button", - "start": 20742, - "end": 20748, + "start": 23015, + "end": 23021, "loc": { "start": { - "line": 613, + "line": 701, "column": 28 }, "end": { - "line": 613, + "line": 701, "column": 34 } } @@ -125594,15 +145374,15 @@ "binop": null, "updateContext": null }, - "start": 20748, - "end": 20749, + "start": 23021, + "end": 23022, "loc": { "start": { - "line": 613, + "line": 701, "column": 34 }, "end": { - "line": 613, + "line": 701, "column": 35 } } @@ -125620,15 +145400,15 @@ "binop": null, "updateContext": null }, - "start": 20749, - "end": 20750, + "start": 23022, + "end": 23023, "loc": { "start": { - "line": 613, + "line": 701, "column": 35 }, "end": { - "line": 613, + "line": 701, "column": 36 } } @@ -125646,15 +145426,15 @@ "binop": null }, "value": "push", - "start": 20750, - "end": 20754, + "start": 23023, + "end": 23027, "loc": { "start": { - "line": 613, + "line": 701, "column": 36 }, "end": { - "line": 613, + "line": 701, "column": 40 } } @@ -125671,15 +145451,15 @@ "postfix": false, "binop": null }, - "start": 20754, - "end": 20755, + "start": 23027, + "end": 23028, "loc": { "start": { - "line": 613, + "line": 701, "column": 40 }, "end": { - "line": 613, + "line": 701, "column": 41 } } @@ -125697,15 +145477,15 @@ "binop": null }, "value": "buttonDOM", - "start": 20755, - "end": 20764, + "start": 23028, + "end": 23037, "loc": { "start": { - "line": 613, + "line": 701, "column": 41 }, "end": { - "line": 613, + "line": 701, "column": 50 } } @@ -125722,15 +145502,15 @@ "postfix": false, "binop": null }, - "start": 20764, - "end": 20765, + "start": 23037, + "end": 23038, "loc": { "start": { - "line": 613, + "line": 701, "column": 50 }, "end": { - "line": 613, + "line": 701, "column": 51 } } @@ -125748,15 +145528,15 @@ "binop": null, "updateContext": null }, - "start": 20765, - "end": 20766, + "start": 23038, + "end": 23039, "loc": { "start": { - "line": 613, + "line": 701, "column": 51 }, "end": { - "line": 613, + "line": 701, "column": 52 } } @@ -125764,15 +145544,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", - "start": 20778, - "end": 20830, + "start": 23051, + "end": 23103, "loc": { "start": { - "line": 615, + "line": 703, "column": 8 }, "end": { - "line": 617, + "line": 705, "column": 11 } } @@ -125790,15 +145570,15 @@ "binop": null }, "value": "rowDOM", - "start": 20840, - "end": 20846, + "start": 23113, + "end": 23119, "loc": { "start": { - "line": 618, + "line": 706, "column": 8 }, "end": { - "line": 618, + "line": 706, "column": 14 } } @@ -125816,15 +145596,15 @@ "binop": null, "updateContext": null }, - "start": 20846, - "end": 20847, + "start": 23119, + "end": 23120, "loc": { "start": { - "line": 618, + "line": 706, "column": 14 }, "end": { - "line": 618, + "line": 706, "column": 15 } } @@ -125842,15 +145622,15 @@ "binop": null }, "value": "appendChild", - "start": 20847, - "end": 20858, + "start": 23120, + "end": 23131, "loc": { "start": { - "line": 618, + "line": 706, "column": 15 }, "end": { - "line": 618, + "line": 706, "column": 26 } } @@ -125867,15 +145647,15 @@ "postfix": false, "binop": null }, - "start": 20858, - "end": 20859, + "start": 23131, + "end": 23132, "loc": { "start": { - "line": 618, + "line": 706, "column": 26 }, "end": { - "line": 618, + "line": 706, "column": 27 } } @@ -125893,15 +145673,15 @@ "binop": null }, "value": "buttonDOM", - "start": 20859, - "end": 20868, + "start": 23132, + "end": 23141, "loc": { "start": { - "line": 618, + "line": 706, "column": 27 }, "end": { - "line": 618, + "line": 706, "column": 36 } } @@ -125918,15 +145698,15 @@ "postfix": false, "binop": null }, - "start": 20868, - "end": 20869, + "start": 23141, + "end": 23142, "loc": { "start": { - "line": 618, + "line": 706, "column": 36 }, "end": { - "line": 618, + "line": 706, "column": 37 } } @@ -125944,15 +145724,15 @@ "binop": null, "updateContext": null }, - "start": 20869, - "end": 20870, + "start": 23142, + "end": 23143, "loc": { "start": { - "line": 618, + "line": 706, "column": 37 }, "end": { - "line": 618, + "line": 706, "column": 38 } } @@ -125969,15 +145749,15 @@ "postfix": false, "binop": null }, - "start": 20880, - "end": 20881, + "start": 23153, + "end": 23154, "loc": { "start": { - "line": 620, + "line": 708, "column": 6 }, "end": { - "line": 620, + "line": 708, "column": 7 } } @@ -125994,15 +145774,15 @@ "postfix": false, "binop": null }, - "start": 20881, - "end": 20882, + "start": 23154, + "end": 23155, "loc": { "start": { - "line": 620, + "line": 708, "column": 7 }, "end": { - "line": 620, + "line": 708, "column": 8 } } @@ -126020,15 +145800,15 @@ "binop": null, "updateContext": null }, - "start": 20882, - "end": 20883, + "start": 23155, + "end": 23156, "loc": { "start": { - "line": 620, + "line": 708, "column": 8 }, "end": { - "line": 620, + "line": 708, "column": 9 } } @@ -126036,15 +145816,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", - "start": 20893, - "end": 20943, + "start": 23166, + "end": 23216, "loc": { "start": { - "line": 622, + "line": 710, "column": 6 }, "end": { - "line": 624, + "line": 712, "column": 9 } } @@ -126064,15 +145844,15 @@ "updateContext": null }, "value": "this", - "start": 20951, - "end": 20955, + "start": 23224, + "end": 23228, "loc": { "start": { - "line": 625, + "line": 713, "column": 6 }, "end": { - "line": 625, + "line": 713, "column": 10 } } @@ -126090,15 +145870,15 @@ "binop": null, "updateContext": null }, - "start": 20955, - "end": 20956, + "start": 23228, + "end": 23229, "loc": { "start": { - "line": 625, + "line": 713, "column": 10 }, "end": { - "line": 625, + "line": 713, "column": 11 } } @@ -126116,15 +145896,15 @@ "binop": null }, "value": "keyboardDOM", - "start": 20956, - "end": 20967, + "start": 23229, + "end": 23240, "loc": { "start": { - "line": 625, + "line": 713, "column": 11 }, "end": { - "line": 625, + "line": 713, "column": 22 } } @@ -126142,15 +145922,15 @@ "binop": null, "updateContext": null }, - "start": 20967, - "end": 20968, + "start": 23240, + "end": 23241, "loc": { "start": { - "line": 625, + "line": 713, "column": 22 }, "end": { - "line": 625, + "line": 713, "column": 23 } } @@ -126168,15 +145948,15 @@ "binop": null }, "value": "appendChild", - "start": 20968, - "end": 20979, + "start": 23241, + "end": 23252, "loc": { "start": { - "line": 625, + "line": 713, "column": 23 }, "end": { - "line": 625, + "line": 713, "column": 34 } } @@ -126193,15 +145973,15 @@ "postfix": false, "binop": null }, - "start": 20979, - "end": 20980, + "start": 23252, + "end": 23253, "loc": { "start": { - "line": 625, + "line": 713, "column": 34 }, "end": { - "line": 625, + "line": 713, "column": 35 } } @@ -126219,15 +145999,15 @@ "binop": null }, "value": "rowDOM", - "start": 20980, - "end": 20986, + "start": 23253, + "end": 23259, "loc": { "start": { - "line": 625, + "line": 713, "column": 35 }, "end": { - "line": 625, + "line": 713, "column": 41 } } @@ -126244,15 +146024,15 @@ "postfix": false, "binop": null }, - "start": 20986, - "end": 20987, + "start": 23259, + "end": 23260, "loc": { "start": { - "line": 625, + "line": 713, "column": 41 }, "end": { - "line": 625, + "line": 713, "column": 42 } } @@ -126270,15 +146050,15 @@ "binop": null, "updateContext": null }, - "start": 20987, - "end": 20988, + "start": 23260, + "end": 23261, "loc": { "start": { - "line": 625, + "line": 713, "column": 42 }, "end": { - "line": 625, + "line": 713, "column": 43 } } @@ -126295,15 +146075,15 @@ "postfix": false, "binop": null }, - "start": 20994, - "end": 20995, + "start": 23267, + "end": 23268, "loc": { "start": { - "line": 626, + "line": 714, "column": 4 }, "end": { - "line": 626, + "line": 714, "column": 5 } } @@ -126320,15 +146100,15 @@ "postfix": false, "binop": null }, - "start": 20995, - "end": 20996, + "start": 23268, + "end": 23269, "loc": { "start": { - "line": 626, + "line": 714, "column": 5 }, "end": { - "line": 626, + "line": 714, "column": 6 } } @@ -126346,15 +146126,15 @@ "binop": null, "updateContext": null }, - "start": 20996, - "end": 20997, + "start": 23269, + "end": 23270, "loc": { "start": { - "line": 626, + "line": 714, "column": 6 }, "end": { - "line": 626, + "line": 714, "column": 7 } } @@ -126362,15 +146142,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", - "start": 21005, - "end": 21042, + "start": 23278, + "end": 23315, "loc": { "start": { - "line": 628, + "line": 716, "column": 4 }, "end": { - "line": 630, + "line": 718, "column": 7 } } @@ -126390,15 +146170,15 @@ "updateContext": null }, "value": "this", - "start": 21048, - "end": 21052, + "start": 23321, + "end": 23325, "loc": { "start": { - "line": 631, + "line": 719, "column": 4 }, "end": { - "line": 631, + "line": 719, "column": 8 } } @@ -126416,15 +146196,15 @@ "binop": null, "updateContext": null }, - "start": 21052, - "end": 21053, + "start": 23325, + "end": 23326, "loc": { "start": { - "line": 631, + "line": 719, "column": 8 }, "end": { - "line": 631, + "line": 719, "column": 9 } } @@ -126442,15 +146222,15 @@ "binop": null }, "value": "onRender", - "start": 21053, - "end": 21061, + "start": 23326, + "end": 23334, "loc": { "start": { - "line": 631, + "line": 719, "column": 9 }, "end": { - "line": 631, + "line": 719, "column": 17 } } @@ -126467,15 +146247,15 @@ "postfix": false, "binop": null }, - "start": 21061, - "end": 21062, + "start": 23334, + "end": 23335, "loc": { "start": { - "line": 631, + "line": 719, "column": 17 }, "end": { - "line": 631, + "line": 719, "column": 18 } } @@ -126492,15 +146272,15 @@ "postfix": false, "binop": null }, - "start": 21062, - "end": 21063, + "start": 23335, + "end": 23336, "loc": { "start": { - "line": 631, + "line": 719, "column": 18 }, "end": { - "line": 631, + "line": 719, "column": 19 } } @@ -126518,15 +146298,15 @@ "binop": null, "updateContext": null }, - "start": 21063, - "end": 21064, + "start": 23336, + "end": 23337, "loc": { "start": { - "line": 631, + "line": 719, "column": 19 }, "end": { - "line": 631, + "line": 719, "column": 20 } } @@ -126546,15 +146326,15 @@ "updateContext": null }, "value": "if", - "start": 21072, - "end": 21074, + "start": 23345, + "end": 23347, "loc": { "start": { - "line": 633, + "line": 721, "column": 4 }, "end": { - "line": 633, + "line": 721, "column": 6 } } @@ -126571,15 +146351,15 @@ "postfix": false, "binop": null }, - "start": 21074, - "end": 21075, + "start": 23347, + "end": 23348, "loc": { "start": { - "line": 633, + "line": 721, "column": 6 }, "end": { - "line": 633, + "line": 721, "column": 7 } } @@ -126598,15 +146378,15 @@ "updateContext": null }, "value": "!", - "start": 21075, - "end": 21076, + "start": 23348, + "end": 23349, "loc": { "start": { - "line": 633, + "line": 721, "column": 7 }, "end": { - "line": 633, + "line": 721, "column": 8 } } @@ -126626,15 +146406,15 @@ "updateContext": null }, "value": "this", - "start": 21076, - "end": 21080, + "start": 23349, + "end": 23353, "loc": { "start": { - "line": 633, + "line": 721, "column": 8 }, "end": { - "line": 633, + "line": 721, "column": 12 } } @@ -126652,15 +146432,15 @@ "binop": null, "updateContext": null }, - "start": 21080, - "end": 21081, + "start": 23353, + "end": 23354, "loc": { "start": { - "line": 633, + "line": 721, "column": 12 }, "end": { - "line": 633, + "line": 721, "column": 13 } } @@ -126678,15 +146458,15 @@ "binop": null }, "value": "initialized", - "start": 21081, - "end": 21092, + "start": 23354, + "end": 23365, "loc": { "start": { - "line": 633, + "line": 721, "column": 13 }, "end": { - "line": 633, + "line": 721, "column": 24 } } @@ -126703,15 +146483,15 @@ "postfix": false, "binop": null }, - "start": 21092, - "end": 21093, + "start": 23365, + "end": 23366, "loc": { "start": { - "line": 633, + "line": 721, "column": 24 }, "end": { - "line": 633, + "line": 721, "column": 25 } } @@ -126728,15 +146508,15 @@ "postfix": false, "binop": null }, - "start": 21093, - "end": 21094, + "start": 23366, + "end": 23367, "loc": { "start": { - "line": 633, + "line": 721, "column": 25 }, "end": { - "line": 633, + "line": 721, "column": 26 } } @@ -126744,15 +146524,15 @@ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", - "start": 21102, - "end": 21184, + "start": 23375, + "end": 23457, "loc": { "start": { - "line": 634, + "line": 722, "column": 6 }, "end": { - "line": 636, + "line": 724, "column": 9 } } @@ -126772,15 +146552,15 @@ "updateContext": null }, "value": "this", - "start": 21192, - "end": 21196, + "start": 23465, + "end": 23469, "loc": { "start": { - "line": 637, + "line": 725, "column": 6 }, "end": { - "line": 637, + "line": 725, "column": 10 } } @@ -126798,15 +146578,15 @@ "binop": null, "updateContext": null }, - "start": 21196, - "end": 21197, + "start": 23469, + "end": 23470, "loc": { "start": { - "line": 637, + "line": 725, "column": 10 }, "end": { - "line": 637, + "line": 725, "column": 11 } } @@ -126824,15 +146604,15 @@ "binop": null }, "value": "initialized", - "start": 21197, - "end": 21208, + "start": 23470, + "end": 23481, "loc": { "start": { - "line": 637, + "line": 725, "column": 11 }, "end": { - "line": 637, + "line": 725, "column": 22 } } @@ -126851,15 +146631,15 @@ "updateContext": null }, "value": "=", - "start": 21209, - "end": 21210, + "start": 23482, + "end": 23483, "loc": { "start": { - "line": 637, + "line": 725, "column": 23 }, "end": { - "line": 637, + "line": 725, "column": 24 } } @@ -126879,15 +146659,15 @@ "updateContext": null }, "value": "true", - "start": 21211, - "end": 21215, + "start": 23484, + "end": 23488, "loc": { "start": { - "line": 637, + "line": 725, "column": 25 }, "end": { - "line": 637, + "line": 725, "column": 29 } } @@ -126905,31 +146685,384 @@ "binop": null, "updateContext": null }, - "start": 21215, - "end": 21216, + "start": 23488, + "end": 23489, "loc": { "start": { - "line": 637, + "line": 725, "column": 29 }, "end": { - "line": 637, + "line": 725, "column": 30 } } }, { "type": "CommentBlock", - "value": "*\r\n * Calling onInit\r\n ", - "start": 21226, - "end": 21265, + "value": "*\r\n * Handling mouseup\r\n ", + "start": 23499, + "end": 23540, "loc": { "start": { - "line": 639, + "line": 727, "column": 6 }, "end": { - "line": 641, + "line": 729, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "document", + "start": 23548, + "end": 23556, + "loc": { + "start": { + "line": 730, + "column": 6 + }, + "end": { + "line": 730, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23556, + "end": 23557, + "loc": { + "start": { + "line": 730, + "column": 14 + }, + "end": { + "line": 730, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onmouseup", + "start": 23557, + "end": 23566, + "loc": { + "start": { + "line": 730, + "column": 15 + }, + "end": { + "line": 730, + "column": 24 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 23567, + "end": 23568, + "loc": { + "start": { + "line": 730, + "column": 25 + }, + "end": { + "line": 730, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23569, + "end": 23570, + "loc": { + "start": { + "line": 730, + "column": 27 + }, + "end": { + "line": 730, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23570, + "end": 23571, + "loc": { + "start": { + "line": 730, + "column": 28 + }, + "end": { + "line": 730, + "column": 29 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23572, + "end": 23574, + "loc": { + "start": { + "line": 730, + "column": 30 + }, + "end": { + "line": 730, + "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": 23575, + "end": 23579, + "loc": { + "start": { + "line": 730, + "column": 33 + }, + "end": { + "line": 730, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23579, + "end": 23580, + "loc": { + "start": { + "line": 730, + "column": 37 + }, + "end": { + "line": 730, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handleButtonMouseUp", + "start": 23580, + "end": 23599, + "loc": { + "start": { + "line": 730, + "column": 38 + }, + "end": { + "line": 730, + "column": 57 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23599, + "end": 23600, + "loc": { + "start": { + "line": 730, + "column": 57 + }, + "end": { + "line": 730, + "column": 58 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23600, + "end": 23601, + "loc": { + "start": { + "line": 730, + "column": 58 + }, + "end": { + "line": 730, + "column": 59 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23601, + "end": 23602, + "loc": { + "start": { + "line": 730, + "column": 59 + }, + "end": { + "line": 730, + "column": 60 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Calling onInit\r\n ", + "start": 23612, + "end": 23651, + "loc": { + "start": { + "line": 732, + "column": 6 + }, + "end": { + "line": 734, "column": 9 } } @@ -126949,15 +147082,15 @@ "updateContext": null }, "value": "this", - "start": 21273, - "end": 21277, + "start": 23659, + "end": 23663, "loc": { "start": { - "line": 642, + "line": 735, "column": 6 }, "end": { - "line": 642, + "line": 735, "column": 10 } } @@ -126975,15 +147108,15 @@ "binop": null, "updateContext": null }, - "start": 21277, - "end": 21278, + "start": 23663, + "end": 23664, "loc": { "start": { - "line": 642, + "line": 735, "column": 10 }, "end": { - "line": 642, + "line": 735, "column": 11 } } @@ -127001,15 +147134,15 @@ "binop": null }, "value": "onInit", - "start": 21278, - "end": 21284, + "start": 23664, + "end": 23670, "loc": { "start": { - "line": 642, + "line": 735, "column": 11 }, "end": { - "line": 642, + "line": 735, "column": 17 } } @@ -127026,15 +147159,15 @@ "postfix": false, "binop": null }, - "start": 21284, - "end": 21285, + "start": 23670, + "end": 23671, "loc": { "start": { - "line": 642, + "line": 735, "column": 17 }, "end": { - "line": 642, + "line": 735, "column": 18 } } @@ -127051,15 +147184,15 @@ "postfix": false, "binop": null }, - "start": 21285, - "end": 21286, + "start": 23671, + "end": 23672, "loc": { "start": { - "line": 642, + "line": 735, "column": 18 }, "end": { - "line": 642, + "line": 735, "column": 19 } } @@ -127077,15 +147210,15 @@ "binop": null, "updateContext": null }, - "start": 21286, - "end": 21287, + "start": 23672, + "end": 23673, "loc": { "start": { - "line": 642, + "line": 735, "column": 19 }, "end": { - "line": 642, + "line": 735, "column": 20 } } @@ -127102,15 +147235,15 @@ "postfix": false, "binop": null }, - "start": 21293, - "end": 21294, + "start": 23679, + "end": 23680, "loc": { "start": { - "line": 643, + "line": 736, "column": 4 }, "end": { - "line": 643, + "line": 736, "column": 5 } } @@ -127127,15 +147260,15 @@ "postfix": false, "binop": null }, - "start": 21298, - "end": 21299, + "start": 23684, + "end": 23685, "loc": { "start": { - "line": 644, + "line": 737, "column": 2 }, "end": { - "line": 644, + "line": 737, "column": 3 } } @@ -127152,15 +147285,15 @@ "postfix": false, "binop": null }, - "start": 21301, - "end": 21302, + "start": 23687, + "end": 23688, "loc": { "start": { - "line": 645, + "line": 738, "column": 0 }, "end": { - "line": 645, + "line": 738, "column": 1 } } @@ -127180,15 +147313,15 @@ "updateContext": null }, "value": "export", - "start": 21306, - "end": 21312, + "start": 23692, + "end": 23698, "loc": { "start": { - "line": 647, + "line": 740, "column": 0 }, "end": { - "line": 647, + "line": 740, "column": 6 } } @@ -127208,15 +147341,15 @@ "updateContext": null }, "value": "default", - "start": 21313, - "end": 21320, + "start": 23699, + "end": 23706, "loc": { "start": { - "line": 647, + "line": 740, "column": 7 }, "end": { - "line": 647, + "line": 740, "column": 14 } } @@ -127234,15 +147367,15 @@ "binop": null }, "value": "SimpleKeyboard", - "start": 21321, - "end": 21335, + "start": 23707, + "end": 23721, "loc": { "start": { - "line": 647, + "line": 740, "column": 15 }, "end": { - "line": 647, + "line": 740, "column": 29 } } @@ -127260,15 +147393,15 @@ "binop": null, "updateContext": null }, - "start": 21335, - "end": 21336, + "start": 23721, + "end": 23722, "loc": { "start": { - "line": 647, + "line": 740, "column": 29 }, "end": { - "line": 647, + "line": 740, "column": 30 } } @@ -127286,15 +147419,15 @@ "binop": null, "updateContext": null }, - "start": 21338, - "end": 21338, + "start": 23724, + "end": 23724, "loc": { "start": { - "line": 648, + "line": 741, "column": 0 }, "end": { - "line": 648, + "line": 741, "column": 0 } } diff --git a/docs/class/src/lib/components/Keyboard.js~SimpleKeyboard.html b/docs/class/src/lib/components/Keyboard.js~SimpleKeyboard.html index 99cbe10d..9ad3efd9 100644 --- a/docs/class/src/lib/components/Keyboard.js~SimpleKeyboard.html +++ b/docs/class/src/lib/components/Keyboard.js~SimpleKeyboard.html @@ -249,6 +249,62 @@ As keys are pressed, text will be added/removed at that position within the inpu + + + +
+

+ + + + holdInteractionTimeout: object +

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

+ + + + holdTimeout: object +

+
+
+ + + +
+ + + + + + + + + public + + + @@ -307,6 +363,34 @@ As keys are pressed, text will be added/removed at that position within the inpu + + + +
+

+ + + + isMouseHold: boolean +

+
+
+ + + +
+ + + + + + + + + public + + + @@ -378,7 +462,7 @@ As keys are pressed, text will be added/removed at that position within the inpu
-

Module namespace

+

Modules

@@ -776,6 +860,93 @@ As keys are pressed, text will be added/removed at that position within the inpu + + + +
+

+ + + + handleButtonHold(button: *) +

+
+
+ + +

Handles button hold

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

+ + + + handleButtonMouseDown(button: *, e: *) +

+
+
+ + +

Handles button mousedown

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

+ + + + handleButtonMouseUp() +

+
+
+ + +

Handles button mouseup

+
+
+ + + + + + + + + public + + + @@ -805,6 +976,35 @@ As keys are pressed, text will be added/removed at that position within the inpu + + + +
+

+ + + + loadModules() +

+
+
+ + +

Load modules

+
+
+ + + + + + + + + public + + + @@ -1088,7 +1288,7 @@ As keys are pressed, text will be added/removed at that position within the inpu - source + source @@ -1131,7 +1331,7 @@ As keys are pressed, text will be added/removed at that position within the inpu - source + source @@ -1176,7 +1376,7 @@ As keys are pressed, text will be added/removed at that position within the inpu - source + source @@ -1220,7 +1420,7 @@ As keys are pressed, text will be added/removed at that position within the inpu - source + source @@ -1251,6 +1451,92 @@ As keys are pressed, text will be added/removed at that position within the inpu +
+
+

+ public + + + + + + holdInteractionTimeout: object + + + + source + +

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

+ public + + + + + + holdTimeout: object + + + + source + +

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

@@ -1264,7 +1550,7 @@ As keys are pressed, text will be added/removed at that position within the inpu - source + source

@@ -1308,7 +1594,7 @@ As keys are pressed, text will be added/removed at that position within the inpu - source + source @@ -1375,6 +1661,49 @@ keyboard.clearInput(); +
+
+

+ public + + + + + + isMouseHold: boolean + + + + source + +

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

@@ -1432,7 +1761,7 @@ keyboard.clearInput(); - source + source

@@ -1475,14 +1804,14 @@ keyboard.clearInput(); - source + source -

Module namespace

+

Modules

@@ -1719,7 +2048,7 @@ keyboard.clearInput(); - source + source @@ -1763,7 +2092,7 @@ keyboard.clearInput(); - source + source @@ -1807,7 +2136,7 @@ keyboard.clearInput(); - source + source @@ -1898,7 +2227,7 @@ keyboard.clearInput(); - source + source @@ -1978,7 +2307,7 @@ keyboard.clearInput(); - source + source @@ -2038,7 +2367,7 @@ keyboard.clearInput(); - source + source @@ -2083,7 +2412,7 @@ Used interally between re-renders.

- source + source @@ -2144,7 +2473,7 @@ Used interally between re-renders.

- source + source @@ -2217,7 +2546,7 @@ Used interally between re-renders.

- source + source @@ -2290,7 +2619,7 @@ Used interally between re-renders.

- source + source @@ -2363,7 +2692,7 @@ Used interally between re-renders.

- source + source @@ -2423,6 +2752,176 @@ Used interally between re-renders.

+
+
+

+ public + + + + + + handleButtonHold(button: *) + + + + source + +

+ + + + +

Handles button hold

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
button*
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + handleButtonMouseDown(button: *, e: *) + + + + source + +

+ + + + +

Handles button mousedown

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
button*
e*
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + handleButtonMouseUp() + + + + source + +

+ + + + +

Handles button mouseup

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

@@ -2436,7 +2935,7 @@ Used interally between re-renders.

- source + source

@@ -2467,6 +2966,50 @@ Used interally between re-renders.

+
+
+

+ public + + + + + + loadModules() + + + + source + +

+ + + + +

Load modules

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

@@ -2480,7 +3023,7 @@ Used interally between re-renders.

- source + source

@@ -2524,7 +3067,7 @@ Used interally between re-renders.

- source + source @@ -2568,7 +3111,7 @@ Used interally between re-renders.

- source + source @@ -2648,7 +3191,7 @@ Used interally between re-renders.

- source + source @@ -2692,7 +3235,7 @@ Used interally between re-renders.

- source + source @@ -2753,7 +3296,7 @@ Used interally between re-renders.

- source + source @@ -2821,7 +3364,7 @@ Used interally between re-renders.

- source + source diff --git a/docs/coverage.json b/docs/coverage.json index c0565068..ded0ca11 100644 --- a/docs/coverage.json +++ b/docs/coverage.json @@ -1,7 +1,7 @@ { "coverage": "100%", - "expectCount": 68, - "actualCount": 68, + "expectCount": 75, + "actualCount": 75, "files": { "src/demo/App.js": { "expectCount": 8, @@ -9,8 +9,8 @@ "undocumentLines": [] }, "src/lib/components/Keyboard.js": { - "expectCount": 32, - "actualCount": 32, + "expectCount": 39, + "actualCount": 39, "undocumentLines": [] }, "src/lib/services/KeyboardLayout.js": { diff --git a/docs/file/src/demo/App.js.html b/docs/file/src/demo/App.js.html index 3114d0ab..45daa30d 100644 --- a/docs/file/src/demo/App.js.html +++ b/docs/file/src/demo/App.js.html @@ -68,7 +68,7 @@ class App { * Creates a new simple-keyboard instance */ this.keyboard = new Keyboard({ - debug: true, + //debug: true, layoutName: this.layoutName, onChange: input => this.onChange(input), onKeyPress: button => this.onKeyPress(button), diff --git a/docs/file/src/lib/components/Keyboard.js.html b/docs/file/src/lib/components/Keyboard.js.html index 6ebeaccb..d841d270 100644 --- a/docs/file/src/lib/components/Keyboard.js.html +++ b/docs/file/src/lib/components/Keyboard.js.html @@ -105,11 +105,6 @@ class SimpleKeyboard { this.options.theme = this.options.theme || "hg-theme-default"; this.options.inputName = this.options.inputName || "default"; - /** - * Module namespace - */ - this.modules = {}; - /** * Bindings */ @@ -129,6 +124,10 @@ class SimpleKeyboard { this.onInit = this.onInit.bind(this); this.onRender = this.onRender.bind(this); this.render = this.render.bind(this); + this.loadModules = this.loadModules.bind(this); + this.handleButtonMouseUp = this.handleButtonMouseUp.bind(this); + this.handleButtonMouseDown = this.handleButtonMouseDown.bind(this); + this.handleButtonHold = this.handleButtonHold.bind(this); /** * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`). @@ -180,7 +179,14 @@ class SimpleKeyboard { * Physical Keyboard support */ this.physicalKeyboardInterface = new PhysicalKeyboard(this); + + /** + * Modules + */ + this.modules = {}; + this.loadModules(); } + /** * Handles clicks made to keyboard buttons * @param {string} button The button's layout name. @@ -237,6 +243,61 @@ class SimpleKeyboard { } } + /** + * Handles button mousedown + */ + /* istanbul ignore next */ + handleButtonMouseDown(button, e){ + /** + * @type {boolean} Whether the mouse is being held onKeyPress + */ + this.isMouseHold = true; + + /** + * @type {object} Time to wait until a key hold is detected + */ + this.holdTimeout = setTimeout(() => { + if( + this.isMouseHold && + ( + (!button.includes("{") && !button.includes("}")) || + button === "{bksp}" || + button === "{space}" || + button === "{tab}" + ) + ){ + if(this.options.debug) + console.log("Button held:", button); + + this.handleButtonHold(button, e); + } + clearTimeout(this.holdTimeout); + }, 500); + } + + /** + * Handles button mouseup + */ + handleButtonMouseUp(){ + this.isMouseHold = false; + if(this.holdInteractionTimeout) + clearTimeout(this.holdInteractionTimeout); + } + + /** + * Handles button hold + */ + /* istanbul ignore next */ + handleButtonHold(button){ + /** + * @type {object} Timeout dictating the speed of key hold iterations + */ + this.holdInteractionTimeout = setTimeout(() => { + this.handleButtonClicked(button); + this.handleButtonHold(button); + }, 100); + } + /** * Send a command to all simple-keyboard instances (if you have several instances). */ @@ -309,6 +370,11 @@ class SimpleKeyboard { option = option || {}; this.options = Object.assign(this.options, option); this.render(); + + /** + * Apply modules + */ + this.loadModules(); } /** @@ -522,11 +588,32 @@ class SimpleKeyboard { * Register module */ registerModule = (name, initCallback) => { - this.modules[name] = {}; + if(!this.modules[name]) + this.modules[name] = {}; initCallback(this.modules[name]); } + /** + * Load modules + */ + loadModules(){ + if(Array.isArray(this.options.modules)){ + this.options.modules.forEach(Module => { + let module = new Module(); + + /* istanbul ignore next */ + if(module.constructor.name && module.constructor.name !== "Function"){ + this.keyboardDOM.classList.add( + `module-${this.utilities.camelCase(module.constructor.name)}` + ); + } + + module.init(this); + }); + } + } + /** * Get module prop */ @@ -621,6 +708,7 @@ class SimpleKeyboard { var buttonDOM = document.createElement('div'); buttonDOM.className += `hg-button ${fctBtnClass}${buttonThemeClass ? " "+buttonThemeClass : ""}`; buttonDOM.onclick = () => this.handleButtonClicked(button); + buttonDOM.onmousedown = (e) => this.handleButtonMouseDown(button, e); /** * Adding identifier @@ -678,6 +766,11 @@ class SimpleKeyboard { */ this.initialized = true; + /** + * Handling mouseup + */ + document.onmouseup = () => this.handleButtonMouseUp(); + /** * Calling onInit */ diff --git a/docs/index.json b/docs/index.json index 62eb986e..d2728047 100644 --- a/docs/index.json +++ b/docs/index.json @@ -567,7 +567,7 @@ "__docId__": 48, "kind": "file", "name": "src/demo/App.js", - "content": "import Keyboard from '../lib';\r\nimport './css/App.css';\r\n\r\n/**\r\n * simple-keyboard demo\r\n */\r\nclass App {\r\n /**\r\n * Instantiates the demo class\r\n */\r\n constructor(){\r\n document.addEventListener('DOMContentLoaded', this.onDOMLoaded);\r\n\r\n /**\r\n * Default input name\r\n * @type {string}\r\n */\r\n this.layoutName = \"default\";\r\n }\r\n\r\n /**\r\n * Executed when the DOM is ready\r\n */\r\n onDOMLoaded = () => {\r\n /**\r\n * Creates a new simple-keyboard instance\r\n */\r\n this.keyboard = new Keyboard({\r\n debug: true,\r\n layoutName: this.layoutName,\r\n onChange: input => this.onChange(input),\r\n onKeyPress: button => this.onKeyPress(button),\r\n newLineOnEnter: true,\r\n physicalKeyboardHighlight: true,\r\n });\r\n \r\n /**\r\n * Adding preview (demo only)\r\n */\r\n document.querySelector('.simple-keyboard').insertAdjacentHTML('beforebegin', `\r\n
\r\n \r\n
\r\n `);\r\n \r\n document.querySelector('.input').addEventListener('change', (event) => {\r\n this.keyboard.setInput(event.target.value);\r\n });\r\n }\r\n\r\n /**\r\n * Handles shift functionality\r\n */\r\n handleShiftButton = () => {\r\n let layoutName = this.layoutName;\r\n let shiftToggle = this.layoutName = layoutName === \"default\" ? \"shift\" : \"default\";\r\n \r\n this.keyboard.setOptions({\r\n layoutName: shiftToggle\r\n });\r\n }\r\n\r\n /**\r\n * Called when simple-keyboard input has changed\r\n */\r\n onChange = input => {\r\n document.querySelector('.input').value = input;\r\n }\r\n\r\n /**\r\n * Called when a simple-keyboard key is pressed\r\n */\r\n onKeyPress = button => {\r\n console.log(\"Button pressed\", button);\r\n \r\n /**\r\n * Shift functionality\r\n */\r\n if(button === \"{lock}\" || button === \"{shift}\")\r\n this.handleShiftButton();\r\n }\r\n\r\n}\r\n\r\nexport default App;", + "content": "import Keyboard from '../lib';\r\nimport './css/App.css';\r\n\r\n/**\r\n * simple-keyboard demo\r\n */\r\nclass App {\r\n /**\r\n * Instantiates the demo class\r\n */\r\n constructor(){\r\n document.addEventListener('DOMContentLoaded', this.onDOMLoaded);\r\n\r\n /**\r\n * Default input name\r\n * @type {string}\r\n */\r\n this.layoutName = \"default\";\r\n }\r\n\r\n /**\r\n * Executed when the DOM is ready\r\n */\r\n onDOMLoaded = () => {\r\n /**\r\n * Creates a new simple-keyboard instance\r\n */\r\n this.keyboard = new Keyboard({\r\n //debug: true,\r\n layoutName: this.layoutName,\r\n onChange: input => this.onChange(input),\r\n onKeyPress: button => this.onKeyPress(button),\r\n newLineOnEnter: true,\r\n physicalKeyboardHighlight: true,\r\n });\r\n \r\n /**\r\n * Adding preview (demo only)\r\n */\r\n document.querySelector('.simple-keyboard').insertAdjacentHTML('beforebegin', `\r\n
\r\n \r\n
\r\n `);\r\n \r\n document.querySelector('.input').addEventListener('change', (event) => {\r\n this.keyboard.setInput(event.target.value);\r\n });\r\n }\r\n\r\n /**\r\n * Handles shift functionality\r\n */\r\n handleShiftButton = () => {\r\n let layoutName = this.layoutName;\r\n let shiftToggle = this.layoutName = layoutName === \"default\" ? \"shift\" : \"default\";\r\n \r\n this.keyboard.setOptions({\r\n layoutName: shiftToggle\r\n });\r\n }\r\n\r\n /**\r\n * Called when simple-keyboard input has changed\r\n */\r\n onChange = input => {\r\n document.querySelector('.input').value = input;\r\n }\r\n\r\n /**\r\n * Called when a simple-keyboard key is pressed\r\n */\r\n onKeyPress = button => {\r\n console.log(\"Button pressed\", button);\r\n \r\n /**\r\n * Shift functionality\r\n */\r\n if(button === \"{lock}\" || button === \"{shift}\")\r\n this.handleShiftButton();\r\n }\r\n\r\n}\r\n\r\nexport default App;", "static": true, "longname": "X:/Dev/simple-keyboard/src/demo/App.js", "access": "public", @@ -715,7 +715,7 @@ "__docId__": 58, "kind": "file", "name": "src/lib/components/Keyboard.js", - "content": "import './Keyboard.css';\r\n\r\n// Services\r\nimport PhysicalKeyboard from '../services/PhysicalKeyboard';\r\nimport KeyboardLayout from '../services/KeyboardLayout';\r\nimport Utilities from '../services/Utilities';\r\n\r\n/**\r\n * Root class for simple-keyboard\r\n * This class:\r\n * - Parses the options\r\n * - Renders the rows and buttons\r\n * - Handles button functionality\r\n */\r\nclass SimpleKeyboard {\r\n /**\r\n * Creates an instance of SimpleKeyboard\r\n * @param {Array} params If first parameter is a string, it is considered the container class. The second parameter is then considered the options object. If first parameter is an object, it is considered the options object.\r\n */\r\n constructor(...params){\r\n let keyboardDOMQuery = typeof params[0] === \"string\" ? params[0] : '.simple-keyboard';\r\n let options = typeof params[0] === \"object\" ? params[0] : params[1];\r\n\r\n if(!options)\r\n options = {};\r\n\r\n /**\r\n * Initializing Utilities\r\n */\r\n this.utilities = new Utilities(this);\r\n\r\n /**\r\n * Processing options\r\n */\r\n this.keyboardDOM = document.querySelector(keyboardDOMQuery);\r\n\r\n /**\r\n * @type {object}\r\n * @property {object} layout Modify the keyboard layout.\r\n * @property {string} layoutName Specifies which layout should be used.\r\n * @property {object} display Replaces variable buttons (such as {bksp}) with a human-friendly name (e.g.: “backspace”).\r\n * @property {boolean} mergeDisplay By default, when you set the display property, you replace the default one. This setting merges them instead.\r\n * @property {string} theme A prop to add your own css classes to the keyboard wrapper. You can add multiple classes separated by a space.\r\n * @property {Array} buttonTheme A prop to add your own css classes to one or several buttons.\r\n * @property {boolean} debug Runs a console.log every time a key is pressed. Displays the buttons pressed and the current input.\r\n * @property {boolean} newLineOnEnter Specifies whether clicking the “ENTER” button will input a newline (\\n) or not.\r\n * @property {boolean} tabCharOnTab Specifies whether clicking the “TAB” button will input a tab character (\\t) or not.\r\n * @property {string} inputName Allows you to use a single simple-keyboard instance for several inputs.\r\n * @property {number} maxLength Restrains all of simple-keyboard inputs to a certain length. This should be used in addition to the input element’s maxlengthattribute.\r\n * @property {object} maxLength Restrains simple-keyboard’s individual inputs to a certain length. This should be used in addition to the input element’s maxlengthattribute.\r\n * @property {boolean} syncInstanceInputs When set to true, this option synchronizes the internal input of every simple-keyboard instance.\r\n * @property {boolean} physicalKeyboardHighlight Enable highlighting of keys pressed on physical keyboard.\r\n * @property {string} physicalKeyboardHighlightTextColor Define the text color that the physical keyboard highlighted key should have.\r\n * @property {string} physicalKeyboardHighlightBgColor Define the background color that the physical keyboard highlighted key should have. \r\n * @property {function(button: string):string} onKeyPress Executes the callback function on key press. Returns button layout name (i.e.: “{shift}”).\r\n * @property {function(input: string):string} onChange Executes the callback function on input change. Returns the current input’s string.\r\n * @property {function} onRender Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n * @property {function} onInit Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n * @property {function(inputs: object):object} onChangeAll Executes the callback function on input change. Returns the input object with all defined inputs.\r\n */\r\n this.options = options;\r\n this.options.layoutName = this.options.layoutName || \"default\";\r\n this.options.theme = this.options.theme || \"hg-theme-default\";\r\n this.options.inputName = this.options.inputName || \"default\";\r\n\r\n /**\r\n * Module namespace\r\n */\r\n this.modules = {};\r\n\r\n /**\r\n * Bindings\r\n */\r\n this.handleButtonClicked = this.handleButtonClicked.bind(this);\r\n this.syncInstanceInputs = this.syncInstanceInputs.bind(this);\r\n this.clearInput = this.clearInput.bind(this);\r\n this.getInput = this.getInput.bind(this);\r\n this.setInput = this.setInput.bind(this);\r\n this.replaceInput = this.replaceInput.bind(this);\r\n this.clear = this.clear.bind(this);\r\n this.dispatch = this.dispatch.bind(this);\r\n this.addButtonTheme = this.addButtonTheme.bind(this);\r\n this.removeButtonTheme = this.removeButtonTheme.bind(this);\r\n this.getButtonElement = this.getButtonElement.bind(this);\r\n this.handleCaret = this.handleCaret.bind(this);\r\n this.caretEventHandler = this.caretEventHandler.bind(this);\r\n this.onInit = this.onInit.bind(this);\r\n this.onRender = this.onRender.bind(this);\r\n this.render = this.render.bind(this);\r\n\r\n /**\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 */\r\n this.input = {};\r\n this.input[this.options.inputName] = '';\r\n\r\n /**\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n */\r\n this.keyboardDOMClass = keyboardDOMQuery.split('.').join(\"\");\r\n\r\n /**\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 */\r\n this.buttonElements = {};\r\n\r\n /**\r\n * Rendering keyboard\r\n */\r\n if(this.keyboardDOM)\r\n this.render();\r\n else {\r\n console.warn(`\"${keyboardDOMQuery}\" was not found in the DOM.`);\r\n throw new Error(\"KEYBOARD_DOM_ERROR\");\r\n }\r\n\r\n /**\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n */\r\n if(!window['SimpleKeyboardInstances'])\r\n window['SimpleKeyboardInstances'] = {};\r\n \r\n window['SimpleKeyboardInstances'][this.utilities.camelCase(this.keyboardDOMClass)] = this;\r\n\r\n /**\r\n * Physical Keyboard support\r\n */\r\n this.physicalKeyboardInterface = new PhysicalKeyboard(this);\r\n }\r\n /**\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n */\r\n handleButtonClicked(button){\r\n let debug = this.options.debug;\r\n\r\n /**\r\n * Ignoring placeholder buttons\r\n */\r\n if(button === '{//}')\r\n return false;\r\n\r\n /**\r\n * Calling onKeyPress\r\n */\r\n if(typeof this.options.onKeyPress === \"function\")\r\n this.options.onKeyPress(button);\r\n \r\n if(!this.input[this.options.inputName])\r\n this.input[this.options.inputName] = '';\r\n\r\n let updatedInput = this.utilities.getUpdatedInput(button, this.input[this.options.inputName], this.options, this.caretPosition);\r\n\r\n if(this.input[this.options.inputName] !== updatedInput){\r\n\r\n /**\r\n * If maxLength and handleMaxLength yield true, halting\r\n */\r\n if(this.options.maxLength && this.utilities.handleMaxLength(this.input, this.options, updatedInput)){\r\n return false;\r\n }\r\n\r\n this.input[this.options.inputName] = updatedInput;\r\n\r\n if(debug)\r\n console.log('Input changed:', this.input);\r\n\r\n /**\r\n * Enforce syncInstanceInputs, if set\r\n */\r\n if(this.options.syncInstanceInputs)\r\n this.syncInstanceInputs(this.input);\r\n\r\n /**\r\n * Calling onChange\r\n */\r\n if(typeof this.options.onChange === \"function\")\r\n this.options.onChange(this.input[this.options.inputName]);\r\n }\r\n \r\n if(debug){\r\n console.log(\"Key pressed:\", button);\r\n }\r\n }\r\n\r\n /**\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n */\r\n syncInstanceInputs(){\r\n this.dispatch((instance) => {\r\n instance.replaceInput(this.input);\r\n });\r\n }\r\n \r\n /**\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n */\r\n clearInput(inputName){\r\n inputName = inputName || this.options.inputName;\r\n this.input[this.options.inputName] = '';\r\n\r\n /**\r\n * Enforce syncInstanceInputs, if set\r\n */\r\n if(this.options.syncInstanceInputs)\r\n this.syncInstanceInputs(this.input);\r\n }\r\n\r\n /**\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 */\r\n getInput(inputName){\r\n inputName = inputName || this.options.inputName;\r\n\r\n /**\r\n * Enforce syncInstanceInputs, if set\r\n */\r\n if(this.options.syncInstanceInputs)\r\n this.syncInstanceInputs(this.input);\r\n\r\n return this.input[this.options.inputName];\r\n }\r\n\r\n /**\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 */\r\n setInput(input, inputName){\r\n inputName = inputName || this.options.inputName;\r\n this.input[inputName] = input;\r\n\r\n /**\r\n * Enforce syncInstanceInputs, if set\r\n */\r\n if(this.options.syncInstanceInputs)\r\n this.syncInstanceInputs(this.input);\r\n }\r\n \r\n /**\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n */\r\n replaceInput(inputObj){\r\n this.input = inputObj;\r\n }\r\n\r\n /**\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n */\r\n setOptions = option => {\r\n option = option || {};\r\n this.options = Object.assign(this.options, option);\r\n this.render();\r\n }\r\n\r\n /**\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n */\r\n clear(){\r\n this.keyboardDOM.innerHTML = '';\r\n this.keyboardDOM.className = this.keyboardDOMClass;\r\n this.buttonElements = {};\r\n }\r\n\r\n /**\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 */\r\n dispatch(callback){\r\n if(!window['SimpleKeyboardInstances']){\r\n console.warn(`SimpleKeyboardInstances is not defined. Dispatch cannot be called.`);\r\n throw new Error(\"INSTANCES_VAR_ERROR\");\r\n }\r\n \r\n return Object.keys(window['SimpleKeyboardInstances']).forEach((key) => {\r\n callback(window['SimpleKeyboardInstances'][key], key);\r\n })\r\n }\r\n\r\n /**\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 */\r\n addButtonTheme(buttons, className){\r\n if(!className || !buttons)\r\n return false;\r\n\r\n buttons.split(\" \").forEach(button => {\r\n className.split(\" \").forEach(classNameItem => {\r\n if(!this.options.buttonTheme)\r\n this.options.buttonTheme = [];\r\n\r\n let classNameFound = false;\r\n \r\n /**\r\n * If class is already defined, we add button to class definition\r\n */\r\n this.options.buttonTheme.map(buttonTheme => {\r\n\r\n if(buttonTheme.class.split(\" \").includes(classNameItem)){\r\n classNameFound = true;\r\n \r\n let buttonThemeArray = buttonTheme.buttons.split(\" \");\r\n if(!buttonThemeArray.includes(button)){\r\n classNameFound = true;\r\n buttonThemeArray.push(button);\r\n buttonTheme.buttons = buttonThemeArray.join(\" \");\r\n }\r\n }\r\n return buttonTheme;\r\n });\r\n\r\n /**\r\n * If class is not defined, we create a new entry\r\n */\r\n if(!classNameFound){\r\n this.options.buttonTheme.push({\r\n class: classNameItem,\r\n buttons: buttons\r\n });\r\n }\r\n\r\n });\r\n });\r\n\r\n this.render();\r\n }\r\n\r\n /**\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 */\r\n removeButtonTheme(buttons, className){\r\n /**\r\n * When called with empty parameters, remove all button themes\r\n */\r\n if(!buttons && !className){\r\n this.options.buttonTheme = [];\r\n this.render();\r\n return false;\r\n }\r\n\r\n /**\r\n * If buttons are passed and buttonTheme has items\r\n */\r\n if(buttons && Array.isArray(this.options.buttonTheme) && this.options.buttonTheme.length){\r\n let buttonArray = buttons.split(\" \");\r\n buttonArray.forEach((button, key) => {\r\n this.options.buttonTheme.map((buttonTheme, index) => {\r\n\r\n /**\r\n * If className is set, we affect the buttons only for that class\r\n * Otherwise, we afect all classes\r\n */\r\n if(\r\n (className && className.includes(buttonTheme.class)) ||\r\n !className\r\n ){\r\n let filteredButtonArray = buttonTheme.buttons.split(\" \").filter(item => item !== button);\r\n\r\n /**\r\n * If buttons left, return them, otherwise, remove button Theme\r\n */\r\n if(filteredButtonArray.length){\r\n buttonTheme.buttons = filteredButtonArray.join(\" \");\r\n } else {\r\n this.options.buttonTheme.splice(index, 1);\r\n buttonTheme = null;\r\n }\r\n \r\n }\r\n\r\n return buttonTheme;\r\n });\r\n });\r\n\r\n this.render();\r\n }\r\n }\r\n\r\n /**\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 */\r\n getButtonElement(button){\r\n let output;\r\n\r\n let buttonArr = this.buttonElements[button];\r\n if(buttonArr){\r\n if(buttonArr.length > 1){\r\n output = buttonArr;\r\n } else {\r\n output = buttonArr[0];\r\n }\r\n }\r\n\r\n return output;\r\n }\r\n\r\n /**\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n */\r\n handleCaret(){\r\n if(this.options.debug){\r\n console.log(\"Caret handling started\");\r\n }\r\n\r\n document.addEventListener(\"keyup\", this.caretEventHandler);\r\n document.addEventListener(\"mouseup\", this.caretEventHandler);\r\n document.addEventListener(\"touchend\", this.caretEventHandler);\r\n }\r\n\r\n /**\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n */\r\n caretEventHandler(event){\r\n let targetTagName = event.target.tagName.toLowerCase();\r\n\r\n if(\r\n targetTagName === \"textarea\" ||\r\n targetTagName === \"input\"\r\n ){\r\n /**\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 */\r\n this.caretPosition = event.target.selectionStart;\r\n\r\n if(this.options.debug){\r\n console.log('Caret at: ', event.target.selectionStart, event.target.tagName.toLowerCase());\r\n } \r\n }\r\n }\r\n\r\n /**\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n */\r\n onInit(){\r\n if(this.options.debug){\r\n console.log(\"Initialized\");\r\n }\r\n\r\n /**\r\n * Caret handling\r\n */\r\n this.handleCaret();\r\n\r\n if(typeof this.options.onInit === \"function\")\r\n this.options.onInit();\r\n }\r\n\r\n /**\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n */\r\n onRender(){\r\n if(typeof this.options.onRender === \"function\")\r\n this.options.onRender();\r\n }\r\n\r\n /**\r\n * Register module\r\n */\r\n registerModule = (name, initCallback) => {\r\n this.modules[name] = {};\r\n\r\n initCallback(this.modules[name]);\r\n }\r\n\r\n /**\r\n * Get module prop\r\n */\r\n getModuleProp = (name, prop) => {\r\n if(!this.modules[name])\r\n return false;\r\n \r\n return this.modules[name][prop];\r\n }\r\n\r\n /**\r\n * getModulesList\r\n */\r\n getModulesList = () => {\r\n return Object.keys(this.modules);\r\n }\r\n\r\n /**\r\n * Renders rows and buttons as per options\r\n */\r\n render(){\r\n /**\r\n * Clear keyboard\r\n */\r\n this.clear();\r\n\r\n let layoutClass = this.options.layout ? \"hg-layout-custom\" : `hg-layout-${this.options.layoutName}`;\r\n let layout = this.options.layout || KeyboardLayout.getDefaultLayout();\r\n\r\n /**\r\n * Account for buttonTheme, if set\r\n */\r\n let buttonThemesParsed = {};\r\n if(Array.isArray(this.options.buttonTheme)){\r\n this.options.buttonTheme.forEach(themeObj => {\r\n if(themeObj.buttons && themeObj.class){\r\n let themeButtons;\r\n\r\n if(typeof themeObj.buttons === \"string\"){\r\n themeButtons = themeObj.buttons.split(' ');\r\n }\r\n\r\n if(themeButtons){\r\n themeButtons.forEach(themeButton => {\r\n let themeParsed = buttonThemesParsed[themeButton];\r\n\r\n // If the button has already been added\r\n if(themeParsed){\r\n // Making sure we don't add duplicate classes, even when buttonTheme has duplicates\r\n if(!this.utilities.countInArray(themeParsed.split(\" \"), themeObj.class)){\r\n buttonThemesParsed[themeButton] = `${themeParsed} ${themeObj.class}`;\r\n }\r\n } else {\r\n buttonThemesParsed[themeButton] = themeObj.class;\r\n }\r\n });\r\n }\r\n } else {\r\n console.warn(`buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation.`)\r\n }\r\n });\r\n }\r\n\r\n /**\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n */\r\n this.keyboardDOM.className += ` ${this.options.theme} ${layoutClass}`;\r\n\r\n /**\r\n * Iterating through each row\r\n */\r\n layout[this.options.layoutName].forEach((row, rIndex) => {\r\n let rowArray = row.split(' ');\r\n\r\n /**\r\n * Creating empty row\r\n */\r\n var rowDOM = document.createElement('div');\r\n rowDOM.className += \"hg-row\";\r\n\r\n /**\r\n * Iterating through each button in row\r\n */\r\n rowArray.forEach((button, bIndex) => {\r\n let fctBtnClass = this.utilities.getButtonClass(button);\r\n let buttonThemeClass = buttonThemesParsed[button];\r\n let buttonDisplayName = this.utilities.getButtonDisplayName(button, this.options.display, this.options.mergeDisplay);\r\n\r\n /**\r\n * Creating button\r\n */\r\n var buttonDOM = document.createElement('div');\r\n buttonDOM.className += `hg-button ${fctBtnClass}${buttonThemeClass ? \" \"+buttonThemeClass : \"\"}`;\r\n buttonDOM.onclick = () => this.handleButtonClicked(button);\r\n\r\n /**\r\n * Adding identifier\r\n */\r\n buttonDOM.setAttribute(\"data-skBtn\", button);\r\n\r\n /**\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 */\r\n let buttonUID = `${this.options.layoutName}-r${rIndex}b${bIndex}`;\r\n buttonDOM.setAttribute(\"data-skBtnUID\", buttonUID);\r\n\r\n /**\r\n * Adding display label\r\n */\r\n buttonDOM.setAttribute(\"data-displayLabel\", buttonDisplayName);\r\n\r\n /**\r\n * Adding button label to button\r\n */\r\n var buttonSpanDOM = document.createElement('span');\r\n buttonSpanDOM.innerHTML = buttonDisplayName;\r\n buttonDOM.appendChild(buttonSpanDOM);\r\n\r\n /**\r\n * Adding to buttonElements\r\n */\r\n if(!this.buttonElements[button])\r\n this.buttonElements[button] = [];\r\n\r\n this.buttonElements[button].push(buttonDOM);\r\n\r\n /**\r\n * Appending button to row\r\n */\r\n rowDOM.appendChild(buttonDOM);\r\n\r\n });\r\n\r\n /**\r\n * Appending row to keyboard\r\n */\r\n this.keyboardDOM.appendChild(rowDOM);\r\n });\r\n\r\n /**\r\n * Calling onRender\r\n */\r\n this.onRender();\r\n\r\n if(!this.initialized){\r\n /**\r\n * Ensures that onInit is only called once per instantiation\r\n */\r\n this.initialized = true;\r\n\r\n /**\r\n * Calling onInit\r\n */\r\n this.onInit();\r\n }\r\n }\r\n}\r\n\r\nexport default SimpleKeyboard;\r\n", + "content": "import './Keyboard.css';\r\n\r\n// Services\r\nimport PhysicalKeyboard from '../services/PhysicalKeyboard';\r\nimport KeyboardLayout from '../services/KeyboardLayout';\r\nimport Utilities from '../services/Utilities';\r\n\r\n/**\r\n * Root class for simple-keyboard\r\n * This class:\r\n * - Parses the options\r\n * - Renders the rows and buttons\r\n * - Handles button functionality\r\n */\r\nclass SimpleKeyboard {\r\n /**\r\n * Creates an instance of SimpleKeyboard\r\n * @param {Array} params If first parameter is a string, it is considered the container class. The second parameter is then considered the options object. If first parameter is an object, it is considered the options object.\r\n */\r\n constructor(...params){\r\n let keyboardDOMQuery = typeof params[0] === \"string\" ? params[0] : '.simple-keyboard';\r\n let options = typeof params[0] === \"object\" ? params[0] : params[1];\r\n\r\n if(!options)\r\n options = {};\r\n\r\n /**\r\n * Initializing Utilities\r\n */\r\n this.utilities = new Utilities(this);\r\n\r\n /**\r\n * Processing options\r\n */\r\n this.keyboardDOM = document.querySelector(keyboardDOMQuery);\r\n\r\n /**\r\n * @type {object}\r\n * @property {object} layout Modify the keyboard layout.\r\n * @property {string} layoutName Specifies which layout should be used.\r\n * @property {object} display Replaces variable buttons (such as {bksp}) with a human-friendly name (e.g.: “backspace”).\r\n * @property {boolean} mergeDisplay By default, when you set the display property, you replace the default one. This setting merges them instead.\r\n * @property {string} theme A prop to add your own css classes to the keyboard wrapper. You can add multiple classes separated by a space.\r\n * @property {Array} buttonTheme A prop to add your own css classes to one or several buttons.\r\n * @property {boolean} debug Runs a console.log every time a key is pressed. Displays the buttons pressed and the current input.\r\n * @property {boolean} newLineOnEnter Specifies whether clicking the “ENTER” button will input a newline (\\n) or not.\r\n * @property {boolean} tabCharOnTab Specifies whether clicking the “TAB” button will input a tab character (\\t) or not.\r\n * @property {string} inputName Allows you to use a single simple-keyboard instance for several inputs.\r\n * @property {number} maxLength Restrains all of simple-keyboard inputs to a certain length. This should be used in addition to the input element’s maxlengthattribute.\r\n * @property {object} maxLength Restrains simple-keyboard’s individual inputs to a certain length. This should be used in addition to the input element’s maxlengthattribute.\r\n * @property {boolean} syncInstanceInputs When set to true, this option synchronizes the internal input of every simple-keyboard instance.\r\n * @property {boolean} physicalKeyboardHighlight Enable highlighting of keys pressed on physical keyboard.\r\n * @property {string} physicalKeyboardHighlightTextColor Define the text color that the physical keyboard highlighted key should have.\r\n * @property {string} physicalKeyboardHighlightBgColor Define the background color that the physical keyboard highlighted key should have. \r\n * @property {function(button: string):string} onKeyPress Executes the callback function on key press. Returns button layout name (i.e.: “{shift}”).\r\n * @property {function(input: string):string} onChange Executes the callback function on input change. Returns the current input’s string.\r\n * @property {function} onRender Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n * @property {function} onInit Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n * @property {function(inputs: object):object} onChangeAll Executes the callback function on input change. Returns the input object with all defined inputs.\r\n */\r\n this.options = options;\r\n this.options.layoutName = this.options.layoutName || \"default\";\r\n this.options.theme = this.options.theme || \"hg-theme-default\";\r\n this.options.inputName = this.options.inputName || \"default\";\r\n\r\n /**\r\n * Bindings\r\n */\r\n this.handleButtonClicked = this.handleButtonClicked.bind(this);\r\n this.syncInstanceInputs = this.syncInstanceInputs.bind(this);\r\n this.clearInput = this.clearInput.bind(this);\r\n this.getInput = this.getInput.bind(this);\r\n this.setInput = this.setInput.bind(this);\r\n this.replaceInput = this.replaceInput.bind(this);\r\n this.clear = this.clear.bind(this);\r\n this.dispatch = this.dispatch.bind(this);\r\n this.addButtonTheme = this.addButtonTheme.bind(this);\r\n this.removeButtonTheme = this.removeButtonTheme.bind(this);\r\n this.getButtonElement = this.getButtonElement.bind(this);\r\n this.handleCaret = this.handleCaret.bind(this);\r\n this.caretEventHandler = this.caretEventHandler.bind(this);\r\n this.onInit = this.onInit.bind(this);\r\n this.onRender = this.onRender.bind(this);\r\n this.render = this.render.bind(this);\r\n this.loadModules = this.loadModules.bind(this);\r\n this.handleButtonMouseUp = this.handleButtonMouseUp.bind(this);\r\n this.handleButtonMouseDown = this.handleButtonMouseDown.bind(this);\r\n this.handleButtonHold = this.handleButtonHold.bind(this);\r\n\r\n /**\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 */\r\n this.input = {};\r\n this.input[this.options.inputName] = '';\r\n\r\n /**\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n */\r\n this.keyboardDOMClass = keyboardDOMQuery.split('.').join(\"\");\r\n\r\n /**\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 */\r\n this.buttonElements = {};\r\n\r\n /**\r\n * Rendering keyboard\r\n */\r\n if(this.keyboardDOM)\r\n this.render();\r\n else {\r\n console.warn(`\"${keyboardDOMQuery}\" was not found in the DOM.`);\r\n throw new Error(\"KEYBOARD_DOM_ERROR\");\r\n }\r\n\r\n /**\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n */\r\n if(!window['SimpleKeyboardInstances'])\r\n window['SimpleKeyboardInstances'] = {};\r\n \r\n window['SimpleKeyboardInstances'][this.utilities.camelCase(this.keyboardDOMClass)] = this;\r\n\r\n /**\r\n * Physical Keyboard support\r\n */\r\n this.physicalKeyboardInterface = new PhysicalKeyboard(this);\r\n\r\n /**\r\n * Modules\r\n */\r\n this.modules = {};\r\n this.loadModules();\r\n }\r\n\r\n /**\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n */\r\n handleButtonClicked(button){\r\n let debug = this.options.debug;\r\n\r\n /**\r\n * Ignoring placeholder buttons\r\n */\r\n if(button === '{//}')\r\n return false;\r\n\r\n /**\r\n * Calling onKeyPress\r\n */\r\n if(typeof this.options.onKeyPress === \"function\")\r\n this.options.onKeyPress(button);\r\n \r\n if(!this.input[this.options.inputName])\r\n this.input[this.options.inputName] = '';\r\n\r\n let updatedInput = this.utilities.getUpdatedInput(button, this.input[this.options.inputName], this.options, this.caretPosition);\r\n\r\n if(this.input[this.options.inputName] !== updatedInput){\r\n\r\n /**\r\n * If maxLength and handleMaxLength yield true, halting\r\n */\r\n if(this.options.maxLength && this.utilities.handleMaxLength(this.input, this.options, updatedInput)){\r\n return false;\r\n }\r\n\r\n this.input[this.options.inputName] = updatedInput;\r\n\r\n if(debug)\r\n console.log('Input changed:', this.input);\r\n\r\n /**\r\n * Enforce syncInstanceInputs, if set\r\n */\r\n if(this.options.syncInstanceInputs)\r\n this.syncInstanceInputs(this.input);\r\n\r\n /**\r\n * Calling onChange\r\n */\r\n if(typeof this.options.onChange === \"function\")\r\n this.options.onChange(this.input[this.options.inputName]);\r\n }\r\n \r\n if(debug){\r\n console.log(\"Key pressed:\", button);\r\n }\r\n }\r\n\r\n /**\r\n * Handles button mousedown\r\n */\r\n /* istanbul ignore next */\r\n handleButtonMouseDown(button, e){\r\n /**\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n */\r\n this.isMouseHold = true;\r\n\r\n /**\r\n * @type {object} Time to wait until a key hold is detected\r\n */\r\n this.holdTimeout = setTimeout(() => {\r\n if(\r\n this.isMouseHold &&\r\n (\r\n (!button.includes(\"{\") && !button.includes(\"}\")) ||\r\n button === \"{bksp}\" ||\r\n button === \"{space}\" ||\r\n button === \"{tab}\"\r\n )\r\n ){\r\n if(this.options.debug)\r\n console.log(\"Button held:\", button);\r\n\r\n this.handleButtonHold(button, e);\r\n }\r\n clearTimeout(this.holdTimeout);\r\n }, 500);\r\n }\r\n\r\n /**\r\n * Handles button mouseup\r\n */\r\n handleButtonMouseUp(){\r\n this.isMouseHold = false;\r\n if(this.holdInteractionTimeout)\r\n clearTimeout(this.holdInteractionTimeout);\r\n }\r\n\r\n /**\r\n * Handles button hold\r\n */\r\n /* istanbul ignore next */\r\n handleButtonHold(button){\r\n /**\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n */\r\n this.holdInteractionTimeout = setTimeout(() => {\r\n this.handleButtonClicked(button);\r\n this.handleButtonHold(button);\r\n }, 100);\r\n }\r\n\r\n /**\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n */\r\n syncInstanceInputs(){\r\n this.dispatch((instance) => {\r\n instance.replaceInput(this.input);\r\n });\r\n }\r\n \r\n /**\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n */\r\n clearInput(inputName){\r\n inputName = inputName || this.options.inputName;\r\n this.input[this.options.inputName] = '';\r\n\r\n /**\r\n * Enforce syncInstanceInputs, if set\r\n */\r\n if(this.options.syncInstanceInputs)\r\n this.syncInstanceInputs(this.input);\r\n }\r\n\r\n /**\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 */\r\n getInput(inputName){\r\n inputName = inputName || this.options.inputName;\r\n\r\n /**\r\n * Enforce syncInstanceInputs, if set\r\n */\r\n if(this.options.syncInstanceInputs)\r\n this.syncInstanceInputs(this.input);\r\n\r\n return this.input[this.options.inputName];\r\n }\r\n\r\n /**\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 */\r\n setInput(input, inputName){\r\n inputName = inputName || this.options.inputName;\r\n this.input[inputName] = input;\r\n\r\n /**\r\n * Enforce syncInstanceInputs, if set\r\n */\r\n if(this.options.syncInstanceInputs)\r\n this.syncInstanceInputs(this.input);\r\n }\r\n \r\n /**\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n */\r\n replaceInput(inputObj){\r\n this.input = inputObj;\r\n }\r\n\r\n /**\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n */\r\n setOptions = option => {\r\n option = option || {};\r\n this.options = Object.assign(this.options, option);\r\n this.render();\r\n\r\n /**\r\n * Apply modules\r\n */\r\n this.loadModules();\r\n }\r\n\r\n /**\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n */\r\n clear(){\r\n this.keyboardDOM.innerHTML = '';\r\n this.keyboardDOM.className = this.keyboardDOMClass;\r\n this.buttonElements = {};\r\n }\r\n\r\n /**\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 */\r\n dispatch(callback){\r\n if(!window['SimpleKeyboardInstances']){\r\n console.warn(`SimpleKeyboardInstances is not defined. Dispatch cannot be called.`);\r\n throw new Error(\"INSTANCES_VAR_ERROR\");\r\n }\r\n \r\n return Object.keys(window['SimpleKeyboardInstances']).forEach((key) => {\r\n callback(window['SimpleKeyboardInstances'][key], key);\r\n })\r\n }\r\n\r\n /**\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 */\r\n addButtonTheme(buttons, className){\r\n if(!className || !buttons)\r\n return false;\r\n\r\n buttons.split(\" \").forEach(button => {\r\n className.split(\" \").forEach(classNameItem => {\r\n if(!this.options.buttonTheme)\r\n this.options.buttonTheme = [];\r\n\r\n let classNameFound = false;\r\n \r\n /**\r\n * If class is already defined, we add button to class definition\r\n */\r\n this.options.buttonTheme.map(buttonTheme => {\r\n\r\n if(buttonTheme.class.split(\" \").includes(classNameItem)){\r\n classNameFound = true;\r\n \r\n let buttonThemeArray = buttonTheme.buttons.split(\" \");\r\n if(!buttonThemeArray.includes(button)){\r\n classNameFound = true;\r\n buttonThemeArray.push(button);\r\n buttonTheme.buttons = buttonThemeArray.join(\" \");\r\n }\r\n }\r\n return buttonTheme;\r\n });\r\n\r\n /**\r\n * If class is not defined, we create a new entry\r\n */\r\n if(!classNameFound){\r\n this.options.buttonTheme.push({\r\n class: classNameItem,\r\n buttons: buttons\r\n });\r\n }\r\n\r\n });\r\n });\r\n\r\n this.render();\r\n }\r\n\r\n /**\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 */\r\n removeButtonTheme(buttons, className){\r\n /**\r\n * When called with empty parameters, remove all button themes\r\n */\r\n if(!buttons && !className){\r\n this.options.buttonTheme = [];\r\n this.render();\r\n return false;\r\n }\r\n\r\n /**\r\n * If buttons are passed and buttonTheme has items\r\n */\r\n if(buttons && Array.isArray(this.options.buttonTheme) && this.options.buttonTheme.length){\r\n let buttonArray = buttons.split(\" \");\r\n buttonArray.forEach((button, key) => {\r\n this.options.buttonTheme.map((buttonTheme, index) => {\r\n\r\n /**\r\n * If className is set, we affect the buttons only for that class\r\n * Otherwise, we afect all classes\r\n */\r\n if(\r\n (className && className.includes(buttonTheme.class)) ||\r\n !className\r\n ){\r\n let filteredButtonArray = buttonTheme.buttons.split(\" \").filter(item => item !== button);\r\n\r\n /**\r\n * If buttons left, return them, otherwise, remove button Theme\r\n */\r\n if(filteredButtonArray.length){\r\n buttonTheme.buttons = filteredButtonArray.join(\" \");\r\n } else {\r\n this.options.buttonTheme.splice(index, 1);\r\n buttonTheme = null;\r\n }\r\n \r\n }\r\n\r\n return buttonTheme;\r\n });\r\n });\r\n\r\n this.render();\r\n }\r\n }\r\n\r\n /**\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 */\r\n getButtonElement(button){\r\n let output;\r\n\r\n let buttonArr = this.buttonElements[button];\r\n if(buttonArr){\r\n if(buttonArr.length > 1){\r\n output = buttonArr;\r\n } else {\r\n output = buttonArr[0];\r\n }\r\n }\r\n\r\n return output;\r\n }\r\n\r\n /**\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n */\r\n handleCaret(){\r\n if(this.options.debug){\r\n console.log(\"Caret handling started\");\r\n }\r\n\r\n document.addEventListener(\"keyup\", this.caretEventHandler);\r\n document.addEventListener(\"mouseup\", this.caretEventHandler);\r\n document.addEventListener(\"touchend\", this.caretEventHandler);\r\n }\r\n\r\n /**\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n */\r\n caretEventHandler(event){\r\n let targetTagName = event.target.tagName.toLowerCase();\r\n\r\n if(\r\n targetTagName === \"textarea\" ||\r\n targetTagName === \"input\"\r\n ){\r\n /**\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 */\r\n this.caretPosition = event.target.selectionStart;\r\n\r\n if(this.options.debug){\r\n console.log('Caret at: ', event.target.selectionStart, event.target.tagName.toLowerCase());\r\n } \r\n }\r\n }\r\n\r\n /**\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n */\r\n onInit(){\r\n if(this.options.debug){\r\n console.log(\"Initialized\");\r\n }\r\n\r\n /**\r\n * Caret handling\r\n */\r\n this.handleCaret();\r\n\r\n if(typeof this.options.onInit === \"function\")\r\n this.options.onInit();\r\n }\r\n\r\n /**\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n */\r\n onRender(){\r\n if(typeof this.options.onRender === \"function\")\r\n this.options.onRender();\r\n }\r\n\r\n /**\r\n * Register module\r\n */\r\n registerModule = (name, initCallback) => {\r\n if(!this.modules[name])\r\n this.modules[name] = {};\r\n\r\n initCallback(this.modules[name]);\r\n }\r\n\r\n /**\r\n * Load modules\r\n */\r\n loadModules(){\r\n if(Array.isArray(this.options.modules)){\r\n this.options.modules.forEach(Module => {\r\n let module = new Module();\r\n\r\n /* istanbul ignore next */\r\n if(module.constructor.name && module.constructor.name !== \"Function\"){\r\n this.keyboardDOM.classList.add(\r\n `module-${this.utilities.camelCase(module.constructor.name)}`\r\n );\r\n }\r\n\r\n module.init(this);\r\n });\r\n }\r\n }\r\n\r\n /**\r\n * Get module prop\r\n */\r\n getModuleProp = (name, prop) => {\r\n if(!this.modules[name])\r\n return false;\r\n \r\n return this.modules[name][prop];\r\n }\r\n\r\n /**\r\n * getModulesList\r\n */\r\n getModulesList = () => {\r\n return Object.keys(this.modules);\r\n }\r\n\r\n /**\r\n * Renders rows and buttons as per options\r\n */\r\n render(){\r\n /**\r\n * Clear keyboard\r\n */\r\n this.clear();\r\n\r\n let layoutClass = this.options.layout ? \"hg-layout-custom\" : `hg-layout-${this.options.layoutName}`;\r\n let layout = this.options.layout || KeyboardLayout.getDefaultLayout();\r\n\r\n /**\r\n * Account for buttonTheme, if set\r\n */\r\n let buttonThemesParsed = {};\r\n if(Array.isArray(this.options.buttonTheme)){\r\n this.options.buttonTheme.forEach(themeObj => {\r\n if(themeObj.buttons && themeObj.class){\r\n let themeButtons;\r\n\r\n if(typeof themeObj.buttons === \"string\"){\r\n themeButtons = themeObj.buttons.split(' ');\r\n }\r\n\r\n if(themeButtons){\r\n themeButtons.forEach(themeButton => {\r\n let themeParsed = buttonThemesParsed[themeButton];\r\n\r\n // If the button has already been added\r\n if(themeParsed){\r\n // Making sure we don't add duplicate classes, even when buttonTheme has duplicates\r\n if(!this.utilities.countInArray(themeParsed.split(\" \"), themeObj.class)){\r\n buttonThemesParsed[themeButton] = `${themeParsed} ${themeObj.class}`;\r\n }\r\n } else {\r\n buttonThemesParsed[themeButton] = themeObj.class;\r\n }\r\n });\r\n }\r\n } else {\r\n console.warn(`buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation.`)\r\n }\r\n });\r\n }\r\n\r\n /**\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n */\r\n this.keyboardDOM.className += ` ${this.options.theme} ${layoutClass}`;\r\n\r\n /**\r\n * Iterating through each row\r\n */\r\n layout[this.options.layoutName].forEach((row, rIndex) => {\r\n let rowArray = row.split(' ');\r\n\r\n /**\r\n * Creating empty row\r\n */\r\n var rowDOM = document.createElement('div');\r\n rowDOM.className += \"hg-row\";\r\n\r\n /**\r\n * Iterating through each button in row\r\n */\r\n rowArray.forEach((button, bIndex) => {\r\n let fctBtnClass = this.utilities.getButtonClass(button);\r\n let buttonThemeClass = buttonThemesParsed[button];\r\n let buttonDisplayName = this.utilities.getButtonDisplayName(button, this.options.display, this.options.mergeDisplay);\r\n\r\n /**\r\n * Creating button\r\n */\r\n var buttonDOM = document.createElement('div');\r\n buttonDOM.className += `hg-button ${fctBtnClass}${buttonThemeClass ? \" \"+buttonThemeClass : \"\"}`;\r\n buttonDOM.onclick = () => this.handleButtonClicked(button);\r\n buttonDOM.onmousedown = (e) => this.handleButtonMouseDown(button, e);\r\n\r\n /**\r\n * Adding identifier\r\n */\r\n buttonDOM.setAttribute(\"data-skBtn\", button);\r\n\r\n /**\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 */\r\n let buttonUID = `${this.options.layoutName}-r${rIndex}b${bIndex}`;\r\n buttonDOM.setAttribute(\"data-skBtnUID\", buttonUID);\r\n\r\n /**\r\n * Adding display label\r\n */\r\n buttonDOM.setAttribute(\"data-displayLabel\", buttonDisplayName);\r\n\r\n /**\r\n * Adding button label to button\r\n */\r\n var buttonSpanDOM = document.createElement('span');\r\n buttonSpanDOM.innerHTML = buttonDisplayName;\r\n buttonDOM.appendChild(buttonSpanDOM);\r\n\r\n /**\r\n * Adding to buttonElements\r\n */\r\n if(!this.buttonElements[button])\r\n this.buttonElements[button] = [];\r\n\r\n this.buttonElements[button].push(buttonDOM);\r\n\r\n /**\r\n * Appending button to row\r\n */\r\n rowDOM.appendChild(buttonDOM);\r\n\r\n });\r\n\r\n /**\r\n * Appending row to keyboard\r\n */\r\n this.keyboardDOM.appendChild(rowDOM);\r\n });\r\n\r\n /**\r\n * Calling onRender\r\n */\r\n this.onRender();\r\n\r\n if(!this.initialized){\r\n /**\r\n * Ensures that onInit is only called once per instantiation\r\n */\r\n this.initialized = true;\r\n\r\n /**\r\n * Handling mouseup\r\n */\r\n document.onmouseup = () => this.handleButtonMouseUp();\r\n\r\n /**\r\n * Calling onInit\r\n */\r\n this.onInit();\r\n }\r\n }\r\n}\r\n\r\nexport default SimpleKeyboard;\r\n", "static": true, "longname": "X:/Dev/simple-keyboard/src/lib/components/Keyboard.js", "access": "public", @@ -1026,23 +1026,7 @@ } }, { - "__docId__": 64, - "kind": "member", - "name": "modules", - "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", - "static": false, - "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#modules", - "access": "public", - "description": "Module namespace", - "lineNumber": 69, - "type": { - "types": [ - "{}" - ] - } - }, - { - "__docId__": 81, + "__docId__": 84, "kind": "member", "name": "input", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1053,7 +1037,7 @@ "examples": [ "// To get entered input\nlet input = keyboard.getInput();\n\n// To clear entered input.\nkeyboard.clearInput();" ], - "lineNumber": 105, + "lineNumber": 104, "properties": [ { "nullable": null, @@ -1086,7 +1070,7 @@ } }, { - "__docId__": 82, + "__docId__": 85, "kind": "member", "name": "keyboardDOMClass", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1094,7 +1078,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#keyboardDOMClass", "access": "public", "description": "", - "lineNumber": 111, + "lineNumber": 110, "type": { "nullable": null, "types": [ @@ -1105,7 +1089,7 @@ } }, { - "__docId__": 83, + "__docId__": 86, "kind": "member", "name": "buttonElements", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1113,7 +1097,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#buttonElements", "access": "public", "description": "", - "lineNumber": 116, + "lineNumber": 115, "type": { "nullable": null, "types": [ @@ -1124,7 +1108,7 @@ } }, { - "__docId__": 84, + "__docId__": 87, "kind": "member", "name": "physicalKeyboardInterface", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1132,7 +1116,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#physicalKeyboardInterface", "access": "public", "description": "Physical Keyboard support", - "lineNumber": 140, + "lineNumber": 139, "type": { "types": [ "*" @@ -1140,7 +1124,23 @@ } }, { - "__docId__": 85, + "__docId__": 88, + "kind": "member", + "name": "modules", + "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", + "static": false, + "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#modules", + "access": "public", + "description": "Modules", + "lineNumber": 144, + "type": { + "types": [ + "{}" + ] + } + }, + { + "__docId__": 89, "kind": "method", "name": "handleButtonClicked", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1150,7 +1150,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#handleButtonClicked", "access": "public", "description": "Handles clicks made to keyboard buttons", - "lineNumber": 146, + "lineNumber": 152, "params": [ { "nullable": null, @@ -1170,7 +1170,129 @@ } }, { - "__docId__": 86, + "__docId__": 90, + "kind": "method", + "name": "handleButtonMouseDown", + "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", + "generator": false, + "async": false, + "static": false, + "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#handleButtonMouseDown", + "access": "public", + "description": "Handles button mousedown", + "lineNumber": 208, + "params": [ + { + "name": "button", + "types": [ + "*" + ] + }, + { + "name": "e", + "types": [ + "*" + ] + } + ], + "return": null + }, + { + "__docId__": 91, + "kind": "member", + "name": "isMouseHold", + "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", + "static": false, + "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#isMouseHold", + "access": "public", + "description": "", + "lineNumber": 212, + "type": { + "nullable": null, + "types": [ + "boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 92, + "kind": "member", + "name": "holdTimeout", + "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", + "static": false, + "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#holdTimeout", + "access": "public", + "description": "", + "lineNumber": 217, + "type": { + "nullable": null, + "types": [ + "object" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 93, + "kind": "method", + "name": "handleButtonMouseUp", + "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", + "generator": false, + "async": false, + "static": false, + "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#handleButtonMouseUp", + "access": "public", + "description": "Handles button mouseup", + "lineNumber": 239, + "params": [], + "return": null + }, + { + "__docId__": 95, + "kind": "method", + "name": "handleButtonHold", + "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", + "generator": false, + "async": false, + "static": false, + "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#handleButtonHold", + "access": "public", + "description": "Handles button hold", + "lineNumber": 249, + "params": [ + { + "name": "button", + "types": [ + "*" + ] + } + ], + "return": null + }, + { + "__docId__": 96, + "kind": "member", + "name": "holdInteractionTimeout", + "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", + "static": false, + "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#holdInteractionTimeout", + "access": "public", + "description": "", + "lineNumber": 253, + "type": { + "nullable": null, + "types": [ + "object" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 97, "kind": "method", "name": "syncInstanceInputs", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1180,12 +1302,12 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#syncInstanceInputs", "access": "public", "description": "Send a command to all simple-keyboard instances (if you have several instances).", - "lineNumber": 201, + "lineNumber": 262, "params": [], "return": null }, { - "__docId__": 87, + "__docId__": 98, "kind": "method", "name": "clearInput", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1195,7 +1317,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#clearInput", "access": "public", "description": "Clear the keyboard’s input.", - "lineNumber": 211, + "lineNumber": 272, "params": [ { "nullable": null, @@ -1211,7 +1333,7 @@ "return": null }, { - "__docId__": 88, + "__docId__": 99, "kind": "method", "name": "getInput", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1221,7 +1343,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#getInput", "access": "public", "description": "Get the keyboard’s input (You can also get it from the onChange prop).", - "lineNumber": 226, + "lineNumber": 287, "params": [ { "nullable": null, @@ -1241,7 +1363,7 @@ } }, { - "__docId__": 89, + "__docId__": 100, "kind": "method", "name": "setInput", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1251,7 +1373,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#setInput", "access": "public", "description": "Set the keyboard’s input.", - "lineNumber": 243, + "lineNumber": 304, "params": [ { "nullable": null, @@ -1277,7 +1399,7 @@ "return": null }, { - "__docId__": 90, + "__docId__": 101, "kind": "method", "name": "replaceInput", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1287,7 +1409,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#replaceInput", "access": "public", "description": "Replace the input object (`keyboard.input`)", - "lineNumber": 258, + "lineNumber": 319, "params": [ { "nullable": null, @@ -1303,7 +1425,7 @@ "return": null }, { - "__docId__": 92, + "__docId__": 103, "kind": "member", "name": "setOptions", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1311,7 +1433,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#setOptions", "access": "public", "description": "Set new option or modify existing ones after initialization. ", - "lineNumber": 266, + "lineNumber": 327, "params": [ { "nullable": null, @@ -1331,7 +1453,7 @@ } }, { - "__docId__": 94, + "__docId__": 105, "kind": "method", "name": "clear", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1341,12 +1463,12 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#clear", "access": "public", "description": "Remove all keyboard rows and reset keyboard values.\nUsed interally between re-renders.", - "lineNumber": 276, + "lineNumber": 342, "params": [], "return": null }, { - "__docId__": 96, + "__docId__": 107, "kind": "method", "name": "dispatch", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1356,7 +1478,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#dispatch", "access": "public", "description": "Send a command to all simple-keyboard instances at once (if you have multiple instances).", - "lineNumber": 286, + "lineNumber": 352, "params": [ { "nullable": null, @@ -1376,7 +1498,7 @@ } }, { - "__docId__": 97, + "__docId__": 108, "kind": "method", "name": "addButtonTheme", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1386,7 +1508,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#addButtonTheme", "access": "public", "description": "Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.", - "lineNumber": 302, + "lineNumber": 368, "params": [ { "nullable": null, @@ -1416,7 +1538,7 @@ } }, { - "__docId__": 98, + "__docId__": 109, "kind": "method", "name": "removeButtonTheme", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1426,7 +1548,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#removeButtonTheme", "access": "public", "description": "Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.", - "lineNumber": 352, + "lineNumber": 418, "params": [ { "nullable": null, @@ -1456,7 +1578,7 @@ } }, { - "__docId__": 99, + "__docId__": 110, "kind": "method", "name": "getButtonElement", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1466,7 +1588,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#getButtonElement", "access": "public", "description": "Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.", - "lineNumber": 404, + "lineNumber": 470, "params": [ { "nullable": null, @@ -1486,7 +1608,7 @@ } }, { - "__docId__": 100, + "__docId__": 111, "kind": "method", "name": "handleCaret", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1496,12 +1618,12 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#handleCaret", "access": "public", "description": "Retrieves the current cursor position within a input or textarea (if any)", - "lineNumber": 422, + "lineNumber": 488, "params": [], "return": null }, { - "__docId__": 101, + "__docId__": 112, "kind": "method", "name": "caretEventHandler", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1511,7 +1633,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#caretEventHandler", "access": "public", "description": "Called by {@link handleCaret} when an event that warrants a cursor position update is triggered", - "lineNumber": 435, + "lineNumber": 501, "params": [ { "name": "event", @@ -1523,7 +1645,7 @@ "return": null }, { - "__docId__": 102, + "__docId__": 113, "kind": "member", "name": "caretPosition", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1531,7 +1653,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#caretPosition", "access": "public", "description": "Tracks current cursor position\nAs keys are pressed, text will be added/removed at that position within the input.", - "lineNumber": 446, + "lineNumber": 512, "type": { "types": [ "*" @@ -1539,7 +1661,7 @@ } }, { - "__docId__": 103, + "__docId__": 114, "kind": "method", "name": "onInit", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1549,12 +1671,12 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#onInit", "access": "public", "description": "Executes the callback function once simple-keyboard is rendered for the first time (on initialization).", - "lineNumber": 457, + "lineNumber": 523, "params": [], "return": null }, { - "__docId__": 104, + "__docId__": 115, "kind": "method", "name": "onRender", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1564,12 +1686,12 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#onRender", "access": "public", "description": "Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).", - "lineNumber": 474, + "lineNumber": 540, "params": [], "return": null }, { - "__docId__": 105, + "__docId__": 116, "kind": "member", "name": "registerModule", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1577,7 +1699,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#registerModule", "access": "public", "description": "Register module", - "lineNumber": 482, + "lineNumber": 548, "type": { "types": [ "*" @@ -1585,7 +1707,22 @@ } }, { - "__docId__": 106, + "__docId__": 117, + "kind": "method", + "name": "loadModules", + "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", + "generator": false, + "async": false, + "static": false, + "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#loadModules", + "access": "public", + "description": "Load modules", + "lineNumber": 558, + "params": [], + "return": null + }, + { + "__docId__": 118, "kind": "member", "name": "getModuleProp", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1593,7 +1730,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#getModuleProp", "access": "public", "description": "Get module prop", - "lineNumber": 491, + "lineNumber": 578, "type": { "types": [ "*" @@ -1601,7 +1738,7 @@ } }, { - "__docId__": 107, + "__docId__": 119, "kind": "member", "name": "getModulesList", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1609,7 +1746,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#getModulesList", "access": "public", "description": "getModulesList", - "lineNumber": 501, + "lineNumber": 588, "type": { "types": [ "*" @@ -1617,7 +1754,7 @@ } }, { - "__docId__": 108, + "__docId__": 120, "kind": "method", "name": "render", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1627,12 +1764,12 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#render", "access": "public", "description": "Renders rows and buttons as per options", - "lineNumber": 508, + "lineNumber": 595, "params": [], "return": null }, { - "__docId__": 109, + "__docId__": 121, "kind": "member", "name": "initialized", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1640,7 +1777,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#initialized", "access": "public", "description": "Ensures that onInit is only called once per instantiation", - "lineNumber": 637, + "lineNumber": 725, "type": { "types": [ "boolean" @@ -1648,7 +1785,7 @@ } }, { - "__docId__": 110, + "__docId__": 122, "kind": "file", "name": "src/lib/index.js", "content": "import SimpleKeyboard from './components/Keyboard';\r\nexport default SimpleKeyboard;\r\n", @@ -1659,7 +1796,7 @@ "lineNumber": 1 }, { - "__docId__": 111, + "__docId__": 123, "kind": "file", "name": "src/lib/services/KeyboardLayout.js", "content": "/**\r\n * Keyboard Layout Service\r\n */\r\nclass KeyboardLayout {\r\n /**\r\n * Get default simple-keyboard layout\r\n * @return {object} The default layout (US-QWERTY)\r\n */\r\n static getDefaultLayout(){\r\n return {\r\n 'default': [\r\n '` 1 2 3 4 5 6 7 8 9 0 - = {bksp}',\r\n '{tab} q w e r t y u i o p [ ] \\\\',\r\n '{lock} a s d f g h j k l ; \\' {enter}',\r\n '{shift} z x c v b n m , . / {shift}',\r\n '.com @ {space}'\r\n ],\r\n 'shift': [\r\n '~ ! @ # $ % ^ & * ( ) _ + {bksp}',\r\n '{tab} Q W E R T Y U I O P { } |',\r\n '{lock} A S D F G H J K L : \" {enter}',\r\n '{shift} Z X C V B N M < > ? {shift}',\r\n '.com @ {space}'\r\n ]\r\n } \r\n }\r\n}\r\n\r\nexport default KeyboardLayout;", @@ -1670,7 +1807,7 @@ "lineNumber": 1 }, { - "__docId__": 112, + "__docId__": 124, "kind": "class", "name": "KeyboardLayout", "memberof": "src/lib/services/KeyboardLayout.js", @@ -1685,7 +1822,7 @@ "interface": false }, { - "__docId__": 113, + "__docId__": 125, "kind": "method", "name": "getDefaultLayout", "memberof": "src/lib/services/KeyboardLayout.js~KeyboardLayout", @@ -1707,7 +1844,7 @@ "params": [] }, { - "__docId__": 114, + "__docId__": 126, "kind": "file", "name": "src/lib/services/PhysicalKeyboard.js", "content": "/**\r\n * Physical Keyboard Service\r\n */\r\nclass PhysicalKeyboard {\r\n /**\r\n * Creates an instance of the PhysicalKeyboard service\r\n */\r\n constructor(simpleKeyboardInstance){\r\n /**\r\n * @type {object} A simple-keyboard instance\r\n */\r\n this.simpleKeyboardInstance = simpleKeyboardInstance;\r\n\r\n /**\r\n * Bindings\r\n */\r\n this.initKeyboardListener = this.initKeyboardListener.bind(this);\r\n this.getSimpleKeyboardLayoutKey = this.getSimpleKeyboardLayoutKey.bind(this);\r\n\r\n /**\r\n * Initialize key listeners\r\n */\r\n this.initKeyboardListener();\r\n }\r\n\r\n /**\r\n * Initializes key event listeners\r\n */\r\n initKeyboardListener(){\r\n // Adding button style on keydown\r\n document.addEventListener(\"keydown\", (event) => {\r\n if(this.simpleKeyboardInstance.options.physicalKeyboardHighlight){\r\n let buttonPressed = this.getSimpleKeyboardLayoutKey(event);\r\n\r\n this.simpleKeyboardInstance.dispatch(instance => {\r\n let buttonDOM = instance.getButtonElement(buttonPressed) || instance.getButtonElement(`{${buttonPressed}}`);\r\n\r\n if(buttonDOM){\r\n buttonDOM.style.backgroundColor = this.simpleKeyboardInstance.options.physicalKeyboardHighlightBgColor || \"#9ab4d0\";\r\n buttonDOM.style.color = this.simpleKeyboardInstance.options.physicalKeyboardHighlightTextColor || \"white\";\r\n }\r\n });\r\n }\r\n });\r\n\r\n // Removing button style on keyup\r\n document.addEventListener(\"keyup\", (event) => {\r\n if(this.simpleKeyboardInstance.options.physicalKeyboardHighlight){\r\n let buttonPressed = this.getSimpleKeyboardLayoutKey(event);\r\n\r\n this.simpleKeyboardInstance.dispatch(instance => {\r\n let buttonDOM = instance.getButtonElement(buttonPressed) || instance.getButtonElement(`{${buttonPressed}}`);\r\n\r\n if(buttonDOM){\r\n buttonDOM.removeAttribute(\"style\");\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n /**\r\n * Transforms a KeyboardEvent's \"key.code\" string into a simple-keyboard layout format\r\n * @param {object} event The KeyboardEvent\r\n */\r\n getSimpleKeyboardLayoutKey(event){\r\n let output;\r\n\r\n if(\r\n event.code.includes(\"Numpad\") ||\r\n event.code.includes(\"Shift\") ||\r\n event.code.includes(\"Space\") ||\r\n event.code.includes(\"Backspace\") ||\r\n event.code.includes(\"Control\") ||\r\n event.code.includes(\"Alt\") ||\r\n event.code.includes(\"Meta\")\r\n ){\r\n output = event.code;\r\n } else {\r\n output = event.key;\r\n }\r\n\r\n /**\r\n * If button is not uppercase, casting to lowercase\r\n */\r\n if (\r\n output !== output.toUpperCase() ||\r\n (event.code[0] === \"F\" && Number.isInteger(Number(event.code[1])) && event.code.length <= 3)\r\n ) {\r\n output = output.toLowerCase();\r\n }\r\n\r\n return output;\r\n }\r\n}\r\n\r\nexport default PhysicalKeyboard;", @@ -1718,7 +1855,7 @@ "lineNumber": 1 }, { - "__docId__": 115, + "__docId__": 127, "kind": "class", "name": "PhysicalKeyboard", "memberof": "src/lib/services/PhysicalKeyboard.js", @@ -1733,7 +1870,7 @@ "interface": false }, { - "__docId__": 116, + "__docId__": 128, "kind": "constructor", "name": "constructor", "memberof": "src/lib/services/PhysicalKeyboard.js~PhysicalKeyboard", @@ -1746,7 +1883,7 @@ "lineNumber": 8 }, { - "__docId__": 117, + "__docId__": 129, "kind": "member", "name": "simpleKeyboardInstance", "memberof": "src/lib/services/PhysicalKeyboard.js~PhysicalKeyboard", @@ -1765,7 +1902,7 @@ } }, { - "__docId__": 120, + "__docId__": 132, "kind": "method", "name": "initKeyboardListener", "memberof": "src/lib/services/PhysicalKeyboard.js~PhysicalKeyboard", @@ -1780,7 +1917,7 @@ "return": null }, { - "__docId__": 121, + "__docId__": 133, "kind": "method", "name": "getSimpleKeyboardLayoutKey", "memberof": "src/lib/services/PhysicalKeyboard.js~PhysicalKeyboard", @@ -1810,7 +1947,7 @@ } }, { - "__docId__": 122, + "__docId__": 134, "kind": "file", "name": "src/lib/services/Utilities.js", "content": "/**\r\n * Utility Service\r\n */\r\nclass Utilities {\r\n /**\r\n * Creates an instance of the Utility service\r\n */\r\n constructor(simpleKeyboardInstance){\r\n /**\r\n * @type {object} A simple-keyboard instance\r\n */\r\n this.simpleKeyboardInstance = simpleKeyboardInstance;\r\n\r\n /**\r\n * Bindings\r\n */\r\n this.getButtonClass = this.getButtonClass.bind(this);\r\n this.getButtonDisplayName = this.getButtonDisplayName.bind(this);\r\n this.getUpdatedInput = this.getUpdatedInput.bind(this);\r\n this.updateCaretPos = this.updateCaretPos.bind(this);\r\n this.isMaxLengthReached = this.isMaxLengthReached.bind(this);\r\n this.camelCase = this.camelCase.bind(this);\r\n this.countInArray = this.countInArray.bind(this);\r\n }\r\n\r\n /**\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 */\r\n getButtonClass(button){\r\n let buttonTypeClass = (button.includes(\"{\") && button.includes(\"}\") && button !== '{//}') ? \"functionBtn\" : \"standardBtn\";\r\n let buttonWithoutBraces = button.replace(\"{\", \"\").replace(\"}\", \"\");\r\n let buttonNormalized = '';\r\n\r\n if(buttonTypeClass !== \"standardBtn\")\r\n buttonNormalized = ` hg-button-${buttonWithoutBraces}`;\r\n\r\n return `hg-${buttonTypeClass}${buttonNormalized}`;\r\n }\r\n\r\n /**\r\n * Default button display labels\r\n */\r\n getDefaultDiplay(){\r\n return {\r\n '{bksp}': 'backspace',\r\n '{backspace}': 'backspace',\r\n '{enter}': '< enter',\r\n '{shift}': 'shift',\r\n '{shiftleft}': 'shift',\r\n '{shiftright}': 'shift',\r\n '{alt}': 'alt',\r\n '{s}': 'shift',\r\n '{tab}': 'tab',\r\n '{lock}': 'caps',\r\n '{capslock}': 'caps',\r\n '{accept}': 'Submit',\r\n '{space}': ' ',\r\n '{//}': ' ',\r\n \"{esc}\": \"esc\",\r\n \"{escape}\": \"esc\",\r\n \"{f1}\": \"f1\",\r\n \"{f2}\": \"f2\",\r\n \"{f3}\": \"f3\",\r\n \"{f4}\": \"f4\",\r\n \"{f5}\": \"f5\",\r\n \"{f6}\": \"f6\",\r\n \"{f7}\": \"f7\",\r\n \"{f8}\": \"f8\",\r\n \"{f9}\": \"f9\",\r\n \"{f10}\": \"f10\",\r\n \"{f11}\": \"f11\",\r\n \"{f12}\": \"f12\",\r\n '{numpaddivide}': '/',\r\n '{numlock}': 'lock',\r\n \"{arrowup}\": \"↑\",\r\n \"{arrowleft}\": \"←\",\r\n \"{arrowdown}\": \"↓\",\r\n \"{arrowright}\": \"→\",\r\n \"{prtscr}\": \"print\",\r\n \"{scrolllock}\": \"scroll\",\r\n \"{pause}\": \"pause\",\r\n \"{insert}\": \"ins\",\r\n \"{home}\": \"home\",\r\n \"{pageup}\": \"up\",\r\n \"{delete}\": \"del\",\r\n \"{end}\": \"end\",\r\n \"{pagedown}\": \"down\",\r\n \"{numpadmultiply}\": \"*\",\r\n \"{numpadsubtract}\": \"-\",\r\n \"{numpadadd}\": \"+\",\r\n \"{numpadenter}\": \"enter\",\r\n \"{period}\": \".\",\r\n \"{numpaddecimal}\": \".\",\r\n \"{numpad0}\": \"0\",\r\n \"{numpad1}\": \"1\",\r\n \"{numpad2}\": \"2\",\r\n \"{numpad3}\": \"3\",\r\n \"{numpad4}\": \"4\",\r\n \"{numpad5}\": \"5\",\r\n \"{numpad6}\": \"6\",\r\n \"{numpad7}\": \"7\",\r\n \"{numpad8}\": \"8\",\r\n \"{numpad9}\": \"9\",\r\n };\r\n }\r\n /**\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 */\r\n getButtonDisplayName(button, display, mergeDisplay){\r\n if(mergeDisplay){\r\n display = Object.assign({}, this.getDefaultDiplay(), display);\r\n } else {\r\n display = display || this.getDefaultDiplay();\r\n }\r\n\r\n return display[button] || button;\r\n }\r\n\r\n \r\n /**\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 */\r\n getUpdatedInput(button, input, options, caretPos){\r\n \r\n let output = input;\r\n\r\n if((button === \"{bksp}\" || button === \"{backspace}\") && output.length > 0){\r\n output = this.removeAt(output, caretPos);\r\n\r\n } else if(button === \"{space}\")\r\n output = this.addStringAt(output, \" \", caretPos);\r\n\r\n else if(button === \"{tab}\" && !(typeof options.tabCharOnTab === \"boolean\" && options.tabCharOnTab === false)){\r\n output = this.addStringAt(output, \"\\t\", caretPos);\r\n\r\n } else if((button === \"{enter}\" || button === \"{numpadenter}\") && options.newLineOnEnter)\r\n output = this.addStringAt(output, \"\\n\", caretPos);\r\n\r\n else if(button.includes(\"numpad\") && Number.isInteger(Number(button[button.length - 2]))){\r\n output = this.addStringAt(output, button[button.length - 2], caretPos);\r\n }\r\n else if(button === \"{numpaddivide}\")\r\n output = this.addStringAt(output, '/', caretPos);\r\n\r\n else if(button === \"{numpadmultiply}\")\r\n output = this.addStringAt(output, '*', caretPos);\r\n else if(button === \"{numpadsubtract}\")\r\n output = this.addStringAt(output, '-', caretPos);\r\n\r\n else if(button === \"{numpadadd}\")\r\n output = this.addStringAt(output, '+', caretPos);\r\n\r\n else if(button === \"{numpaddecimal}\")\r\n output = this.addStringAt(output, '.', caretPos);\r\n\r\n else if(button === \"{\" || button === \"}\")\r\n output = this.addStringAt(output, button, caretPos);\r\n\r\n else if(!button.includes(\"{\") && !button.includes(\"}\"))\r\n output = this.addStringAt(output, button, caretPos);\r\n\r\n return output;\r\n }\r\n /**\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 */\r\n updateCaretPos(length, minus){\r\n if(minus){\r\n if(this.simpleKeyboardInstance.caretPosition > 0)\r\n this.simpleKeyboardInstance.caretPosition = this.simpleKeyboardInstance.caretPosition - length\r\n } else {\r\n this.simpleKeyboardInstance.caretPosition = this.simpleKeyboardInstance.caretPosition + length;\r\n }\r\n }\r\n\r\n /**\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 */\r\n addStringAt(source, string, position){\r\n let output;\r\n\r\n if(this.simpleKeyboardInstance.options.debug){\r\n console.log(\"Caret at:\", position);\r\n }\r\n\r\n if(!position && position !== 0){\r\n output = source + string;\r\n } else {\r\n output = [source.slice(0, position), string, source.slice(position)].join('');\r\n\r\n /**\r\n * Avoid caret position change when maxLength is set\r\n */\r\n if(!this.isMaxLengthReached()){\r\n this.updateCaretPos(string.length);\r\n }\r\n\r\n }\r\n\r\n return output;\r\n }\r\n\r\n /**\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 */\r\n removeAt(source, position){\r\n if(this.simpleKeyboardInstance.caretPosition === 0){\r\n return source;\r\n }\r\n\r\n let output;\r\n let prevTwoChars;\r\n let emojiMatched;\r\n let emojiMatchedReg = /([\\uD800-\\uDBFF][\\uDC00-\\uDFFF])/g;\r\n\r\n /**\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 */\r\n if(position && position >= 0){\r\n prevTwoChars = source.substring(position - 2, position)\r\n emojiMatched = prevTwoChars.match(emojiMatchedReg);\r\n\r\n if(emojiMatched){\r\n output = source.substr(0, (position - 2)) + source.substr(position);\r\n this.updateCaretPos(2, true);\r\n } else {\r\n output = source.substr(0, (position - 1)) + source.substr(position);\r\n this.updateCaretPos(1, true);\r\n }\r\n } else {\r\n prevTwoChars = source.slice(-2);\r\n emojiMatched = prevTwoChars.match(emojiMatchedReg);\r\n\r\n if(emojiMatched){\r\n output = source.slice(0, -2);\r\n this.updateCaretPos(2, true);\r\n } else {\r\n output = source.slice(0, -1);\r\n this.updateCaretPos(1, true);\r\n }\r\n }\r\n\r\n return output;\r\n }\r\n /**\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 */\r\n handleMaxLength(inputObj, options, updatedInput){\r\n let maxLength = options.maxLength;\r\n let currentInput = inputObj[options.inputName];\r\n let condition = currentInput.length === maxLength;\r\n\r\n\r\n if(\r\n /**\r\n * If pressing this button won't add more characters\r\n * We exit out of this limiter function\r\n */\r\n updatedInput.length <= currentInput.length\r\n ){\r\n return false;\r\n }\r\n\r\n if(Number.isInteger(maxLength)){\r\n if(options.debug){\r\n console.log(\"maxLength (num) reached:\", condition);\r\n }\r\n\r\n if(condition){\r\n /**\r\n * @type {boolean} Boolean value that shows whether maxLength has been reached\r\n */\r\n this.maxLengthReached = true;\r\n return true;\r\n } else {\r\n this.maxLengthReached = false;\r\n return false;\r\n }\r\n }\r\n\r\n if(typeof maxLength === \"object\"){\r\n let condition = currentInput.length === maxLength[options.inputName];\r\n\r\n if(options.debug){\r\n console.log(\"maxLength (obj) reached:\", condition);\r\n }\r\n\r\n if(condition){\r\n this.maxLengthReached = true;\r\n return true;\r\n } else {\r\n this.maxLengthReached = false;\r\n return false;\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Gets the current value of maxLengthReached\r\n */\r\n isMaxLengthReached(){\r\n return Boolean(this.maxLengthReached);\r\n }\r\n\r\n /**\r\n * Transforms an arbitrary string to camelCase\r\n * \r\n * @param {string} string The string to transform.\r\n */\r\n camelCase(string){\r\n return string.toLowerCase().trim().split(/[.\\-_\\s]/g).reduce((string, word) => string + word[0].toUpperCase() + word.slice(1));\r\n };\r\n\r\n /**\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 */\r\n countInArray(array, value){\r\n return array.reduce((n, x) => n + (x === value), 0);\r\n }\r\n\r\n}\r\n\r\nexport default Utilities;", @@ -1821,7 +1958,7 @@ "lineNumber": 1 }, { - "__docId__": 123, + "__docId__": 135, "kind": "class", "name": "Utilities", "memberof": "src/lib/services/Utilities.js", @@ -1836,7 +1973,7 @@ "interface": false }, { - "__docId__": 124, + "__docId__": 136, "kind": "constructor", "name": "constructor", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -1849,7 +1986,7 @@ "lineNumber": 8 }, { - "__docId__": 125, + "__docId__": 137, "kind": "member", "name": "simpleKeyboardInstance", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -1868,7 +2005,7 @@ } }, { - "__docId__": 133, + "__docId__": 145, "kind": "method", "name": "getButtonClass", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -1901,7 +2038,7 @@ } }, { - "__docId__": 134, + "__docId__": 146, "kind": "method", "name": "getDefaultDiplay", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -1920,7 +2057,7 @@ } }, { - "__docId__": 135, + "__docId__": 147, "kind": "method", "name": "getButtonDisplayName", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -1970,7 +2107,7 @@ } }, { - "__docId__": 136, + "__docId__": 148, "kind": "method", "name": "getUpdatedInput", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -2030,7 +2167,7 @@ } }, { - "__docId__": 137, + "__docId__": 149, "kind": "method", "name": "updateCaretPos", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -2066,7 +2203,7 @@ "return": null }, { - "__docId__": 138, + "__docId__": 150, "kind": "method", "name": "addStringAt", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -2116,7 +2253,7 @@ } }, { - "__docId__": 139, + "__docId__": 151, "kind": "method", "name": "removeAt", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -2156,7 +2293,7 @@ } }, { - "__docId__": 140, + "__docId__": 152, "kind": "method", "name": "handleMaxLength", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -2206,7 +2343,7 @@ } }, { - "__docId__": 141, + "__docId__": 153, "kind": "member", "name": "maxLengthReached", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -2225,7 +2362,7 @@ } }, { - "__docId__": 145, + "__docId__": 157, "kind": "method", "name": "isMaxLengthReached", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -2244,7 +2381,7 @@ } }, { - "__docId__": 146, + "__docId__": 158, "kind": "method", "name": "camelCase", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -2274,7 +2411,7 @@ } }, { - "__docId__": 147, + "__docId__": 159, "kind": "method", "name": "countInArray", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -2314,7 +2451,7 @@ } }, { - "__docId__": 148, + "__docId__": 160, "kind": "file", "name": "src/lib/tests/TestUtility.js", "content": "/**\r\n * Test Utility Functions\r\n */\r\nexport default class TestUtility {\r\n /**\r\n * Set's a basic DOM structure to test in\r\n */\r\n setDOM = (divClass) => {\r\n this.clear();\r\n const div = document.createElement('div');\r\n div.className += divClass || \"simple-keyboard\";\r\n document.body.appendChild(div);\r\n }\r\n\r\n /**\r\n * Clears DOM structure\r\n */\r\n clear = () => {\r\n document.body.innerHTML = \"\";\r\n }\r\n\r\n /**\r\n * Test if standard buttons respect maxLength and do input a value\r\n */\r\n testLayoutStdButtons = (keyboard) => {\r\n let stdBtnCount = 0;\r\n let fullInput = '';\r\n\r\n this.iterateButtons((button) => {\r\n let label = button.getAttribute(\"data-skbtn\");\r\n\r\n if(label.includes(\"{\"))\r\n return false;\r\n\r\n // Click all standard buttons, respects maxLength\r\n button.onclick();\r\n\r\n // Recording fullInput, bypasses maxLength\r\n fullInput = keyboard.utilities.getUpdatedInput(label, fullInput, keyboard.options, null);\r\n\r\n stdBtnCount += label.length;\r\n });\r\n\r\n /**\r\n * Check if maxLength is respected\r\n */\r\n if(\r\n (\r\n typeof keyboard.options.maxLength === \"object\" &&\r\n keyboard.getInput().length !== keyboard.options.maxLength[keyboard.options.layoutName]\r\n ) ||\r\n (\r\n typeof keyboard.options.maxLength !== \"object\" &&\r\n keyboard.getInput().length !== keyboard.options.maxLength\r\n )\r\n )\r\n throw new Error(\"MAX_LENGTH_ISSUE\");\r\n else\r\n console.log(\"MAX_LENGTH PASSED:\", keyboard.options.layoutName, keyboard.getInput().length, keyboard.options.maxLength);\r\n\r\n /**\r\n * Check if all standard buttons are inputting something\r\n * (Regardless of maxLength)\r\n */\r\n if(stdBtnCount !== fullInput.length)\r\n throw new Error(\"STANDARD_BUTTONS_ISSUE\");\r\n else\r\n console.log(\"STANDARD_BUTTONS PASSED:\", keyboard.options.layoutName, stdBtnCount, fullInput.length);\r\n }\r\n\r\n /**\r\n * Test if function buttons are interactive (have an onclick)\r\n */\r\n testLayoutFctButtons = (callback) => {\r\n let fctBtnCount = 0;\r\n let fctBtnHasOnclickCount = 0;\r\n\r\n this.iterateButtons((button) => {\r\n let label = button.getAttribute(\"data-skbtn\");\r\n\r\n if(!label.includes(\"{\") && !label.includes(\"}\"))\r\n return false;\r\n\r\n fctBtnCount++;\r\n\r\n if(button.onclick){\r\n button.onclick();\r\n fctBtnHasOnclickCount++;\r\n }\r\n\r\n callback(fctBtnCount, fctBtnHasOnclickCount);\r\n });\r\n }\r\n\r\n /**\r\n * Iterates on the keyboard buttons\r\n */\r\n iterateButtons = (callback, selector) => {\r\n let rows = document.body.querySelector(selector || '.simple-keyboard').children;\r\n\r\n Array.from(rows).forEach(row => {\r\n Array.from(row.children).forEach((button) => {\r\n callback(button);\r\n });\r\n });\r\n }\r\n}", @@ -2325,7 +2462,7 @@ "lineNumber": 1 }, { - "__docId__": 149, + "__docId__": 161, "kind": "class", "name": "TestUtility", "memberof": "src/lib/tests/TestUtility.js", @@ -2340,7 +2477,7 @@ "interface": false }, { - "__docId__": 150, + "__docId__": 162, "kind": "member", "name": "setDOM", "memberof": "src/lib/tests/TestUtility.js~TestUtility", @@ -2356,7 +2493,7 @@ } }, { - "__docId__": 151, + "__docId__": 163, "kind": "member", "name": "clear", "memberof": "src/lib/tests/TestUtility.js~TestUtility", @@ -2372,7 +2509,7 @@ } }, { - "__docId__": 152, + "__docId__": 164, "kind": "member", "name": "testLayoutStdButtons", "memberof": "src/lib/tests/TestUtility.js~TestUtility", @@ -2388,7 +2525,7 @@ } }, { - "__docId__": 153, + "__docId__": 165, "kind": "member", "name": "testLayoutFctButtons", "memberof": "src/lib/tests/TestUtility.js~TestUtility", @@ -2404,7 +2541,7 @@ } }, { - "__docId__": 154, + "__docId__": 166, "kind": "member", "name": "iterateButtons", "memberof": "src/lib/tests/TestUtility.js~TestUtility", @@ -2429,7 +2566,7 @@ }, { "kind": "packageJSON", - "content": "{\r\n \"name\": \"simple-keyboard\",\r\n \"version\": \"2.7.0\",\r\n \"description\": \"On-screen Javascript Virtual Keyboard\",\r\n \"main\": \"build/index.js\",\r\n \"scripts\": {\r\n \"start\": \"node scripts/start.js\",\r\n \"build\": \"node scripts/build.js\",\r\n \"demo\": \"node scripts/demo.js\",\r\n \"test\": \"node scripts/test.js --env=jsdom\",\r\n \"postinstall\": \"node bin/postinstall\",\r\n \"prepublish\": \"npm run docs && npm run build\",\r\n \"docs\": \"esdoc\"\r\n },\r\n \"repository\": {\r\n \"type\": \"git\",\r\n \"url\": \"https://github.com/hodgef/simple-keyboard\"\r\n },\r\n \"author\": \"Francisco Hodge (https://github.com/hodgef)\",\r\n \"bugs\": {\r\n \"url\": \"https://github.com/hodgef/simple-keyboard/issues\"\r\n },\r\n \"homepage\": \"https://virtual-keyboard.js.org/\",\r\n \"keywords\": [\r\n \"javascript\",\r\n \"es6\",\r\n \"digital\",\r\n \"keyboard\",\r\n \"onscreen\",\r\n \"virtual\",\r\n \"screen-keyboard\",\r\n \"component\",\r\n \"virtual-keyboard\",\r\n \"touchscreen\",\r\n \"touch-screen\",\r\n \"kiosk\",\r\n \"osk\"\r\n ],\r\n \"license\": \"MIT\",\r\n \"dependencies\": {},\r\n \"devDependencies\": {\r\n \"autoprefixer\": \"7.1.6\",\r\n \"babel-core\": \"^6.26.3\",\r\n \"babel-eslint\": \"7.2.3\",\r\n \"babel-jest\": \"20.0.3\",\r\n \"babel-loader\": \"7.1.2\",\r\n \"babel-preset-react-app\": \"^3.1.2\",\r\n \"babel-runtime\": \"6.26.0\",\r\n \"case-sensitive-paths-webpack-plugin\": \"2.1.1\",\r\n \"chalk\": \"1.1.3\",\r\n \"copy-webpack-plugin\": \"^4.3.1\",\r\n \"css-loader\": \"0.28.7\",\r\n \"dotenv\": \"4.0.0\",\r\n \"esdoc\": \"^1.1.0\",\r\n \"esdoc-ecmascript-proposal-plugin\": \"^1.0.0\",\r\n \"esdoc-standard-plugin\": \"^1.0.0\",\r\n \"eslint\": \"4.10.0\",\r\n \"eslint-config-react-app\": \"^2.0.1\",\r\n \"eslint-loader\": \"1.9.0\",\r\n \"eslint-plugin-flowtype\": \"2.39.1\",\r\n \"eslint-plugin-import\": \"2.8.0\",\r\n \"eslint-plugin-jsx-a11y\": \"5.1.1\",\r\n \"eslint-plugin-react\": \"7.4.0\",\r\n \"extract-text-webpack-plugin\": \"3.0.2\",\r\n \"file-loader\": \"1.1.5\",\r\n \"fs-extra\": \"3.0.1\",\r\n \"html-webpack-plugin\": \"2.29.0\",\r\n \"istanbul\": \"^0.4.5\",\r\n \"istanbul-api\": \"^2.0.6\",\r\n \"istanbul-reports\": \"^2.0.1\",\r\n \"jest\": \"20.0.4\",\r\n \"object-assign\": \"4.1.1\",\r\n \"postcss-flexbugs-fixes\": \"3.2.0\",\r\n \"postcss-loader\": \"2.0.8\",\r\n \"promise\": \"8.0.1\",\r\n \"prop-types\": \"^15.6.1\",\r\n \"raf\": \"3.4.0\",\r\n \"react\": \"^16.2.0\",\r\n \"react-dev-utils\": \"^4.2.1\",\r\n \"react-dom\": \"^16.2.0\",\r\n \"style-loader\": \"0.19.0\",\r\n \"sw-precache-webpack-plugin\": \"0.11.4\",\r\n \"url-loader\": \"0.6.2\",\r\n \"webpack\": \"3.8.1\",\r\n \"webpack-dev-server\": \"2.9.4\",\r\n \"webpack-manifest-plugin\": \"1.3.2\",\r\n \"whatwg-fetch\": \"2.0.3\"\r\n },\r\n \"jest\": {\r\n \"collectCoverageFrom\": [\r\n \"src/**/*.{js,jsx,mjs}\",\r\n \"!**/tests/**\"\r\n ],\r\n \"setupFiles\": [\r\n \"/config/polyfills.js\"\r\n ],\r\n \"testMatch\": [\r\n \"/src/**/__tests__/**/*.{js,jsx,mjs}\",\r\n \"/src/**/?(*.)(spec|test).{js,jsx,mjs}\"\r\n ],\r\n \"testEnvironment\": \"node\",\r\n \"testURL\": \"http://localhost\",\r\n \"transform\": {\r\n \"^.+\\\\.(js|jsx|mjs)$\": \"/node_modules/babel-jest\",\r\n \"^.+\\\\.css$\": \"/config/jest/cssTransform.js\",\r\n \"^(?!.*\\\\.(js|jsx|mjs|css|json)$)\": \"/config/jest/fileTransform.js\"\r\n },\r\n \"transformIgnorePatterns\": [\r\n \"[/\\\\\\\\]node_modules[/\\\\\\\\].+\\\\.(js|jsx|mjs)$\"\r\n ],\r\n \"moduleNameMapper\": {\r\n \"^react-native$\": \"react-native-web\"\r\n },\r\n \"moduleFileExtensions\": [\r\n \"web.js\",\r\n \"mjs\",\r\n \"js\",\r\n \"json\",\r\n \"web.jsx\",\r\n \"jsx\",\r\n \"node\"\r\n ]\r\n },\r\n \"babel\": {\r\n \"presets\": [\r\n \"react-app\"\r\n ]\r\n },\r\n \"eslintConfig\": {\r\n \"extends\": \"react-app\"\r\n }\r\n}\r\n", + "content": "{\r\n \"name\": \"simple-keyboard\",\r\n \"version\": \"2.7.1\",\r\n \"description\": \"On-screen Javascript Virtual Keyboard\",\r\n \"main\": \"build/index.js\",\r\n \"scripts\": {\r\n \"start\": \"node scripts/start.js\",\r\n \"build\": \"node scripts/build.js\",\r\n \"demo\": \"node scripts/demo.js\",\r\n \"test\": \"node scripts/test.js --env=jsdom\",\r\n \"postinstall\": \"node bin/postinstall\",\r\n \"prepublish\": \"npm run docs && npm run build\",\r\n \"docs\": \"esdoc\"\r\n },\r\n \"repository\": {\r\n \"type\": \"git\",\r\n \"url\": \"https://github.com/hodgef/simple-keyboard\"\r\n },\r\n \"author\": \"Francisco Hodge (https://github.com/hodgef)\",\r\n \"bugs\": {\r\n \"url\": \"https://github.com/hodgef/simple-keyboard/issues\"\r\n },\r\n \"homepage\": \"https://virtual-keyboard.js.org/\",\r\n \"keywords\": [\r\n \"javascript\",\r\n \"es6\",\r\n \"digital\",\r\n \"keyboard\",\r\n \"onscreen\",\r\n \"virtual\",\r\n \"screen-keyboard\",\r\n \"component\",\r\n \"virtual-keyboard\",\r\n \"touchscreen\",\r\n \"touch-screen\",\r\n \"kiosk\",\r\n \"osk\"\r\n ],\r\n \"license\": \"MIT\",\r\n \"dependencies\": {},\r\n \"devDependencies\": {\r\n \"autoprefixer\": \"7.1.6\",\r\n \"babel-core\": \"^6.26.3\",\r\n \"babel-eslint\": \"7.2.3\",\r\n \"babel-jest\": \"20.0.3\",\r\n \"babel-loader\": \"7.1.2\",\r\n \"babel-preset-react-app\": \"^3.1.2\",\r\n \"babel-runtime\": \"6.26.0\",\r\n \"case-sensitive-paths-webpack-plugin\": \"2.1.1\",\r\n \"chalk\": \"1.1.3\",\r\n \"copy-webpack-plugin\": \"^4.3.1\",\r\n \"css-loader\": \"0.28.7\",\r\n \"dotenv\": \"4.0.0\",\r\n \"esdoc\": \"^1.1.0\",\r\n \"esdoc-ecmascript-proposal-plugin\": \"^1.0.0\",\r\n \"esdoc-standard-plugin\": \"^1.0.0\",\r\n \"eslint\": \"4.10.0\",\r\n \"eslint-config-react-app\": \"^2.0.1\",\r\n \"eslint-loader\": \"1.9.0\",\r\n \"eslint-plugin-flowtype\": \"2.39.1\",\r\n \"eslint-plugin-import\": \"2.8.0\",\r\n \"eslint-plugin-jsx-a11y\": \"5.1.1\",\r\n \"eslint-plugin-react\": \"7.4.0\",\r\n \"extract-text-webpack-plugin\": \"3.0.2\",\r\n \"file-loader\": \"1.1.5\",\r\n \"fs-extra\": \"3.0.1\",\r\n \"html-webpack-plugin\": \"2.29.0\",\r\n \"istanbul\": \"^0.4.5\",\r\n \"istanbul-api\": \"^2.0.6\",\r\n \"istanbul-reports\": \"^2.0.1\",\r\n \"jest\": \"20.0.4\",\r\n \"object-assign\": \"4.1.1\",\r\n \"postcss-flexbugs-fixes\": \"3.2.0\",\r\n \"postcss-loader\": \"2.0.8\",\r\n \"promise\": \"8.0.1\",\r\n \"prop-types\": \"^15.6.1\",\r\n \"raf\": \"3.4.0\",\r\n \"react\": \"^16.2.0\",\r\n \"react-dev-utils\": \"^4.2.1\",\r\n \"react-dom\": \"^16.2.0\",\r\n \"style-loader\": \"0.19.0\",\r\n \"sw-precache-webpack-plugin\": \"0.11.4\",\r\n \"url-loader\": \"0.6.2\",\r\n \"webpack\": \"3.8.1\",\r\n \"webpack-dev-server\": \"2.9.4\",\r\n \"webpack-manifest-plugin\": \"1.3.2\",\r\n \"whatwg-fetch\": \"2.0.3\"\r\n },\r\n \"jest\": {\r\n \"collectCoverageFrom\": [\r\n \"src/**/*.{js,jsx,mjs}\",\r\n \"!**/tests/**\"\r\n ],\r\n \"setupFiles\": [\r\n \"/config/polyfills.js\"\r\n ],\r\n \"testMatch\": [\r\n \"/src/**/__tests__/**/*.{js,jsx,mjs}\",\r\n \"/src/**/?(*.)(spec|test).{js,jsx,mjs}\"\r\n ],\r\n \"testEnvironment\": \"node\",\r\n \"testURL\": \"http://localhost\",\r\n \"transform\": {\r\n \"^.+\\\\.(js|jsx|mjs)$\": \"/node_modules/babel-jest\",\r\n \"^.+\\\\.css$\": \"/config/jest/cssTransform.js\",\r\n \"^(?!.*\\\\.(js|jsx|mjs|css|json)$)\": \"/config/jest/fileTransform.js\"\r\n },\r\n \"transformIgnorePatterns\": [\r\n \"[/\\\\\\\\]node_modules[/\\\\\\\\].+\\\\.(js|jsx|mjs)$\"\r\n ],\r\n \"moduleNameMapper\": {\r\n \"^react-native$\": \"react-native-web\"\r\n },\r\n \"moduleFileExtensions\": [\r\n \"web.js\",\r\n \"mjs\",\r\n \"js\",\r\n \"json\",\r\n \"web.jsx\",\r\n \"jsx\",\r\n \"node\"\r\n ]\r\n },\r\n \"babel\": {\r\n \"presets\": [\r\n \"react-app\"\r\n ]\r\n },\r\n \"eslintConfig\": {\r\n \"extends\": \"react-app\"\r\n }\r\n}\r\n", "longname": "X:\\Dev\\simple-keyboard\\package.json", "name": "package.json", "static": true, diff --git a/docs/script/search_index.js b/docs/script/search_index.js index 2c057c37..656306b0 100644 --- a/docs/script/search_index.js +++ b/docs/script/search_index.js @@ -455,12 +455,42 @@ window.esdocSearchIndex = [ "src/lib/components/Keyboard.js~SimpleKeyboard#handleButtonClicked", "method" ], + [ + "src/lib/components/keyboard.js~simplekeyboard#handlebuttonhold", + "class/src/lib/components/Keyboard.js~SimpleKeyboard.html#instance-method-handleButtonHold", + "src/lib/components/Keyboard.js~SimpleKeyboard#handleButtonHold", + "method" + ], + [ + "src/lib/components/keyboard.js~simplekeyboard#handlebuttonmousedown", + "class/src/lib/components/Keyboard.js~SimpleKeyboard.html#instance-method-handleButtonMouseDown", + "src/lib/components/Keyboard.js~SimpleKeyboard#handleButtonMouseDown", + "method" + ], + [ + "src/lib/components/keyboard.js~simplekeyboard#handlebuttonmouseup", + "class/src/lib/components/Keyboard.js~SimpleKeyboard.html#instance-method-handleButtonMouseUp", + "src/lib/components/Keyboard.js~SimpleKeyboard#handleButtonMouseUp", + "method" + ], [ "src/lib/components/keyboard.js~simplekeyboard#handlecaret", "class/src/lib/components/Keyboard.js~SimpleKeyboard.html#instance-method-handleCaret", "src/lib/components/Keyboard.js~SimpleKeyboard#handleCaret", "method" ], + [ + "src/lib/components/keyboard.js~simplekeyboard#holdinteractiontimeout", + "class/src/lib/components/Keyboard.js~SimpleKeyboard.html#instance-member-holdInteractionTimeout", + "src/lib/components/Keyboard.js~SimpleKeyboard#holdInteractionTimeout", + "member" + ], + [ + "src/lib/components/keyboard.js~simplekeyboard#holdtimeout", + "class/src/lib/components/Keyboard.js~SimpleKeyboard.html#instance-member-holdTimeout", + "src/lib/components/Keyboard.js~SimpleKeyboard#holdTimeout", + "member" + ], [ "src/lib/components/keyboard.js~simplekeyboard#initialized", "class/src/lib/components/Keyboard.js~SimpleKeyboard.html#instance-member-initialized", @@ -473,6 +503,12 @@ window.esdocSearchIndex = [ "src/lib/components/Keyboard.js~SimpleKeyboard#input", "member" ], + [ + "src/lib/components/keyboard.js~simplekeyboard#ismousehold", + "class/src/lib/components/Keyboard.js~SimpleKeyboard.html#instance-member-isMouseHold", + "src/lib/components/Keyboard.js~SimpleKeyboard#isMouseHold", + "member" + ], [ "src/lib/components/keyboard.js~simplekeyboard#keyboarddom", "class/src/lib/components/Keyboard.js~SimpleKeyboard.html#instance-member-keyboardDOM", @@ -485,6 +521,12 @@ window.esdocSearchIndex = [ "src/lib/components/Keyboard.js~SimpleKeyboard#keyboardDOMClass", "member" ], + [ + "src/lib/components/keyboard.js~simplekeyboard#loadmodules", + "class/src/lib/components/Keyboard.js~SimpleKeyboard.html#instance-method-loadModules", + "src/lib/components/Keyboard.js~SimpleKeyboard#loadModules", + "method" + ], [ "src/lib/components/keyboard.js~simplekeyboard#modules", "class/src/lib/components/Keyboard.js~SimpleKeyboard.html#instance-member-modules", diff --git a/docs/source.html b/docs/source.html index 9c755476..9de8e054 100644 --- a/docs/source.html +++ b/docs/source.html @@ -39,7 +39,7 @@
-

Source 68/68

+

Source 75/75

@@ -58,9 +58,9 @@ - + - + @@ -73,10 +73,10 @@ - - - - + + + +
src/demo/App.js App 100 %8/81919 byte1921 byte 842018-10-04 23:21:26 (UTC)2018-10-04 19:55:38 (UTC)
src/demo/index.js
src/lib/components/Keyboard.js SimpleKeyboard100 %32/3221368 byte6472018-10-04 03:15:23 (UTC)100 %39/3923754 byte7402018-10-04 21:54:18 (UTC)
src/lib/index.js