{ "type": "File", "start": 0, "end": 23657, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 736, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 23657, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 736, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 24, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 24 } }, "specifiers": [], "source": { "type": "StringLiteral", "start": 7, "end": 23, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 23 } }, "extra": { "rawValue": "./Keyboard.css", "raw": "'./Keyboard.css'" }, "value": "./Keyboard.css" }, "trailingComments": [ { "type": "CommentLine", "value": " Services", "start": 28, "end": 39, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 11 } } } ] }, { "type": "ImportDeclaration", "start": 41, "end": 101, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 60 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 48, "end": 64, "loc": { "start": { "line": 4, "column": 7 }, "end": { "line": 4, "column": 23 } }, "local": { "type": "Identifier", "start": 48, "end": 64, "loc": { "start": { "line": 4, "column": 7 }, "end": { "line": 4, "column": 23 }, "identifierName": "PhysicalKeyboard" }, "name": "PhysicalKeyboard", "leadingComments": null }, "leadingComments": null } ], "source": { "type": "StringLiteral", "start": 70, "end": 100, "loc": { "start": { "line": 4, "column": 29 }, "end": { "line": 4, "column": 59 } }, "extra": { "rawValue": "../services/PhysicalKeyboard", "raw": "'../services/PhysicalKeyboard'" }, "value": "../services/PhysicalKeyboard" }, "leadingComments": [ { "type": "CommentLine", "value": " Services", "start": 28, "end": 39, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 11 } } } ] }, { "type": "ImportDeclaration", "start": 103, "end": 159, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 56 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 110, "end": 124, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 21 } }, "local": { "type": "Identifier", "start": 110, "end": 124, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 21 }, "identifierName": "KeyboardLayout" }, "name": "KeyboardLayout" } } ], "source": { "type": "StringLiteral", "start": 130, "end": 158, "loc": { "start": { "line": 5, "column": 27 }, "end": { "line": 5, "column": 55 } }, "extra": { "rawValue": "../services/KeyboardLayout", "raw": "'../services/KeyboardLayout'" }, "value": "../services/KeyboardLayout" } }, { "type": "ImportDeclaration", "start": 161, "end": 207, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 46 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 168, "end": 177, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 16 } }, "local": { "type": "Identifier", "start": 168, "end": 177, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 16 }, "identifierName": "Utilities" }, "name": "Utilities" } } ], "source": { "type": "StringLiteral", "start": 183, "end": 206, "loc": { "start": { "line": 6, "column": 22 }, "end": { "line": 6, "column": 45 } }, "extra": { "rawValue": "../services/Utilities", "raw": "'../services/Utilities'" }, "value": "../services/Utilities" }, "trailingComments": [ { "type": "CommentBlock", "value": "*\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 ", "start": 211, "end": 365, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 14, "column": 3 } } } ] }, { "type": "Identifier", "start": 367, "end": 23621, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 733, "column": 1 } }, "id": { "type": "Identifier", "start": 373, "end": 387, "loc": { "start": { "line": 15, "column": 6 }, "end": { "line": 15, "column": 20 }, "identifierName": "SimpleKeyboard" }, "name": "SimpleKeyboard", "leadingComments": null }, "superClass": null, "body": { "type": "ClassBody", "start": 388, "end": 23621, "loc": { "start": { "line": 15, "column": 21 }, "end": { "line": 733, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 679, "end": 7194, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 146, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 679, "end": 690, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 20, "column": 13 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "RestElement", "start": 691, "end": 700, "loc": { "start": { "line": 20, "column": 14 }, "end": { "line": 20, "column": 23 } }, "argument": { "type": "Identifier", "start": 694, "end": 700, "loc": { "start": { "line": 20, "column": 17 }, "end": { "line": 20, "column": 23 }, "identifierName": "params" }, "name": "params" } } ], "body": { "type": "BlockStatement", "start": 701, "end": 7194, "loc": { "start": { "line": 20, "column": 24 }, "end": { "line": 146, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 708, "end": 794, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 90 } }, "declarations": [ { "type": "VariableDeclarator", "start": 712, "end": 793, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 89 } }, "id": { "type": "Identifier", "start": 712, "end": 728, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 24 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" }, "init": { "type": "ConditionalExpression", "start": 731, "end": 793, "loc": { "start": { "line": 21, "column": 27 }, "end": { "line": 21, "column": 89 } }, "test": { "type": "BinaryExpression", "start": 731, "end": 760, "loc": { "start": { "line": 21, "column": 27 }, "end": { "line": 21, "column": 56 } }, "left": { "type": "UnaryExpression", "start": 731, "end": 747, "loc": { "start": { "line": 21, "column": 27 }, "end": { "line": 21, "column": 43 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 738, "end": 747, "loc": { "start": { "line": 21, "column": 34 }, "end": { "line": 21, "column": 43 } }, "object": { "type": "Identifier", "start": 738, "end": 744, "loc": { "start": { "line": 21, "column": 34 }, "end": { "line": 21, "column": 40 }, "identifierName": "params" }, "name": "params" }, "property": { "type": "NumericLiteral", "start": 745, "end": 746, "loc": { "start": { "line": 21, "column": 41 }, "end": { "line": 21, "column": 42 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 752, "end": 760, "loc": { "start": { "line": 21, "column": 48 }, "end": { "line": 21, "column": 56 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "consequent": { "type": "MemberExpression", "start": 763, "end": 772, "loc": { "start": { "line": 21, "column": 59 }, "end": { "line": 21, "column": 68 } }, "object": { "type": "Identifier", "start": 763, "end": 769, "loc": { "start": { "line": 21, "column": 59 }, "end": { "line": 21, "column": 65 }, "identifierName": "params" }, "name": "params" }, "property": { "type": "NumericLiteral", "start": 770, "end": 771, "loc": { "start": { "line": 21, "column": 66 }, "end": { "line": 21, "column": 67 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "alternate": { "type": "StringLiteral", "start": 775, "end": 793, "loc": { "start": { "line": 21, "column": 71 }, "end": { "line": 21, "column": 89 } }, "extra": { "rawValue": ".simple-keyboard", "raw": "'.simple-keyboard'" }, "value": ".simple-keyboard" } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 800, "end": 868, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 72 } }, "declarations": [ { "type": "VariableDeclarator", "start": 804, "end": 867, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 71 } }, "id": { "type": "Identifier", "start": 804, "end": 811, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 15 }, "identifierName": "options" }, "name": "options" }, "init": { "type": "ConditionalExpression", "start": 814, "end": 867, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 71 } }, "test": { "type": "BinaryExpression", "start": 814, "end": 843, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 47 } }, "left": { "type": "UnaryExpression", "start": 814, "end": 830, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 34 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 821, "end": 830, "loc": { "start": { "line": 22, "column": 25 }, "end": { "line": 22, "column": 34 } }, "object": { "type": "Identifier", "start": 821, "end": 827, "loc": { "start": { "line": 22, "column": 25 }, "end": { "line": 22, "column": 31 }, "identifierName": "params" }, "name": "params" }, "property": { "type": "NumericLiteral", "start": 828, "end": 829, "loc": { "start": { "line": 22, "column": 32 }, "end": { "line": 22, "column": 33 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 835, "end": 843, "loc": { "start": { "line": 22, "column": 39 }, "end": { "line": 22, "column": 47 } }, "extra": { "rawValue": "object", "raw": "\"object\"" }, "value": "object" } }, "consequent": { "type": "MemberExpression", "start": 846, "end": 855, "loc": { "start": { "line": 22, "column": 50 }, "end": { "line": 22, "column": 59 } }, "object": { "type": "Identifier", "start": 846, "end": 852, "loc": { "start": { "line": 22, "column": 50 }, "end": { "line": 22, "column": 56 }, "identifierName": "params" }, "name": "params" }, "property": { "type": "NumericLiteral", "start": 853, "end": 854, "loc": { "start": { "line": 22, "column": 57 }, "end": { "line": 22, "column": 58 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "alternate": { "type": "MemberExpression", "start": 858, "end": 867, "loc": { "start": { "line": 22, "column": 62 }, "end": { "line": 22, "column": 71 } }, "object": { "type": "Identifier", "start": 858, "end": 864, "loc": { "start": { "line": 22, "column": 62 }, "end": { "line": 22, "column": 68 }, "identifierName": "params" }, "name": "params" }, "property": { "type": "NumericLiteral", "start": 865, "end": 866, "loc": { "start": { "line": 22, "column": 69 }, "end": { "line": 22, "column": 70 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "computed": true } } } ], "kind": "let" }, { "type": "IfStatement", "start": 876, "end": 909, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 25, "column": 19 } }, "test": { "type": "UnaryExpression", "start": 879, "end": 887, "loc": { "start": { "line": 24, "column": 7 }, "end": { "line": 24, "column": 15 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 880, "end": 887, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 15 }, "identifierName": "options" }, "name": "options" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 896, "end": 909, "loc": { "start": { "line": 25, "column": 6 }, "end": { "line": 25, "column": 19 } }, "expression": { "type": "AssignmentExpression", "start": 896, "end": 908, "loc": { "start": { "line": 25, "column": 6 }, "end": { "line": 25, "column": 18 } }, "operator": "=", "left": { "type": "Identifier", "start": 896, "end": 903, "loc": { "start": { "line": 25, "column": 6 }, "end": { "line": 25, "column": 13 }, "identifierName": "options" }, "name": "options" }, "right": { "type": "ObjectExpression", "start": 906, "end": 908, "loc": { "start": { "line": 25, "column": 16 }, "end": { "line": 25, "column": 18 } }, "properties": [] } }, "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Initializing Utilities\r\n ", "start": 917, "end": 960, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 29, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 966, "end": 1003, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 966, "end": 1002, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 966, "end": 980, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 18 } }, "object": { "type": "ThisExpression", "start": 966, "end": 970, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 971, "end": 980, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 18 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 983, "end": 1002, "loc": { "start": { "line": 30, "column": 21 }, "end": { "line": 30, "column": 40 } }, "callee": { "type": "Identifier", "start": 987, "end": 996, "loc": { "start": { "line": 30, "column": 25 }, "end": { "line": 30, "column": 34 }, "identifierName": "Utilities" }, "name": "Utilities" }, "arguments": [ { "type": "ThisExpression", "start": 997, "end": 1001, "loc": { "start": { "line": 30, "column": 35 }, "end": { "line": 30, "column": 39 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Initializing Utilities\r\n ", "start": 917, "end": 960, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 29, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Processing options\r\n ", "start": 1011, "end": 1050, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 34, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 1056, "end": 1116, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 64 } }, "expression": { "type": "AssignmentExpression", "start": 1056, "end": 1115, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1056, "end": 1072, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 20 } }, "object": { "type": "ThisExpression", "start": 1056, "end": 1060, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1061, "end": 1072, "loc": { "start": { "line": 35, "column": 9 }, "end": { "line": 35, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 1075, "end": 1115, "loc": { "start": { "line": 35, "column": 23 }, "end": { "line": 35, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 1075, "end": 1097, "loc": { "start": { "line": 35, "column": 23 }, "end": { "line": 35, "column": 45 } }, "object": { "type": "Identifier", "start": 1075, "end": 1083, "loc": { "start": { "line": 35, "column": 23 }, "end": { "line": 35, "column": 31 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 1084, "end": 1097, "loc": { "start": { "line": 35, "column": 32 }, "end": { "line": 35, "column": 45 }, "identifierName": "querySelector" }, "name": "querySelector" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1098, "end": 1114, "loc": { "start": { "line": 35, "column": 46 }, "end": { "line": 35, "column": 62 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Processing options\r\n ", "start": 1011, "end": 1050, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 34, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\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 ", "start": 1124, "end": 3943, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 60, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 3949, "end": 3972, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 3949, "end": 3971, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3949, "end": 3961, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 16 } }, "object": { "type": "ThisExpression", "start": 3949, "end": 3953, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 3954, "end": 3961, "loc": { "start": { "line": 61, "column": 9 }, "end": { "line": 61, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", "start": 3964, "end": 3971, "loc": { "start": { "line": 61, "column": 19 }, "end": { "line": 61, "column": 26 }, "identifierName": "options" }, "name": "options" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\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 ", "start": 1124, "end": 3943, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 60, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 3978, "end": 4041, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 3978, "end": 4040, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3978, "end": 4001, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 27 } }, "object": { "type": "MemberExpression", "start": 3978, "end": 3990, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 16 } }, "object": { "type": "ThisExpression", "start": 3978, "end": 3982, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 8 } } }, "property": { "type": "Identifier", "start": 3983, "end": 3990, "loc": { "start": { "line": 62, "column": 9 }, "end": { "line": 62, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 3991, "end": 4001, "loc": { "start": { "line": 62, "column": 17 }, "end": { "line": 62, "column": 27 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 4004, "end": 4040, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 66 } }, "left": { "type": "MemberExpression", "start": 4004, "end": 4027, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 53 } }, "object": { "type": "MemberExpression", "start": 4004, "end": 4016, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 42 } }, "object": { "type": "ThisExpression", "start": 4004, "end": 4008, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 34 } } }, "property": { "type": "Identifier", "start": 4009, "end": 4016, "loc": { "start": { "line": 62, "column": 35 }, "end": { "line": 62, "column": 42 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4017, "end": 4027, "loc": { "start": { "line": 62, "column": 43 }, "end": { "line": 62, "column": 53 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "operator": "||", "right": { "type": "StringLiteral", "start": 4031, "end": 4040, "loc": { "start": { "line": 62, "column": 57 }, "end": { "line": 62, "column": 66 } }, "extra": { "rawValue": "default", "raw": "\"default\"" }, "value": "default" } } } }, { "type": "ExpressionStatement", "start": 4047, "end": 4109, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 4047, "end": 4108, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4047, "end": 4065, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 22 } }, "object": { "type": "MemberExpression", "start": 4047, "end": 4059, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 16 } }, "object": { "type": "ThisExpression", "start": 4047, "end": 4051, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 8 } } }, "property": { "type": "Identifier", "start": 4052, "end": 4059, "loc": { "start": { "line": 63, "column": 9 }, "end": { "line": 63, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4060, "end": 4065, "loc": { "start": { "line": 63, "column": 17 }, "end": { "line": 63, "column": 22 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 4068, "end": 4108, "loc": { "start": { "line": 63, "column": 25 }, "end": { "line": 63, "column": 65 } }, "left": { "type": "MemberExpression", "start": 4068, "end": 4086, "loc": { "start": { "line": 63, "column": 25 }, "end": { "line": 63, "column": 43 } }, "object": { "type": "MemberExpression", "start": 4068, "end": 4080, "loc": { "start": { "line": 63, "column": 25 }, "end": { "line": 63, "column": 37 } }, "object": { "type": "ThisExpression", "start": 4068, "end": 4072, "loc": { "start": { "line": 63, "column": 25 }, "end": { "line": 63, "column": 29 } } }, "property": { "type": "Identifier", "start": 4073, "end": 4080, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 37 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4081, "end": 4086, "loc": { "start": { "line": 63, "column": 38 }, "end": { "line": 63, "column": 43 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, "operator": "||", "right": { "type": "StringLiteral", "start": 4090, "end": 4108, "loc": { "start": { "line": 63, "column": 47 }, "end": { "line": 63, "column": 65 } }, "extra": { "rawValue": "hg-theme-default", "raw": "\"hg-theme-default\"" }, "value": "hg-theme-default" } } } }, { "type": "ExpressionStatement", "start": 4115, "end": 4176, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 4115, "end": 4175, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4115, "end": 4137, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 26 } }, "object": { "type": "MemberExpression", "start": 4115, "end": 4127, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 16 } }, "object": { "type": "ThisExpression", "start": 4115, "end": 4119, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 8 } } }, "property": { "type": "Identifier", "start": 4120, "end": 4127, "loc": { "start": { "line": 64, "column": 9 }, "end": { "line": 64, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4128, "end": 4137, "loc": { "start": { "line": 64, "column": 17 }, "end": { "line": 64, "column": 26 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 4140, "end": 4175, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 64 } }, "left": { "type": "MemberExpression", "start": 4140, "end": 4162, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 51 } }, "object": { "type": "MemberExpression", "start": 4140, "end": 4152, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 41 } }, "object": { "type": "ThisExpression", "start": 4140, "end": 4144, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 33 } } }, "property": { "type": "Identifier", "start": 4145, "end": 4152, "loc": { "start": { "line": 64, "column": 34 }, "end": { "line": 64, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4153, "end": 4162, "loc": { "start": { "line": 64, "column": 42 }, "end": { "line": 64, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "operator": "||", "right": { "type": "StringLiteral", "start": 4166, "end": 4175, "loc": { "start": { "line": 64, "column": 55 }, "end": { "line": 64, "column": 64 } }, "extra": { "rawValue": "default", "raw": "\"default\"" }, "value": "default" } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4184, "end": 4213, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 68, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4219, "end": 4282, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 4219, "end": 4281, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4219, "end": 4243, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 28 } }, "object": { "type": "ThisExpression", "start": 4219, "end": 4223, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4224, "end": 4243, "loc": { "start": { "line": 69, "column": 9 }, "end": { "line": 69, "column": 28 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 4246, "end": 4281, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 4246, "end": 4275, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "column": 60 } }, "object": { "type": "MemberExpression", "start": 4246, "end": 4270, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "column": 55 } }, "object": { "type": "ThisExpression", "start": 4246, "end": 4250, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "column": 35 } } }, "property": { "type": "Identifier", "start": 4251, "end": 4270, "loc": { "start": { "line": 69, "column": 36 }, "end": { "line": 69, "column": 55 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "property": { "type": "Identifier", "start": 4271, "end": 4275, "loc": { "start": { "line": 69, "column": 56 }, "end": { "line": 69, "column": 60 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4276, "end": 4280, "loc": { "start": { "line": 69, "column": 61 }, "end": { "line": 69, "column": 65 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4184, "end": 4213, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 68, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4288, "end": 4349, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 4288, "end": 4348, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4288, "end": 4311, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4288, "end": 4292, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 8 } } }, "property": { "type": "Identifier", "start": 4293, "end": 4311, "loc": { "start": { "line": 70, "column": 9 }, "end": { "line": 70, "column": 27 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "right": { "type": "CallExpression", "start": 4314, "end": 4348, "loc": { "start": { "line": 70, "column": 30 }, "end": { "line": 70, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 4314, "end": 4342, "loc": { "start": { "line": 70, "column": 30 }, "end": { "line": 70, "column": 58 } }, "object": { "type": "MemberExpression", "start": 4314, "end": 4337, "loc": { "start": { "line": 70, "column": 30 }, "end": { "line": 70, "column": 53 } }, "object": { "type": "ThisExpression", "start": 4314, "end": 4318, "loc": { "start": { "line": 70, "column": 30 }, "end": { "line": 70, "column": 34 } } }, "property": { "type": "Identifier", "start": 4319, "end": 4337, "loc": { "start": { "line": 70, "column": 35 }, "end": { "line": 70, "column": 53 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "property": { "type": "Identifier", "start": 4338, "end": 4342, "loc": { "start": { "line": 70, "column": 54 }, "end": { "line": 70, "column": 58 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4343, "end": 4347, "loc": { "start": { "line": 70, "column": 59 }, "end": { "line": 70, "column": 63 } } } ] } } }, { "type": "ExpressionStatement", "start": 4355, "end": 4400, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 4355, "end": 4399, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4355, "end": 4370, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 19 } }, "object": { "type": "ThisExpression", "start": 4355, "end": 4359, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 8 } } }, "property": { "type": "Identifier", "start": 4360, "end": 4370, "loc": { "start": { "line": 71, "column": 9 }, "end": { "line": 71, "column": 19 }, "identifierName": "clearInput" }, "name": "clearInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4373, "end": 4399, "loc": { "start": { "line": 71, "column": 22 }, "end": { "line": 71, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 4373, "end": 4393, "loc": { "start": { "line": 71, "column": 22 }, "end": { "line": 71, "column": 42 } }, "object": { "type": "MemberExpression", "start": 4373, "end": 4388, "loc": { "start": { "line": 71, "column": 22 }, "end": { "line": 71, "column": 37 } }, "object": { "type": "ThisExpression", "start": 4373, "end": 4377, "loc": { "start": { "line": 71, "column": 22 }, "end": { "line": 71, "column": 26 } } }, "property": { "type": "Identifier", "start": 4378, "end": 4388, "loc": { "start": { "line": 71, "column": 27 }, "end": { "line": 71, "column": 37 }, "identifierName": "clearInput" }, "name": "clearInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4389, "end": 4393, "loc": { "start": { "line": 71, "column": 38 }, "end": { "line": 71, "column": 42 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4394, "end": 4398, "loc": { "start": { "line": 71, "column": 43 }, "end": { "line": 71, "column": 47 } } } ] } } }, { "type": "ExpressionStatement", "start": 4406, "end": 4447, "loc": { "start": { "line": 72, "column": 4 }, "end": { "line": 72, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4406, "end": 4446, "loc": { "start": { "line": 72, "column": 4 }, "end": { "line": 72, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4406, "end": 4419, "loc": { "start": { "line": 72, "column": 4 }, "end": { "line": 72, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4406, "end": 4410, "loc": { "start": { "line": 72, "column": 4 }, "end": { "line": 72, "column": 8 } } }, "property": { "type": "Identifier", "start": 4411, "end": 4419, "loc": { "start": { "line": 72, "column": 9 }, "end": { "line": 72, "column": 17 }, "identifierName": "getInput" }, "name": "getInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4422, "end": 4446, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4422, "end": 4440, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4422, "end": 4435, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4422, "end": 4426, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 24 } } }, "property": { "type": "Identifier", "start": 4427, "end": 4435, "loc": { "start": { "line": 72, "column": 25 }, "end": { "line": 72, "column": 33 }, "identifierName": "getInput" }, "name": "getInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4436, "end": 4440, "loc": { "start": { "line": 72, "column": 34 }, "end": { "line": 72, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4441, "end": 4445, "loc": { "start": { "line": 72, "column": 39 }, "end": { "line": 72, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4453, "end": 4494, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4453, "end": 4493, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4453, "end": 4466, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4453, "end": 4457, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 8 } } }, "property": { "type": "Identifier", "start": 4458, "end": 4466, "loc": { "start": { "line": 73, "column": 9 }, "end": { "line": 73, "column": 17 }, "identifierName": "setInput" }, "name": "setInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4469, "end": 4493, "loc": { "start": { "line": 73, "column": 20 }, "end": { "line": 73, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4469, "end": 4487, "loc": { "start": { "line": 73, "column": 20 }, "end": { "line": 73, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4469, "end": 4482, "loc": { "start": { "line": 73, "column": 20 }, "end": { "line": 73, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4469, "end": 4473, "loc": { "start": { "line": 73, "column": 20 }, "end": { "line": 73, "column": 24 } } }, "property": { "type": "Identifier", "start": 4474, "end": 4482, "loc": { "start": { "line": 73, "column": 25 }, "end": { "line": 73, "column": 33 }, "identifierName": "setInput" }, "name": "setInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4483, "end": 4487, "loc": { "start": { "line": 73, "column": 34 }, "end": { "line": 73, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4488, "end": 4492, "loc": { "start": { "line": 73, "column": 39 }, "end": { "line": 73, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4500, "end": 4549, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 53 } }, "expression": { "type": "AssignmentExpression", "start": 4500, "end": 4548, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4500, "end": 4517, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 21 } }, "object": { "type": "ThisExpression", "start": 4500, "end": 4504, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 8 } } }, "property": { "type": "Identifier", "start": 4505, "end": 4517, "loc": { "start": { "line": 74, "column": 9 }, "end": { "line": 74, "column": 21 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4520, "end": 4548, "loc": { "start": { "line": 74, "column": 24 }, "end": { "line": 74, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 4520, "end": 4542, "loc": { "start": { "line": 74, "column": 24 }, "end": { "line": 74, "column": 46 } }, "object": { "type": "MemberExpression", "start": 4520, "end": 4537, "loc": { "start": { "line": 74, "column": 24 }, "end": { "line": 74, "column": 41 } }, "object": { "type": "ThisExpression", "start": 4520, "end": 4524, "loc": { "start": { "line": 74, "column": 24 }, "end": { "line": 74, "column": 28 } } }, "property": { "type": "Identifier", "start": 4525, "end": 4537, "loc": { "start": { "line": 74, "column": 29 }, "end": { "line": 74, "column": 41 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4538, "end": 4542, "loc": { "start": { "line": 74, "column": 42 }, "end": { "line": 74, "column": 46 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4543, "end": 4547, "loc": { "start": { "line": 74, "column": 47 }, "end": { "line": 74, "column": 51 } } } ] } } }, { "type": "ExpressionStatement", "start": 4555, "end": 4590, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 4555, "end": 4589, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4555, "end": 4565, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 14 } }, "object": { "type": "ThisExpression", "start": 4555, "end": 4559, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 8 } } }, "property": { "type": "Identifier", "start": 4560, "end": 4565, "loc": { "start": { "line": 75, "column": 9 }, "end": { "line": 75, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false }, "right": { "type": "CallExpression", "start": 4568, "end": 4589, "loc": { "start": { "line": 75, "column": 17 }, "end": { "line": 75, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 4568, "end": 4583, "loc": { "start": { "line": 75, "column": 17 }, "end": { "line": 75, "column": 32 } }, "object": { "type": "MemberExpression", "start": 4568, "end": 4578, "loc": { "start": { "line": 75, "column": 17 }, "end": { "line": 75, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4568, "end": 4572, "loc": { "start": { "line": 75, "column": 17 }, "end": { "line": 75, "column": 21 } } }, "property": { "type": "Identifier", "start": 4573, "end": 4578, "loc": { "start": { "line": 75, "column": 22 }, "end": { "line": 75, "column": 27 }, "identifierName": "clear" }, "name": "clear" }, "computed": false }, "property": { "type": "Identifier", "start": 4579, "end": 4583, "loc": { "start": { "line": 75, "column": 28 }, "end": { "line": 75, "column": 32 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4584, "end": 4588, "loc": { "start": { "line": 75, "column": 33 }, "end": { "line": 75, "column": 37 } } } ] } } }, { "type": "ExpressionStatement", "start": 4596, "end": 4637, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4596, "end": 4636, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4596, "end": 4609, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4596, "end": 4600, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 8 } } }, "property": { "type": "Identifier", "start": 4601, "end": 4609, "loc": { "start": { "line": 76, "column": 9 }, "end": { "line": 76, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "right": { "type": "CallExpression", "start": 4612, "end": 4636, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4612, "end": 4630, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4612, "end": 4625, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4612, "end": 4616, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 24 } } }, "property": { "type": "Identifier", "start": 4617, "end": 4625, "loc": { "start": { "line": 76, "column": 25 }, "end": { "line": 76, "column": 33 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "property": { "type": "Identifier", "start": 4626, "end": 4630, "loc": { "start": { "line": 76, "column": 34 }, "end": { "line": 76, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4631, "end": 4635, "loc": { "start": { "line": 76, "column": 39 }, "end": { "line": 76, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4643, "end": 4696, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 4643, "end": 4695, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 56 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4643, "end": 4662, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 23 } }, "object": { "type": "ThisExpression", "start": 4643, "end": 4647, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 8 } } }, "property": { "type": "Identifier", "start": 4648, "end": 4662, "loc": { "start": { "line": 77, "column": 9 }, "end": { "line": 77, "column": 23 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme" }, "computed": false }, "right": { "type": "CallExpression", "start": 4665, "end": 4695, "loc": { "start": { "line": 77, "column": 26 }, "end": { "line": 77, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 4665, "end": 4689, "loc": { "start": { "line": 77, "column": 26 }, "end": { "line": 77, "column": 50 } }, "object": { "type": "MemberExpression", "start": 4665, "end": 4684, "loc": { "start": { "line": 77, "column": 26 }, "end": { "line": 77, "column": 45 } }, "object": { "type": "ThisExpression", "start": 4665, "end": 4669, "loc": { "start": { "line": 77, "column": 26 }, "end": { "line": 77, "column": 30 } } }, "property": { "type": "Identifier", "start": 4670, "end": 4684, "loc": { "start": { "line": 77, "column": 31 }, "end": { "line": 77, "column": 45 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 4685, "end": 4689, "loc": { "start": { "line": 77, "column": 46 }, "end": { "line": 77, "column": 50 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4690, "end": 4694, "loc": { "start": { "line": 77, "column": 51 }, "end": { "line": 77, "column": 55 } } } ] } } }, { "type": "ExpressionStatement", "start": 4702, "end": 4761, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 4702, "end": 4760, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4702, "end": 4724, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 26 } }, "object": { "type": "ThisExpression", "start": 4702, "end": 4706, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 8 } } }, "property": { "type": "Identifier", "start": 4707, "end": 4724, "loc": { "start": { "line": 78, "column": 9 }, "end": { "line": 78, "column": 26 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme" }, "computed": false }, "right": { "type": "CallExpression", "start": 4727, "end": 4760, "loc": { "start": { "line": 78, "column": 29 }, "end": { "line": 78, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 4727, "end": 4754, "loc": { "start": { "line": 78, "column": 29 }, "end": { "line": 78, "column": 56 } }, "object": { "type": "MemberExpression", "start": 4727, "end": 4749, "loc": { "start": { "line": 78, "column": 29 }, "end": { "line": 78, "column": 51 } }, "object": { "type": "ThisExpression", "start": 4727, "end": 4731, "loc": { "start": { "line": 78, "column": 29 }, "end": { "line": 78, "column": 33 } } }, "property": { "type": "Identifier", "start": 4732, "end": 4749, "loc": { "start": { "line": 78, "column": 34 }, "end": { "line": 78, "column": 51 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 4750, "end": 4754, "loc": { "start": { "line": 78, "column": 52 }, "end": { "line": 78, "column": 56 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4755, "end": 4759, "loc": { "start": { "line": 78, "column": 57 }, "end": { "line": 78, "column": 61 } } } ] } } }, { "type": "ExpressionStatement", "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, "column": 4 }, "end": { "line": 84, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 5038, "end": 5074, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5038, "end": 5049, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 15 } }, "object": { "type": "ThisExpression", "start": 5038, "end": 5042, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 8 } } }, "property": { "type": "Identifier", "start": 5043, "end": 5049, "loc": { "start": { "line": 84, "column": 9 }, "end": { "line": 84, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "right": { "type": "CallExpression", "start": 5052, "end": 5074, "loc": { "start": { "line": 84, "column": 18 }, "end": { "line": 84, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 5052, "end": 5068, "loc": { "start": { "line": 84, "column": 18 }, "end": { "line": 84, "column": 34 } }, "object": { "type": "MemberExpression", "start": 5052, "end": 5063, "loc": { "start": { "line": 84, "column": 18 }, "end": { "line": 84, "column": 29 } }, "object": { "type": "ThisExpression", "start": 5052, "end": 5056, "loc": { "start": { "line": 84, "column": 18 }, "end": { "line": 84, "column": 22 } } }, "property": { "type": "Identifier", "start": 5057, "end": 5063, "loc": { "start": { "line": 84, "column": 23 }, "end": { "line": 84, "column": 29 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "property": { "type": "Identifier", "start": 5064, "end": 5068, "loc": { "start": { "line": 84, "column": 30 }, "end": { "line": 84, "column": 34 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5069, "end": 5073, "loc": { "start": { "line": 84, "column": 35 }, "end": { "line": 84, "column": 39 } } } ] } } }, { "type": "ExpressionStatement", "start": 5081, "end": 5128, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 5081, "end": 5127, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5081, "end": 5097, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 20 } }, "object": { "type": "ThisExpression", "start": 5081, "end": 5085, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 8 } } }, "property": { "type": "Identifier", "start": 5086, "end": 5097, "loc": { "start": { "line": 85, "column": 9 }, "end": { "line": 85, "column": 20 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false }, "right": { "type": "CallExpression", "start": 5100, "end": 5127, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 5100, "end": 5121, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 44 } }, "object": { "type": "MemberExpression", "start": 5100, "end": 5116, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 39 } }, "object": { "type": "ThisExpression", "start": 5100, "end": 5104, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 27 } } }, "property": { "type": "Identifier", "start": 5105, "end": 5116, "loc": { "start": { "line": 85, "column": 28 }, "end": { "line": 85, "column": 39 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false }, "property": { "type": "Identifier", "start": 5117, "end": 5121, "loc": { "start": { "line": 85, "column": 40 }, "end": { "line": 85, "column": 44 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5122, "end": 5126, "loc": { "start": { "line": 85, "column": 45 }, "end": { "line": 85, "column": 49 } } } ] } } }, { "type": "ExpressionStatement", "start": 5134, "end": 5197, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 5134, "end": 5196, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5134, "end": 5158, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 28 } }, "object": { "type": "ThisExpression", "start": 5134, "end": 5138, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 8 } } }, "property": { "type": "Identifier", "start": 5139, "end": 5158, "loc": { "start": { "line": 86, "column": 9 }, "end": { "line": 86, "column": 28 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "right": { "type": "CallExpression", "start": 5161, "end": 5196, "loc": { "start": { "line": 86, "column": 31 }, "end": { "line": 86, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 5161, "end": 5190, "loc": { "start": { "line": 86, "column": 31 }, "end": { "line": 86, "column": 60 } }, "object": { "type": "MemberExpression", "start": 5161, "end": 5185, "loc": { "start": { "line": 86, "column": 31 }, "end": { "line": 86, "column": 55 } }, "object": { "type": "ThisExpression", "start": 5161, "end": 5165, "loc": { "start": { "line": 86, "column": 31 }, "end": { "line": 86, "column": 35 } } }, "property": { "type": "Identifier", "start": 5166, "end": 5185, "loc": { "start": { "line": 86, "column": 36 }, "end": { "line": 86, "column": 55 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "property": { "type": "Identifier", "start": 5186, "end": 5190, "loc": { "start": { "line": 86, "column": 56 }, "end": { "line": 86, "column": 60 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5191, "end": 5195, "loc": { "start": { "line": 86, "column": 61 }, "end": { "line": 86, "column": 65 } } } ] } } }, { "type": "ExpressionStatement", "start": 5203, "end": 5270, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 71 } }, "expression": { "type": "AssignmentExpression", "start": 5203, "end": 5269, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5203, "end": 5229, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 30 } }, "object": { "type": "ThisExpression", "start": 5203, "end": 5207, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 8 } } }, "property": { "type": "Identifier", "start": 5208, "end": 5229, "loc": { "start": { "line": 87, "column": 9 }, "end": { "line": 87, "column": 30 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "right": { "type": "CallExpression", "start": 5232, "end": 5269, "loc": { "start": { "line": 87, "column": 33 }, "end": { "line": 87, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 5232, "end": 5263, "loc": { "start": { "line": 87, "column": 33 }, "end": { "line": 87, "column": 64 } }, "object": { "type": "MemberExpression", "start": 5232, "end": 5258, "loc": { "start": { "line": 87, "column": 33 }, "end": { "line": 87, "column": 59 } }, "object": { "type": "ThisExpression", "start": 5232, "end": 5236, "loc": { "start": { "line": 87, "column": 33 }, "end": { "line": 87, "column": 37 } } }, "property": { "type": "Identifier", "start": 5237, "end": 5258, "loc": { "start": { "line": 87, "column": 38 }, "end": { "line": 87, "column": 59 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "property": { "type": "Identifier", "start": 5259, "end": 5263, "loc": { "start": { "line": 87, "column": 60 }, "end": { "line": 87, "column": 64 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5264, "end": 5268, "loc": { "start": { "line": 87, "column": 65 }, "end": { "line": 87, "column": 69 } } } ] } } }, { "type": "ExpressionStatement", "start": 5276, "end": 5333, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 5276, "end": 5332, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5276, "end": 5297, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 25 } }, "object": { "type": "ThisExpression", "start": 5276, "end": 5280, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 8 } } }, "property": { "type": "Identifier", "start": 5281, "end": 5297, "loc": { "start": { "line": 88, "column": 9 }, "end": { "line": 88, "column": 25 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "right": { "type": "CallExpression", "start": 5300, "end": 5332, "loc": { "start": { "line": 88, "column": 28 }, "end": { "line": 88, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 5300, "end": 5326, "loc": { "start": { "line": 88, "column": 28 }, "end": { "line": 88, "column": 54 } }, "object": { "type": "MemberExpression", "start": 5300, "end": 5321, "loc": { "start": { "line": 88, "column": 28 }, "end": { "line": 88, "column": 49 } }, "object": { "type": "ThisExpression", "start": 5300, "end": 5304, "loc": { "start": { "line": 88, "column": 28 }, "end": { "line": 88, "column": 32 } } }, "property": { "type": "Identifier", "start": 5305, "end": 5321, "loc": { "start": { "line": 88, "column": 33 }, "end": { "line": 88, "column": 49 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "property": { "type": "Identifier", "start": 5322, "end": 5326, "loc": { "start": { "line": 88, "column": 50 }, "end": { "line": 88, "column": 54 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5327, "end": 5331, "loc": { "start": { "line": 88, "column": 55 }, "end": { "line": 88, "column": 59 } } } ] } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", "start": 5341, "end": 6000, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 103, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6006, "end": 6022, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 20 } }, "expression": { "type": "AssignmentExpression", "start": 6006, "end": 6021, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 19 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6006, "end": 6016, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 14 } }, "object": { "type": "ThisExpression", "start": 6006, "end": 6010, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6011, "end": 6016, "loc": { "start": { "line": 104, "column": 9 }, "end": { "line": 104, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 6019, "end": 6021, "loc": { "start": { "line": 104, "column": 17 }, "end": { "line": 104, "column": 19 } }, "properties": [] }, "leadingComments": null }, "leadingComments": [ { "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": 5341, "end": 6000, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 103, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6028, "end": 6068, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 105, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 6028, "end": 6067, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 105, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6028, "end": 6062, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 105, "column": 38 } }, "object": { "type": "MemberExpression", "start": 6028, "end": 6038, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 105, "column": 14 } }, "object": { "type": "ThisExpression", "start": 6028, "end": 6032, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 105, "column": 8 } } }, "property": { "type": "Identifier", "start": 6033, "end": 6038, "loc": { "start": { "line": 105, "column": 9 }, "end": { "line": 105, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6039, "end": 6061, "loc": { "start": { "line": 105, "column": 15 }, "end": { "line": 105, "column": 37 } }, "object": { "type": "MemberExpression", "start": 6039, "end": 6051, "loc": { "start": { "line": 105, "column": 15 }, "end": { "line": 105, "column": 27 } }, "object": { "type": "ThisExpression", "start": 6039, "end": 6043, "loc": { "start": { "line": 105, "column": 15 }, "end": { "line": 105, "column": 19 } } }, "property": { "type": "Identifier", "start": 6044, "end": 6051, "loc": { "start": { "line": 105, "column": 20 }, "end": { "line": 105, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6052, "end": 6061, "loc": { "start": { "line": 105, "column": 28 }, "end": { "line": 105, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 6065, "end": 6067, "loc": { "start": { "line": 105, "column": 41 }, "end": { "line": 105, "column": 43 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", "start": 6076, "end": 6185, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 109, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6191, "end": 6252, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 6191, "end": 6251, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6191, "end": 6212, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 25 } }, "object": { "type": "ThisExpression", "start": 6191, "end": 6195, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6196, "end": 6212, "loc": { "start": { "line": 110, "column": 9 }, "end": { "line": 110, "column": 25 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 6215, "end": 6251, "loc": { "start": { "line": 110, "column": 28 }, "end": { "line": 110, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 6215, "end": 6247, "loc": { "start": { "line": 110, "column": 28 }, "end": { "line": 110, "column": 60 } }, "object": { "type": "CallExpression", "start": 6215, "end": 6242, "loc": { "start": { "line": 110, "column": 28 }, "end": { "line": 110, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 6215, "end": 6237, "loc": { "start": { "line": 110, "column": 28 }, "end": { "line": 110, "column": 50 } }, "object": { "type": "Identifier", "start": 6215, "end": 6231, "loc": { "start": { "line": 110, "column": 28 }, "end": { "line": 110, "column": 44 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" }, "property": { "type": "Identifier", "start": 6232, "end": 6237, "loc": { "start": { "line": 110, "column": 45 }, "end": { "line": 110, "column": 50 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6238, "end": 6241, "loc": { "start": { "line": 110, "column": 51 }, "end": { "line": 110, "column": 54 } }, "extra": { "rawValue": ".", "raw": "'.'" }, "value": "." } ] }, "property": { "type": "Identifier", "start": 6243, "end": 6247, "loc": { "start": { "line": 110, "column": 56 }, "end": { "line": 110, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6248, "end": 6250, "loc": { "start": { "line": 110, "column": 61 }, "end": { "line": 110, "column": 63 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", "start": 6076, "end": 6185, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 109, "column": 7 } } } ], "trailingComments": [ { "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": 6260, "end": 6405, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 114, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6411, "end": 6436, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 6411, "end": 6435, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6411, "end": 6430, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 23 } }, "object": { "type": "ThisExpression", "start": 6411, "end": 6415, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6416, "end": 6430, "loc": { "start": { "line": 115, "column": 9 }, "end": { "line": 115, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 6433, "end": 6435, "loc": { "start": { "line": 115, "column": 26 }, "end": { "line": 115, "column": 28 } }, "properties": [] }, "leadingComments": null }, "leadingComments": [ { "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": 6260, "end": 6405, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 114, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 6444, "end": 6483, "loc": { "start": { "line": 117, "column": 4 }, "end": { "line": 119, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6489, "end": 6668, "loc": { "start": { "line": 120, "column": 4 }, "end": { "line": 125, "column": 5 } }, "test": { "type": "MemberExpression", "start": 6492, "end": 6508, "loc": { "start": { "line": 120, "column": 7 }, "end": { "line": 120, "column": 23 } }, "object": { "type": "ThisExpression", "start": 6492, "end": 6496, "loc": { "start": { "line": 120, "column": 7 }, "end": { "line": 120, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6497, "end": 6508, "loc": { "start": { "line": 120, "column": 12 }, "end": { "line": 120, "column": 23 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 6517, "end": 6531, "loc": { "start": { "line": 121, "column": 6 }, "end": { "line": 121, "column": 20 } }, "expression": { "type": "CallExpression", "start": 6517, "end": 6530, "loc": { "start": { "line": 121, "column": 6 }, "end": { "line": 121, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 6517, "end": 6528, "loc": { "start": { "line": 121, "column": 6 }, "end": { "line": 121, "column": 17 } }, "object": { "type": "ThisExpression", "start": 6517, "end": 6521, "loc": { "start": { "line": 121, "column": 6 }, "end": { "line": 121, "column": 10 } } }, "property": { "type": "Identifier", "start": 6522, "end": 6528, "loc": { "start": { "line": 121, "column": 11 }, "end": { "line": 121, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, "alternate": { "type": "BlockStatement", "start": 6542, "end": 6668, "loc": { "start": { "line": 122, "column": 9 }, "end": { "line": 125, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6551, "end": 6615, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 70 } }, "expression": { "type": "CallExpression", "start": 6551, "end": 6614, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 6551, "end": 6563, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 18 } }, "object": { "type": "Identifier", "start": 6551, "end": 6558, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 6559, "end": 6563, "loc": { "start": { "line": 123, "column": 14 }, "end": { "line": 123, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 6564, "end": 6613, "loc": { "start": { "line": 123, "column": 19 }, "end": { "line": 123, "column": 68 } }, "expressions": [ { "type": "Identifier", "start": 6568, "end": 6584, "loc": { "start": { "line": 123, "column": 23 }, "end": { "line": 123, "column": 39 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" } ], "quasis": [ { "type": "TemplateElement", "start": 6565, "end": 6566, "loc": { "start": { "line": 123, "column": 20 }, "end": { "line": 123, "column": 21 } }, "value": { "raw": "\"", "cooked": "\"" }, "tail": false }, { "type": "TemplateElement", "start": 6585, "end": 6612, "loc": { "start": { "line": 123, "column": 40 }, "end": { "line": 123, "column": 67 } }, "value": { "raw": "\" was not found in the DOM.", "cooked": "\" was not found in the DOM." }, "tail": true } ] } ] } }, { "type": "ThrowStatement", "start": 6623, "end": 6661, "loc": { "start": { "line": 124, "column": 6 }, "end": { "line": 124, "column": 44 } }, "argument": { "type": "NewExpression", "start": 6629, "end": 6660, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 43 } }, "callee": { "type": "Identifier", "start": 6633, "end": 6638, "loc": { "start": { "line": 124, "column": 16 }, "end": { "line": 124, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 6639, "end": 6659, "loc": { "start": { "line": 124, "column": 22 }, "end": { "line": 124, "column": 42 } }, "extra": { "rawValue": "KEYBOARD_DOM_ERROR", "raw": "\"KEYBOARD_DOM_ERROR\"" }, "value": "KEYBOARD_DOM_ERROR" } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 6444, "end": 6483, "loc": { "start": { "line": 117, "column": 4 }, "end": { "line": 119, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 6676, "end": 6789, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 130, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6795, "end": 6880, "loc": { "start": { "line": 131, "column": 4 }, "end": { "line": 132, "column": 45 } }, "test": { "type": "UnaryExpression", "start": 6798, "end": 6832, "loc": { "start": { "line": 131, "column": 7 }, "end": { "line": 131, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 6799, "end": 6832, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 41 } }, "object": { "type": "Identifier", "start": 6799, "end": 6805, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 14 }, "identifierName": "window" }, "name": "window", "leadingComments": null }, "property": { "type": "StringLiteral", "start": 6806, "end": 6831, "loc": { "start": { "line": 131, "column": 15 }, "end": { "line": 131, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 6841, "end": 6880, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 6841, "end": 6879, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6841, "end": 6874, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 39 } }, "object": { "type": "Identifier", "start": 6841, "end": 6847, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 12 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 6848, "end": 6873, "loc": { "start": { "line": 132, "column": 13 }, "end": { "line": 132, "column": 38 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 6877, "end": 6879, "loc": { "start": { "line": 132, "column": 42 }, "end": { "line": 132, "column": 44 } }, "properties": [] } } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 6676, "end": 6789, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 130, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6894, "end": 6984, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 94 } }, "expression": { "type": "AssignmentExpression", "start": 6894, "end": 6983, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 93 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6894, "end": 6976, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 86 } }, "object": { "type": "MemberExpression", "start": 6894, "end": 6927, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 37 } }, "object": { "type": "Identifier", "start": 6894, "end": 6900, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 10 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 6901, "end": 6926, "loc": { "start": { "line": 134, "column": 11 }, "end": { "line": 134, "column": 36 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "CallExpression", "start": 6928, "end": 6975, "loc": { "start": { "line": 134, "column": 38 }, "end": { "line": 134, "column": 85 } }, "callee": { "type": "MemberExpression", "start": 6928, "end": 6952, "loc": { "start": { "line": 134, "column": 38 }, "end": { "line": 134, "column": 62 } }, "object": { "type": "MemberExpression", "start": 6928, "end": 6942, "loc": { "start": { "line": 134, "column": 38 }, "end": { "line": 134, "column": 52 } }, "object": { "type": "ThisExpression", "start": 6928, "end": 6932, "loc": { "start": { "line": 134, "column": 38 }, "end": { "line": 134, "column": 42 } } }, "property": { "type": "Identifier", "start": 6933, "end": 6942, "loc": { "start": { "line": 134, "column": 43 }, "end": { "line": 134, "column": 52 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 6943, "end": 6952, "loc": { "start": { "line": 134, "column": 53 }, "end": { "line": 134, "column": 62 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 6953, "end": 6974, "loc": { "start": { "line": 134, "column": 63 }, "end": { "line": 134, "column": 84 } }, "object": { "type": "ThisExpression", "start": 6953, "end": 6957, "loc": { "start": { "line": 134, "column": 63 }, "end": { "line": 134, "column": 67 } } }, "property": { "type": "Identifier", "start": 6958, "end": 6974, "loc": { "start": { "line": 134, "column": 68 }, "end": { "line": 134, "column": 84 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } ] }, "computed": true }, "right": { "type": "ThisExpression", "start": 6979, "end": 6983, "loc": { "start": { "line": 134, "column": 89 }, "end": { "line": 134, "column": 93 } } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 6992, "end": 7038, "loc": { "start": { "line": 136, "column": 4 }, "end": { "line": 138, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7044, "end": 7104, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 64 } }, "expression": { "type": "AssignmentExpression", "start": 7044, "end": 7103, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7044, "end": 7074, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 34 } }, "object": { "type": "ThisExpression", "start": 7044, "end": 7048, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7049, "end": 7074, "loc": { "start": { "line": 139, "column": 9 }, "end": { "line": 139, "column": 34 }, "identifierName": "physicalKeyboardInterface" }, "name": "physicalKeyboardInterface" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 7077, "end": 7103, "loc": { "start": { "line": 139, "column": 37 }, "end": { "line": 139, "column": 63 } }, "callee": { "type": "Identifier", "start": 7081, "end": 7097, "loc": { "start": { "line": 139, "column": 41 }, "end": { "line": 139, "column": 57 }, "identifierName": "PhysicalKeyboard" }, "name": "PhysicalKeyboard" }, "arguments": [ { "type": "ThisExpression", "start": 7098, "end": 7102, "loc": { "start": { "line": 139, "column": 58 }, "end": { "line": 139, "column": 62 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 6992, "end": 7038, "loc": { "start": { "line": 136, "column": 4 }, "end": { "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": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\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 ", "start": 393, "end": 675, "loc": { "start": { "line": 16, "column": 2 }, "end": { "line": 19, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", "start": 7200, "end": 7312, "loc": { "start": { "line": 148, "column": 2 }, "end": { "line": 151, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 7316, "end": 8703, "loc": { "start": { "line": 152, "column": 2 }, "end": { "line": 202, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7316, "end": 7335, "loc": { "start": { "line": 152, "column": 2 }, "end": { "line": 152, "column": 21 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7336, "end": 7342, "loc": { "start": { "line": 152, "column": 22 }, "end": { "line": 152, "column": 28 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 7343, "end": 8703, "loc": { "start": { "line": 152, "column": 29 }, "end": { "line": 202, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 7350, "end": 7381, "loc": { "start": { "line": 153, "column": 4 }, "end": { "line": 153, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7354, "end": 7380, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 34 } }, "id": { "type": "Identifier", "start": 7354, "end": 7359, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 13 }, "identifierName": "debug" }, "name": "debug" }, "init": { "type": "MemberExpression", "start": 7362, "end": 7380, "loc": { "start": { "line": 153, "column": 16 }, "end": { "line": 153, "column": 34 } }, "object": { "type": "MemberExpression", "start": 7362, "end": 7374, "loc": { "start": { "line": 153, "column": 16 }, "end": { "line": 153, "column": 28 } }, "object": { "type": "ThisExpression", "start": 7362, "end": 7366, "loc": { "start": { "line": 153, "column": 16 }, "end": { "line": 153, "column": 20 } } }, "property": { "type": "Identifier", "start": 7367, "end": 7374, "loc": { "start": { "line": 153, "column": 21 }, "end": { "line": 153, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7375, "end": 7380, "loc": { "start": { "line": 153, "column": 29 }, "end": { "line": 153, "column": 34 }, "identifierName": "debug" }, "name": "debug" }, "computed": false } } ], "kind": "let", "trailingComments": [ { "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 } } } ] }, { "type": "IfStatement", "start": 7444, "end": 7486, "loc": { "start": { "line": 158, "column": 4 }, "end": { "line": 159, "column": 19 } }, "test": { "type": "BinaryExpression", "start": 7447, "end": 7464, "loc": { "start": { "line": 158, "column": 7 }, "end": { "line": 158, "column": 24 } }, "left": { "type": "Identifier", "start": 7447, "end": 7453, "loc": { "start": { "line": 158, "column": 7 }, "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 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 7549, "end": 7572, "loc": { "start": { "line": 164, "column": 14 }, "end": { "line": 164, "column": 37 } }, "object": { "type": "MemberExpression", "start": 7549, "end": 7561, "loc": { "start": { "line": 164, "column": 14 }, "end": { "line": 164, "column": 26 } }, "object": { "type": "ThisExpression", "start": 7549, "end": 7553, "loc": { "start": { "line": 164, "column": 14 }, "end": { "line": 164, "column": 18 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7554, "end": 7561, "loc": { "start": { "line": 164, "column": 19 }, "end": { "line": 164, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 7562, "end": 7572, "loc": { "start": { "line": 164, "column": 27 }, "end": { "line": 164, "column": 37 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 7577, "end": 7587, "loc": { "start": { "line": 164, "column": 42 }, "end": { "line": 164, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 7596, "end": 7628, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 38 } }, "expression": { "type": "CallExpression", "start": 7596, "end": 7627, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 7596, "end": 7619, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 29 } }, "object": { "type": "MemberExpression", "start": 7596, "end": 7608, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 18 } }, "object": { "type": "ThisExpression", "start": 7596, "end": 7600, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 10 } } }, "property": { "type": "Identifier", "start": 7601, "end": 7608, "loc": { "start": { "line": 165, "column": 11 }, "end": { "line": 165, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7609, "end": 7619, "loc": { "start": { "line": 165, "column": 19 }, "end": { "line": 165, "column": 29 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7620, "end": 7626, "loc": { "start": { "line": 165, "column": 30 }, "end": { "line": 165, "column": 36 }, "identifierName": "button" }, "name": "button" } ] } }, "alternate": null, "leadingComments": [ { "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": 7640, "end": 7727, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 168, "column": 46 } }, "test": { "type": "UnaryExpression", "start": 7643, "end": 7678, "loc": { "start": { "line": 167, "column": 7 }, "end": { "line": 167, "column": 42 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 7644, "end": 7678, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 42 } }, "object": { "type": "MemberExpression", "start": 7644, "end": 7654, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 18 } }, "object": { "type": "ThisExpression", "start": 7644, "end": 7648, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 12 } } }, "property": { "type": "Identifier", "start": 7649, "end": 7654, "loc": { "start": { "line": 167, "column": 13 }, "end": { "line": 167, "column": 18 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7655, "end": 7677, "loc": { "start": { "line": 167, "column": 19 }, "end": { "line": 167, "column": 41 } }, "object": { "type": "MemberExpression", "start": 7655, "end": 7667, "loc": { "start": { "line": 167, "column": 19 }, "end": { "line": 167, "column": 31 } }, "object": { "type": "ThisExpression", "start": 7655, "end": 7659, "loc": { "start": { "line": 167, "column": 19 }, "end": { "line": 167, "column": 23 } } }, "property": { "type": "Identifier", "start": 7660, "end": 7667, "loc": { "start": { "line": 167, "column": 24 }, "end": { "line": 167, "column": 31 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7668, "end": 7677, "loc": { "start": { "line": 167, "column": 32 }, "end": { "line": 167, "column": 41 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 7687, "end": 7727, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 7687, "end": 7726, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7687, "end": 7721, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 40 } }, "object": { "type": "MemberExpression", "start": 7687, "end": 7697, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 16 } }, "object": { "type": "ThisExpression", "start": 7687, "end": 7691, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 10 } } }, "property": { "type": "Identifier", "start": 7692, "end": 7697, "loc": { "start": { "line": 168, "column": 11 }, "end": { "line": 168, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7698, "end": 7720, "loc": { "start": { "line": 168, "column": 17 }, "end": { "line": 168, "column": 39 } }, "object": { "type": "MemberExpression", "start": 7698, "end": 7710, "loc": { "start": { "line": 168, "column": 17 }, "end": { "line": 168, "column": 29 } }, "object": { "type": "ThisExpression", "start": 7698, "end": 7702, "loc": { "start": { "line": 168, "column": 17 }, "end": { "line": 168, "column": 21 } } }, "property": { "type": "Identifier", "start": 7703, "end": 7710, "loc": { "start": { "line": 168, "column": 22 }, "end": { "line": 168, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7711, "end": 7720, "loc": { "start": { "line": 168, "column": 30 }, "end": { "line": 168, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 7724, "end": 7726, "loc": { "start": { "line": 168, "column": 43 }, "end": { "line": 168, "column": 45 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 7735, "end": 7863, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 170, "column": 132 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7739, "end": 7862, "loc": { "start": { "line": 170, "column": 8 }, "end": { "line": 170, "column": 131 } }, "id": { "type": "Identifier", "start": 7739, "end": 7751, "loc": { "start": { "line": 170, "column": 8 }, "end": { "line": 170, "column": 20 }, "identifierName": "updatedInput" }, "name": "updatedInput" }, "init": { "type": "CallExpression", "start": 7754, "end": 7862, "loc": { "start": { "line": 170, "column": 23 }, "end": { "line": 170, "column": 131 } }, "callee": { "type": "MemberExpression", "start": 7754, "end": 7784, "loc": { "start": { "line": 170, "column": 23 }, "end": { "line": 170, "column": 53 } }, "object": { "type": "MemberExpression", "start": 7754, "end": 7768, "loc": { "start": { "line": 170, "column": 23 }, "end": { "line": 170, "column": 37 } }, "object": { "type": "ThisExpression", "start": 7754, "end": 7758, "loc": { "start": { "line": 170, "column": 23 }, "end": { "line": 170, "column": 27 } } }, "property": { "type": "Identifier", "start": 7759, "end": 7768, "loc": { "start": { "line": 170, "column": 28 }, "end": { "line": 170, "column": 37 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 7769, "end": 7784, "loc": { "start": { "line": 170, "column": 38 }, "end": { "line": 170, "column": 53 }, "identifierName": "getUpdatedInput" }, "name": "getUpdatedInput" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7785, "end": 7791, "loc": { "start": { "line": 170, "column": 54 }, "end": { "line": 170, "column": 60 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 7793, "end": 7827, "loc": { "start": { "line": 170, "column": 62 }, "end": { "line": 170, "column": 96 } }, "object": { "type": "MemberExpression", "start": 7793, "end": 7803, "loc": { "start": { "line": 170, "column": 62 }, "end": { "line": 170, "column": 72 } }, "object": { "type": "ThisExpression", "start": 7793, "end": 7797, "loc": { "start": { "line": 170, "column": 62 }, "end": { "line": 170, "column": 66 } } }, "property": { "type": "Identifier", "start": 7798, "end": 7803, "loc": { "start": { "line": 170, "column": 67 }, "end": { "line": 170, "column": 72 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7804, "end": 7826, "loc": { "start": { "line": 170, "column": 73 }, "end": { "line": 170, "column": 95 } }, "object": { "type": "MemberExpression", "start": 7804, "end": 7816, "loc": { "start": { "line": 170, "column": 73 }, "end": { "line": 170, "column": 85 } }, "object": { "type": "ThisExpression", "start": 7804, "end": 7808, "loc": { "start": { "line": 170, "column": 73 }, "end": { "line": 170, "column": 77 } } }, "property": { "type": "Identifier", "start": 7809, "end": 7816, "loc": { "start": { "line": 170, "column": 78 }, "end": { "line": 170, "column": 85 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7817, "end": 7826, "loc": { "start": { "line": 170, "column": 86 }, "end": { "line": 170, "column": 95 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, { "type": "MemberExpression", "start": 7829, "end": 7841, "loc": { "start": { "line": 170, "column": 98 }, "end": { "line": 170, "column": 110 } }, "object": { "type": "ThisExpression", "start": 7829, "end": 7833, "loc": { "start": { "line": 170, "column": 98 }, "end": { "line": 170, "column": 102 } } }, "property": { "type": "Identifier", "start": 7834, "end": 7841, "loc": { "start": { "line": 170, "column": 103 }, "end": { "line": 170, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "MemberExpression", "start": 7843, "end": 7861, "loc": { "start": { "line": 170, "column": 112 }, "end": { "line": 170, "column": 130 } }, "object": { "type": "ThisExpression", "start": 7843, "end": 7847, "loc": { "start": { "line": 170, "column": 112 }, "end": { "line": 170, "column": 116 } } }, "property": { "type": "Identifier", "start": 7848, "end": 7861, "loc": { "start": { "line": 170, "column": 117 }, "end": { "line": 170, "column": 130 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 7871, "end": 8625, "loc": { "start": { "line": 172, "column": 4 }, "end": { "line": 197, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 7874, "end": 7925, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 58 } }, "left": { "type": "MemberExpression", "start": 7874, "end": 7908, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 41 } }, "object": { "type": "MemberExpression", "start": 7874, "end": 7884, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 17 } }, "object": { "type": "ThisExpression", "start": 7874, "end": 7878, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 11 } } }, "property": { "type": "Identifier", "start": 7879, "end": 7884, "loc": { "start": { "line": 172, "column": 12 }, "end": { "line": 172, "column": 17 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7885, "end": 7907, "loc": { "start": { "line": 172, "column": 18 }, "end": { "line": 172, "column": 40 } }, "object": { "type": "MemberExpression", "start": 7885, "end": 7897, "loc": { "start": { "line": 172, "column": 18 }, "end": { "line": 172, "column": 30 } }, "object": { "type": "ThisExpression", "start": 7885, "end": 7889, "loc": { "start": { "line": 172, "column": 18 }, "end": { "line": 172, "column": 22 } } }, "property": { "type": "Identifier", "start": 7890, "end": 7897, "loc": { "start": { "line": 172, "column": 23 }, "end": { "line": 172, "column": 30 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7898, "end": 7907, "loc": { "start": { "line": 172, "column": 31 }, "end": { "line": 172, "column": 40 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "operator": "!==", "right": { "type": "Identifier", "start": 7913, "end": 7925, "loc": { "start": { "line": 172, "column": 46 }, "end": { "line": 172, "column": 58 }, "identifierName": "updatedInput" }, "name": "updatedInput" } }, "consequent": { "type": "BlockStatement", "start": 7926, "end": 8625, "loc": { "start": { "line": 172, "column": 59 }, "end": { "line": 197, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 8022, "end": 8155, "loc": { "start": { "line": 177, "column": 6 }, "end": { "line": 179, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 8025, "end": 8121, "loc": { "start": { "line": 177, "column": 9 }, "end": { "line": 177, "column": 105 } }, "left": { "type": "MemberExpression", "start": 8025, "end": 8047, "loc": { "start": { "line": 177, "column": 9 }, "end": { "line": 177, "column": 31 } }, "object": { "type": "MemberExpression", "start": 8025, "end": 8037, "loc": { "start": { "line": 177, "column": 9 }, "end": { "line": 177, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8025, "end": 8029, "loc": { "start": { "line": 177, "column": 9 }, "end": { "line": 177, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8030, "end": 8037, "loc": { "start": { "line": 177, "column": 14 }, "end": { "line": 177, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8038, "end": 8047, "loc": { "start": { "line": 177, "column": 22 }, "end": { "line": 177, "column": 31 }, "identifierName": "maxLength" }, "name": "maxLength" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 8051, "end": 8121, "loc": { "start": { "line": 177, "column": 35 }, "end": { "line": 177, "column": 105 } }, "callee": { "type": "MemberExpression", "start": 8051, "end": 8081, "loc": { "start": { "line": 177, "column": 35 }, "end": { "line": 177, "column": 65 } }, "object": { "type": "MemberExpression", "start": 8051, "end": 8065, "loc": { "start": { "line": 177, "column": 35 }, "end": { "line": 177, "column": 49 } }, "object": { "type": "ThisExpression", "start": 8051, "end": 8055, "loc": { "start": { "line": 177, "column": 35 }, "end": { "line": 177, "column": 39 } } }, "property": { "type": "Identifier", "start": 8056, "end": 8065, "loc": { "start": { "line": 177, "column": 40 }, "end": { "line": 177, "column": 49 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 8066, "end": 8081, "loc": { "start": { "line": 177, "column": 50 }, "end": { "line": 177, "column": 65 }, "identifierName": "handleMaxLength" }, "name": "handleMaxLength" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8082, "end": 8092, "loc": { "start": { "line": 177, "column": 66 }, "end": { "line": 177, "column": 76 } }, "object": { "type": "ThisExpression", "start": 8082, "end": 8086, "loc": { "start": { "line": 177, "column": 66 }, "end": { "line": 177, "column": 70 } } }, "property": { "type": "Identifier", "start": 8087, "end": 8092, "loc": { "start": { "line": 177, "column": 71 }, "end": { "line": 177, "column": 76 }, "identifierName": "input" }, "name": "input" }, "computed": false }, { "type": "MemberExpression", "start": 8094, "end": 8106, "loc": { "start": { "line": 177, "column": 78 }, "end": { "line": 177, "column": 90 } }, "object": { "type": "ThisExpression", "start": 8094, "end": 8098, "loc": { "start": { "line": 177, "column": 78 }, "end": { "line": 177, "column": 82 } } }, "property": { "type": "Identifier", "start": 8099, "end": 8106, "loc": { "start": { "line": 177, "column": 83 }, "end": { "line": 177, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 8108, "end": 8120, "loc": { "start": { "line": 177, "column": 92 }, "end": { "line": 177, "column": 104 }, "identifierName": "updatedInput" }, "name": "updatedInput" } ] }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 8122, "end": 8155, "loc": { "start": { "line": 177, "column": 106 }, "end": { "line": 179, "column": 7 } }, "body": [ { "type": "ReturnStatement", "start": 8133, "end": 8146, "loc": { "start": { "line": 178, "column": 8 }, "end": { "line": 178, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 8140, "end": 8145, "loc": { "start": { "line": 178, "column": 15 }, "end": { "line": 178, "column": 20 } }, "value": false } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "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": 176, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 8165, "end": 8215, "loc": { "start": { "line": 181, "column": 6 }, "end": { "line": 181, "column": 56 } }, "expression": { "type": "AssignmentExpression", "start": 8165, "end": 8214, "loc": { "start": { "line": 181, "column": 6 }, "end": { "line": 181, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8165, "end": 8199, "loc": { "start": { "line": 181, "column": 6 }, "end": { "line": 181, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8165, "end": 8175, "loc": { "start": { "line": 181, "column": 6 }, "end": { "line": 181, "column": 16 } }, "object": { "type": "ThisExpression", "start": 8165, "end": 8169, "loc": { "start": { "line": 181, "column": 6 }, "end": { "line": 181, "column": 10 } } }, "property": { "type": "Identifier", "start": 8170, "end": 8175, "loc": { "start": { "line": 181, "column": 11 }, "end": { "line": 181, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8176, "end": 8198, "loc": { "start": { "line": 181, "column": 17 }, "end": { "line": 181, "column": 39 } }, "object": { "type": "MemberExpression", "start": 8176, "end": 8188, "loc": { "start": { "line": 181, "column": 17 }, "end": { "line": 181, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8176, "end": 8180, "loc": { "start": { "line": 181, "column": 17 }, "end": { "line": 181, "column": 21 } } }, "property": { "type": "Identifier", "start": 8181, "end": 8188, "loc": { "start": { "line": 181, "column": 22 }, "end": { "line": 181, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8189, "end": 8198, "loc": { "start": { "line": 181, "column": 30 }, "end": { "line": 181, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "Identifier", "start": 8202, "end": 8214, "loc": { "start": { "line": 181, "column": 43 }, "end": { "line": 181, "column": 55 }, "identifierName": "updatedInput" }, "name": "updatedInput" } } }, { "type": "IfStatement", "start": 8225, "end": 8286, "loc": { "start": { "line": 183, "column": 6 }, "end": { "line": 184, "column": 50 } }, "test": { "type": "Identifier", "start": 8228, "end": 8233, "loc": { "start": { "line": 183, "column": 9 }, "end": { "line": 183, "column": 14 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "ExpressionStatement", "start": 8244, "end": 8286, "loc": { "start": { "line": 184, "column": 8 }, "end": { "line": 184, "column": 50 } }, "expression": { "type": "CallExpression", "start": 8244, "end": 8285, "loc": { "start": { "line": 184, "column": 8 }, "end": { "line": 184, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 8244, "end": 8255, "loc": { "start": { "line": 184, "column": 8 }, "end": { "line": 184, "column": 19 } }, "object": { "type": "Identifier", "start": 8244, "end": 8251, "loc": { "start": { "line": 184, "column": 8 }, "end": { "line": 184, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 8252, "end": 8255, "loc": { "start": { "line": 184, "column": 16 }, "end": { "line": 184, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 8256, "end": 8272, "loc": { "start": { "line": 184, "column": 20 }, "end": { "line": 184, "column": 36 } }, "extra": { "rawValue": "Input changed:", "raw": "'Input changed:'" }, "value": "Input changed:" }, { "type": "MemberExpression", "start": 8274, "end": 8284, "loc": { "start": { "line": 184, "column": 38 }, "end": { "line": 184, "column": 48 } }, "object": { "type": "ThisExpression", "start": 8274, "end": 8278, "loc": { "start": { "line": 184, "column": 38 }, "end": { "line": 184, "column": 42 } } }, "property": { "type": "Identifier", "start": 8279, "end": 8284, "loc": { "start": { "line": 184, "column": 43 }, "end": { "line": 184, "column": 48 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] }, "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8296, "end": 8355, "loc": { "start": { "line": 186, "column": 6 }, "end": { "line": 188, "column": 9 } } } ] }, { "type": "IfStatement", "start": 8363, "end": 8444, "loc": { "start": { "line": 189, "column": 6 }, "end": { "line": 190, "column": 44 } }, "test": { "type": "MemberExpression", "start": 8366, "end": 8397, "loc": { "start": { "line": 189, "column": 9 }, "end": { "line": 189, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8366, "end": 8378, "loc": { "start": { "line": 189, "column": 9 }, "end": { "line": 189, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8366, "end": 8370, "loc": { "start": { "line": 189, "column": 9 }, "end": { "line": 189, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8371, "end": 8378, "loc": { "start": { "line": 189, "column": 14 }, "end": { "line": 189, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8379, "end": 8397, "loc": { "start": { "line": 189, "column": 22 }, "end": { "line": 189, "column": 40 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8408, "end": 8444, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 44 } }, "expression": { "type": "CallExpression", "start": 8408, "end": 8443, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 8408, "end": 8431, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 31 } }, "object": { "type": "ThisExpression", "start": 8408, "end": 8412, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 12 } } }, "property": { "type": "Identifier", "start": 8413, "end": 8431, "loc": { "start": { "line": 190, "column": 13 }, "end": { "line": 190, "column": 31 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8432, "end": 8442, "loc": { "start": { "line": 190, "column": 32 }, "end": { "line": 190, "column": 42 } }, "object": { "type": "ThisExpression", "start": 8432, "end": 8436, "loc": { "start": { "line": 190, "column": 32 }, "end": { "line": 190, "column": 36 } } }, "property": { "type": "Identifier", "start": 8437, "end": 8442, "loc": { "start": { "line": 190, "column": 37 }, "end": { "line": 190, "column": 42 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] }, "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8296, "end": 8355, "loc": { "start": { "line": 186, "column": 6 }, "end": { "line": 188, "column": 9 } } } ], "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": 8503, "end": 8618, "loc": { "start": { "line": 195, "column": 6 }, "end": { "line": 196, "column": 66 } }, "test": { "type": "BinaryExpression", "start": 8506, "end": 8549, "loc": { "start": { "line": 195, "column": 9 }, "end": { "line": 195, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 8506, "end": 8534, "loc": { "start": { "line": 195, "column": 9 }, "end": { "line": 195, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 8513, "end": 8534, "loc": { "start": { "line": 195, "column": 16 }, "end": { "line": 195, "column": 37 } }, "object": { "type": "MemberExpression", "start": 8513, "end": 8525, "loc": { "start": { "line": 195, "column": 16 }, "end": { "line": 195, "column": 28 } }, "object": { "type": "ThisExpression", "start": 8513, "end": 8517, "loc": { "start": { "line": 195, "column": 16 }, "end": { "line": 195, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8518, "end": 8525, "loc": { "start": { "line": 195, "column": 21 }, "end": { "line": 195, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8526, "end": 8534, "loc": { "start": { "line": 195, "column": 29 }, "end": { "line": 195, "column": 37 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 8539, "end": 8549, "loc": { "start": { "line": 195, "column": 42 }, "end": { "line": 195, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8560, "end": 8618, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 66 } }, "expression": { "type": "CallExpression", "start": 8560, "end": 8617, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 8560, "end": 8581, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 29 } }, "object": { "type": "MemberExpression", "start": 8560, "end": 8572, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 20 } }, "object": { "type": "ThisExpression", "start": 8560, "end": 8564, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 12 } } }, "property": { "type": "Identifier", "start": 8565, "end": 8572, "loc": { "start": { "line": 196, "column": 13 }, "end": { "line": 196, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8573, "end": 8581, "loc": { "start": { "line": 196, "column": 21 }, "end": { "line": 196, "column": 29 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8582, "end": 8616, "loc": { "start": { "line": 196, "column": 30 }, "end": { "line": 196, "column": 64 } }, "object": { "type": "MemberExpression", "start": 8582, "end": 8592, "loc": { "start": { "line": 196, "column": 30 }, "end": { "line": 196, "column": 40 } }, "object": { "type": "ThisExpression", "start": 8582, "end": 8586, "loc": { "start": { "line": 196, "column": 30 }, "end": { "line": 196, "column": 34 } } }, "property": { "type": "Identifier", "start": 8587, "end": 8592, "loc": { "start": { "line": 196, "column": 35 }, "end": { "line": 196, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8593, "end": 8615, "loc": { "start": { "line": 196, "column": 41 }, "end": { "line": 196, "column": 63 } }, "object": { "type": "MemberExpression", "start": 8593, "end": 8605, "loc": { "start": { "line": 196, "column": 41 }, "end": { "line": 196, "column": 53 } }, "object": { "type": "ThisExpression", "start": 8593, "end": 8597, "loc": { "start": { "line": 196, "column": 41 }, "end": { "line": 196, "column": 45 } } }, "property": { "type": "Identifier", "start": 8598, "end": 8605, "loc": { "start": { "line": 196, "column": 46 }, "end": { "line": 196, "column": 53 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8606, "end": 8615, "loc": { "start": { "line": 196, "column": 54 }, "end": { "line": 196, "column": 63 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 8454, "end": 8495, "loc": { "start": { "line": 192, "column": 6 }, "end": { "line": 194, "column": 9 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 8637, "end": 8698, "loc": { "start": { "line": 199, "column": 4 }, "end": { "line": 201, "column": 5 } }, "test": { "type": "Identifier", "start": 8640, "end": 8645, "loc": { "start": { "line": 199, "column": 7 }, "end": { "line": 199, "column": 12 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "BlockStatement", "start": 8646, "end": 8698, "loc": { "start": { "line": 199, "column": 13 }, "end": { "line": 201, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 8655, "end": 8691, "loc": { "start": { "line": 200, "column": 6 }, "end": { "line": 200, "column": 42 } }, "expression": { "type": "CallExpression", "start": 8655, "end": 8690, "loc": { "start": { "line": 200, "column": 6 }, "end": { "line": 200, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 8655, "end": 8666, "loc": { "start": { "line": 200, "column": 6 }, "end": { "line": 200, "column": 17 } }, "object": { "type": "Identifier", "start": 8655, "end": 8662, "loc": { "start": { "line": 200, "column": 6 }, "end": { "line": 200, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 8663, "end": 8666, "loc": { "start": { "line": 200, "column": 14 }, "end": { "line": 200, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 8667, "end": 8681, "loc": { "start": { "line": 200, "column": 18 }, "end": { "line": 200, "column": 32 } }, "extra": { "rawValue": "Key pressed:", "raw": "\"Key pressed:\"" }, "value": "Key pressed:" }, { "type": "Identifier", "start": 8683, "end": 8689, "loc": { "start": { "line": 200, "column": 34 }, "end": { "line": 200, "column": 40 }, "identifierName": "button" }, "name": "button" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", "start": 7200, "end": 7312, "loc": { "start": { "line": 148, "column": 2 }, "end": { "line": 151, "column": 5 } } } ], "trailingComments": [ { "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": "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 } } } ] }, { "type": "ClassMethod", "start": 9536, "end": 9681, "loc": { "start": { "line": 239, "column": 2 }, "end": { "line": 243, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9536, "end": 9555, "loc": { "start": { "line": 239, "column": 2 }, "end": { "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" }, "name": "syncInstanceInputs", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 10153, "end": 10245, "loc": { "start": { "line": 262, "column": 22 }, "end": { "line": 266, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10160, "end": 10240, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 265, "column": 7 } }, "expression": { "type": "CallExpression", "start": 10160, "end": 10239, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 265, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 10160, "end": 10173, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 263, "column": 17 } }, "object": { "type": "ThisExpression", "start": 10160, "end": 10164, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 263, "column": 8 } } }, "property": { "type": "Identifier", "start": 10165, "end": 10173, "loc": { "start": { "line": 263, "column": 9 }, "end": { "line": 263, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10174, "end": 10238, "loc": { "start": { "line": 263, "column": 18 }, "end": { "line": 265, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10175, "end": 10183, "loc": { "start": { "line": 263, "column": 19 }, "end": { "line": 263, "column": 27 }, "identifierName": "instance" }, "name": "instance" } ], "body": { "type": "BlockStatement", "start": 10188, "end": 10238, "loc": { "start": { "line": 263, "column": 32 }, "end": { "line": 265, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10197, "end": 10231, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 40 } }, "expression": { "type": "CallExpression", "start": 10197, "end": 10230, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 10197, "end": 10218, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 27 } }, "object": { "type": "Identifier", "start": 10197, "end": 10205, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 14 }, "identifierName": "instance" }, "name": "instance" }, "property": { "type": "Identifier", "start": 10206, "end": 10218, "loc": { "start": { "line": 264, "column": 15 }, "end": { "line": 264, "column": 27 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 10219, "end": 10229, "loc": { "start": { "line": 264, "column": 28 }, "end": { "line": 264, "column": 38 } }, "object": { "type": "ThisExpression", "start": 10219, "end": 10223, "loc": { "start": { "line": 264, "column": 28 }, "end": { "line": 264, "column": 32 } } }, "property": { "type": "Identifier", "start": 10224, "end": 10229, "loc": { "start": { "line": 264, "column": 33 }, "end": { "line": 264, "column": 38 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 10032, "end": 10129, "loc": { "start": { "line": 259, "column": 2 }, "end": { "line": 261, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 10253, "end": 10371, "loc": { "start": { "line": 268, "column": 2 }, "end": { "line": 271, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10375, "end": 10650, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 281, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10375, "end": 10385, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 272, "column": 12 }, "identifierName": "clearInput" }, "name": "clearInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10386, "end": 10395, "loc": { "start": { "line": 272, "column": 13 }, "end": { "line": 272, "column": 22 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 10396, "end": 10650, "loc": { "start": { "line": 272, "column": 23 }, "end": { "line": 281, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10403, "end": 10451, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 273, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 10403, "end": 10450, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 273, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 10403, "end": 10412, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 273, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 10415, "end": 10450, "loc": { "start": { "line": 273, "column": 16 }, "end": { "line": 273, "column": 51 } }, "left": { "type": "Identifier", "start": 10415, "end": 10424, "loc": { "start": { "line": 273, "column": 16 }, "end": { "line": 273, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 10428, "end": 10450, "loc": { "start": { "line": 273, "column": 29 }, "end": { "line": 273, "column": 51 } }, "object": { "type": "MemberExpression", "start": 10428, "end": 10440, "loc": { "start": { "line": 273, "column": 29 }, "end": { "line": 273, "column": 41 } }, "object": { "type": "ThisExpression", "start": 10428, "end": 10432, "loc": { "start": { "line": 273, "column": 29 }, "end": { "line": 273, "column": 33 } } }, "property": { "type": "Identifier", "start": 10433, "end": 10440, "loc": { "start": { "line": 273, "column": 34 }, "end": { "line": 273, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10441, "end": 10450, "loc": { "start": { "line": 273, "column": 42 }, "end": { "line": 273, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 10457, "end": 10497, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 10457, "end": 10496, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10457, "end": 10491, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 38 } }, "object": { "type": "MemberExpression", "start": 10457, "end": 10467, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 14 } }, "object": { "type": "ThisExpression", "start": 10457, "end": 10461, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 8 } } }, "property": { "type": "Identifier", "start": 10462, "end": 10467, "loc": { "start": { "line": 274, "column": 9 }, "end": { "line": 274, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 10468, "end": 10490, "loc": { "start": { "line": 274, "column": 15 }, "end": { "line": 274, "column": 37 } }, "object": { "type": "MemberExpression", "start": 10468, "end": 10480, "loc": { "start": { "line": 274, "column": 15 }, "end": { "line": 274, "column": 27 } }, "object": { "type": "ThisExpression", "start": 10468, "end": 10472, "loc": { "start": { "line": 274, "column": 15 }, "end": { "line": 274, "column": 19 } } }, "property": { "type": "Identifier", "start": 10473, "end": 10480, "loc": { "start": { "line": 274, "column": 20 }, "end": { "line": 274, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10481, "end": 10490, "loc": { "start": { "line": 274, "column": 28 }, "end": { "line": 274, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 10494, "end": 10496, "loc": { "start": { "line": 274, "column": 41 }, "end": { "line": 274, "column": 43 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10505, "end": 10560, "loc": { "start": { "line": 276, "column": 4 }, "end": { "line": 278, "column": 7 } } } ] }, { "type": "IfStatement", "start": 10566, "end": 10645, "loc": { "start": { "line": 279, "column": 4 }, "end": { "line": 280, "column": 42 } }, "test": { "type": "MemberExpression", "start": 10569, "end": 10600, "loc": { "start": { "line": 279, "column": 7 }, "end": { "line": 279, "column": 38 } }, "object": { "type": "MemberExpression", "start": 10569, "end": 10581, "loc": { "start": { "line": 279, "column": 7 }, "end": { "line": 279, "column": 19 } }, "object": { "type": "ThisExpression", "start": 10569, "end": 10573, "loc": { "start": { "line": 279, "column": 7 }, "end": { "line": 279, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 10574, "end": 10581, "loc": { "start": { "line": 279, "column": 12 }, "end": { "line": 279, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 10582, "end": 10600, "loc": { "start": { "line": 279, "column": 20 }, "end": { "line": 279, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 10609, "end": 10645, "loc": { "start": { "line": 280, "column": 6 }, "end": { "line": 280, "column": 42 } }, "expression": { "type": "CallExpression", "start": 10609, "end": 10644, "loc": { "start": { "line": 280, "column": 6 }, "end": { "line": 280, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 10609, "end": 10632, "loc": { "start": { "line": 280, "column": 6 }, "end": { "line": 280, "column": 29 } }, "object": { "type": "ThisExpression", "start": 10609, "end": 10613, "loc": { "start": { "line": 280, "column": 6 }, "end": { "line": 280, "column": 10 } } }, "property": { "type": "Identifier", "start": 10614, "end": 10632, "loc": { "start": { "line": 280, "column": 11 }, "end": { "line": 280, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 10633, "end": 10643, "loc": { "start": { "line": 280, "column": 30 }, "end": { "line": 280, "column": 40 } }, "object": { "type": "ThisExpression", "start": 10633, "end": 10637, "loc": { "start": { "line": 280, "column": 30 }, "end": { "line": 280, "column": 34 } } }, "property": { "type": "Identifier", "start": 10638, "end": 10643, "loc": { "start": { "line": 280, "column": 35 }, "end": { "line": 280, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10505, "end": 10560, "loc": { "start": { "line": 276, "column": 4 }, "end": { "line": 278, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 10253, "end": 10371, "loc": { "start": { "line": 268, "column": 2 }, "end": { "line": 271, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 10656, "end": 10818, "loc": { "start": { "line": 283, "column": 2 }, "end": { "line": 286, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10822, "end": 11099, "loc": { "start": { "line": 287, "column": 2 }, "end": { "line": 297, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10822, "end": 10830, "loc": { "start": { "line": 287, "column": 2 }, "end": { "line": 287, "column": 10 }, "identifierName": "getInput" }, "name": "getInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10831, "end": 10840, "loc": { "start": { "line": 287, "column": 11 }, "end": { "line": 287, "column": 20 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 10841, "end": 11099, "loc": { "start": { "line": 287, "column": 21 }, "end": { "line": 297, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10848, "end": 10896, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 288, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 10848, "end": 10895, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 288, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 10848, "end": 10857, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 288, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 10860, "end": 10895, "loc": { "start": { "line": 288, "column": 16 }, "end": { "line": 288, "column": 51 } }, "left": { "type": "Identifier", "start": 10860, "end": 10869, "loc": { "start": { "line": 288, "column": 16 }, "end": { "line": 288, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 10873, "end": 10895, "loc": { "start": { "line": 288, "column": 29 }, "end": { "line": 288, "column": 51 } }, "object": { "type": "MemberExpression", "start": 10873, "end": 10885, "loc": { "start": { "line": 288, "column": 29 }, "end": { "line": 288, "column": 41 } }, "object": { "type": "ThisExpression", "start": 10873, "end": 10877, "loc": { "start": { "line": 288, "column": 29 }, "end": { "line": 288, "column": 33 } } }, "property": { "type": "Identifier", "start": 10878, "end": 10885, "loc": { "start": { "line": 288, "column": 34 }, "end": { "line": 288, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10886, "end": 10895, "loc": { "start": { "line": 288, "column": 42 }, "end": { "line": 288, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10904, "end": 10959, "loc": { "start": { "line": 290, "column": 4 }, "end": { "line": 292, "column": 7 } } } ] }, { "type": "IfStatement", "start": 10965, "end": 11044, "loc": { "start": { "line": 293, "column": 4 }, "end": { "line": 294, "column": 42 } }, "test": { "type": "MemberExpression", "start": 10968, "end": 10999, "loc": { "start": { "line": 293, "column": 7 }, "end": { "line": 293, "column": 38 } }, "object": { "type": "MemberExpression", "start": 10968, "end": 10980, "loc": { "start": { "line": 293, "column": 7 }, "end": { "line": 293, "column": 19 } }, "object": { "type": "ThisExpression", "start": 10968, "end": 10972, "loc": { "start": { "line": 293, "column": 7 }, "end": { "line": 293, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 10973, "end": 10980, "loc": { "start": { "line": 293, "column": 12 }, "end": { "line": 293, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 10981, "end": 10999, "loc": { "start": { "line": 293, "column": 20 }, "end": { "line": 293, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 11008, "end": 11044, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 42 } }, "expression": { "type": "CallExpression", "start": 11008, "end": 11043, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 11008, "end": 11031, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 29 } }, "object": { "type": "ThisExpression", "start": 11008, "end": 11012, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 10 } } }, "property": { "type": "Identifier", "start": 11013, "end": 11031, "loc": { "start": { "line": 294, "column": 11 }, "end": { "line": 294, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11032, "end": 11042, "loc": { "start": { "line": 294, "column": 30 }, "end": { "line": 294, "column": 40 } }, "object": { "type": "ThisExpression", "start": 11032, "end": 11036, "loc": { "start": { "line": 294, "column": 30 }, "end": { "line": 294, "column": 34 } } }, "property": { "type": "Identifier", "start": 11037, "end": 11042, "loc": { "start": { "line": 294, "column": 35 }, "end": { "line": 294, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10904, "end": 10959, "loc": { "start": { "line": 290, "column": 4 }, "end": { "line": 292, "column": 7 } } } ] }, { "type": "ReturnStatement", "start": 11052, "end": 11094, "loc": { "start": { "line": 296, "column": 4 }, "end": { "line": 296, "column": 46 } }, "argument": { "type": "MemberExpression", "start": 11059, "end": 11093, "loc": { "start": { "line": 296, "column": 11 }, "end": { "line": 296, "column": 45 } }, "object": { "type": "MemberExpression", "start": 11059, "end": 11069, "loc": { "start": { "line": 296, "column": 11 }, "end": { "line": 296, "column": 21 } }, "object": { "type": "ThisExpression", "start": 11059, "end": 11063, "loc": { "start": { "line": 296, "column": 11 }, "end": { "line": 296, "column": 15 } } }, "property": { "type": "Identifier", "start": 11064, "end": 11069, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 21 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 11070, "end": 11092, "loc": { "start": { "line": 296, "column": 22 }, "end": { "line": 296, "column": 44 } }, "object": { "type": "MemberExpression", "start": 11070, "end": 11082, "loc": { "start": { "line": 296, "column": 22 }, "end": { "line": 296, "column": 34 } }, "object": { "type": "ThisExpression", "start": 11070, "end": 11074, "loc": { "start": { "line": 296, "column": 22 }, "end": { "line": 296, "column": 26 } } }, "property": { "type": "Identifier", "start": 11075, "end": 11082, "loc": { "start": { "line": 296, "column": 27 }, "end": { "line": 296, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11083, "end": 11092, "loc": { "start": { "line": 296, "column": 35 }, "end": { "line": 296, "column": 44 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 10656, "end": 10818, "loc": { "start": { "line": 283, "column": 2 }, "end": { "line": 286, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", "start": 11105, "end": 11265, "loc": { "start": { "line": 299, "column": 2 }, "end": { "line": 303, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11269, "end": 11539, "loc": { "start": { "line": 304, "column": 2 }, "end": { "line": 313, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11269, "end": 11277, "loc": { "start": { "line": 304, "column": 2 }, "end": { "line": 304, "column": 10 }, "identifierName": "setInput" }, "name": "setInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11278, "end": 11283, "loc": { "start": { "line": 304, "column": 11 }, "end": { "line": 304, "column": 16 }, "identifierName": "input" }, "name": "input" }, { "type": "Identifier", "start": 11285, "end": 11294, "loc": { "start": { "line": 304, "column": 18 }, "end": { "line": 304, "column": 27 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 11295, "end": 11539, "loc": { "start": { "line": 304, "column": 28 }, "end": { "line": 313, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11302, "end": 11350, "loc": { "start": { "line": 305, "column": 4 }, "end": { "line": 305, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 11302, "end": 11349, "loc": { "start": { "line": 305, "column": 4 }, "end": { "line": 305, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 11302, "end": 11311, "loc": { "start": { "line": 305, "column": 4 }, "end": { "line": 305, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 11314, "end": 11349, "loc": { "start": { "line": 305, "column": 16 }, "end": { "line": 305, "column": 51 } }, "left": { "type": "Identifier", "start": 11314, "end": 11323, "loc": { "start": { "line": 305, "column": 16 }, "end": { "line": 305, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 11327, "end": 11349, "loc": { "start": { "line": 305, "column": 29 }, "end": { "line": 305, "column": 51 } }, "object": { "type": "MemberExpression", "start": 11327, "end": 11339, "loc": { "start": { "line": 305, "column": 29 }, "end": { "line": 305, "column": 41 } }, "object": { "type": "ThisExpression", "start": 11327, "end": 11331, "loc": { "start": { "line": 305, "column": 29 }, "end": { "line": 305, "column": 33 } } }, "property": { "type": "Identifier", "start": 11332, "end": 11339, "loc": { "start": { "line": 305, "column": 34 }, "end": { "line": 305, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11340, "end": 11349, "loc": { "start": { "line": 305, "column": 42 }, "end": { "line": 305, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 11356, "end": 11386, "loc": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 11356, "end": 11385, "loc": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11356, "end": 11377, "loc": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 25 } }, "object": { "type": "MemberExpression", "start": 11356, "end": 11366, "loc": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 14 } }, "object": { "type": "ThisExpression", "start": 11356, "end": 11360, "loc": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 8 } } }, "property": { "type": "Identifier", "start": 11361, "end": 11366, "loc": { "start": { "line": 306, "column": 9 }, "end": { "line": 306, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "Identifier", "start": 11367, "end": 11376, "loc": { "start": { "line": 306, "column": 15 }, "end": { "line": 306, "column": 24 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": true }, "right": { "type": "Identifier", "start": 11380, "end": 11385, "loc": { "start": { "line": 306, "column": 28 }, "end": { "line": 306, "column": 33 }, "identifierName": "input" }, "name": "input" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11394, "end": 11449, "loc": { "start": { "line": 308, "column": 4 }, "end": { "line": 310, "column": 7 } } } ] }, { "type": "IfStatement", "start": 11455, "end": 11534, "loc": { "start": { "line": 311, "column": 4 }, "end": { "line": 312, "column": 42 } }, "test": { "type": "MemberExpression", "start": 11458, "end": 11489, "loc": { "start": { "line": 311, "column": 7 }, "end": { "line": 311, "column": 38 } }, "object": { "type": "MemberExpression", "start": 11458, "end": 11470, "loc": { "start": { "line": 311, "column": 7 }, "end": { "line": 311, "column": 19 } }, "object": { "type": "ThisExpression", "start": 11458, "end": 11462, "loc": { "start": { "line": 311, "column": 7 }, "end": { "line": 311, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11463, "end": 11470, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11471, "end": 11489, "loc": { "start": { "line": 311, "column": 20 }, "end": { "line": 311, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 11498, "end": 11534, "loc": { "start": { "line": 312, "column": 6 }, "end": { "line": 312, "column": 42 } }, "expression": { "type": "CallExpression", "start": 11498, "end": 11533, "loc": { "start": { "line": 312, "column": 6 }, "end": { "line": 312, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 11498, "end": 11521, "loc": { "start": { "line": 312, "column": 6 }, "end": { "line": 312, "column": 29 } }, "object": { "type": "ThisExpression", "start": 11498, "end": 11502, "loc": { "start": { "line": 312, "column": 6 }, "end": { "line": 312, "column": 10 } } }, "property": { "type": "Identifier", "start": 11503, "end": 11521, "loc": { "start": { "line": 312, "column": 11 }, "end": { "line": 312, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11522, "end": 11532, "loc": { "start": { "line": 312, "column": 30 }, "end": { "line": 312, "column": 40 } }, "object": { "type": "ThisExpression", "start": 11522, "end": 11526, "loc": { "start": { "line": 312, "column": 30 }, "end": { "line": 312, "column": 34 } } }, "property": { "type": "Identifier", "start": 11527, "end": 11532, "loc": { "start": { "line": 312, "column": 35 }, "end": { "line": 312, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11394, "end": 11449, "loc": { "start": { "line": 308, "column": 4 }, "end": { "line": 310, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", "start": 11105, "end": 11265, "loc": { "start": { "line": 299, "column": 2 }, "end": { "line": 303, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 11547, "end": 11656, "loc": { "start": { "line": 315, "column": 2 }, "end": { "line": 318, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11660, "end": 11716, "loc": { "start": { "line": 319, "column": 2 }, "end": { "line": 321, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11660, "end": 11672, "loc": { "start": { "line": 319, "column": 2 }, "end": { "line": 319, "column": 14 }, "identifierName": "replaceInput" }, "name": "replaceInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11673, "end": 11681, "loc": { "start": { "line": 319, "column": 15 }, "end": { "line": 319, "column": 23 }, "identifierName": "inputObj" }, "name": "inputObj" } ], "body": { "type": "BlockStatement", "start": 11682, "end": 11716, "loc": { "start": { "line": 319, "column": 24 }, "end": { "line": 321, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11689, "end": 11711, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 11689, "end": 11710, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11689, "end": 11699, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 14 } }, "object": { "type": "ThisExpression", "start": 11689, "end": 11693, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 8 } } }, "property": { "type": "Identifier", "start": 11694, "end": 11699, "loc": { "start": { "line": 320, "column": 9 }, "end": { "line": 320, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "right": { "type": "Identifier", "start": 11702, "end": 11710, "loc": { "start": { "line": 320, "column": 17 }, "end": { "line": 320, "column": 25 }, "identifierName": "inputObj" }, "name": "inputObj" } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 11547, "end": 11656, "loc": { "start": { "line": 315, "column": 2 }, "end": { "line": 318, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", "start": 11722, "end": 11848, "loc": { "start": { "line": 323, "column": 2 }, "end": { "line": 326, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 11852, "end": 11986, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 331, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11852, "end": 11862, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 327, "column": 12 }, "identifierName": "setOptions" }, "name": "setOptions", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 11865, "end": 11986, "loc": { "start": { "line": 327, "column": 15 }, "end": { "line": 331, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11865, "end": 11871, "loc": { "start": { "line": 327, "column": 15 }, "end": { "line": 327, "column": 21 }, "identifierName": "option" }, "name": "option" } ], "body": { "type": "BlockStatement", "start": 11875, "end": 11986, "loc": { "start": { "line": 327, "column": 25 }, "end": { "line": 331, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11882, "end": 11904, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 328, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 11882, "end": 11903, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 328, "column": 25 } }, "operator": "=", "left": { "type": "Identifier", "start": 11882, "end": 11888, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 328, "column": 10 }, "identifierName": "option" }, "name": "option" }, "right": { "type": "LogicalExpression", "start": 11891, "end": 11903, "loc": { "start": { "line": 328, "column": 13 }, "end": { "line": 328, "column": 25 } }, "left": { "type": "Identifier", "start": 11891, "end": 11897, "loc": { "start": { "line": 328, "column": 13 }, "end": { "line": 328, "column": 19 }, "identifierName": "option" }, "name": "option" }, "operator": "||", "right": { "type": "ObjectExpression", "start": 11901, "end": 11903, "loc": { "start": { "line": 328, "column": 23 }, "end": { "line": 328, "column": 25 } }, "properties": [] } } } }, { "type": "ExpressionStatement", "start": 11910, "end": 11961, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 11910, "end": 11960, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11910, "end": 11922, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 16 } }, "object": { "type": "ThisExpression", "start": 11910, "end": 11914, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 8 } } }, "property": { "type": "Identifier", "start": 11915, "end": 11922, "loc": { "start": { "line": 329, "column": 9 }, "end": { "line": 329, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "right": { "type": "CallExpression", "start": 11925, "end": 11960, "loc": { "start": { "line": 329, "column": 19 }, "end": { "line": 329, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 11925, "end": 11938, "loc": { "start": { "line": 329, "column": 19 }, "end": { "line": 329, "column": 32 } }, "object": { "type": "Identifier", "start": 11925, "end": 11931, "loc": { "start": { "line": 329, "column": 19 }, "end": { "line": 329, "column": 25 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 11932, "end": 11938, "loc": { "start": { "line": 329, "column": 26 }, "end": { "line": 329, "column": 32 }, "identifierName": "assign" }, "name": "assign" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11939, "end": 11951, "loc": { "start": { "line": 329, "column": 33 }, "end": { "line": 329, "column": 45 } }, "object": { "type": "ThisExpression", "start": 11939, "end": 11943, "loc": { "start": { "line": 329, "column": 33 }, "end": { "line": 329, "column": 37 } } }, "property": { "type": "Identifier", "start": 11944, "end": 11951, "loc": { "start": { "line": 329, "column": 38 }, "end": { "line": 329, "column": 45 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 11953, "end": 11959, "loc": { "start": { "line": 329, "column": 47 }, "end": { "line": 329, "column": 53 }, "identifierName": "option" }, "name": "option" } ] } } }, { "type": "ExpressionStatement", "start": 11967, "end": 11981, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 18 } }, "expression": { "type": "CallExpression", "start": 11967, "end": 11980, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 11967, "end": 11978, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 15 } }, "object": { "type": "ThisExpression", "start": 11967, "end": 11971, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 8 } } }, "property": { "type": "Identifier", "start": 11972, "end": 11978, "loc": { "start": { "line": 330, "column": 9 }, "end": { "line": 330, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", "start": 11722, "end": 11848, "loc": { "start": { "line": 323, "column": 2 }, "end": { "line": 326, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", "start": 11992, "end": 12101, "loc": { "start": { "line": 333, "column": 2 }, "end": { "line": 336, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12105, "end": 12244, "loc": { "start": { "line": 337, "column": 2 }, "end": { "line": 341, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12105, "end": 12110, "loc": { "start": { "line": 337, "column": 2 }, "end": { "line": 337, "column": 7 }, "identifierName": "clear" }, "name": "clear", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 12112, "end": 12244, "loc": { "start": { "line": 337, "column": 9 }, "end": { "line": 341, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 12119, "end": 12151, "loc": { "start": { "line": 338, "column": 4 }, "end": { "line": 338, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 12119, "end": 12150, "loc": { "start": { "line": 338, "column": 4 }, "end": { "line": 338, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12119, "end": 12145, "loc": { "start": { "line": 338, "column": 4 }, "end": { "line": 338, "column": 30 } }, "object": { "type": "MemberExpression", "start": 12119, "end": 12135, "loc": { "start": { "line": 338, "column": 4 }, "end": { "line": 338, "column": 20 } }, "object": { "type": "ThisExpression", "start": 12119, "end": 12123, "loc": { "start": { "line": 338, "column": 4 }, "end": { "line": 338, "column": 8 } } }, "property": { "type": "Identifier", "start": 12124, "end": 12135, "loc": { "start": { "line": 338, "column": 9 }, "end": { "line": 338, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 12136, "end": 12145, "loc": { "start": { "line": 338, "column": 21 }, "end": { "line": 338, "column": 30 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "StringLiteral", "start": 12148, "end": 12150, "loc": { "start": { "line": 338, "column": 33 }, "end": { "line": 338, "column": 35 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, { "type": "ExpressionStatement", "start": 12157, "end": 12208, "loc": { "start": { "line": 339, "column": 4 }, "end": { "line": 339, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 12157, "end": 12207, "loc": { "start": { "line": 339, "column": 4 }, "end": { "line": 339, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12157, "end": 12183, "loc": { "start": { "line": 339, "column": 4 }, "end": { "line": 339, "column": 30 } }, "object": { "type": "MemberExpression", "start": 12157, "end": 12173, "loc": { "start": { "line": 339, "column": 4 }, "end": { "line": 339, "column": 20 } }, "object": { "type": "ThisExpression", "start": 12157, "end": 12161, "loc": { "start": { "line": 339, "column": 4 }, "end": { "line": 339, "column": 8 } } }, "property": { "type": "Identifier", "start": 12162, "end": 12173, "loc": { "start": { "line": 339, "column": 9 }, "end": { "line": 339, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 12174, "end": 12183, "loc": { "start": { "line": 339, "column": 21 }, "end": { "line": 339, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "MemberExpression", "start": 12186, "end": 12207, "loc": { "start": { "line": 339, "column": 33 }, "end": { "line": 339, "column": 54 } }, "object": { "type": "ThisExpression", "start": 12186, "end": 12190, "loc": { "start": { "line": 339, "column": 33 }, "end": { "line": 339, "column": 37 } } }, "property": { "type": "Identifier", "start": 12191, "end": 12207, "loc": { "start": { "line": 339, "column": 38 }, "end": { "line": 339, "column": 54 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 12214, "end": 12239, "loc": { "start": { "line": 340, "column": 4 }, "end": { "line": 340, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 12214, "end": 12238, "loc": { "start": { "line": 340, "column": 4 }, "end": { "line": 340, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12214, "end": 12233, "loc": { "start": { "line": 340, "column": 4 }, "end": { "line": 340, "column": 23 } }, "object": { "type": "ThisExpression", "start": 12214, "end": 12218, "loc": { "start": { "line": 340, "column": 4 }, "end": { "line": 340, "column": 8 } } }, "property": { "type": "Identifier", "start": 12219, "end": 12233, "loc": { "start": { "line": 340, "column": 9 }, "end": { "line": 340, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 12236, "end": 12238, "loc": { "start": { "line": 340, "column": 26 }, "end": { "line": 340, "column": 28 } }, "properties": [] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", "start": 11992, "end": 12101, "loc": { "start": { "line": 333, "column": 2 }, "end": { "line": 336, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", "start": 12250, "end": 12455, "loc": { "start": { "line": 343, "column": 2 }, "end": { "line": 346, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12459, "end": 12827, "loc": { "start": { "line": 347, "column": 2 }, "end": { "line": 356, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12459, "end": 12467, "loc": { "start": { "line": 347, "column": 2 }, "end": { "line": 347, "column": 10 }, "identifierName": "dispatch" }, "name": "dispatch", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12468, "end": 12476, "loc": { "start": { "line": 347, "column": 11 }, "end": { "line": 347, "column": 19 }, "identifierName": "callback" }, "name": "callback" } ], "body": { "type": "BlockStatement", "start": 12477, "end": 12827, "loc": { "start": { "line": 347, "column": 20 }, "end": { "line": 356, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 12484, "end": 12668, "loc": { "start": { "line": 348, "column": 4 }, "end": { "line": 351, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 12487, "end": 12521, "loc": { "start": { "line": 348, "column": 7 }, "end": { "line": 348, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 12488, "end": 12521, "loc": { "start": { "line": 348, "column": 8 }, "end": { "line": 348, "column": 41 } }, "object": { "type": "Identifier", "start": 12488, "end": 12494, "loc": { "start": { "line": 348, "column": 8 }, "end": { "line": 348, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 12495, "end": 12520, "loc": { "start": { "line": 348, "column": 15 }, "end": { "line": 348, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 12522, "end": 12668, "loc": { "start": { "line": 348, "column": 42 }, "end": { "line": 351, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 12531, "end": 12614, "loc": { "start": { "line": 349, "column": 6 }, "end": { "line": 349, "column": 89 } }, "expression": { "type": "CallExpression", "start": 12531, "end": 12613, "loc": { "start": { "line": 349, "column": 6 }, "end": { "line": 349, "column": 88 } }, "callee": { "type": "MemberExpression", "start": 12531, "end": 12543, "loc": { "start": { "line": 349, "column": 6 }, "end": { "line": 349, "column": 18 } }, "object": { "type": "Identifier", "start": 12531, "end": 12538, "loc": { "start": { "line": 349, "column": 6 }, "end": { "line": 349, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 12539, "end": 12543, "loc": { "start": { "line": 349, "column": 14 }, "end": { "line": 349, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 12544, "end": 12612, "loc": { "start": { "line": 349, "column": 19 }, "end": { "line": 349, "column": 87 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 12545, "end": 12611, "loc": { "start": { "line": 349, "column": 20 }, "end": { "line": 349, "column": 86 } }, "value": { "raw": "SimpleKeyboardInstances is not defined. Dispatch cannot be called.", "cooked": "SimpleKeyboardInstances is not defined. Dispatch cannot be called." }, "tail": true } ] } ] } }, { "type": "ThrowStatement", "start": 12622, "end": 12661, "loc": { "start": { "line": 350, "column": 6 }, "end": { "line": 350, "column": 45 } }, "argument": { "type": "NewExpression", "start": 12628, "end": 12660, "loc": { "start": { "line": 350, "column": 12 }, "end": { "line": 350, "column": 44 } }, "callee": { "type": "Identifier", "start": 12632, "end": 12637, "loc": { "start": { "line": 350, "column": 16 }, "end": { "line": 350, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 12638, "end": 12659, "loc": { "start": { "line": 350, "column": 22 }, "end": { "line": 350, "column": 43 } }, "extra": { "rawValue": "INSTANCES_VAR_ERROR", "raw": "\"INSTANCES_VAR_ERROR\"" }, "value": "INSTANCES_VAR_ERROR" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 12680, "end": 12822, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 355, "column": 6 } }, "argument": { "type": "CallExpression", "start": 12687, "end": 12822, "loc": { "start": { "line": 353, "column": 11 }, "end": { "line": 355, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 12687, "end": 12741, "loc": { "start": { "line": 353, "column": 11 }, "end": { "line": 353, "column": 65 } }, "object": { "type": "CallExpression", "start": 12687, "end": 12733, "loc": { "start": { "line": 353, "column": 11 }, "end": { "line": 353, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 12687, "end": 12698, "loc": { "start": { "line": 353, "column": 11 }, "end": { "line": 353, "column": 22 } }, "object": { "type": "Identifier", "start": 12687, "end": 12693, "loc": { "start": { "line": 353, "column": 11 }, "end": { "line": 353, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 12694, "end": 12698, "loc": { "start": { "line": 353, "column": 18 }, "end": { "line": 353, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12699, "end": 12732, "loc": { "start": { "line": 353, "column": 23 }, "end": { "line": 353, "column": 56 } }, "object": { "type": "Identifier", "start": 12699, "end": 12705, "loc": { "start": { "line": 353, "column": 23 }, "end": { "line": 353, "column": 29 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 12706, "end": 12731, "loc": { "start": { "line": 353, "column": 30 }, "end": { "line": 353, "column": 55 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true } ] }, "property": { "type": "Identifier", "start": 12734, "end": 12741, "loc": { "start": { "line": 353, "column": 58 }, "end": { "line": 353, "column": 65 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 12742, "end": 12821, "loc": { "start": { "line": 353, "column": 66 }, "end": { "line": 355, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12743, "end": 12746, "loc": { "start": { "line": 353, "column": 67 }, "end": { "line": 353, "column": 70 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 12751, "end": 12821, "loc": { "start": { "line": 353, "column": 75 }, "end": { "line": 355, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 12760, "end": 12814, "loc": { "start": { "line": 354, "column": 6 }, "end": { "line": 354, "column": 60 } }, "expression": { "type": "CallExpression", "start": 12760, "end": 12813, "loc": { "start": { "line": 354, "column": 6 }, "end": { "line": 354, "column": 59 } }, "callee": { "type": "Identifier", "start": 12760, "end": 12768, "loc": { "start": { "line": 354, "column": 6 }, "end": { "line": 354, "column": 14 }, "identifierName": "callback" }, "name": "callback" }, "arguments": [ { "type": "MemberExpression", "start": 12769, "end": 12807, "loc": { "start": { "line": 354, "column": 15 }, "end": { "line": 354, "column": 53 } }, "object": { "type": "MemberExpression", "start": 12769, "end": 12802, "loc": { "start": { "line": 354, "column": 15 }, "end": { "line": 354, "column": 48 } }, "object": { "type": "Identifier", "start": 12769, "end": 12775, "loc": { "start": { "line": 354, "column": 15 }, "end": { "line": 354, "column": 21 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 12776, "end": 12801, "loc": { "start": { "line": 354, "column": 22 }, "end": { "line": 354, "column": 47 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "Identifier", "start": 12803, "end": 12806, "loc": { "start": { "line": 354, "column": 49 }, "end": { "line": 354, "column": 52 }, "identifierName": "key" }, "name": "key" }, "computed": true }, { "type": "Identifier", "start": 12809, "end": 12812, "loc": { "start": { "line": 354, "column": 55 }, "end": { "line": 354, "column": 58 }, "identifierName": "key" }, "name": "key" } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", "start": 12250, "end": 12455, "loc": { "start": { "line": 343, "column": 2 }, "end": { "line": 346, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 12833, "end": 13114, "loc": { "start": { "line": 358, "column": 2 }, "end": { "line": 362, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 13118, "end": 14350, "loc": { "start": { "line": 363, "column": 2 }, "end": { "line": 406, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13118, "end": 13132, "loc": { "start": { "line": 363, "column": 2 }, "end": { "line": 363, "column": 16 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13133, "end": 13140, "loc": { "start": { "line": 363, "column": 17 }, "end": { "line": 363, "column": 24 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 13142, "end": 13151, "loc": { "start": { "line": 363, "column": 26 }, "end": { "line": 363, "column": 35 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 13152, "end": 14350, "loc": { "start": { "line": 363, "column": 36 }, "end": { "line": 406, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 13159, "end": 13206, "loc": { "start": { "line": 364, "column": 4 }, "end": { "line": 365, "column": 19 } }, "test": { "type": "LogicalExpression", "start": 13162, "end": 13184, "loc": { "start": { "line": 364, "column": 7 }, "end": { "line": 364, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 13162, "end": 13172, "loc": { "start": { "line": 364, "column": 7 }, "end": { "line": 364, "column": 17 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 13163, "end": 13172, "loc": { "start": { "line": 364, "column": 8 }, "end": { "line": 364, "column": 17 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 13176, "end": 13184, "loc": { "start": { "line": 364, "column": 21 }, "end": { "line": 364, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 13177, "end": 13184, "loc": { "start": { "line": 364, "column": 22 }, "end": { "line": 364, "column": 29 }, "identifierName": "buttons" }, "name": "buttons" }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "ReturnStatement", "start": 13193, "end": 13206, "loc": { "start": { "line": 365, "column": 6 }, "end": { "line": 365, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 13200, "end": 13205, "loc": { "start": { "line": 365, "column": 13 }, "end": { "line": 365, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ExpressionStatement", "start": 13214, "end": 14323, "loc": { "start": { "line": 367, "column": 4 }, "end": { "line": 403, "column": 7 } }, "expression": { "type": "CallExpression", "start": 13214, "end": 14322, "loc": { "start": { "line": 367, "column": 4 }, "end": { "line": 403, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 13214, "end": 13240, "loc": { "start": { "line": 367, "column": 4 }, "end": { "line": 367, "column": 30 } }, "object": { "type": "CallExpression", "start": 13214, "end": 13232, "loc": { "start": { "line": 367, "column": 4 }, "end": { "line": 367, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 13214, "end": 13227, "loc": { "start": { "line": 367, "column": 4 }, "end": { "line": 367, "column": 17 } }, "object": { "type": "Identifier", "start": 13214, "end": 13221, "loc": { "start": { "line": 367, "column": 4 }, "end": { "line": 367, "column": 11 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 13222, "end": 13227, "loc": { "start": { "line": 367, "column": 12 }, "end": { "line": 367, "column": 17 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13228, "end": 13231, "loc": { "start": { "line": 367, "column": 18 }, "end": { "line": 367, "column": 21 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13233, "end": 13240, "loc": { "start": { "line": 367, "column": 23 }, "end": { "line": 367, "column": 30 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13241, "end": 14321, "loc": { "start": { "line": 367, "column": 31 }, "end": { "line": 403, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13241, "end": 13247, "loc": { "start": { "line": 367, "column": 31 }, "end": { "line": 367, "column": 37 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 13251, "end": 14321, "loc": { "start": { "line": 367, "column": 41 }, "end": { "line": 403, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 13260, "end": 14314, "loc": { "start": { "line": 368, "column": 6 }, "end": { "line": 402, "column": 9 } }, "expression": { "type": "CallExpression", "start": 13260, "end": 14313, "loc": { "start": { "line": 368, "column": 6 }, "end": { "line": 402, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 13260, "end": 13288, "loc": { "start": { "line": 368, "column": 6 }, "end": { "line": 368, "column": 34 } }, "object": { "type": "CallExpression", "start": 13260, "end": 13280, "loc": { "start": { "line": 368, "column": 6 }, "end": { "line": 368, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 13260, "end": 13275, "loc": { "start": { "line": 368, "column": 6 }, "end": { "line": 368, "column": 21 } }, "object": { "type": "Identifier", "start": 13260, "end": 13269, "loc": { "start": { "line": 368, "column": 6 }, "end": { "line": 368, "column": 15 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 13270, "end": 13275, "loc": { "start": { "line": 368, "column": 16 }, "end": { "line": 368, "column": 21 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13276, "end": 13279, "loc": { "start": { "line": 368, "column": 22 }, "end": { "line": 368, "column": 25 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13281, "end": 13288, "loc": { "start": { "line": 368, "column": 27 }, "end": { "line": 368, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13289, "end": 14312, "loc": { "start": { "line": 368, "column": 35 }, "end": { "line": 402, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13289, "end": 13302, "loc": { "start": { "line": 368, "column": 35 }, "end": { "line": 368, "column": 48 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ], "body": { "type": "BlockStatement", "start": 13306, "end": 14312, "loc": { "start": { "line": 368, "column": 52 }, "end": { "line": 402, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 13317, "end": 13388, "loc": { "start": { "line": 369, "column": 8 }, "end": { "line": 370, "column": 40 } }, "test": { "type": "UnaryExpression", "start": 13320, "end": 13345, "loc": { "start": { "line": 369, "column": 11 }, "end": { "line": 369, "column": 36 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 13321, "end": 13345, "loc": { "start": { "line": 369, "column": 12 }, "end": { "line": 369, "column": 36 } }, "object": { "type": "MemberExpression", "start": 13321, "end": 13333, "loc": { "start": { "line": 369, "column": 12 }, "end": { "line": 369, "column": 24 } }, "object": { "type": "ThisExpression", "start": 13321, "end": 13325, "loc": { "start": { "line": 369, "column": 12 }, "end": { "line": 369, "column": 16 } } }, "property": { "type": "Identifier", "start": 13326, "end": 13333, "loc": { "start": { "line": 369, "column": 17 }, "end": { "line": 369, "column": 24 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 13334, "end": 13345, "loc": { "start": { "line": 369, "column": 25 }, "end": { "line": 369, "column": 36 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 13358, "end": 13388, "loc": { "start": { "line": 370, "column": 10 }, "end": { "line": 370, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 13358, "end": 13387, "loc": { "start": { "line": 370, "column": 10 }, "end": { "line": 370, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13358, "end": 13382, "loc": { "start": { "line": 370, "column": 10 }, "end": { "line": 370, "column": 34 } }, "object": { "type": "MemberExpression", "start": 13358, "end": 13370, "loc": { "start": { "line": 370, "column": 10 }, "end": { "line": 370, "column": 22 } }, "object": { "type": "ThisExpression", "start": 13358, "end": 13362, "loc": { "start": { "line": 370, "column": 10 }, "end": { "line": 370, "column": 14 } } }, "property": { "type": "Identifier", "start": 13363, "end": 13370, "loc": { "start": { "line": 370, "column": 15 }, "end": { "line": 370, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 13371, "end": 13382, "loc": { "start": { "line": 370, "column": 23 }, "end": { "line": 370, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 13385, "end": 13387, "loc": { "start": { "line": 370, "column": 37 }, "end": { "line": 370, "column": 39 } }, "elements": [] } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 13400, "end": 13427, "loc": { "start": { "line": 372, "column": 8 }, "end": { "line": 372, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13404, "end": 13426, "loc": { "start": { "line": 372, "column": 12 }, "end": { "line": 372, "column": 34 } }, "id": { "type": "Identifier", "start": 13404, "end": 13418, "loc": { "start": { "line": 372, "column": 12 }, "end": { "line": 372, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "init": { "type": "BooleanLiteral", "start": 13421, "end": 13426, "loc": { "start": { "line": 372, "column": 29 }, "end": { "line": 372, "column": 34 } }, "value": false } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 13441, "end": 13532, "loc": { "start": { "line": 374, "column": 8 }, "end": { "line": 376, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 13542, "end": 14050, "loc": { "start": { "line": 377, "column": 8 }, "end": { "line": 390, "column": 11 } }, "expression": { "type": "CallExpression", "start": 13542, "end": 14049, "loc": { "start": { "line": 377, "column": 8 }, "end": { "line": 390, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 13542, "end": 13570, "loc": { "start": { "line": 377, "column": 8 }, "end": { "line": 377, "column": 36 } }, "object": { "type": "MemberExpression", "start": 13542, "end": 13566, "loc": { "start": { "line": 377, "column": 8 }, "end": { "line": 377, "column": 32 } }, "object": { "type": "MemberExpression", "start": 13542, "end": 13554, "loc": { "start": { "line": 377, "column": 8 }, "end": { "line": 377, "column": 20 } }, "object": { "type": "ThisExpression", "start": 13542, "end": 13546, "loc": { "start": { "line": 377, "column": 8 }, "end": { "line": 377, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 13547, "end": 13554, "loc": { "start": { "line": 377, "column": 13 }, "end": { "line": 377, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 13555, "end": 13566, "loc": { "start": { "line": 377, "column": 21 }, "end": { "line": 377, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 13567, "end": 13570, "loc": { "start": { "line": 377, "column": 33 }, "end": { "line": 377, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13571, "end": 14048, "loc": { "start": { "line": 377, "column": 37 }, "end": { "line": 390, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13571, "end": 13582, "loc": { "start": { "line": 377, "column": 37 }, "end": { "line": 377, "column": 48 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } ], "body": { "type": "BlockStatement", "start": 13586, "end": 14048, "loc": { "start": { "line": 377, "column": 52 }, "end": { "line": 390, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 13601, "end": 14006, "loc": { "start": { "line": 379, "column": 10 }, "end": { "line": 388, "column": 11 } }, "test": { "type": "CallExpression", "start": 13604, "end": 13656, "loc": { "start": { "line": 379, "column": 13 }, "end": { "line": 379, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 13604, "end": 13641, "loc": { "start": { "line": 379, "column": 13 }, "end": { "line": 379, "column": 50 } }, "object": { "type": "CallExpression", "start": 13604, "end": 13632, "loc": { "start": { "line": 379, "column": 13 }, "end": { "line": 379, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 13604, "end": 13627, "loc": { "start": { "line": 379, "column": 13 }, "end": { "line": 379, "column": 36 } }, "object": { "type": "MemberExpression", "start": 13604, "end": 13621, "loc": { "start": { "line": 379, "column": 13 }, "end": { "line": 379, "column": 30 } }, "object": { "type": "Identifier", "start": 13604, "end": 13615, "loc": { "start": { "line": 379, "column": 13 }, "end": { "line": 379, "column": 24 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 13616, "end": 13621, "loc": { "start": { "line": 379, "column": 25 }, "end": { "line": 379, "column": 30 }, "identifierName": "class" }, "name": "class" }, "computed": false }, "property": { "type": "Identifier", "start": 13622, "end": 13627, "loc": { "start": { "line": 379, "column": 31 }, "end": { "line": 379, "column": 36 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13628, "end": 13631, "loc": { "start": { "line": 379, "column": 37 }, "end": { "line": 379, "column": 40 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13633, "end": 13641, "loc": { "start": { "line": 379, "column": 42 }, "end": { "line": 379, "column": 50 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13642, "end": 13655, "loc": { "start": { "line": 379, "column": 51 }, "end": { "line": 379, "column": 64 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ] }, "consequent": { "type": "BlockStatement", "start": 13657, "end": 14006, "loc": { "start": { "line": 379, "column": 66 }, "end": { "line": 388, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 13672, "end": 13694, "loc": { "start": { "line": 380, "column": 12 }, "end": { "line": 380, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 13672, "end": 13693, "loc": { "start": { "line": 380, "column": 12 }, "end": { "line": 380, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", "start": 13672, "end": 13686, "loc": { "start": { "line": 380, "column": 12 }, "end": { "line": 380, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 13689, "end": 13693, "loc": { "start": { "line": 380, "column": 29 }, "end": { "line": 380, "column": 33 } }, "value": true } } }, { "type": "VariableDeclaration", "start": 13722, "end": 13776, "loc": { "start": { "line": 382, "column": 12 }, "end": { "line": 382, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13726, "end": 13775, "loc": { "start": { "line": 382, "column": 16 }, "end": { "line": 382, "column": 65 } }, "id": { "type": "Identifier", "start": 13726, "end": 13742, "loc": { "start": { "line": 382, "column": 16 }, "end": { "line": 382, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "init": { "type": "CallExpression", "start": 13745, "end": 13775, "loc": { "start": { "line": 382, "column": 35 }, "end": { "line": 382, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 13745, "end": 13770, "loc": { "start": { "line": 382, "column": 35 }, "end": { "line": 382, "column": 60 } }, "object": { "type": "MemberExpression", "start": 13745, "end": 13764, "loc": { "start": { "line": 382, "column": 35 }, "end": { "line": 382, "column": 54 } }, "object": { "type": "Identifier", "start": 13745, "end": 13756, "loc": { "start": { "line": 382, "column": 35 }, "end": { "line": 382, "column": 46 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 13757, "end": 13764, "loc": { "start": { "line": 382, "column": 47 }, "end": { "line": 382, "column": 54 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 13765, "end": 13770, "loc": { "start": { "line": 382, "column": 55 }, "end": { "line": 382, "column": 60 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13771, "end": 13774, "loc": { "start": { "line": 382, "column": 61 }, "end": { "line": 382, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 13790, "end": 13993, "loc": { "start": { "line": 383, "column": 12 }, "end": { "line": 387, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 13793, "end": 13827, "loc": { "start": { "line": 383, "column": 15 }, "end": { "line": 383, "column": 49 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 13794, "end": 13827, "loc": { "start": { "line": 383, "column": 16 }, "end": { "line": 383, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 13794, "end": 13819, "loc": { "start": { "line": 383, "column": 16 }, "end": { "line": 383, "column": 41 } }, "object": { "type": "Identifier", "start": 13794, "end": 13810, "loc": { "start": { "line": 383, "column": 16 }, "end": { "line": 383, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 13811, "end": 13819, "loc": { "start": { "line": 383, "column": 33 }, "end": { "line": 383, "column": 41 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13820, "end": 13826, "loc": { "start": { "line": 383, "column": 42 }, "end": { "line": 383, "column": 48 }, "identifierName": "button" }, "name": "button" } ] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 13828, "end": 13993, "loc": { "start": { "line": 383, "column": 50 }, "end": { "line": 387, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 13845, "end": 13867, "loc": { "start": { "line": 384, "column": 14 }, "end": { "line": 384, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 13845, "end": 13866, "loc": { "start": { "line": 384, "column": 14 }, "end": { "line": 384, "column": 35 } }, "operator": "=", "left": { "type": "Identifier", "start": 13845, "end": 13859, "loc": { "start": { "line": 384, "column": 14 }, "end": { "line": 384, "column": 28 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 13862, "end": 13866, "loc": { "start": { "line": 384, "column": 31 }, "end": { "line": 384, "column": 35 } }, "value": true } } }, { "type": "ExpressionStatement", "start": 13883, "end": 13913, "loc": { "start": { "line": 385, "column": 14 }, "end": { "line": 385, "column": 44 } }, "expression": { "type": "CallExpression", "start": 13883, "end": 13912, "loc": { "start": { "line": 385, "column": 14 }, "end": { "line": 385, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 13883, "end": 13904, "loc": { "start": { "line": 385, "column": 14 }, "end": { "line": 385, "column": 35 } }, "object": { "type": "Identifier", "start": 13883, "end": 13899, "loc": { "start": { "line": 385, "column": 14 }, "end": { "line": 385, "column": 30 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 13900, "end": 13904, "loc": { "start": { "line": 385, "column": 31 }, "end": { "line": 385, "column": 35 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13905, "end": 13911, "loc": { "start": { "line": 385, "column": 36 }, "end": { "line": 385, "column": 42 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 13929, "end": 13978, "loc": { "start": { "line": 386, "column": 14 }, "end": { "line": 386, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 13929, "end": 13977, "loc": { "start": { "line": 386, "column": 14 }, "end": { "line": 386, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13929, "end": 13948, "loc": { "start": { "line": 386, "column": 14 }, "end": { "line": 386, "column": 33 } }, "object": { "type": "Identifier", "start": 13929, "end": 13940, "loc": { "start": { "line": 386, "column": 14 }, "end": { "line": 386, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 13941, "end": 13948, "loc": { "start": { "line": 386, "column": 26 }, "end": { "line": 386, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 13951, "end": 13977, "loc": { "start": { "line": 386, "column": 36 }, "end": { "line": 386, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 13951, "end": 13972, "loc": { "start": { "line": 386, "column": 36 }, "end": { "line": 386, "column": 57 } }, "object": { "type": "Identifier", "start": 13951, "end": 13967, "loc": { "start": { "line": 386, "column": 36 }, "end": { "line": 386, "column": 52 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 13968, "end": 13972, "loc": { "start": { "line": 386, "column": 53 }, "end": { "line": 386, "column": 57 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13973, "end": 13976, "loc": { "start": { "line": 386, "column": 58 }, "end": { "line": 386, "column": 61 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 14018, "end": 14037, "loc": { "start": { "line": 389, "column": 10 }, "end": { "line": 389, "column": 29 } }, "argument": { "type": "Identifier", "start": 14025, "end": 14036, "loc": { "start": { "line": 389, "column": 17 }, "end": { "line": 389, "column": 28 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 13441, "end": 13532, "loc": { "start": { "line": 374, "column": 8 }, "end": { "line": 376, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 14062, "end": 14137, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 394, "column": 11 } } } ] }, { "type": "IfStatement", "start": 14147, "end": 14301, "loc": { "start": { "line": 395, "column": 8 }, "end": { "line": 400, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 14150, "end": 14165, "loc": { "start": { "line": 395, "column": 11 }, "end": { "line": 395, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 14151, "end": 14165, "loc": { "start": { "line": 395, "column": 12 }, "end": { "line": 395, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 14166, "end": 14301, "loc": { "start": { "line": 395, "column": 27 }, "end": { "line": 400, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 14179, "end": 14290, "loc": { "start": { "line": 396, "column": 10 }, "end": { "line": 399, "column": 13 } }, "expression": { "type": "CallExpression", "start": 14179, "end": 14289, "loc": { "start": { "line": 396, "column": 10 }, "end": { "line": 399, "column": 12 } }, "callee": { "type": "MemberExpression", "start": 14179, "end": 14208, "loc": { "start": { "line": 396, "column": 10 }, "end": { "line": 396, "column": 39 } }, "object": { "type": "MemberExpression", "start": 14179, "end": 14203, "loc": { "start": { "line": 396, "column": 10 }, "end": { "line": 396, "column": 34 } }, "object": { "type": "MemberExpression", "start": 14179, "end": 14191, "loc": { "start": { "line": 396, "column": 10 }, "end": { "line": 396, "column": 22 } }, "object": { "type": "ThisExpression", "start": 14179, "end": 14183, "loc": { "start": { "line": 396, "column": 10 }, "end": { "line": 396, "column": 14 } } }, "property": { "type": "Identifier", "start": 14184, "end": 14191, "loc": { "start": { "line": 396, "column": 15 }, "end": { "line": 396, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 14192, "end": 14203, "loc": { "start": { "line": 396, "column": 23 }, "end": { "line": 396, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 14204, "end": 14208, "loc": { "start": { "line": 396, "column": 35 }, "end": { "line": 396, "column": 39 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 14209, "end": 14288, "loc": { "start": { "line": 396, "column": 40 }, "end": { "line": 399, "column": 11 } }, "properties": [ { "type": "ObjectProperty", "start": 14224, "end": 14244, "loc": { "start": { "line": 397, "column": 12 }, "end": { "line": 397, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 14224, "end": 14229, "loc": { "start": { "line": 397, "column": 12 }, "end": { "line": 397, "column": 17 }, "identifierName": "class" }, "name": "class" }, "value": { "type": "Identifier", "start": 14231, "end": 14244, "loc": { "start": { "line": 397, "column": 19 }, "end": { "line": 397, "column": 32 }, "identifierName": "classNameItem" }, "name": "classNameItem" } }, { "type": "ObjectProperty", "start": 14259, "end": 14275, "loc": { "start": { "line": 398, "column": 12 }, "end": { "line": 398, "column": 28 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 14259, "end": 14266, "loc": { "start": { "line": 398, "column": 12 }, "end": { "line": 398, "column": 19 }, "identifierName": "buttons" }, "name": "buttons" }, "value": { "type": "Identifier", "start": 14268, "end": 14275, "loc": { "start": { "line": 398, "column": 21 }, "end": { "line": 398, "column": 28 }, "identifierName": "buttons" }, "name": "buttons" } } ] } ] } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 14062, "end": 14137, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 394, "column": 11 } } } ] } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 14331, "end": 14345, "loc": { "start": { "line": 405, "column": 4 }, "end": { "line": 405, "column": 18 } }, "expression": { "type": "CallExpression", "start": 14331, "end": 14344, "loc": { "start": { "line": 405, "column": 4 }, "end": { "line": 405, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 14331, "end": 14342, "loc": { "start": { "line": 405, "column": 4 }, "end": { "line": 405, "column": 15 } }, "object": { "type": "ThisExpression", "start": 14331, "end": 14335, "loc": { "start": { "line": 405, "column": 4 }, "end": { "line": 405, "column": 8 } } }, "property": { "type": "Identifier", "start": 14336, "end": 14342, "loc": { "start": { "line": 405, "column": 9 }, "end": { "line": 405, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 12833, "end": 13114, "loc": { "start": { "line": 358, "column": 2 }, "end": { "line": 362, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 14356, "end": 14696, "loc": { "start": { "line": 408, "column": 2 }, "end": { "line": 412, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 14700, "end": 16117, "loc": { "start": { "line": 413, "column": 2 }, "end": { "line": 459, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 14700, "end": 14717, "loc": { "start": { "line": 413, "column": 2 }, "end": { "line": 413, "column": 19 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14718, "end": 14725, "loc": { "start": { "line": 413, "column": 20 }, "end": { "line": 413, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 14727, "end": 14736, "loc": { "start": { "line": 413, "column": 29 }, "end": { "line": 413, "column": 38 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 14737, "end": 16117, "loc": { "start": { "line": 413, "column": 39 }, "end": { "line": 459, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 14830, "end": 14945, "loc": { "start": { "line": 417, "column": 4 }, "end": { "line": 421, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 14833, "end": 14855, "loc": { "start": { "line": 417, "column": 7 }, "end": { "line": 417, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 14833, "end": 14841, "loc": { "start": { "line": 417, "column": 7 }, "end": { "line": 417, "column": 15 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 14834, "end": 14841, "loc": { "start": { "line": 417, "column": 8 }, "end": { "line": 417, "column": 15 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 14845, "end": 14855, "loc": { "start": { "line": 417, "column": 19 }, "end": { "line": 417, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 14846, "end": 14855, "loc": { "start": { "line": 417, "column": 20 }, "end": { "line": 417, "column": 29 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 14856, "end": 14945, "loc": { "start": { "line": 417, "column": 30 }, "end": { "line": 421, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 14865, "end": 14895, "loc": { "start": { "line": 418, "column": 6 }, "end": { "line": 418, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 14865, "end": 14894, "loc": { "start": { "line": 418, "column": 6 }, "end": { "line": 418, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 14865, "end": 14889, "loc": { "start": { "line": 418, "column": 6 }, "end": { "line": 418, "column": 30 } }, "object": { "type": "MemberExpression", "start": 14865, "end": 14877, "loc": { "start": { "line": 418, "column": 6 }, "end": { "line": 418, "column": 18 } }, "object": { "type": "ThisExpression", "start": 14865, "end": 14869, "loc": { "start": { "line": 418, "column": 6 }, "end": { "line": 418, "column": 10 } } }, "property": { "type": "Identifier", "start": 14870, "end": 14877, "loc": { "start": { "line": 418, "column": 11 }, "end": { "line": 418, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 14878, "end": 14889, "loc": { "start": { "line": 418, "column": 19 }, "end": { "line": 418, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 14892, "end": 14894, "loc": { "start": { "line": 418, "column": 33 }, "end": { "line": 418, "column": 35 } }, "elements": [] } } }, { "type": "ExpressionStatement", "start": 14903, "end": 14917, "loc": { "start": { "line": 419, "column": 6 }, "end": { "line": 419, "column": 20 } }, "expression": { "type": "CallExpression", "start": 14903, "end": 14916, "loc": { "start": { "line": 419, "column": 6 }, "end": { "line": 419, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 14903, "end": 14914, "loc": { "start": { "line": 419, "column": 6 }, "end": { "line": 419, "column": 17 } }, "object": { "type": "ThisExpression", "start": 14903, "end": 14907, "loc": { "start": { "line": 419, "column": 6 }, "end": { "line": 419, "column": 10 } } }, "property": { "type": "Identifier", "start": 14908, "end": 14914, "loc": { "start": { "line": 419, "column": 11 }, "end": { "line": 419, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, { "type": "ReturnStatement", "start": 14925, "end": 14938, "loc": { "start": { "line": 420, "column": 6 }, "end": { "line": 420, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 14932, "end": 14937, "loc": { "start": { "line": 420, "column": 13 }, "end": { "line": 420, "column": 18 } }, "value": false } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", "start": 14744, "end": 14824, "loc": { "start": { "line": 414, "column": 4 }, "end": { "line": 416, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 14953, "end": 15021, "loc": { "start": { "line": 423, "column": 4 }, "end": { "line": 425, "column": 7 } } } ] }, { "type": "IfStatement", "start": 15027, "end": 16112, "loc": { "start": { "line": 426, "column": 4 }, "end": { "line": 458, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 15030, "end": 15115, "loc": { "start": { "line": 426, "column": 7 }, "end": { "line": 426, "column": 92 } }, "left": { "type": "LogicalExpression", "start": 15030, "end": 15080, "loc": { "start": { "line": 426, "column": 7 }, "end": { "line": 426, "column": 57 } }, "left": { "type": "Identifier", "start": 15030, "end": 15037, "loc": { "start": { "line": 426, "column": 7 }, "end": { "line": 426, "column": 14 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 15041, "end": 15080, "loc": { "start": { "line": 426, "column": 18 }, "end": { "line": 426, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 15041, "end": 15054, "loc": { "start": { "line": 426, "column": 18 }, "end": { "line": 426, "column": 31 } }, "object": { "type": "Identifier", "start": 15041, "end": 15046, "loc": { "start": { "line": 426, "column": 18 }, "end": { "line": 426, "column": 23 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 15047, "end": 15054, "loc": { "start": { "line": 426, "column": 24 }, "end": { "line": 426, "column": 31 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 15055, "end": 15079, "loc": { "start": { "line": 426, "column": 32 }, "end": { "line": 426, "column": 56 } }, "object": { "type": "MemberExpression", "start": 15055, "end": 15067, "loc": { "start": { "line": 426, "column": 32 }, "end": { "line": 426, "column": 44 } }, "object": { "type": "ThisExpression", "start": 15055, "end": 15059, "loc": { "start": { "line": 426, "column": 32 }, "end": { "line": 426, "column": 36 } } }, "property": { "type": "Identifier", "start": 15060, "end": 15067, "loc": { "start": { "line": 426, "column": 37 }, "end": { "line": 426, "column": 44 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15068, "end": 15079, "loc": { "start": { "line": 426, "column": 45 }, "end": { "line": 426, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "leadingComments": null }, "operator": "&&", "right": { "type": "MemberExpression", "start": 15084, "end": 15115, "loc": { "start": { "line": 426, "column": 61 }, "end": { "line": 426, "column": 92 } }, "object": { "type": "MemberExpression", "start": 15084, "end": 15108, "loc": { "start": { "line": 426, "column": 61 }, "end": { "line": 426, "column": 85 } }, "object": { "type": "MemberExpression", "start": 15084, "end": 15096, "loc": { "start": { "line": 426, "column": 61 }, "end": { "line": 426, "column": 73 } }, "object": { "type": "ThisExpression", "start": 15084, "end": 15088, "loc": { "start": { "line": 426, "column": 61 }, "end": { "line": 426, "column": 65 } } }, "property": { "type": "Identifier", "start": 15089, "end": 15096, "loc": { "start": { "line": 426, "column": 66 }, "end": { "line": 426, "column": 73 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15097, "end": 15108, "loc": { "start": { "line": 426, "column": 74 }, "end": { "line": 426, "column": 85 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 15109, "end": 15115, "loc": { "start": { "line": 426, "column": 86 }, "end": { "line": 426, "column": 92 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15116, "end": 16112, "loc": { "start": { "line": 426, "column": 93 }, "end": { "line": 458, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 15125, "end": 15162, "loc": { "start": { "line": 427, "column": 6 }, "end": { "line": 427, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15129, "end": 15161, "loc": { "start": { "line": 427, "column": 10 }, "end": { "line": 427, "column": 42 } }, "id": { "type": "Identifier", "start": 15129, "end": 15140, "loc": { "start": { "line": 427, "column": 10 }, "end": { "line": 427, "column": 21 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "init": { "type": "CallExpression", "start": 15143, "end": 15161, "loc": { "start": { "line": 427, "column": 24 }, "end": { "line": 427, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 15143, "end": 15156, "loc": { "start": { "line": 427, "column": 24 }, "end": { "line": 427, "column": 37 } }, "object": { "type": "Identifier", "start": 15143, "end": 15150, "loc": { "start": { "line": 427, "column": 24 }, "end": { "line": 427, "column": 31 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 15151, "end": 15156, "loc": { "start": { "line": 427, "column": 32 }, "end": { "line": 427, "column": 37 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15157, "end": 15160, "loc": { "start": { "line": 427, "column": 38 }, "end": { "line": 427, "column": 41 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 15170, "end": 16081, "loc": { "start": { "line": 428, "column": 6 }, "end": { "line": 455, "column": 9 } }, "expression": { "type": "CallExpression", "start": 15170, "end": 16080, "loc": { "start": { "line": 428, "column": 6 }, "end": { "line": 455, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 15170, "end": 15189, "loc": { "start": { "line": 428, "column": 6 }, "end": { "line": 428, "column": 25 } }, "object": { "type": "Identifier", "start": 15170, "end": 15181, "loc": { "start": { "line": 428, "column": 6 }, "end": { "line": 428, "column": 17 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "property": { "type": "Identifier", "start": 15182, "end": 15189, "loc": { "start": { "line": 428, "column": 18 }, "end": { "line": 428, "column": 25 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 15190, "end": 16079, "loc": { "start": { "line": 428, "column": 26 }, "end": { "line": 455, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15191, "end": 15197, "loc": { "start": { "line": 428, "column": 27 }, "end": { "line": 428, "column": 33 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 15199, "end": 15202, "loc": { "start": { "line": 428, "column": 35 }, "end": { "line": 428, "column": 38 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 15207, "end": 16079, "loc": { "start": { "line": 428, "column": 43 }, "end": { "line": 455, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 15218, "end": 16070, "loc": { "start": { "line": 429, "column": 8 }, "end": { "line": 454, "column": 11 } }, "expression": { "type": "CallExpression", "start": 15218, "end": 16069, "loc": { "start": { "line": 429, "column": 8 }, "end": { "line": 454, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 15218, "end": 15246, "loc": { "start": { "line": 429, "column": 8 }, "end": { "line": 429, "column": 36 } }, "object": { "type": "MemberExpression", "start": 15218, "end": 15242, "loc": { "start": { "line": 429, "column": 8 }, "end": { "line": 429, "column": 32 } }, "object": { "type": "MemberExpression", "start": 15218, "end": 15230, "loc": { "start": { "line": 429, "column": 8 }, "end": { "line": 429, "column": 20 } }, "object": { "type": "ThisExpression", "start": 15218, "end": 15222, "loc": { "start": { "line": 429, "column": 8 }, "end": { "line": 429, "column": 12 } } }, "property": { "type": "Identifier", "start": 15223, "end": 15230, "loc": { "start": { "line": 429, "column": 13 }, "end": { "line": 429, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15231, "end": 15242, "loc": { "start": { "line": 429, "column": 21 }, "end": { "line": 429, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 15243, "end": 15246, "loc": { "start": { "line": 429, "column": 33 }, "end": { "line": 429, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 15247, "end": 16068, "loc": { "start": { "line": 429, "column": 37 }, "end": { "line": 454, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15248, "end": 15259, "loc": { "start": { "line": 429, "column": 38 }, "end": { "line": 429, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, { "type": "Identifier", "start": 15261, "end": 15266, "loc": { "start": { "line": 429, "column": 51 }, "end": { "line": 429, "column": 56 }, "identifierName": "index" }, "name": "index" } ], "body": { "type": "BlockStatement", "start": 15271, "end": 16068, "loc": { "start": { "line": 429, "column": 61 }, "end": { "line": 454, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 15439, "end": 16024, "loc": { "start": { "line": 435, "column": 10 }, "end": { "line": 451, "column": 11 } }, "test": { "type": "LogicalExpression", "start": 15456, "end": 15535, "loc": { "start": { "line": 436, "column": 12 }, "end": { "line": 437, "column": 22 } }, "left": { "type": "LogicalExpression", "start": 15457, "end": 15507, "loc": { "start": { "line": 436, "column": 13 }, "end": { "line": 436, "column": 63 } }, "left": { "type": "Identifier", "start": 15457, "end": 15466, "loc": { "start": { "line": 436, "column": 13 }, "end": { "line": 436, "column": 22 }, "identifierName": "className" }, "name": "className", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 15470, "end": 15507, "loc": { "start": { "line": 436, "column": 26 }, "end": { "line": 436, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 15470, "end": 15488, "loc": { "start": { "line": 436, "column": 26 }, "end": { "line": 436, "column": 44 } }, "object": { "type": "Identifier", "start": 15470, "end": 15479, "loc": { "start": { "line": 436, "column": 26 }, "end": { "line": 436, "column": 35 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 15480, "end": 15488, "loc": { "start": { "line": 436, "column": 36 }, "end": { "line": 436, "column": 44 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 15489, "end": 15506, "loc": { "start": { "line": 436, "column": 45 }, "end": { "line": 436, "column": 62 } }, "object": { "type": "Identifier", "start": 15489, "end": 15500, "loc": { "start": { "line": 436, "column": 45 }, "end": { "line": 436, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 15501, "end": 15506, "loc": { "start": { "line": 436, "column": 57 }, "end": { "line": 436, "column": 62 }, "identifierName": "class" }, "name": "class" }, "computed": false } ] }, "leadingComments": null, "extra": { "parenthesized": true, "parenStart": 15456 } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 15525, "end": 15535, "loc": { "start": { "line": 437, "column": 12 }, "end": { "line": 437, "column": 22 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 15526, "end": 15535, "loc": { "start": { "line": 437, "column": 13 }, "end": { "line": 437, "column": 22 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15548, "end": 16024, "loc": { "start": { "line": 438, "column": 11 }, "end": { "line": 451, "column": 11 } }, "body": [ { "type": "VariableDeclaration", "start": 15563, "end": 15652, "loc": { "start": { "line": 439, "column": 12 }, "end": { "line": 439, "column": 101 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15567, "end": 15651, "loc": { "start": { "line": 439, "column": 16 }, "end": { "line": 439, "column": 100 } }, "id": { "type": "Identifier", "start": 15567, "end": 15586, "loc": { "start": { "line": 439, "column": 16 }, "end": { "line": 439, "column": 35 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "init": { "type": "CallExpression", "start": 15589, "end": 15651, "loc": { "start": { "line": 439, "column": 38 }, "end": { "line": 439, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 15589, "end": 15626, "loc": { "start": { "line": 439, "column": 38 }, "end": { "line": 439, "column": 75 } }, "object": { "type": "CallExpression", "start": 15589, "end": 15619, "loc": { "start": { "line": 439, "column": 38 }, "end": { "line": 439, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 15589, "end": 15614, "loc": { "start": { "line": 439, "column": 38 }, "end": { "line": 439, "column": 63 } }, "object": { "type": "MemberExpression", "start": 15589, "end": 15608, "loc": { "start": { "line": 439, "column": 38 }, "end": { "line": 439, "column": 57 } }, "object": { "type": "Identifier", "start": 15589, "end": 15600, "loc": { "start": { "line": 439, "column": 38 }, "end": { "line": 439, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 15601, "end": 15608, "loc": { "start": { "line": 439, "column": 50 }, "end": { "line": 439, "column": 57 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 15609, "end": 15614, "loc": { "start": { "line": 439, "column": 58 }, "end": { "line": 439, "column": 63 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15615, "end": 15618, "loc": { "start": { "line": 439, "column": 64 }, "end": { "line": 439, "column": 67 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 15620, "end": 15626, "loc": { "start": { "line": 439, "column": 69 }, "end": { "line": 439, "column": 75 }, "identifierName": "filter" }, "name": "filter" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 15627, "end": 15650, "loc": { "start": { "line": 439, "column": 76 }, "end": { "line": 439, "column": 99 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 15627, "end": 15631, "loc": { "start": { "line": 439, "column": 76 }, "end": { "line": 439, "column": 80 }, "identifierName": "item" }, "name": "item" } ], "body": { "type": "BinaryExpression", "start": 15635, "end": 15650, "loc": { "start": { "line": 439, "column": 84 }, "end": { "line": 439, "column": 99 } }, "left": { "type": "Identifier", "start": 15635, "end": 15639, "loc": { "start": { "line": 439, "column": 84 }, "end": { "line": 439, "column": 88 }, "identifierName": "item" }, "name": "item" }, "operator": "!==", "right": { "type": "Identifier", "start": 15644, "end": 15650, "loc": { "start": { "line": 439, "column": 93 }, "end": { "line": 439, "column": 99 }, "identifierName": "button" }, "name": "button" } } } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 15668, "end": 15765, "loc": { "start": { "line": 441, "column": 12 }, "end": { "line": 443, "column": 15 } } } ] }, { "type": "IfStatement", "start": 15779, "end": 16008, "loc": { "start": { "line": 444, "column": 12 }, "end": { "line": 449, "column": 13 } }, "test": { "type": "MemberExpression", "start": 15782, "end": 15808, "loc": { "start": { "line": 444, "column": 15 }, "end": { "line": 444, "column": 41 } }, "object": { "type": "Identifier", "start": 15782, "end": 15801, "loc": { "start": { "line": 444, "column": 15 }, "end": { "line": 444, "column": 34 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 15802, "end": 15808, "loc": { "start": { "line": 444, "column": 35 }, "end": { "line": 444, "column": 41 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15809, "end": 15893, "loc": { "start": { "line": 444, "column": 42 }, "end": { "line": 446, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 15826, "end": 15878, "loc": { "start": { "line": 445, "column": 14 }, "end": { "line": 445, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 15826, "end": 15877, "loc": { "start": { "line": 445, "column": 14 }, "end": { "line": 445, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 15826, "end": 15845, "loc": { "start": { "line": 445, "column": 14 }, "end": { "line": 445, "column": 33 } }, "object": { "type": "Identifier", "start": 15826, "end": 15837, "loc": { "start": { "line": 445, "column": 14 }, "end": { "line": 445, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 15838, "end": 15845, "loc": { "start": { "line": 445, "column": 26 }, "end": { "line": 445, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 15848, "end": 15877, "loc": { "start": { "line": 445, "column": 36 }, "end": { "line": 445, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 15848, "end": 15872, "loc": { "start": { "line": 445, "column": 36 }, "end": { "line": 445, "column": 60 } }, "object": { "type": "Identifier", "start": 15848, "end": 15867, "loc": { "start": { "line": 445, "column": 36 }, "end": { "line": 445, "column": 55 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "property": { "type": "Identifier", "start": 15868, "end": 15872, "loc": { "start": { "line": 445, "column": 56 }, "end": { "line": 445, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15873, "end": 15876, "loc": { "start": { "line": 445, "column": 61 }, "end": { "line": 445, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 15899, "end": 16008, "loc": { "start": { "line": 446, "column": 19 }, "end": { "line": 449, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 15916, "end": 15958, "loc": { "start": { "line": 447, "column": 14 }, "end": { "line": 447, "column": 56 } }, "expression": { "type": "CallExpression", "start": 15916, "end": 15957, "loc": { "start": { "line": 447, "column": 14 }, "end": { "line": 447, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 15916, "end": 15947, "loc": { "start": { "line": 447, "column": 14 }, "end": { "line": 447, "column": 45 } }, "object": { "type": "MemberExpression", "start": 15916, "end": 15940, "loc": { "start": { "line": 447, "column": 14 }, "end": { "line": 447, "column": 38 } }, "object": { "type": "MemberExpression", "start": 15916, "end": 15928, "loc": { "start": { "line": 447, "column": 14 }, "end": { "line": 447, "column": 26 } }, "object": { "type": "ThisExpression", "start": 15916, "end": 15920, "loc": { "start": { "line": 447, "column": 14 }, "end": { "line": 447, "column": 18 } } }, "property": { "type": "Identifier", "start": 15921, "end": 15928, "loc": { "start": { "line": 447, "column": 19 }, "end": { "line": 447, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15929, "end": 15940, "loc": { "start": { "line": 447, "column": 27 }, "end": { "line": 447, "column": 38 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 15941, "end": 15947, "loc": { "start": { "line": 447, "column": 39 }, "end": { "line": 447, "column": 45 }, "identifierName": "splice" }, "name": "splice" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 15948, "end": 15953, "loc": { "start": { "line": 447, "column": 46 }, "end": { "line": 447, "column": 51 }, "identifierName": "index" }, "name": "index" }, { "type": "NumericLiteral", "start": 15955, "end": 15956, "loc": { "start": { "line": 447, "column": 53 }, "end": { "line": 447, "column": 54 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } }, { "type": "ExpressionStatement", "start": 15974, "end": 15993, "loc": { "start": { "line": 448, "column": 14 }, "end": { "line": 448, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 15974, "end": 15992, "loc": { "start": { "line": 448, "column": 14 }, "end": { "line": 448, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", "start": 15974, "end": 15985, "loc": { "start": { "line": 448, "column": 14 }, "end": { "line": 448, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "right": { "type": "NullLiteral", "start": 15988, "end": 15992, "loc": { "start": { "line": 448, "column": 28 }, "end": { "line": 448, "column": 32 } } } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 15668, "end": 15765, "loc": { "start": { "line": 441, "column": 12 }, "end": { "line": 443, "column": 15 } } } ] } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If className is set, we affect the buttons only for that class\r\n * Otherwise, we afect all classes\r\n ", "start": 15286, "end": 15427, "loc": { "start": { "line": 431, "column": 10 }, "end": { "line": 434, "column": 13 } } } ] }, { "type": "ReturnStatement", "start": 16038, "end": 16057, "loc": { "start": { "line": 453, "column": 10 }, "end": { "line": 453, "column": 29 } }, "argument": { "type": "Identifier", "start": 16045, "end": 16056, "loc": { "start": { "line": 453, "column": 17 }, "end": { "line": 453, "column": 28 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 16091, "end": 16105, "loc": { "start": { "line": 457, "column": 6 }, "end": { "line": 457, "column": 20 } }, "expression": { "type": "CallExpression", "start": 16091, "end": 16104, "loc": { "start": { "line": 457, "column": 6 }, "end": { "line": 457, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 16091, "end": 16102, "loc": { "start": { "line": 457, "column": 6 }, "end": { "line": 457, "column": 17 } }, "object": { "type": "ThisExpression", "start": 16091, "end": 16095, "loc": { "start": { "line": 457, "column": 6 }, "end": { "line": 457, "column": 10 } } }, "property": { "type": "Identifier", "start": 16096, "end": 16102, "loc": { "start": { "line": 457, "column": 11 }, "end": { "line": 457, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 14953, "end": 15021, "loc": { "start": { "line": 423, "column": 4 }, "end": { "line": 425, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 14356, "end": 14696, "loc": { "start": { "line": 408, "column": 2 }, "end": { "line": 412, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", "start": 16123, "end": 16326, "loc": { "start": { "line": 461, "column": 2 }, "end": { "line": 464, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 16330, "end": 16597, "loc": { "start": { "line": 465, "column": 2 }, "end": { "line": 478, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 16330, "end": 16346, "loc": { "start": { "line": 465, "column": 2 }, "end": { "line": 465, "column": 18 }, "identifierName": "getButtonElement" }, "name": "getButtonElement", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16347, "end": 16353, "loc": { "start": { "line": 465, "column": 19 }, "end": { "line": 465, "column": 25 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 16354, "end": 16597, "loc": { "start": { "line": 465, "column": 26 }, "end": { "line": 478, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 16361, "end": 16372, "loc": { "start": { "line": 466, "column": 4 }, "end": { "line": 466, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16365, "end": 16371, "loc": { "start": { "line": 466, "column": 8 }, "end": { "line": 466, "column": 14 } }, "id": { "type": "Identifier", "start": 16365, "end": 16371, "loc": { "start": { "line": 466, "column": 8 }, "end": { "line": 466, "column": 14 }, "identifierName": "output" }, "name": "output" }, "init": null } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 16380, "end": 16424, "loc": { "start": { "line": 468, "column": 4 }, "end": { "line": 468, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16384, "end": 16423, "loc": { "start": { "line": 468, "column": 8 }, "end": { "line": 468, "column": 47 } }, "id": { "type": "Identifier", "start": 16384, "end": 16393, "loc": { "start": { "line": 468, "column": 8 }, "end": { "line": 468, "column": 17 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "init": { "type": "MemberExpression", "start": 16396, "end": 16423, "loc": { "start": { "line": 468, "column": 20 }, "end": { "line": 468, "column": 47 } }, "object": { "type": "MemberExpression", "start": 16396, "end": 16415, "loc": { "start": { "line": 468, "column": 20 }, "end": { "line": 468, "column": 39 } }, "object": { "type": "ThisExpression", "start": 16396, "end": 16400, "loc": { "start": { "line": 468, "column": 20 }, "end": { "line": 468, "column": 24 } } }, "property": { "type": "Identifier", "start": 16401, "end": 16415, "loc": { "start": { "line": 468, "column": 25 }, "end": { "line": 468, "column": 39 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 16416, "end": 16422, "loc": { "start": { "line": 468, "column": 40 }, "end": { "line": 468, "column": 46 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "IfStatement", "start": 16430, "end": 16570, "loc": { "start": { "line": 469, "column": 4 }, "end": { "line": 475, "column": 5 } }, "test": { "type": "Identifier", "start": 16433, "end": 16442, "loc": { "start": { "line": 469, "column": 7 }, "end": { "line": 469, "column": 16 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "consequent": { "type": "BlockStatement", "start": 16443, "end": 16570, "loc": { "start": { "line": 469, "column": 17 }, "end": { "line": 475, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 16452, "end": 16563, "loc": { "start": { "line": 470, "column": 6 }, "end": { "line": 474, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 16455, "end": 16475, "loc": { "start": { "line": 470, "column": 9 }, "end": { "line": 470, "column": 29 } }, "left": { "type": "MemberExpression", "start": 16455, "end": 16471, "loc": { "start": { "line": 470, "column": 9 }, "end": { "line": 470, "column": 25 } }, "object": { "type": "Identifier", "start": 16455, "end": 16464, "loc": { "start": { "line": 470, "column": 9 }, "end": { "line": 470, "column": 18 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "Identifier", "start": 16465, "end": 16471, "loc": { "start": { "line": 470, "column": 19 }, "end": { "line": 470, "column": 25 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 16474, "end": 16475, "loc": { "start": { "line": 470, "column": 28 }, "end": { "line": 470, "column": 29 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "consequent": { "type": "BlockStatement", "start": 16476, "end": 16515, "loc": { "start": { "line": 470, "column": 30 }, "end": { "line": 472, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 16487, "end": 16506, "loc": { "start": { "line": 471, "column": 8 }, "end": { "line": 471, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 16487, "end": 16505, "loc": { "start": { "line": 471, "column": 8 }, "end": { "line": 471, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", "start": 16487, "end": 16493, "loc": { "start": { "line": 471, "column": 8 }, "end": { "line": 471, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "Identifier", "start": 16496, "end": 16505, "loc": { "start": { "line": 471, "column": 17 }, "end": { "line": 471, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 16521, "end": 16563, "loc": { "start": { "line": 472, "column": 13 }, "end": { "line": 474, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 16532, "end": 16554, "loc": { "start": { "line": 473, "column": 8 }, "end": { "line": 473, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 16532, "end": 16553, "loc": { "start": { "line": 473, "column": 8 }, "end": { "line": 473, "column": 29 } }, "operator": "=", "left": { "type": "Identifier", "start": 16532, "end": 16538, "loc": { "start": { "line": 473, "column": 8 }, "end": { "line": 473, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "MemberExpression", "start": 16541, "end": 16553, "loc": { "start": { "line": 473, "column": 17 }, "end": { "line": 473, "column": 29 } }, "object": { "type": "Identifier", "start": 16541, "end": 16550, "loc": { "start": { "line": 473, "column": 17 }, "end": { "line": 473, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "NumericLiteral", "start": 16551, "end": 16552, "loc": { "start": { "line": 473, "column": 27 }, "end": { "line": 473, "column": 28 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } } } ], "directives": [] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 16578, "end": 16592, "loc": { "start": { "line": 477, "column": 4 }, "end": { "line": 477, "column": 18 } }, "argument": { "type": "Identifier", "start": 16585, "end": 16591, "loc": { "start": { "line": 477, "column": 11 }, "end": { "line": 477, "column": 17 }, "identifierName": "output" }, "name": "output" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", "start": 16123, "end": 16326, "loc": { "start": { "line": 461, "column": 2 }, "end": { "line": 464, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 16603, "end": 16693, "loc": { "start": { "line": 480, "column": 2 }, "end": { "line": 482, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 16697, "end": 17000, "loc": { "start": { "line": 483, "column": 2 }, "end": { "line": 491, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 16697, "end": 16708, "loc": { "start": { "line": 483, "column": 2 }, "end": { "line": 483, "column": 13 }, "identifierName": "handleCaret" }, "name": "handleCaret", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 16710, "end": 17000, "loc": { "start": { "line": 483, "column": 15 }, "end": { "line": 491, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 16717, "end": 16793, "loc": { "start": { "line": 484, "column": 4 }, "end": { "line": 486, "column": 5 } }, "test": { "type": "MemberExpression", "start": 16720, "end": 16738, "loc": { "start": { "line": 484, "column": 7 }, "end": { "line": 484, "column": 25 } }, "object": { "type": "MemberExpression", "start": 16720, "end": 16732, "loc": { "start": { "line": 484, "column": 7 }, "end": { "line": 484, "column": 19 } }, "object": { "type": "ThisExpression", "start": 16720, "end": 16724, "loc": { "start": { "line": 484, "column": 7 }, "end": { "line": 484, "column": 11 } } }, "property": { "type": "Identifier", "start": 16725, "end": 16732, "loc": { "start": { "line": 484, "column": 12 }, "end": { "line": 484, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16733, "end": 16738, "loc": { "start": { "line": 484, "column": 20 }, "end": { "line": 484, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 16739, "end": 16793, "loc": { "start": { "line": 484, "column": 26 }, "end": { "line": 486, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 16748, "end": 16786, "loc": { "start": { "line": 485, "column": 6 }, "end": { "line": 485, "column": 44 } }, "expression": { "type": "CallExpression", "start": 16748, "end": 16785, "loc": { "start": { "line": 485, "column": 6 }, "end": { "line": 485, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 16748, "end": 16759, "loc": { "start": { "line": 485, "column": 6 }, "end": { "line": 485, "column": 17 } }, "object": { "type": "Identifier", "start": 16748, "end": 16755, "loc": { "start": { "line": 485, "column": 6 }, "end": { "line": 485, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 16756, "end": 16759, "loc": { "start": { "line": 485, "column": 14 }, "end": { "line": 485, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16760, "end": 16784, "loc": { "start": { "line": 485, "column": 18 }, "end": { "line": 485, "column": 42 } }, "extra": { "rawValue": "Caret handling started", "raw": "\"Caret handling started\"" }, "value": "Caret handling started" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 16801, "end": 16860, "loc": { "start": { "line": 488, "column": 4 }, "end": { "line": 488, "column": 63 } }, "expression": { "type": "CallExpression", "start": 16801, "end": 16859, "loc": { "start": { "line": 488, "column": 4 }, "end": { "line": 488, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 16801, "end": 16826, "loc": { "start": { "line": 488, "column": 4 }, "end": { "line": 488, "column": 29 } }, "object": { "type": "Identifier", "start": 16801, "end": 16809, "loc": { "start": { "line": 488, "column": 4 }, "end": { "line": 488, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 16810, "end": 16826, "loc": { "start": { "line": 488, "column": 13 }, "end": { "line": 488, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16827, "end": 16834, "loc": { "start": { "line": 488, "column": 30 }, "end": { "line": 488, "column": 37 } }, "extra": { "rawValue": "keyup", "raw": "\"keyup\"" }, "value": "keyup" }, { "type": "MemberExpression", "start": 16836, "end": 16858, "loc": { "start": { "line": 488, "column": 39 }, "end": { "line": 488, "column": 61 } }, "object": { "type": "ThisExpression", "start": 16836, "end": 16840, "loc": { "start": { "line": 488, "column": 39 }, "end": { "line": 488, "column": 43 } } }, "property": { "type": "Identifier", "start": 16841, "end": 16858, "loc": { "start": { "line": 488, "column": 44 }, "end": { "line": 488, "column": 61 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 16866, "end": 16927, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 489, "column": 65 } }, "expression": { "type": "CallExpression", "start": 16866, "end": 16926, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 489, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 16866, "end": 16891, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 489, "column": 29 } }, "object": { "type": "Identifier", "start": 16866, "end": 16874, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 489, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 16875, "end": 16891, "loc": { "start": { "line": 489, "column": 13 }, "end": { "line": 489, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16892, "end": 16901, "loc": { "start": { "line": 489, "column": 30 }, "end": { "line": 489, "column": 39 } }, "extra": { "rawValue": "mouseup", "raw": "\"mouseup\"" }, "value": "mouseup" }, { "type": "MemberExpression", "start": 16903, "end": 16925, "loc": { "start": { "line": 489, "column": 41 }, "end": { "line": 489, "column": 63 } }, "object": { "type": "ThisExpression", "start": 16903, "end": 16907, "loc": { "start": { "line": 489, "column": 41 }, "end": { "line": 489, "column": 45 } } }, "property": { "type": "Identifier", "start": 16908, "end": 16925, "loc": { "start": { "line": 489, "column": 46 }, "end": { "line": 489, "column": 63 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 16933, "end": 16995, "loc": { "start": { "line": 490, "column": 4 }, "end": { "line": 490, "column": 66 } }, "expression": { "type": "CallExpression", "start": 16933, "end": 16994, "loc": { "start": { "line": 490, "column": 4 }, "end": { "line": 490, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 16933, "end": 16958, "loc": { "start": { "line": 490, "column": 4 }, "end": { "line": 490, "column": 29 } }, "object": { "type": "Identifier", "start": 16933, "end": 16941, "loc": { "start": { "line": 490, "column": 4 }, "end": { "line": 490, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 16942, "end": 16958, "loc": { "start": { "line": 490, "column": 13 }, "end": { "line": 490, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16959, "end": 16969, "loc": { "start": { "line": 490, "column": 30 }, "end": { "line": 490, "column": 40 } }, "extra": { "rawValue": "touchend", "raw": "\"touchend\"" }, "value": "touchend" }, { "type": "MemberExpression", "start": 16971, "end": 16993, "loc": { "start": { "line": 490, "column": 42 }, "end": { "line": 490, "column": 64 } }, "object": { "type": "ThisExpression", "start": 16971, "end": 16975, "loc": { "start": { "line": 490, "column": 42 }, "end": { "line": 490, "column": 46 } } }, "property": { "type": "Identifier", "start": 16976, "end": 16993, "loc": { "start": { "line": 490, "column": 47 }, "end": { "line": 490, "column": 64 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 16603, "end": 16693, "loc": { "start": { "line": 480, "column": 2 }, "end": { "line": 482, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", "start": 17006, "end": 17118, "loc": { "start": { "line": 493, "column": 2 }, "end": { "line": 495, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 17122, "end": 17672, "loc": { "start": { "line": 496, "column": 2 }, "end": { "line": 513, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17122, "end": 17139, "loc": { "start": { "line": 496, "column": 2 }, "end": { "line": 496, "column": 19 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17140, "end": 17145, "loc": { "start": { "line": 496, "column": 20 }, "end": { "line": 496, "column": 25 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 17146, "end": 17672, "loc": { "start": { "line": 496, "column": 26 }, "end": { "line": 513, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 17153, "end": 17208, "loc": { "start": { "line": 497, "column": 4 }, "end": { "line": 497, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17157, "end": 17207, "loc": { "start": { "line": 497, "column": 8 }, "end": { "line": 497, "column": 58 } }, "id": { "type": "Identifier", "start": 17157, "end": 17170, "loc": { "start": { "line": 497, "column": 8 }, "end": { "line": 497, "column": 21 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "init": { "type": "CallExpression", "start": 17173, "end": 17207, "loc": { "start": { "line": 497, "column": 24 }, "end": { "line": 497, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 17173, "end": 17205, "loc": { "start": { "line": 497, "column": 24 }, "end": { "line": 497, "column": 56 } }, "object": { "type": "MemberExpression", "start": 17173, "end": 17193, "loc": { "start": { "line": 497, "column": 24 }, "end": { "line": 497, "column": 44 } }, "object": { "type": "MemberExpression", "start": 17173, "end": 17185, "loc": { "start": { "line": 497, "column": 24 }, "end": { "line": 497, "column": 36 } }, "object": { "type": "Identifier", "start": 17173, "end": 17178, "loc": { "start": { "line": 497, "column": 24 }, "end": { "line": 497, "column": 29 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17179, "end": 17185, "loc": { "start": { "line": 497, "column": 30 }, "end": { "line": 497, "column": 36 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17186, "end": 17193, "loc": { "start": { "line": 497, "column": 37 }, "end": { "line": 497, "column": 44 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 17194, "end": 17205, "loc": { "start": { "line": 497, "column": 45 }, "end": { "line": 497, "column": 56 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } } ], "kind": "let" }, { "type": "IfStatement", "start": 17216, "end": 17667, "loc": { "start": { "line": 499, "column": 4 }, "end": { "line": 512, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 17227, "end": 17291, "loc": { "start": { "line": 500, "column": 6 }, "end": { "line": 501, "column": 31 } }, "left": { "type": "BinaryExpression", "start": 17227, "end": 17255, "loc": { "start": { "line": 500, "column": 6 }, "end": { "line": 500, "column": 34 } }, "left": { "type": "Identifier", "start": 17227, "end": 17240, "loc": { "start": { "line": 500, "column": 6 }, "end": { "line": 500, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 17245, "end": 17255, "loc": { "start": { "line": 500, "column": 24 }, "end": { "line": 500, "column": 34 } }, "extra": { "rawValue": "textarea", "raw": "\"textarea\"" }, "value": "textarea" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 17266, "end": 17291, "loc": { "start": { "line": 501, "column": 6 }, "end": { "line": 501, "column": 31 } }, "left": { "type": "Identifier", "start": 17266, "end": 17279, "loc": { "start": { "line": 501, "column": 6 }, "end": { "line": 501, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 17284, "end": 17291, "loc": { "start": { "line": 501, "column": 24 }, "end": { "line": 501, "column": 31 } }, "extra": { "rawValue": "input", "raw": "\"input\"" }, "value": "input" } } }, "consequent": { "type": "BlockStatement", "start": 17298, "end": 17667, "loc": { "start": { "line": 502, "column": 5 }, "end": { "line": 512, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 17463, "end": 17512, "loc": { "start": { "line": 507, "column": 6 }, "end": { "line": 507, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 17463, "end": 17511, "loc": { "start": { "line": 507, "column": 6 }, "end": { "line": 507, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 17463, "end": 17481, "loc": { "start": { "line": 507, "column": 6 }, "end": { "line": 507, "column": 24 } }, "object": { "type": "ThisExpression", "start": 17463, "end": 17467, "loc": { "start": { "line": 507, "column": 6 }, "end": { "line": 507, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 17468, "end": 17481, "loc": { "start": { "line": 507, "column": 11 }, "end": { "line": 507, "column": 24 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 17484, "end": 17511, "loc": { "start": { "line": 507, "column": 27 }, "end": { "line": 507, "column": 54 } }, "object": { "type": "MemberExpression", "start": 17484, "end": 17496, "loc": { "start": { "line": 507, "column": 27 }, "end": { "line": 507, "column": 39 } }, "object": { "type": "Identifier", "start": 17484, "end": 17489, "loc": { "start": { "line": 507, "column": 27 }, "end": { "line": 507, "column": 32 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17490, "end": 17496, "loc": { "start": { "line": 507, "column": 33 }, "end": { "line": 507, "column": 39 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17497, "end": 17511, "loc": { "start": { "line": 507, "column": 40 }, "end": { "line": 507, "column": 54 }, "identifierName": "selectionStart" }, "name": "selectionStart" }, "computed": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Tracks current cursor position\r\n * As keys are pressed, text will be added/removed at that position within the input.\r\n ", "start": 17307, "end": 17455, "loc": { "start": { "line": 503, "column": 6 }, "end": { "line": 506, "column": 9 } } } ] }, { "type": "IfStatement", "start": 17522, "end": 17655, "loc": { "start": { "line": 509, "column": 6 }, "end": { "line": 511, "column": 7 } }, "test": { "type": "MemberExpression", "start": 17525, "end": 17543, "loc": { "start": { "line": 509, "column": 9 }, "end": { "line": 509, "column": 27 } }, "object": { "type": "MemberExpression", "start": 17525, "end": 17537, "loc": { "start": { "line": 509, "column": 9 }, "end": { "line": 509, "column": 21 } }, "object": { "type": "ThisExpression", "start": 17525, "end": 17529, "loc": { "start": { "line": 509, "column": 9 }, "end": { "line": 509, "column": 13 } } }, "property": { "type": "Identifier", "start": 17530, "end": 17537, "loc": { "start": { "line": 509, "column": 14 }, "end": { "line": 509, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17538, "end": 17543, "loc": { "start": { "line": 509, "column": 22 }, "end": { "line": 509, "column": 27 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 17544, "end": 17655, "loc": { "start": { "line": 509, "column": 28 }, "end": { "line": 511, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 17555, "end": 17646, "loc": { "start": { "line": 510, "column": 8 }, "end": { "line": 510, "column": 99 } }, "expression": { "type": "CallExpression", "start": 17555, "end": 17645, "loc": { "start": { "line": 510, "column": 8 }, "end": { "line": 510, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 17555, "end": 17566, "loc": { "start": { "line": 510, "column": 8 }, "end": { "line": 510, "column": 19 } }, "object": { "type": "Identifier", "start": 17555, "end": 17562, "loc": { "start": { "line": 510, "column": 8 }, "end": { "line": 510, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 17563, "end": 17566, "loc": { "start": { "line": 510, "column": 16 }, "end": { "line": 510, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17567, "end": 17579, "loc": { "start": { "line": 510, "column": 20 }, "end": { "line": 510, "column": 32 } }, "extra": { "rawValue": "Caret at: ", "raw": "'Caret at: '" }, "value": "Caret at: " }, { "type": "MemberExpression", "start": 17581, "end": 17608, "loc": { "start": { "line": 510, "column": 34 }, "end": { "line": 510, "column": 61 } }, "object": { "type": "MemberExpression", "start": 17581, "end": 17593, "loc": { "start": { "line": 510, "column": 34 }, "end": { "line": 510, "column": 46 } }, "object": { "type": "Identifier", "start": 17581, "end": 17586, "loc": { "start": { "line": 510, "column": 34 }, "end": { "line": 510, "column": 39 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17587, "end": 17593, "loc": { "start": { "line": 510, "column": 40 }, "end": { "line": 510, "column": 46 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17594, "end": 17608, "loc": { "start": { "line": 510, "column": 47 }, "end": { "line": 510, "column": 61 }, "identifierName": "selectionStart" }, "name": "selectionStart" }, "computed": false }, { "type": "CallExpression", "start": 17610, "end": 17644, "loc": { "start": { "line": 510, "column": 63 }, "end": { "line": 510, "column": 97 } }, "callee": { "type": "MemberExpression", "start": 17610, "end": 17642, "loc": { "start": { "line": 510, "column": 63 }, "end": { "line": 510, "column": 95 } }, "object": { "type": "MemberExpression", "start": 17610, "end": 17630, "loc": { "start": { "line": 510, "column": 63 }, "end": { "line": 510, "column": 83 } }, "object": { "type": "MemberExpression", "start": 17610, "end": 17622, "loc": { "start": { "line": 510, "column": 63 }, "end": { "line": 510, "column": 75 } }, "object": { "type": "Identifier", "start": 17610, "end": 17615, "loc": { "start": { "line": 510, "column": 63 }, "end": { "line": 510, "column": 68 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17616, "end": 17622, "loc": { "start": { "line": 510, "column": 69 }, "end": { "line": 510, "column": 75 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17623, "end": 17630, "loc": { "start": { "line": 510, "column": 76 }, "end": { "line": 510, "column": 83 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 17631, "end": 17642, "loc": { "start": { "line": 510, "column": 84 }, "end": { "line": 510, "column": 95 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", "start": 17006, "end": 17118, "loc": { "start": { "line": 493, "column": 2 }, "end": { "line": 495, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", "start": 17678, "end": 17798, "loc": { "start": { "line": 515, "column": 2 }, "end": { "line": 517, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 17802, "end": 18038, "loc": { "start": { "line": 518, "column": 2 }, "end": { "line": 530, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17802, "end": 17808, "loc": { "start": { "line": 518, "column": 2 }, "end": { "line": 518, "column": 8 }, "identifierName": "onInit" }, "name": "onInit", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 17810, "end": 18038, "loc": { "start": { "line": 518, "column": 10 }, "end": { "line": 530, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 17817, "end": 17882, "loc": { "start": { "line": 519, "column": 4 }, "end": { "line": 521, "column": 5 } }, "test": { "type": "MemberExpression", "start": 17820, "end": 17838, "loc": { "start": { "line": 519, "column": 7 }, "end": { "line": 519, "column": 25 } }, "object": { "type": "MemberExpression", "start": 17820, "end": 17832, "loc": { "start": { "line": 519, "column": 7 }, "end": { "line": 519, "column": 19 } }, "object": { "type": "ThisExpression", "start": 17820, "end": 17824, "loc": { "start": { "line": 519, "column": 7 }, "end": { "line": 519, "column": 11 } } }, "property": { "type": "Identifier", "start": 17825, "end": 17832, "loc": { "start": { "line": 519, "column": 12 }, "end": { "line": 519, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17833, "end": 17838, "loc": { "start": { "line": 519, "column": 20 }, "end": { "line": 519, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 17839, "end": 17882, "loc": { "start": { "line": 519, "column": 26 }, "end": { "line": 521, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 17848, "end": 17875, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 520, "column": 33 } }, "expression": { "type": "CallExpression", "start": 17848, "end": 17874, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 520, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 17848, "end": 17859, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 520, "column": 17 } }, "object": { "type": "Identifier", "start": 17848, "end": 17855, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 520, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 17856, "end": 17859, "loc": { "start": { "line": 520, "column": 14 }, "end": { "line": 520, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17860, "end": 17873, "loc": { "start": { "line": 520, "column": 18 }, "end": { "line": 520, "column": 31 } }, "extra": { "rawValue": "Initialized", "raw": "\"Initialized\"" }, "value": "Initialized" } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 17890, "end": 17925, "loc": { "start": { "line": 523, "column": 4 }, "end": { "line": 525, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 17931, "end": 17950, "loc": { "start": { "line": 526, "column": 4 }, "end": { "line": 526, "column": 23 } }, "expression": { "type": "CallExpression", "start": 17931, "end": 17949, "loc": { "start": { "line": 526, "column": 4 }, "end": { "line": 526, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 17931, "end": 17947, "loc": { "start": { "line": 526, "column": 4 }, "end": { "line": 526, "column": 20 } }, "object": { "type": "ThisExpression", "start": 17931, "end": 17935, "loc": { "start": { "line": 526, "column": 4 }, "end": { "line": 526, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 17936, "end": 17947, "loc": { "start": { "line": 526, "column": 9 }, "end": { "line": 526, "column": 20 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 17890, "end": 17925, "loc": { "start": { "line": 523, "column": 4 }, "end": { "line": 525, "column": 7 } } } ] }, { "type": "IfStatement", "start": 17958, "end": 18033, "loc": { "start": { "line": 528, "column": 4 }, "end": { "line": 529, "column": 28 } }, "test": { "type": "BinaryExpression", "start": 17961, "end": 18002, "loc": { "start": { "line": 528, "column": 7 }, "end": { "line": 528, "column": 48 } }, "left": { "type": "UnaryExpression", "start": 17961, "end": 17987, "loc": { "start": { "line": 528, "column": 7 }, "end": { "line": 528, "column": 33 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 17968, "end": 17987, "loc": { "start": { "line": 528, "column": 14 }, "end": { "line": 528, "column": 33 } }, "object": { "type": "MemberExpression", "start": 17968, "end": 17980, "loc": { "start": { "line": 528, "column": 14 }, "end": { "line": 528, "column": 26 } }, "object": { "type": "ThisExpression", "start": 17968, "end": 17972, "loc": { "start": { "line": 528, "column": 14 }, "end": { "line": 528, "column": 18 } } }, "property": { "type": "Identifier", "start": 17973, "end": 17980, "loc": { "start": { "line": 528, "column": 19 }, "end": { "line": 528, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17981, "end": 17987, "loc": { "start": { "line": 528, "column": 27 }, "end": { "line": 528, "column": 33 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 17992, "end": 18002, "loc": { "start": { "line": 528, "column": 38 }, "end": { "line": 528, "column": 48 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 18011, "end": 18033, "loc": { "start": { "line": 529, "column": 6 }, "end": { "line": 529, "column": 28 } }, "expression": { "type": "CallExpression", "start": 18011, "end": 18032, "loc": { "start": { "line": 529, "column": 6 }, "end": { "line": 529, "column": 27 } }, "callee": { "type": "MemberExpression", "start": 18011, "end": 18030, "loc": { "start": { "line": 529, "column": 6 }, "end": { "line": 529, "column": 25 } }, "object": { "type": "MemberExpression", "start": 18011, "end": 18023, "loc": { "start": { "line": 529, "column": 6 }, "end": { "line": 529, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18011, "end": 18015, "loc": { "start": { "line": 529, "column": 6 }, "end": { "line": 529, "column": 10 } } }, "property": { "type": "Identifier", "start": 18016, "end": 18023, "loc": { "start": { "line": 529, "column": 11 }, "end": { "line": 529, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18024, "end": 18030, "loc": { "start": { "line": 529, "column": 19 }, "end": { "line": 529, "column": 25 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", "start": 17678, "end": 17798, "loc": { "start": { "line": 515, "column": 2 }, "end": { "line": 517, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", "start": 18044, "end": 18162, "loc": { "start": { "line": 532, "column": 2 }, "end": { "line": 534, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 18166, "end": 18267, "loc": { "start": { "line": 535, "column": 2 }, "end": { "line": 538, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18166, "end": 18174, "loc": { "start": { "line": 535, "column": 2 }, "end": { "line": 535, "column": 10 }, "identifierName": "onRender" }, "name": "onRender", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 18176, "end": 18267, "loc": { "start": { "line": 535, "column": 12 }, "end": { "line": 538, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18183, "end": 18262, "loc": { "start": { "line": 536, "column": 4 }, "end": { "line": 537, "column": 30 } }, "test": { "type": "BinaryExpression", "start": 18186, "end": 18229, "loc": { "start": { "line": 536, "column": 7 }, "end": { "line": 536, "column": 50 } }, "left": { "type": "UnaryExpression", "start": 18186, "end": 18214, "loc": { "start": { "line": 536, "column": 7 }, "end": { "line": 536, "column": 35 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 18193, "end": 18214, "loc": { "start": { "line": 536, "column": 14 }, "end": { "line": 536, "column": 35 } }, "object": { "type": "MemberExpression", "start": 18193, "end": 18205, "loc": { "start": { "line": 536, "column": 14 }, "end": { "line": 536, "column": 26 } }, "object": { "type": "ThisExpression", "start": 18193, "end": 18197, "loc": { "start": { "line": 536, "column": 14 }, "end": { "line": 536, "column": 18 } } }, "property": { "type": "Identifier", "start": 18198, "end": 18205, "loc": { "start": { "line": 536, "column": 19 }, "end": { "line": 536, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18206, "end": 18214, "loc": { "start": { "line": 536, "column": 27 }, "end": { "line": 536, "column": 35 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 18219, "end": 18229, "loc": { "start": { "line": 536, "column": 40 }, "end": { "line": 536, "column": 50 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 18238, "end": 18262, "loc": { "start": { "line": 537, "column": 6 }, "end": { "line": 537, "column": 30 } }, "expression": { "type": "CallExpression", "start": 18238, "end": 18261, "loc": { "start": { "line": 537, "column": 6 }, "end": { "line": 537, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 18238, "end": 18259, "loc": { "start": { "line": 537, "column": 6 }, "end": { "line": 537, "column": 27 } }, "object": { "type": "MemberExpression", "start": 18238, "end": 18250, "loc": { "start": { "line": 537, "column": 6 }, "end": { "line": 537, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18238, "end": 18242, "loc": { "start": { "line": 537, "column": 6 }, "end": { "line": 537, "column": 10 } } }, "property": { "type": "Identifier", "start": 18243, "end": 18250, "loc": { "start": { "line": 537, "column": 11 }, "end": { "line": 537, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18251, "end": 18259, "loc": { "start": { "line": 537, "column": 19 }, "end": { "line": 537, "column": 27 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", "start": 18044, "end": 18162, "loc": { "start": { "line": 532, "column": 2 }, "end": { "line": 534, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 18273, "end": 18305, "loc": { "start": { "line": 540, "column": 2 }, "end": { "line": 542, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 18309, "end": 18458, "loc": { "start": { "line": 543, "column": 2 }, "end": { "line": 548, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18309, "end": 18323, "loc": { "start": { "line": 543, "column": 2 }, "end": { "line": 543, "column": 16 }, "identifierName": "registerModule" }, "name": "registerModule", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 18326, "end": 18458, "loc": { "start": { "line": 543, "column": 19 }, "end": { "line": 548, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 18327, "end": 18331, "loc": { "start": { "line": 543, "column": 20 }, "end": { "line": 543, "column": 24 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 18333, "end": 18345, "loc": { "start": { "line": 543, "column": 26 }, "end": { "line": 543, "column": 38 }, "identifierName": "initCallback" }, "name": "initCallback" } ], "body": { "type": "BlockStatement", "start": 18350, "end": 18458, "loc": { "start": { "line": 543, "column": 43 }, "end": { "line": 548, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18357, "end": 18412, "loc": { "start": { "line": 544, "column": 4 }, "end": { "line": 545, "column": 30 } }, "test": { "type": "UnaryExpression", "start": 18360, "end": 18379, "loc": { "start": { "line": 544, "column": 7 }, "end": { "line": 544, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 18361, "end": 18379, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 544, "column": 26 } }, "object": { "type": "MemberExpression", "start": 18361, "end": 18373, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 544, "column": 20 } }, "object": { "type": "ThisExpression", "start": 18361, "end": 18365, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 544, "column": 12 } } }, "property": { "type": "Identifier", "start": 18366, "end": 18373, "loc": { "start": { "line": 544, "column": 13 }, "end": { "line": 544, "column": 20 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 18374, "end": 18378, "loc": { "start": { "line": 544, "column": 21 }, "end": { "line": 544, "column": 25 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 18388, "end": 18412, "loc": { "start": { "line": 545, "column": 6 }, "end": { "line": 545, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 18388, "end": 18411, "loc": { "start": { "line": 545, "column": 6 }, "end": { "line": 545, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18388, "end": 18406, "loc": { "start": { "line": 545, "column": 6 }, "end": { "line": 545, "column": 24 } }, "object": { "type": "MemberExpression", "start": 18388, "end": 18400, "loc": { "start": { "line": 545, "column": 6 }, "end": { "line": 545, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18388, "end": 18392, "loc": { "start": { "line": 545, "column": 6 }, "end": { "line": 545, "column": 10 } } }, "property": { "type": "Identifier", "start": 18393, "end": 18400, "loc": { "start": { "line": 545, "column": 11 }, "end": { "line": 545, "column": 18 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 18401, "end": 18405, "loc": { "start": { "line": 545, "column": 19 }, "end": { "line": 545, "column": 23 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 18409, "end": 18411, "loc": { "start": { "line": 545, "column": 27 }, "end": { "line": 545, "column": 29 } }, "properties": [] } } }, "alternate": null }, { "type": "ExpressionStatement", "start": 18420, "end": 18453, "loc": { "start": { "line": 547, "column": 4 }, "end": { "line": 547, "column": 37 } }, "expression": { "type": "CallExpression", "start": 18420, "end": 18452, "loc": { "start": { "line": 547, "column": 4 }, "end": { "line": 547, "column": 36 } }, "callee": { "type": "Identifier", "start": 18420, "end": 18432, "loc": { "start": { "line": 547, "column": 4 }, "end": { "line": 547, "column": 16 }, "identifierName": "initCallback" }, "name": "initCallback" }, "arguments": [ { "type": "MemberExpression", "start": 18433, "end": 18451, "loc": { "start": { "line": 547, "column": 17 }, "end": { "line": 547, "column": 35 } }, "object": { "type": "MemberExpression", "start": 18433, "end": 18445, "loc": { "start": { "line": 547, "column": 17 }, "end": { "line": 547, "column": 29 } }, "object": { "type": "ThisExpression", "start": 18433, "end": 18437, "loc": { "start": { "line": 547, "column": 17 }, "end": { "line": 547, "column": 21 } } }, "property": { "type": "Identifier", "start": 18438, "end": 18445, "loc": { "start": { "line": 547, "column": 22 }, "end": { "line": 547, "column": 29 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 18446, "end": 18450, "loc": { "start": { "line": 547, "column": 30 }, "end": { "line": 547, "column": 34 }, "identifierName": "name" }, "name": "name" }, "computed": true } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 18273, "end": 18305, "loc": { "start": { "line": 540, "column": 2 }, "end": { "line": 542, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 18464, "end": 18493, "loc": { "start": { "line": 550, "column": 2 }, "end": { "line": 552, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 18497, "end": 18955, "loc": { "start": { "line": 553, "column": 2 }, "end": { "line": 568, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18497, "end": 18508, "loc": { "start": { "line": 553, "column": 2 }, "end": { "line": 553, "column": 13 }, "identifierName": "loadModules" }, "name": "loadModules", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 18510, "end": 18955, "loc": { "start": { "line": 553, "column": 15 }, "end": { "line": 568, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18517, "end": 18950, "loc": { "start": { "line": 554, "column": 4 }, "end": { "line": 567, "column": 5 } }, "test": { "type": "CallExpression", "start": 18520, "end": 18555, "loc": { "start": { "line": 554, "column": 7 }, "end": { "line": 554, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 18520, "end": 18533, "loc": { "start": { "line": 554, "column": 7 }, "end": { "line": 554, "column": 20 } }, "object": { "type": "Identifier", "start": 18520, "end": 18525, "loc": { "start": { "line": 554, "column": 7 }, "end": { "line": 554, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 18526, "end": 18533, "loc": { "start": { "line": 554, "column": 13 }, "end": { "line": 554, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 18534, "end": 18554, "loc": { "start": { "line": 554, "column": 21 }, "end": { "line": 554, "column": 41 } }, "object": { "type": "MemberExpression", "start": 18534, "end": 18546, "loc": { "start": { "line": 554, "column": 21 }, "end": { "line": 554, "column": 33 } }, "object": { "type": "ThisExpression", "start": 18534, "end": 18538, "loc": { "start": { "line": 554, "column": 21 }, "end": { "line": 554, "column": 25 } } }, "property": { "type": "Identifier", "start": 18539, "end": 18546, "loc": { "start": { "line": 554, "column": 26 }, "end": { "line": 554, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18547, "end": 18554, "loc": { "start": { "line": 554, "column": 34 }, "end": { "line": 554, "column": 41 }, "identifierName": "modules" }, "name": "modules" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 18556, "end": 18950, "loc": { "start": { "line": 554, "column": 43 }, "end": { "line": 567, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18565, "end": 18943, "loc": { "start": { "line": 555, "column": 6 }, "end": { "line": 566, "column": 9 } }, "expression": { "type": "CallExpression", "start": 18565, "end": 18942, "loc": { "start": { "line": 555, "column": 6 }, "end": { "line": 566, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 18565, "end": 18593, "loc": { "start": { "line": 555, "column": 6 }, "end": { "line": 555, "column": 34 } }, "object": { "type": "MemberExpression", "start": 18565, "end": 18585, "loc": { "start": { "line": 555, "column": 6 }, "end": { "line": 555, "column": 26 } }, "object": { "type": "MemberExpression", "start": 18565, "end": 18577, "loc": { "start": { "line": 555, "column": 6 }, "end": { "line": 555, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18565, "end": 18569, "loc": { "start": { "line": 555, "column": 6 }, "end": { "line": 555, "column": 10 } } }, "property": { "type": "Identifier", "start": 18570, "end": 18577, "loc": { "start": { "line": 555, "column": 11 }, "end": { "line": 555, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18578, "end": 18585, "loc": { "start": { "line": 555, "column": 19 }, "end": { "line": 555, "column": 26 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 18586, "end": 18593, "loc": { "start": { "line": 555, "column": 27 }, "end": { "line": 555, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 18594, "end": 18941, "loc": { "start": { "line": 555, "column": 35 }, "end": { "line": 566, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 18594, "end": 18600, "loc": { "start": { "line": 555, "column": 35 }, "end": { "line": 555, "column": 41 }, "identifierName": "Module" }, "name": "Module" } ], "body": { "type": "BlockStatement", "start": 18604, "end": 18941, "loc": { "start": { "line": 555, "column": 45 }, "end": { "line": 566, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 18615, "end": 18641, "loc": { "start": { "line": 556, "column": 8 }, "end": { "line": 556, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18619, "end": 18640, "loc": { "start": { "line": 556, "column": 12 }, "end": { "line": 556, "column": 33 } }, "id": { "type": "Identifier", "start": 18619, "end": 18625, "loc": { "start": { "line": 556, "column": 12 }, "end": { "line": 556, "column": 18 }, "identifierName": "module" }, "name": "module" }, "init": { "type": "NewExpression", "start": 18628, "end": 18640, "loc": { "start": { "line": 556, "column": 21 }, "end": { "line": 556, "column": 33 } }, "callee": { "type": "Identifier", "start": 18632, "end": 18638, "loc": { "start": { "line": 556, "column": 25 }, "end": { "line": 556, "column": 31 }, "identifierName": "Module" }, "name": "Module" }, "arguments": [] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 18653, "end": 18679, "loc": { "start": { "line": 558, "column": 8 }, "end": { "line": 558, "column": 34 } } } ] }, { "type": "IfStatement", "start": 18689, "end": 18902, "loc": { "start": { "line": 559, "column": 8 }, "end": { "line": 563, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 18692, "end": 18757, "loc": { "start": { "line": 559, "column": 11 }, "end": { "line": 559, "column": 76 } }, "left": { "type": "MemberExpression", "start": 18692, "end": 18715, "loc": { "start": { "line": 559, "column": 11 }, "end": { "line": 559, "column": 34 } }, "object": { "type": "MemberExpression", "start": 18692, "end": 18710, "loc": { "start": { "line": 559, "column": 11 }, "end": { "line": 559, "column": 29 } }, "object": { "type": "Identifier", "start": 18692, "end": 18698, "loc": { "start": { "line": 559, "column": 11 }, "end": { "line": 559, "column": 17 }, "identifierName": "module" }, "name": "module", "leadingComments": null }, "property": { "type": "Identifier", "start": 18699, "end": 18710, "loc": { "start": { "line": 559, "column": 18 }, "end": { "line": 559, "column": 29 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 18711, "end": 18715, "loc": { "start": { "line": 559, "column": 30 }, "end": { "line": 559, "column": 34 }, "identifierName": "name" }, "name": "name" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 18719, "end": 18757, "loc": { "start": { "line": 559, "column": 38 }, "end": { "line": 559, "column": 76 } }, "left": { "type": "MemberExpression", "start": 18719, "end": 18742, "loc": { "start": { "line": 559, "column": 38 }, "end": { "line": 559, "column": 61 } }, "object": { "type": "MemberExpression", "start": 18719, "end": 18737, "loc": { "start": { "line": 559, "column": 38 }, "end": { "line": 559, "column": 56 } }, "object": { "type": "Identifier", "start": 18719, "end": 18725, "loc": { "start": { "line": 559, "column": 38 }, "end": { "line": 559, "column": 44 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 18726, "end": 18737, "loc": { "start": { "line": 559, "column": 45 }, "end": { "line": 559, "column": 56 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "property": { "type": "Identifier", "start": 18738, "end": 18742, "loc": { "start": { "line": 559, "column": 57 }, "end": { "line": 559, "column": 61 }, "identifierName": "name" }, "name": "name" }, "computed": false }, "operator": "!==", "right": { "type": "StringLiteral", "start": 18747, "end": 18757, "loc": { "start": { "line": 559, "column": 66 }, "end": { "line": 559, "column": 76 } }, "extra": { "rawValue": "Function", "raw": "\"Function\"" }, "value": "Function" } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 18758, "end": 18902, "loc": { "start": { "line": 559, "column": 77 }, "end": { "line": 563, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 18771, "end": 18891, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 562, "column": 12 } }, "expression": { "type": "CallExpression", "start": 18771, "end": 18890, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 562, "column": 11 } }, "callee": { "type": "MemberExpression", "start": 18771, "end": 18801, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 40 } }, "object": { "type": "MemberExpression", "start": 18771, "end": 18797, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 36 } }, "object": { "type": "MemberExpression", "start": 18771, "end": 18787, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 26 } }, "object": { "type": "ThisExpression", "start": 18771, "end": 18775, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 14 } } }, "property": { "type": "Identifier", "start": 18776, "end": 18787, "loc": { "start": { "line": 560, "column": 15 }, "end": { "line": 560, "column": 26 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 18788, "end": 18797, "loc": { "start": { "line": 560, "column": 27 }, "end": { "line": 560, "column": 36 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 18798, "end": 18801, "loc": { "start": { "line": 560, "column": 37 }, "end": { "line": 560, "column": 40 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 18816, "end": 18877, "loc": { "start": { "line": 561, "column": 12 }, "end": { "line": 561, "column": 73 } }, "expressions": [ { "type": "CallExpression", "start": 18826, "end": 18875, "loc": { "start": { "line": 561, "column": 22 }, "end": { "line": 561, "column": 71 } }, "callee": { "type": "MemberExpression", "start": 18826, "end": 18850, "loc": { "start": { "line": 561, "column": 22 }, "end": { "line": 561, "column": 46 } }, "object": { "type": "MemberExpression", "start": 18826, "end": 18840, "loc": { "start": { "line": 561, "column": 22 }, "end": { "line": 561, "column": 36 } }, "object": { "type": "ThisExpression", "start": 18826, "end": 18830, "loc": { "start": { "line": 561, "column": 22 }, "end": { "line": 561, "column": 26 } } }, "property": { "type": "Identifier", "start": 18831, "end": 18840, "loc": { "start": { "line": 561, "column": 27 }, "end": { "line": 561, "column": 36 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 18841, "end": 18850, "loc": { "start": { "line": 561, "column": 37 }, "end": { "line": 561, "column": 46 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 18851, "end": 18874, "loc": { "start": { "line": 561, "column": 47 }, "end": { "line": 561, "column": 70 } }, "object": { "type": "MemberExpression", "start": 18851, "end": 18869, "loc": { "start": { "line": 561, "column": 47 }, "end": { "line": 561, "column": 65 } }, "object": { "type": "Identifier", "start": 18851, "end": 18857, "loc": { "start": { "line": 561, "column": 47 }, "end": { "line": 561, "column": 53 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 18858, "end": 18869, "loc": { "start": { "line": 561, "column": 54 }, "end": { "line": 561, "column": 65 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "property": { "type": "Identifier", "start": 18870, "end": 18874, "loc": { "start": { "line": 561, "column": 66 }, "end": { "line": 561, "column": 70 }, "identifierName": "name" }, "name": "name" }, "computed": false } ] } ], "quasis": [ { "type": "TemplateElement", "start": 18817, "end": 18824, "loc": { "start": { "line": 561, "column": 13 }, "end": { "line": 561, "column": 20 } }, "value": { "raw": "module-", "cooked": "module-" }, "tail": false }, { "type": "TemplateElement", "start": 18876, "end": 18876, "loc": { "start": { "line": 561, "column": 72 }, "end": { "line": 561, "column": 72 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } ] } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 18653, "end": 18679, "loc": { "start": { "line": 558, "column": 8 }, "end": { "line": 558, "column": 34 } } } ] }, { "type": "ExpressionStatement", "start": 18914, "end": 18932, "loc": { "start": { "line": 565, "column": 8 }, "end": { "line": 565, "column": 26 } }, "expression": { "type": "CallExpression", "start": 18914, "end": 18931, "loc": { "start": { "line": 565, "column": 8 }, "end": { "line": 565, "column": 25 } }, "callee": { "type": "MemberExpression", "start": 18914, "end": 18925, "loc": { "start": { "line": 565, "column": 8 }, "end": { "line": 565, "column": 19 } }, "object": { "type": "Identifier", "start": 18914, "end": 18920, "loc": { "start": { "line": 565, "column": 8 }, "end": { "line": 565, "column": 14 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 18921, "end": 18925, "loc": { "start": { "line": 565, "column": 15 }, "end": { "line": 565, "column": 19 }, "identifierName": "init" }, "name": "init" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 18926, "end": 18930, "loc": { "start": { "line": 565, "column": 20 }, "end": { "line": 565, "column": 24 } } } ] } } ], "directives": [] } } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 18464, "end": 18493, "loc": { "start": { "line": 550, "column": 2 }, "end": { "line": 552, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 18961, "end": 18993, "loc": { "start": { "line": 570, "column": 2 }, "end": { "line": 572, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 18997, "end": 19129, "loc": { "start": { "line": 573, "column": 2 }, "end": { "line": 578, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18997, "end": 19010, "loc": { "start": { "line": 573, "column": 2 }, "end": { "line": 573, "column": 15 }, "identifierName": "getModuleProp" }, "name": "getModuleProp", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 19013, "end": 19129, "loc": { "start": { "line": 573, "column": 18 }, "end": { "line": 578, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19014, "end": 19018, "loc": { "start": { "line": 573, "column": 19 }, "end": { "line": 573, "column": 23 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 19020, "end": 19024, "loc": { "start": { "line": 573, "column": 25 }, "end": { "line": 573, "column": 29 }, "identifierName": "prop" }, "name": "prop" } ], "body": { "type": "BlockStatement", "start": 19029, "end": 19129, "loc": { "start": { "line": 573, "column": 34 }, "end": { "line": 578, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19036, "end": 19080, "loc": { "start": { "line": 574, "column": 4 }, "end": { "line": 575, "column": 19 } }, "test": { "type": "UnaryExpression", "start": 19039, "end": 19058, "loc": { "start": { "line": 574, "column": 7 }, "end": { "line": 574, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 19040, "end": 19058, "loc": { "start": { "line": 574, "column": 8 }, "end": { "line": 574, "column": 26 } }, "object": { "type": "MemberExpression", "start": 19040, "end": 19052, "loc": { "start": { "line": 574, "column": 8 }, "end": { "line": 574, "column": 20 } }, "object": { "type": "ThisExpression", "start": 19040, "end": 19044, "loc": { "start": { "line": 574, "column": 8 }, "end": { "line": 574, "column": 12 } } }, "property": { "type": "Identifier", "start": 19045, "end": 19052, "loc": { "start": { "line": 574, "column": 13 }, "end": { "line": 574, "column": 20 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19053, "end": 19057, "loc": { "start": { "line": 574, "column": 21 }, "end": { "line": 574, "column": 25 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ReturnStatement", "start": 19067, "end": 19080, "loc": { "start": { "line": 575, "column": 6 }, "end": { "line": 575, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 19074, "end": 19079, "loc": { "start": { "line": 575, "column": 13 }, "end": { "line": 575, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ReturnStatement", "start": 19092, "end": 19124, "loc": { "start": { "line": 577, "column": 4 }, "end": { "line": 577, "column": 36 } }, "argument": { "type": "MemberExpression", "start": 19099, "end": 19123, "loc": { "start": { "line": 577, "column": 11 }, "end": { "line": 577, "column": 35 } }, "object": { "type": "MemberExpression", "start": 19099, "end": 19117, "loc": { "start": { "line": 577, "column": 11 }, "end": { "line": 577, "column": 29 } }, "object": { "type": "MemberExpression", "start": 19099, "end": 19111, "loc": { "start": { "line": 577, "column": 11 }, "end": { "line": 577, "column": 23 } }, "object": { "type": "ThisExpression", "start": 19099, "end": 19103, "loc": { "start": { "line": 577, "column": 11 }, "end": { "line": 577, "column": 15 } } }, "property": { "type": "Identifier", "start": 19104, "end": 19111, "loc": { "start": { "line": 577, "column": 16 }, "end": { "line": 577, "column": 23 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19112, "end": 19116, "loc": { "start": { "line": 577, "column": 24 }, "end": { "line": 577, "column": 28 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "property": { "type": "Identifier", "start": 19118, "end": 19122, "loc": { "start": { "line": 577, "column": 30 }, "end": { "line": 577, "column": 34 }, "identifierName": "prop" }, "name": "prop" }, "computed": true } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 18961, "end": 18993, "loc": { "start": { "line": 570, "column": 2 }, "end": { "line": 572, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 19135, "end": 19166, "loc": { "start": { "line": 580, "column": 2 }, "end": { "line": 582, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 19170, "end": 19238, "loc": { "start": { "line": 583, "column": 2 }, "end": { "line": 585, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19170, "end": 19184, "loc": { "start": { "line": 583, "column": 2 }, "end": { "line": 583, "column": 16 }, "identifierName": "getModulesList" }, "name": "getModulesList", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 19187, "end": 19238, "loc": { "start": { "line": 583, "column": 19 }, "end": { "line": 585, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19193, "end": 19238, "loc": { "start": { "line": 583, "column": 25 }, "end": { "line": 585, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 19200, "end": 19233, "loc": { "start": { "line": 584, "column": 4 }, "end": { "line": 584, "column": 37 } }, "argument": { "type": "CallExpression", "start": 19207, "end": 19232, "loc": { "start": { "line": 584, "column": 11 }, "end": { "line": 584, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 19207, "end": 19218, "loc": { "start": { "line": 584, "column": 11 }, "end": { "line": 584, "column": 22 } }, "object": { "type": "Identifier", "start": 19207, "end": 19213, "loc": { "start": { "line": 584, "column": 11 }, "end": { "line": 584, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 19214, "end": 19218, "loc": { "start": { "line": 584, "column": 18 }, "end": { "line": 584, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19219, "end": 19231, "loc": { "start": { "line": 584, "column": 23 }, "end": { "line": 584, "column": 35 } }, "object": { "type": "ThisExpression", "start": 19219, "end": 19223, "loc": { "start": { "line": 584, "column": 23 }, "end": { "line": 584, "column": 27 } } }, "property": { "type": "Identifier", "start": 19224, "end": 19231, "loc": { "start": { "line": 584, "column": 28 }, "end": { "line": 584, "column": 35 }, "identifierName": "modules" }, "name": "modules" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 19135, "end": 19166, "loc": { "start": { "line": 580, "column": 2 }, "end": { "line": 582, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 19244, "end": 19300, "loc": { "start": { "line": 587, "column": 2 }, "end": { "line": 589, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 19304, "end": 23618, "loc": { "start": { "line": 590, "column": 2 }, "end": { "line": 732, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19304, "end": 19310, "loc": { "start": { "line": 590, "column": 2 }, "end": { "line": 590, "column": 8 }, "identifierName": "render" }, "name": "render", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19312, "end": 23618, "loc": { "start": { "line": 590, "column": 10 }, "end": { "line": 732, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 19360, "end": 19373, "loc": { "start": { "line": 594, "column": 4 }, "end": { "line": 594, "column": 17 } }, "expression": { "type": "CallExpression", "start": 19360, "end": 19372, "loc": { "start": { "line": 594, "column": 4 }, "end": { "line": 594, "column": 16 } }, "callee": { "type": "MemberExpression", "start": 19360, "end": 19370, "loc": { "start": { "line": 594, "column": 4 }, "end": { "line": 594, "column": 14 } }, "object": { "type": "ThisExpression", "start": 19360, "end": 19364, "loc": { "start": { "line": 594, "column": 4 }, "end": { "line": 594, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19365, "end": 19370, "loc": { "start": { "line": 594, "column": 9 }, "end": { "line": 594, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 19319, "end": 19354, "loc": { "start": { "line": 591, "column": 4 }, "end": { "line": 593, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 19381, "end": 19481, "loc": { "start": { "line": 596, "column": 4 }, "end": { "line": 596, "column": 104 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19385, "end": 19480, "loc": { "start": { "line": 596, "column": 8 }, "end": { "line": 596, "column": 103 } }, "id": { "type": "Identifier", "start": 19385, "end": 19396, "loc": { "start": { "line": 596, "column": 8 }, "end": { "line": 596, "column": 19 }, "identifierName": "layoutClass" }, "name": "layoutClass" }, "init": { "type": "ConditionalExpression", "start": 19399, "end": 19480, "loc": { "start": { "line": 596, "column": 22 }, "end": { "line": 596, "column": 103 } }, "test": { "type": "MemberExpression", "start": 19399, "end": 19418, "loc": { "start": { "line": 596, "column": 22 }, "end": { "line": 596, "column": 41 } }, "object": { "type": "MemberExpression", "start": 19399, "end": 19411, "loc": { "start": { "line": 596, "column": 22 }, "end": { "line": 596, "column": 34 } }, "object": { "type": "ThisExpression", "start": 19399, "end": 19403, "loc": { "start": { "line": 596, "column": 22 }, "end": { "line": 596, "column": 26 } } }, "property": { "type": "Identifier", "start": 19404, "end": 19411, "loc": { "start": { "line": 596, "column": 27 }, "end": { "line": 596, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19412, "end": 19418, "loc": { "start": { "line": 596, "column": 35 }, "end": { "line": 596, "column": 41 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "consequent": { "type": "StringLiteral", "start": 19421, "end": 19439, "loc": { "start": { "line": 596, "column": 44 }, "end": { "line": 596, "column": 62 } }, "extra": { "rawValue": "hg-layout-custom", "raw": "\"hg-layout-custom\"" }, "value": "hg-layout-custom" }, "alternate": { "type": "TemplateLiteral", "start": 19442, "end": 19480, "loc": { "start": { "line": 596, "column": 65 }, "end": { "line": 596, "column": 103 } }, "expressions": [ { "type": "MemberExpression", "start": 19455, "end": 19478, "loc": { "start": { "line": 596, "column": 78 }, "end": { "line": 596, "column": 101 } }, "object": { "type": "MemberExpression", "start": 19455, "end": 19467, "loc": { "start": { "line": 596, "column": 78 }, "end": { "line": 596, "column": 90 } }, "object": { "type": "ThisExpression", "start": 19455, "end": 19459, "loc": { "start": { "line": 596, "column": 78 }, "end": { "line": 596, "column": 82 } } }, "property": { "type": "Identifier", "start": 19460, "end": 19467, "loc": { "start": { "line": 596, "column": 83 }, "end": { "line": 596, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19468, "end": 19478, "loc": { "start": { "line": 596, "column": 91 }, "end": { "line": 596, "column": 101 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 19443, "end": 19453, "loc": { "start": { "line": 596, "column": 66 }, "end": { "line": 596, "column": 76 } }, "value": { "raw": "hg-layout-", "cooked": "hg-layout-" }, "tail": false }, { "type": "TemplateElement", "start": 19479, "end": 19479, "loc": { "start": { "line": 596, "column": 102 }, "end": { "line": 596, "column": 102 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 19487, "end": 19557, "loc": { "start": { "line": 597, "column": 4 }, "end": { "line": 597, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19491, "end": 19556, "loc": { "start": { "line": 597, "column": 8 }, "end": { "line": 597, "column": 73 } }, "id": { "type": "Identifier", "start": 19491, "end": 19497, "loc": { "start": { "line": 597, "column": 8 }, "end": { "line": 597, "column": 14 }, "identifierName": "layout" }, "name": "layout" }, "init": { "type": "LogicalExpression", "start": 19500, "end": 19556, "loc": { "start": { "line": 597, "column": 17 }, "end": { "line": 597, "column": 73 } }, "left": { "type": "MemberExpression", "start": 19500, "end": 19519, "loc": { "start": { "line": 597, "column": 17 }, "end": { "line": 597, "column": 36 } }, "object": { "type": "MemberExpression", "start": 19500, "end": 19512, "loc": { "start": { "line": 597, "column": 17 }, "end": { "line": 597, "column": 29 } }, "object": { "type": "ThisExpression", "start": 19500, "end": 19504, "loc": { "start": { "line": 597, "column": 17 }, "end": { "line": 597, "column": 21 } } }, "property": { "type": "Identifier", "start": 19505, "end": 19512, "loc": { "start": { "line": 597, "column": 22 }, "end": { "line": 597, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19513, "end": 19519, "loc": { "start": { "line": 597, "column": 30 }, "end": { "line": 597, "column": 36 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "operator": "||", "right": { "type": "CallExpression", "start": 19523, "end": 19556, "loc": { "start": { "line": 597, "column": 40 }, "end": { "line": 597, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 19523, "end": 19554, "loc": { "start": { "line": 597, "column": 40 }, "end": { "line": 597, "column": 71 } }, "object": { "type": "Identifier", "start": 19523, "end": 19537, "loc": { "start": { "line": 597, "column": 40 }, "end": { "line": 597, "column": 54 }, "identifierName": "KeyboardLayout" }, "name": "KeyboardLayout" }, "property": { "type": "Identifier", "start": 19538, "end": 19554, "loc": { "start": { "line": 597, "column": 55 }, "end": { "line": 597, "column": 71 }, "identifierName": "getDefaultLayout" }, "name": "getDefaultLayout" }, "computed": false }, "arguments": [] } } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 19565, "end": 19617, "loc": { "start": { "line": 599, "column": 4 }, "end": { "line": 601, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 19623, "end": 19651, "loc": { "start": { "line": 602, "column": 4 }, "end": { "line": 602, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19627, "end": 19650, "loc": { "start": { "line": 602, "column": 8 }, "end": { "line": 602, "column": 31 } }, "id": { "type": "Identifier", "start": 19627, "end": 19645, "loc": { "start": { "line": 602, "column": 8 }, "end": { "line": 602, "column": 26 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed", "leadingComments": null }, "init": { "type": "ObjectExpression", "start": 19648, "end": 19650, "loc": { "start": { "line": 602, "column": 29 }, "end": { "line": 602, "column": 31 } }, "properties": [] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 19565, "end": 19617, "loc": { "start": { "line": 599, "column": 4 }, "end": { "line": 601, "column": 7 } } } ] }, { "type": "IfStatement", "start": 19657, "end": 20796, "loc": { "start": { "line": 603, "column": 4 }, "end": { "line": 631, "column": 5 } }, "test": { "type": "CallExpression", "start": 19660, "end": 19699, "loc": { "start": { "line": 603, "column": 7 }, "end": { "line": 603, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 19660, "end": 19673, "loc": { "start": { "line": 603, "column": 7 }, "end": { "line": 603, "column": 20 } }, "object": { "type": "Identifier", "start": 19660, "end": 19665, "loc": { "start": { "line": 603, "column": 7 }, "end": { "line": 603, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 19666, "end": 19673, "loc": { "start": { "line": 603, "column": 13 }, "end": { "line": 603, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19674, "end": 19698, "loc": { "start": { "line": 603, "column": 21 }, "end": { "line": 603, "column": 45 } }, "object": { "type": "MemberExpression", "start": 19674, "end": 19686, "loc": { "start": { "line": 603, "column": 21 }, "end": { "line": 603, "column": 33 } }, "object": { "type": "ThisExpression", "start": 19674, "end": 19678, "loc": { "start": { "line": 603, "column": 21 }, "end": { "line": 603, "column": 25 } } }, "property": { "type": "Identifier", "start": 19679, "end": 19686, "loc": { "start": { "line": 603, "column": 26 }, "end": { "line": 603, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19687, "end": 19698, "loc": { "start": { "line": 603, "column": 34 }, "end": { "line": 603, "column": 45 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 19700, "end": 20796, "loc": { "start": { "line": 603, "column": 47 }, "end": { "line": 631, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 19709, "end": 20789, "loc": { "start": { "line": 604, "column": 6 }, "end": { "line": 630, "column": 9 } }, "expression": { "type": "CallExpression", "start": 19709, "end": 20788, "loc": { "start": { "line": 604, "column": 6 }, "end": { "line": 630, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 19709, "end": 19741, "loc": { "start": { "line": 604, "column": 6 }, "end": { "line": 604, "column": 38 } }, "object": { "type": "MemberExpression", "start": 19709, "end": 19733, "loc": { "start": { "line": 604, "column": 6 }, "end": { "line": 604, "column": 30 } }, "object": { "type": "MemberExpression", "start": 19709, "end": 19721, "loc": { "start": { "line": 604, "column": 6 }, "end": { "line": 604, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19709, "end": 19713, "loc": { "start": { "line": 604, "column": 6 }, "end": { "line": 604, "column": 10 } } }, "property": { "type": "Identifier", "start": 19714, "end": 19721, "loc": { "start": { "line": 604, "column": 11 }, "end": { "line": 604, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19722, "end": 19733, "loc": { "start": { "line": 604, "column": 19 }, "end": { "line": 604, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 19734, "end": 19741, "loc": { "start": { "line": 604, "column": 31 }, "end": { "line": 604, "column": 38 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 19742, "end": 20787, "loc": { "start": { "line": 604, "column": 39 }, "end": { "line": 630, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19742, "end": 19750, "loc": { "start": { "line": 604, "column": 39 }, "end": { "line": 604, "column": 47 }, "identifierName": "themeObj" }, "name": "themeObj" } ], "body": { "type": "BlockStatement", "start": 19754, "end": 20787, "loc": { "start": { "line": 604, "column": 51 }, "end": { "line": 630, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 19765, "end": 20778, "loc": { "start": { "line": 605, "column": 8 }, "end": { "line": 629, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 19768, "end": 19802, "loc": { "start": { "line": 605, "column": 11 }, "end": { "line": 605, "column": 45 } }, "left": { "type": "MemberExpression", "start": 19768, "end": 19784, "loc": { "start": { "line": 605, "column": 11 }, "end": { "line": 605, "column": 27 } }, "object": { "type": "Identifier", "start": 19768, "end": 19776, "loc": { "start": { "line": 605, "column": 11 }, "end": { "line": 605, "column": 19 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 19777, "end": 19784, "loc": { "start": { "line": 605, "column": 20 }, "end": { "line": 605, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "operator": "&&", "right": { "type": "MemberExpression", "start": 19788, "end": 19802, "loc": { "start": { "line": 605, "column": 31 }, "end": { "line": 605, "column": 45 } }, "object": { "type": "Identifier", "start": 19788, "end": 19796, "loc": { "start": { "line": 605, "column": 31 }, "end": { "line": 605, "column": 39 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 19797, "end": 19802, "loc": { "start": { "line": 605, "column": 40 }, "end": { "line": 605, "column": 45 }, "identifierName": "class" }, "name": "class" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 19803, "end": 20644, "loc": { "start": { "line": 605, "column": 46 }, "end": { "line": 627, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 19816, "end": 19833, "loc": { "start": { "line": 606, "column": 10 }, "end": { "line": 606, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19820, "end": 19832, "loc": { "start": { "line": 606, "column": 14 }, "end": { "line": 606, "column": 26 } }, "id": { "type": "Identifier", "start": 19820, "end": 19832, "loc": { "start": { "line": 606, "column": 14 }, "end": { "line": 606, "column": 26 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 19847, "end": 19958, "loc": { "start": { "line": 608, "column": 10 }, "end": { "line": 610, "column": 11 } }, "test": { "type": "BinaryExpression", "start": 19850, "end": 19886, "loc": { "start": { "line": 608, "column": 13 }, "end": { "line": 608, "column": 49 } }, "left": { "type": "UnaryExpression", "start": 19850, "end": 19873, "loc": { "start": { "line": 608, "column": 13 }, "end": { "line": 608, "column": 36 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 19857, "end": 19873, "loc": { "start": { "line": 608, "column": 20 }, "end": { "line": 608, "column": 36 } }, "object": { "type": "Identifier", "start": 19857, "end": 19865, "loc": { "start": { "line": 608, "column": 20 }, "end": { "line": 608, "column": 28 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 19866, "end": 19873, "loc": { "start": { "line": 608, "column": 29 }, "end": { "line": 608, "column": 36 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 19878, "end": 19886, "loc": { "start": { "line": 608, "column": 41 }, "end": { "line": 608, "column": 49 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "consequent": { "type": "BlockStatement", "start": 19887, "end": 19958, "loc": { "start": { "line": 608, "column": 50 }, "end": { "line": 610, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 19902, "end": 19945, "loc": { "start": { "line": 609, "column": 12 }, "end": { "line": 609, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 19902, "end": 19944, "loc": { "start": { "line": 609, "column": 12 }, "end": { "line": 609, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 19902, "end": 19914, "loc": { "start": { "line": 609, "column": 12 }, "end": { "line": 609, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "right": { "type": "CallExpression", "start": 19917, "end": 19944, "loc": { "start": { "line": 609, "column": 27 }, "end": { "line": 609, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 19917, "end": 19939, "loc": { "start": { "line": 609, "column": 27 }, "end": { "line": 609, "column": 49 } }, "object": { "type": "MemberExpression", "start": 19917, "end": 19933, "loc": { "start": { "line": 609, "column": 27 }, "end": { "line": 609, "column": 43 } }, "object": { "type": "Identifier", "start": 19917, "end": 19925, "loc": { "start": { "line": 609, "column": 27 }, "end": { "line": 609, "column": 35 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 19926, "end": 19933, "loc": { "start": { "line": 609, "column": 36 }, "end": { "line": 609, "column": 43 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 19934, "end": 19939, "loc": { "start": { "line": 609, "column": 44 }, "end": { "line": 609, "column": 49 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 19940, "end": 19943, "loc": { "start": { "line": 609, "column": 50 }, "end": { "line": 609, "column": 53 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 19972, "end": 20633, "loc": { "start": { "line": 612, "column": 10 }, "end": { "line": 626, "column": 11 } }, "test": { "type": "Identifier", "start": 19975, "end": 19987, "loc": { "start": { "line": 612, "column": 13 }, "end": { "line": 612, "column": 25 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "consequent": { "type": "BlockStatement", "start": 19988, "end": 20633, "loc": { "start": { "line": 612, "column": 26 }, "end": { "line": 626, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 20003, "end": 20620, "loc": { "start": { "line": 613, "column": 12 }, "end": { "line": 625, "column": 15 } }, "expression": { "type": "CallExpression", "start": 20003, "end": 20619, "loc": { "start": { "line": 613, "column": 12 }, "end": { "line": 625, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 20003, "end": 20023, "loc": { "start": { "line": 613, "column": 12 }, "end": { "line": 613, "column": 32 } }, "object": { "type": "Identifier", "start": 20003, "end": 20015, "loc": { "start": { "line": 613, "column": 12 }, "end": { "line": 613, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "property": { "type": "Identifier", "start": 20016, "end": 20023, "loc": { "start": { "line": 613, "column": 25 }, "end": { "line": 613, "column": 32 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 20024, "end": 20618, "loc": { "start": { "line": 613, "column": 33 }, "end": { "line": 625, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 20024, "end": 20035, "loc": { "start": { "line": 613, "column": 33 }, "end": { "line": 613, "column": 44 }, "identifierName": "themeButton" }, "name": "themeButton" } ], "body": { "type": "BlockStatement", "start": 20039, "end": 20618, "loc": { "start": { "line": 613, "column": 48 }, "end": { "line": 625, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 20056, "end": 20106, "loc": { "start": { "line": 614, "column": 14 }, "end": { "line": 614, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20060, "end": 20105, "loc": { "start": { "line": 614, "column": 18 }, "end": { "line": 614, "column": 63 } }, "id": { "type": "Identifier", "start": 20060, "end": 20071, "loc": { "start": { "line": 614, "column": 18 }, "end": { "line": 614, "column": 29 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "init": { "type": "MemberExpression", "start": 20074, "end": 20105, "loc": { "start": { "line": 614, "column": 32 }, "end": { "line": 614, "column": 63 } }, "object": { "type": "Identifier", "start": 20074, "end": 20092, "loc": { "start": { "line": 614, "column": 32 }, "end": { "line": 614, "column": 50 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 20093, "end": 20104, "loc": { "start": { "line": 614, "column": 51 }, "end": { "line": 614, "column": 62 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 20124, "end": 20163, "loc": { "start": { "line": 616, "column": 14 }, "end": { "line": 616, "column": 53 } } } ] }, { "type": "IfStatement", "start": 20179, "end": 20603, "loc": { "start": { "line": 617, "column": 14 }, "end": { "line": 624, "column": 15 } }, "test": { "type": "Identifier", "start": 20182, "end": 20193, "loc": { "start": { "line": 617, "column": 17 }, "end": { "line": 617, "column": 28 }, "identifierName": "themeParsed" }, "name": "themeParsed", "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 20194, "end": 20512, "loc": { "start": { "line": 617, "column": 29 }, "end": { "line": 622, "column": 15 } }, "body": [ { "type": "IfStatement", "start": 20314, "end": 20495, "loc": { "start": { "line": 619, "column": 16 }, "end": { "line": 621, "column": 17 } }, "test": { "type": "UnaryExpression", "start": 20317, "end": 20385, "loc": { "start": { "line": 619, "column": 19 }, "end": { "line": 619, "column": 87 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 20318, "end": 20385, "loc": { "start": { "line": 619, "column": 20 }, "end": { "line": 619, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 20318, "end": 20345, "loc": { "start": { "line": 619, "column": 20 }, "end": { "line": 619, "column": 47 } }, "object": { "type": "MemberExpression", "start": 20318, "end": 20332, "loc": { "start": { "line": 619, "column": 20 }, "end": { "line": 619, "column": 34 } }, "object": { "type": "ThisExpression", "start": 20318, "end": 20322, "loc": { "start": { "line": 619, "column": 20 }, "end": { "line": 619, "column": 24 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 20323, "end": 20332, "loc": { "start": { "line": 619, "column": 25 }, "end": { "line": 619, "column": 34 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 20333, "end": 20345, "loc": { "start": { "line": 619, "column": 35 }, "end": { "line": 619, "column": 47 }, "identifierName": "countInArray" }, "name": "countInArray" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "CallExpression", "start": 20346, "end": 20368, "loc": { "start": { "line": 619, "column": 48 }, "end": { "line": 619, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 20346, "end": 20363, "loc": { "start": { "line": 619, "column": 48 }, "end": { "line": 619, "column": 65 } }, "object": { "type": "Identifier", "start": 20346, "end": 20357, "loc": { "start": { "line": 619, "column": 48 }, "end": { "line": 619, "column": 59 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "property": { "type": "Identifier", "start": 20358, "end": 20363, "loc": { "start": { "line": 619, "column": 60 }, "end": { "line": 619, "column": 65 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 20364, "end": 20367, "loc": { "start": { "line": 619, "column": 66 }, "end": { "line": 619, "column": 69 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, { "type": "MemberExpression", "start": 20370, "end": 20384, "loc": { "start": { "line": 619, "column": 72 }, "end": { "line": 619, "column": 86 } }, "object": { "type": "Identifier", "start": 20370, "end": 20378, "loc": { "start": { "line": 619, "column": 72 }, "end": { "line": 619, "column": 80 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 20379, "end": 20384, "loc": { "start": { "line": 619, "column": 81 }, "end": { "line": 619, "column": 86 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 20386, "end": 20495, "loc": { "start": { "line": 619, "column": 88 }, "end": { "line": 621, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 20407, "end": 20476, "loc": { "start": { "line": 620, "column": 18 }, "end": { "line": 620, "column": 87 } }, "expression": { "type": "AssignmentExpression", "start": 20407, "end": 20475, "loc": { "start": { "line": 620, "column": 18 }, "end": { "line": 620, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20407, "end": 20438, "loc": { "start": { "line": 620, "column": 18 }, "end": { "line": 620, "column": 49 } }, "object": { "type": "Identifier", "start": 20407, "end": 20425, "loc": { "start": { "line": 620, "column": 18 }, "end": { "line": 620, "column": 36 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 20426, "end": 20437, "loc": { "start": { "line": 620, "column": 37 }, "end": { "line": 620, "column": 48 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "TemplateLiteral", "start": 20441, "end": 20475, "loc": { "start": { "line": 620, "column": 52 }, "end": { "line": 620, "column": 86 } }, "expressions": [ { "type": "Identifier", "start": 20444, "end": 20455, "loc": { "start": { "line": 620, "column": 55 }, "end": { "line": 620, "column": 66 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, { "type": "MemberExpression", "start": 20459, "end": 20473, "loc": { "start": { "line": 620, "column": 70 }, "end": { "line": 620, "column": 84 } }, "object": { "type": "Identifier", "start": 20459, "end": 20467, "loc": { "start": { "line": 620, "column": 70 }, "end": { "line": 620, "column": 78 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 20468, "end": 20473, "loc": { "start": { "line": 620, "column": 79 }, "end": { "line": 620, "column": 84 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 20442, "end": 20442, "loc": { "start": { "line": 620, "column": 53 }, "end": { "line": 620, "column": 53 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 20456, "end": 20457, "loc": { "start": { "line": 620, "column": 67 }, "end": { "line": 620, "column": 68 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 20474, "end": 20474, "loc": { "start": { "line": 620, "column": 85 }, "end": { "line": 620, "column": 85 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", "start": 20213, "end": 20296, "loc": { "start": { "line": 618, "column": 16 }, "end": { "line": 618, "column": 99 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 20518, "end": 20603, "loc": { "start": { "line": 622, "column": 21 }, "end": { "line": 624, "column": 15 } }, "body": [ { "type": "ExpressionStatement", "start": 20537, "end": 20586, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 20537, "end": 20585, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20537, "end": 20568, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 47 } }, "object": { "type": "Identifier", "start": 20537, "end": 20555, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 34 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 20556, "end": 20567, "loc": { "start": { "line": 623, "column": 35 }, "end": { "line": 623, "column": 46 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "MemberExpression", "start": 20571, "end": 20585, "loc": { "start": { "line": 623, "column": 50 }, "end": { "line": 623, "column": 64 } }, "object": { "type": "Identifier", "start": 20571, "end": 20579, "loc": { "start": { "line": 623, "column": 50 }, "end": { "line": 623, "column": 58 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 20580, "end": 20585, "loc": { "start": { "line": 623, "column": 59 }, "end": { "line": 623, "column": 64 }, "identifierName": "class" }, "name": "class" }, "computed": false } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 20124, "end": 20163, "loc": { "start": { "line": 616, "column": 14 }, "end": { "line": 616, "column": 53 } } } ] } ], "directives": [] } } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 20650, "end": 20778, "loc": { "start": { "line": 627, "column": 15 }, "end": { "line": 629, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 20663, "end": 20767, "loc": { "start": { "line": 628, "column": 10 }, "end": { "line": 628, "column": 114 } }, "expression": { "type": "CallExpression", "start": 20663, "end": 20767, "loc": { "start": { "line": 628, "column": 10 }, "end": { "line": 628, "column": 114 } }, "callee": { "type": "MemberExpression", "start": 20663, "end": 20675, "loc": { "start": { "line": 628, "column": 10 }, "end": { "line": 628, "column": 22 } }, "object": { "type": "Identifier", "start": 20663, "end": 20670, "loc": { "start": { "line": 628, "column": 10 }, "end": { "line": 628, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 20671, "end": 20675, "loc": { "start": { "line": 628, "column": 18 }, "end": { "line": 628, "column": 22 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 20676, "end": 20766, "loc": { "start": { "line": 628, "column": 23 }, "end": { "line": 628, "column": 113 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 20677, "end": 20765, "loc": { "start": { "line": 628, "column": 24 }, "end": { "line": 628, "column": 112 } }, "value": { "raw": "buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation.", "cooked": "buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation." }, "tail": true } ] } ] } } ], "directives": [] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 20804, "end": 20870, "loc": { "start": { "line": 633, "column": 4 }, "end": { "line": 635, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 20876, "end": 20946, "loc": { "start": { "line": 636, "column": 4 }, "end": { "line": 636, "column": 74 } }, "expression": { "type": "AssignmentExpression", "start": 20876, "end": 20945, "loc": { "start": { "line": 636, "column": 4 }, "end": { "line": 636, "column": 73 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 20876, "end": 20902, "loc": { "start": { "line": 636, "column": 4 }, "end": { "line": 636, "column": 30 } }, "object": { "type": "MemberExpression", "start": 20876, "end": 20892, "loc": { "start": { "line": 636, "column": 4 }, "end": { "line": 636, "column": 20 } }, "object": { "type": "ThisExpression", "start": 20876, "end": 20880, "loc": { "start": { "line": 636, "column": 4 }, "end": { "line": 636, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 20881, "end": 20892, "loc": { "start": { "line": 636, "column": 9 }, "end": { "line": 636, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 20893, "end": 20902, "loc": { "start": { "line": 636, "column": 21 }, "end": { "line": 636, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false, "leadingComments": null }, "right": { "type": "TemplateLiteral", "start": 20906, "end": 20945, "loc": { "start": { "line": 636, "column": 34 }, "end": { "line": 636, "column": 73 } }, "expressions": [ { "type": "MemberExpression", "start": 20910, "end": 20928, "loc": { "start": { "line": 636, "column": 38 }, "end": { "line": 636, "column": 56 } }, "object": { "type": "MemberExpression", "start": 20910, "end": 20922, "loc": { "start": { "line": 636, "column": 38 }, "end": { "line": 636, "column": 50 } }, "object": { "type": "ThisExpression", "start": 20910, "end": 20914, "loc": { "start": { "line": 636, "column": 38 }, "end": { "line": 636, "column": 42 } } }, "property": { "type": "Identifier", "start": 20915, "end": 20922, "loc": { "start": { "line": 636, "column": 43 }, "end": { "line": 636, "column": 50 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20923, "end": 20928, "loc": { "start": { "line": 636, "column": 51 }, "end": { "line": 636, "column": 56 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, { "type": "Identifier", "start": 20932, "end": 20943, "loc": { "start": { "line": 636, "column": 60 }, "end": { "line": 636, "column": 71 }, "identifierName": "layoutClass" }, "name": "layoutClass" } ], "quasis": [ { "type": "TemplateElement", "start": 20907, "end": 20908, "loc": { "start": { "line": 636, "column": 35 }, "end": { "line": 636, "column": 36 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 20929, "end": 20930, "loc": { "start": { "line": 636, "column": 57 }, "end": { "line": 636, "column": 58 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 20944, "end": 20944, "loc": { "start": { "line": 636, "column": 72 }, "end": { "line": 636, "column": 72 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 20804, "end": 20870, "loc": { "start": { "line": 633, "column": 4 }, "end": { "line": 635, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 20954, "end": 21001, "loc": { "start": { "line": 638, "column": 4 }, "end": { "line": 640, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 21007, "end": 23203, "loc": { "start": { "line": 641, "column": 4 }, "end": { "line": 709, "column": 7 } }, "expression": { "type": "CallExpression", "start": 21007, "end": 23202, "loc": { "start": { "line": 641, "column": 4 }, "end": { "line": 709, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 21007, "end": 21046, "loc": { "start": { "line": 641, "column": 4 }, "end": { "line": 641, "column": 43 } }, "object": { "type": "MemberExpression", "start": 21007, "end": 21038, "loc": { "start": { "line": 641, "column": 4 }, "end": { "line": 641, "column": 35 } }, "object": { "type": "Identifier", "start": 21007, "end": 21013, "loc": { "start": { "line": 641, "column": 4 }, "end": { "line": 641, "column": 10 }, "identifierName": "layout" }, "name": "layout", "leadingComments": null }, "property": { "type": "MemberExpression", "start": 21014, "end": 21037, "loc": { "start": { "line": 641, "column": 11 }, "end": { "line": 641, "column": 34 } }, "object": { "type": "MemberExpression", "start": 21014, "end": 21026, "loc": { "start": { "line": 641, "column": 11 }, "end": { "line": 641, "column": 23 } }, "object": { "type": "ThisExpression", "start": 21014, "end": 21018, "loc": { "start": { "line": 641, "column": 11 }, "end": { "line": 641, "column": 15 } } }, "property": { "type": "Identifier", "start": 21019, "end": 21026, "loc": { "start": { "line": 641, "column": 16 }, "end": { "line": 641, "column": 23 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21027, "end": 21037, "loc": { "start": { "line": 641, "column": 24 }, "end": { "line": 641, "column": 34 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 21039, "end": 21046, "loc": { "start": { "line": 641, "column": 36 }, "end": { "line": 641, "column": 43 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 21047, "end": 23201, "loc": { "start": { "line": 641, "column": 44 }, "end": { "line": 709, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 21048, "end": 21051, "loc": { "start": { "line": 641, "column": 45 }, "end": { "line": 641, "column": 48 }, "identifierName": "row" }, "name": "row" }, { "type": "Identifier", "start": 21053, "end": 21059, "loc": { "start": { "line": 641, "column": 50 }, "end": { "line": 641, "column": 56 }, "identifierName": "rIndex" }, "name": "rIndex" } ], "body": { "type": "BlockStatement", "start": 21064, "end": 23201, "loc": { "start": { "line": 641, "column": 61 }, "end": { "line": 709, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 21073, "end": 21103, "loc": { "start": { "line": 642, "column": 6 }, "end": { "line": 642, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21077, "end": 21102, "loc": { "start": { "line": 642, "column": 10 }, "end": { "line": 642, "column": 35 } }, "id": { "type": "Identifier", "start": 21077, "end": 21085, "loc": { "start": { "line": 642, "column": 10 }, "end": { "line": 642, "column": 18 }, "identifierName": "rowArray" }, "name": "rowArray" }, "init": { "type": "CallExpression", "start": 21088, "end": 21102, "loc": { "start": { "line": 642, "column": 21 }, "end": { "line": 642, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 21088, "end": 21097, "loc": { "start": { "line": 642, "column": 21 }, "end": { "line": 642, "column": 30 } }, "object": { "type": "Identifier", "start": 21088, "end": 21091, "loc": { "start": { "line": 642, "column": 21 }, "end": { "line": 642, "column": 24 }, "identifierName": "row" }, "name": "row" }, "property": { "type": "Identifier", "start": 21092, "end": 21097, "loc": { "start": { "line": 642, "column": 25 }, "end": { "line": 642, "column": 30 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21098, "end": 21101, "loc": { "start": { "line": 642, "column": 31 }, "end": { "line": 642, "column": 34 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 21113, "end": 21156, "loc": { "start": { "line": 644, "column": 6 }, "end": { "line": 646, "column": 9 } } } ] }, { "type": "VariableDeclaration", "start": 21164, "end": 21207, "loc": { "start": { "line": 647, "column": 6 }, "end": { "line": 647, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21168, "end": 21206, "loc": { "start": { "line": 647, "column": 10 }, "end": { "line": 647, "column": 48 } }, "id": { "type": "Identifier", "start": 21168, "end": 21174, "loc": { "start": { "line": 647, "column": 10 }, "end": { "line": 647, "column": 16 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 21177, "end": 21206, "loc": { "start": { "line": 647, "column": 19 }, "end": { "line": 647, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 21177, "end": 21199, "loc": { "start": { "line": 647, "column": 19 }, "end": { "line": 647, "column": 41 } }, "object": { "type": "Identifier", "start": 21177, "end": 21185, "loc": { "start": { "line": 647, "column": 19 }, "end": { "line": 647, "column": 27 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 21186, "end": 21199, "loc": { "start": { "line": 647, "column": 28 }, "end": { "line": 647, "column": 41 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21200, "end": 21205, "loc": { "start": { "line": 647, "column": 42 }, "end": { "line": 647, "column": 47 } }, "extra": { "rawValue": "div", "raw": "'div'" }, "value": "div" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 21113, "end": 21156, "loc": { "start": { "line": 644, "column": 6 }, "end": { "line": 646, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 21215, "end": 21244, "loc": { "start": { "line": 648, "column": 6 }, "end": { "line": 648, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 21215, "end": 21243, "loc": { "start": { "line": 648, "column": 6 }, "end": { "line": 648, "column": 34 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 21215, "end": 21231, "loc": { "start": { "line": 648, "column": 6 }, "end": { "line": 648, "column": 22 } }, "object": { "type": "Identifier", "start": 21215, "end": 21221, "loc": { "start": { "line": 648, "column": 6 }, "end": { "line": 648, "column": 12 }, "identifierName": "rowDOM" }, "name": "rowDOM" }, "property": { "type": "Identifier", "start": 21222, "end": 21231, "loc": { "start": { "line": 648, "column": 13 }, "end": { "line": 648, "column": 22 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "StringLiteral", "start": 21235, "end": 21243, "loc": { "start": { "line": 648, "column": 26 }, "end": { "line": 648, "column": 34 } }, "extra": { "rawValue": "hg-row", "raw": "\"hg-row\"" }, "value": "hg-row" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 21254, "end": 21315, "loc": { "start": { "line": 650, "column": 6 }, "end": { "line": 652, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 21323, "end": 23089, "loc": { "start": { "line": 653, "column": 6 }, "end": { "line": 703, "column": 9 } }, "expression": { "type": "CallExpression", "start": 21323, "end": 23088, "loc": { "start": { "line": 653, "column": 6 }, "end": { "line": 703, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 21323, "end": 21339, "loc": { "start": { "line": 653, "column": 6 }, "end": { "line": 653, "column": 22 } }, "object": { "type": "Identifier", "start": 21323, "end": 21331, "loc": { "start": { "line": 653, "column": 6 }, "end": { "line": 653, "column": 14 }, "identifierName": "rowArray" }, "name": "rowArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 21332, "end": 21339, "loc": { "start": { "line": 653, "column": 15 }, "end": { "line": 653, "column": 22 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 21340, "end": 23087, "loc": { "start": { "line": 653, "column": 23 }, "end": { "line": 703, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 21341, "end": 21347, "loc": { "start": { "line": 653, "column": 24 }, "end": { "line": 653, "column": 30 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 21349, "end": 21355, "loc": { "start": { "line": 653, "column": 32 }, "end": { "line": 653, "column": 38 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "body": { "type": "BlockStatement", "start": 21360, "end": 23087, "loc": { "start": { "line": 653, "column": 43 }, "end": { "line": 703, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 21371, "end": 21427, "loc": { "start": { "line": 654, "column": 8 }, "end": { "line": 654, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21375, "end": 21426, "loc": { "start": { "line": 654, "column": 12 }, "end": { "line": 654, "column": 63 } }, "id": { "type": "Identifier", "start": 21375, "end": 21386, "loc": { "start": { "line": 654, "column": 12 }, "end": { "line": 654, "column": 23 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, "init": { "type": "CallExpression", "start": 21389, "end": 21426, "loc": { "start": { "line": 654, "column": 26 }, "end": { "line": 654, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 21389, "end": 21418, "loc": { "start": { "line": 654, "column": 26 }, "end": { "line": 654, "column": 55 } }, "object": { "type": "MemberExpression", "start": 21389, "end": 21403, "loc": { "start": { "line": 654, "column": 26 }, "end": { "line": 654, "column": 40 } }, "object": { "type": "ThisExpression", "start": 21389, "end": 21393, "loc": { "start": { "line": 654, "column": 26 }, "end": { "line": 654, "column": 30 } } }, "property": { "type": "Identifier", "start": 21394, "end": 21403, "loc": { "start": { "line": 654, "column": 31 }, "end": { "line": 654, "column": 40 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 21404, "end": 21418, "loc": { "start": { "line": 654, "column": 41 }, "end": { "line": 654, "column": 55 }, "identifierName": "getButtonClass" }, "name": "getButtonClass" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 21419, "end": 21425, "loc": { "start": { "line": 654, "column": 56 }, "end": { "line": 654, "column": 62 }, "identifierName": "button" }, "name": "button" } ] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 21437, "end": 21487, "loc": { "start": { "line": 655, "column": 8 }, "end": { "line": 655, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21441, "end": 21486, "loc": { "start": { "line": 655, "column": 12 }, "end": { "line": 655, "column": 57 } }, "id": { "type": "Identifier", "start": 21441, "end": 21457, "loc": { "start": { "line": 655, "column": 12 }, "end": { "line": 655, "column": 28 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "init": { "type": "MemberExpression", "start": 21460, "end": 21486, "loc": { "start": { "line": 655, "column": 31 }, "end": { "line": 655, "column": 57 } }, "object": { "type": "Identifier", "start": 21460, "end": 21478, "loc": { "start": { "line": 655, "column": 31 }, "end": { "line": 655, "column": 49 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 21479, "end": 21485, "loc": { "start": { "line": 655, "column": 50 }, "end": { "line": 655, "column": 56 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 21497, "end": 21614, "loc": { "start": { "line": 656, "column": 8 }, "end": { "line": 656, "column": 125 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21501, "end": 21613, "loc": { "start": { "line": 656, "column": 12 }, "end": { "line": 656, "column": 124 } }, "id": { "type": "Identifier", "start": 21501, "end": 21518, "loc": { "start": { "line": 656, "column": 12 }, "end": { "line": 656, "column": 29 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" }, "init": { "type": "CallExpression", "start": 21521, "end": 21613, "loc": { "start": { "line": 656, "column": 32 }, "end": { "line": 656, "column": 124 } }, "callee": { "type": "MemberExpression", "start": 21521, "end": 21556, "loc": { "start": { "line": 656, "column": 32 }, "end": { "line": 656, "column": 67 } }, "object": { "type": "MemberExpression", "start": 21521, "end": 21535, "loc": { "start": { "line": 656, "column": 32 }, "end": { "line": 656, "column": 46 } }, "object": { "type": "ThisExpression", "start": 21521, "end": 21525, "loc": { "start": { "line": 656, "column": 32 }, "end": { "line": 656, "column": 36 } } }, "property": { "type": "Identifier", "start": 21526, "end": 21535, "loc": { "start": { "line": 656, "column": 37 }, "end": { "line": 656, "column": 46 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 21536, "end": 21556, "loc": { "start": { "line": 656, "column": 47 }, "end": { "line": 656, "column": 67 }, "identifierName": "getButtonDisplayName" }, "name": "getButtonDisplayName" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 21557, "end": 21563, "loc": { "start": { "line": 656, "column": 68 }, "end": { "line": 656, "column": 74 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 21565, "end": 21585, "loc": { "start": { "line": 656, "column": 76 }, "end": { "line": 656, "column": 96 } }, "object": { "type": "MemberExpression", "start": 21565, "end": 21577, "loc": { "start": { "line": 656, "column": 76 }, "end": { "line": 656, "column": 88 } }, "object": { "type": "ThisExpression", "start": 21565, "end": 21569, "loc": { "start": { "line": 656, "column": 76 }, "end": { "line": 656, "column": 80 } } }, "property": { "type": "Identifier", "start": 21570, "end": 21577, "loc": { "start": { "line": 656, "column": 81 }, "end": { "line": 656, "column": 88 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21578, "end": 21585, "loc": { "start": { "line": 656, "column": 89 }, "end": { "line": 656, "column": 96 }, "identifierName": "display" }, "name": "display" }, "computed": false }, { "type": "MemberExpression", "start": 21587, "end": 21612, "loc": { "start": { "line": 656, "column": 98 }, "end": { "line": 656, "column": 123 } }, "object": { "type": "MemberExpression", "start": 21587, "end": 21599, "loc": { "start": { "line": 656, "column": 98 }, "end": { "line": 656, "column": 110 } }, "object": { "type": "ThisExpression", "start": 21587, "end": 21591, "loc": { "start": { "line": 656, "column": 98 }, "end": { "line": 656, "column": 102 } } }, "property": { "type": "Identifier", "start": 21592, "end": 21599, "loc": { "start": { "line": 656, "column": 103 }, "end": { "line": 656, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21600, "end": 21612, "loc": { "start": { "line": 656, "column": 111 }, "end": { "line": 656, "column": 123 }, "identifierName": "mergeDisplay" }, "name": "mergeDisplay" }, "computed": false } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 21626, "end": 21670, "loc": { "start": { "line": 658, "column": 8 }, "end": { "line": 660, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 21680, "end": 21726, "loc": { "start": { "line": 661, "column": 8 }, "end": { "line": 661, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21684, "end": 21725, "loc": { "start": { "line": 661, "column": 12 }, "end": { "line": 661, "column": 53 } }, "id": { "type": "Identifier", "start": 21684, "end": 21693, "loc": { "start": { "line": 661, "column": 12 }, "end": { "line": 661, "column": 21 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 21696, "end": 21725, "loc": { "start": { "line": 661, "column": 24 }, "end": { "line": 661, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 21696, "end": 21718, "loc": { "start": { "line": 661, "column": 24 }, "end": { "line": 661, "column": 46 } }, "object": { "type": "Identifier", "start": 21696, "end": 21704, "loc": { "start": { "line": 661, "column": 24 }, "end": { "line": 661, "column": 32 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 21705, "end": 21718, "loc": { "start": { "line": 661, "column": 33 }, "end": { "line": 661, "column": 46 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21719, "end": 21724, "loc": { "start": { "line": 661, "column": 47 }, "end": { "line": 661, "column": 52 } }, "extra": { "rawValue": "div", "raw": "'div'" }, "value": "div" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 21626, "end": 21670, "loc": { "start": { "line": 658, "column": 8 }, "end": { "line": 660, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 21736, "end": 21833, "loc": { "start": { "line": 662, "column": 8 }, "end": { "line": 662, "column": 105 } }, "expression": { "type": "AssignmentExpression", "start": 21736, "end": 21832, "loc": { "start": { "line": 662, "column": 8 }, "end": { "line": 662, "column": 104 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 21736, "end": 21755, "loc": { "start": { "line": 662, "column": 8 }, "end": { "line": 662, "column": 27 } }, "object": { "type": "Identifier", "start": 21736, "end": 21745, "loc": { "start": { "line": 662, "column": 8 }, "end": { "line": 662, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 21746, "end": 21755, "loc": { "start": { "line": 662, "column": 18 }, "end": { "line": 662, "column": 27 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "TemplateLiteral", "start": 21759, "end": 21832, "loc": { "start": { "line": 662, "column": 31 }, "end": { "line": 662, "column": 104 } }, "expressions": [ { "type": "Identifier", "start": 21772, "end": 21783, "loc": { "start": { "line": 662, "column": 44 }, "end": { "line": 662, "column": 55 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, { "type": "ConditionalExpression", "start": 21786, "end": 21830, "loc": { "start": { "line": 662, "column": 58 }, "end": { "line": 662, "column": 102 } }, "test": { "type": "Identifier", "start": 21786, "end": 21802, "loc": { "start": { "line": 662, "column": 58 }, "end": { "line": 662, "column": 74 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "consequent": { "type": "BinaryExpression", "start": 21805, "end": 21825, "loc": { "start": { "line": 662, "column": 77 }, "end": { "line": 662, "column": 97 } }, "left": { "type": "StringLiteral", "start": 21805, "end": 21808, "loc": { "start": { "line": 662, "column": 77 }, "end": { "line": 662, "column": 80 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " }, "operator": "+", "right": { "type": "Identifier", "start": 21809, "end": 21825, "loc": { "start": { "line": 662, "column": 81 }, "end": { "line": 662, "column": 97 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" } }, "alternate": { "type": "StringLiteral", "start": 21828, "end": 21830, "loc": { "start": { "line": 662, "column": 100 }, "end": { "line": 662, "column": 102 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "quasis": [ { "type": "TemplateElement", "start": 21760, "end": 21770, "loc": { "start": { "line": 662, "column": 32 }, "end": { "line": 662, "column": 42 } }, "value": { "raw": "hg-button ", "cooked": "hg-button " }, "tail": false }, { "type": "TemplateElement", "start": 21784, "end": 21784, "loc": { "start": { "line": 662, "column": 56 }, "end": { "line": 662, "column": 56 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 21831, "end": 21831, "loc": { "start": { "line": 662, "column": 103 }, "end": { "line": 662, "column": 103 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } }, { "type": "ExpressionStatement", "start": 21843, "end": 21902, "loc": { "start": { "line": 663, "column": 8 }, "end": { "line": 663, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 21843, "end": 21901, "loc": { "start": { "line": 663, "column": 8 }, "end": { "line": 663, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 21843, "end": 21860, "loc": { "start": { "line": 663, "column": 8 }, "end": { "line": 663, "column": 25 } }, "object": { "type": "Identifier", "start": 21843, "end": 21852, "loc": { "start": { "line": 663, "column": 8 }, "end": { "line": 663, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 21853, "end": 21860, "loc": { "start": { "line": 663, "column": 18 }, "end": { "line": 663, "column": 25 }, "identifierName": "onclick" }, "name": "onclick" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 21863, "end": 21901, "loc": { "start": { "line": 663, "column": 28 }, "end": { "line": 663, "column": 66 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 21869, "end": 21901, "loc": { "start": { "line": 663, "column": 34 }, "end": { "line": 663, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 21869, "end": 21893, "loc": { "start": { "line": 663, "column": 34 }, "end": { "line": 663, "column": 58 } }, "object": { "type": "ThisExpression", "start": 21869, "end": 21873, "loc": { "start": { "line": 663, "column": 34 }, "end": { "line": 663, "column": 38 } } }, "property": { "type": "Identifier", "start": 21874, "end": 21893, "loc": { "start": { "line": 663, "column": 39 }, "end": { "line": 663, "column": 58 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 21894, "end": 21900, "loc": { "start": { "line": 663, "column": 59 }, "end": { "line": 663, "column": 65 }, "identifierName": "button" }, "name": "button" } ] } } } }, { "type": "ExpressionStatement", "start": 21912, "end": 21981, "loc": { "start": { "line": 664, "column": 8 }, "end": { "line": 664, "column": 77 } }, "expression": { "type": "AssignmentExpression", "start": 21912, "end": 21980, "loc": { "start": { "line": 664, "column": 8 }, "end": { "line": 664, "column": 76 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 21912, "end": 21933, "loc": { "start": { "line": 664, "column": 8 }, "end": { "line": 664, "column": 29 } }, "object": { "type": "Identifier", "start": 21912, "end": 21921, "loc": { "start": { "line": 664, "column": 8 }, "end": { "line": 664, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 21922, "end": 21933, "loc": { "start": { "line": 664, "column": 18 }, "end": { "line": 664, "column": 29 }, "identifierName": "onmousedown" }, "name": "onmousedown" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 21936, "end": 21980, "loc": { "start": { "line": 664, "column": 32 }, "end": { "line": 664, "column": 76 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 21937, "end": 21938, "loc": { "start": { "line": 664, "column": 33 }, "end": { "line": 664, "column": 34 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "CallExpression", "start": 21943, "end": 21980, "loc": { "start": { "line": 664, "column": 39 }, "end": { "line": 664, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 21943, "end": 21969, "loc": { "start": { "line": 664, "column": 39 }, "end": { "line": 664, "column": 65 } }, "object": { "type": "ThisExpression", "start": 21943, "end": 21947, "loc": { "start": { "line": 664, "column": 39 }, "end": { "line": 664, "column": 43 } } }, "property": { "type": "Identifier", "start": 21948, "end": 21969, "loc": { "start": { "line": 664, "column": 44 }, "end": { "line": 664, "column": 65 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 21970, "end": 21976, "loc": { "start": { "line": 664, "column": 66 }, "end": { "line": 664, "column": 72 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 21978, "end": 21979, "loc": { "start": { "line": 664, "column": 74 }, "end": { "line": 664, "column": 75 }, "identifierName": "e" }, "name": "e" } ] } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 21993, "end": 22039, "loc": { "start": { "line": 666, "column": 8 }, "end": { "line": 668, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22049, "end": 22094, "loc": { "start": { "line": 669, "column": 8 }, "end": { "line": 669, "column": 53 } }, "expression": { "type": "CallExpression", "start": 22049, "end": 22093, "loc": { "start": { "line": 669, "column": 8 }, "end": { "line": 669, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 22049, "end": 22071, "loc": { "start": { "line": 669, "column": 8 }, "end": { "line": 669, "column": 30 } }, "object": { "type": "Identifier", "start": 22049, "end": 22058, "loc": { "start": { "line": 669, "column": 8 }, "end": { "line": 669, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 22059, "end": 22071, "loc": { "start": { "line": 669, "column": 18 }, "end": { "line": 669, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 22072, "end": 22084, "loc": { "start": { "line": 669, "column": 31 }, "end": { "line": 669, "column": 43 } }, "extra": { "rawValue": "data-skBtn", "raw": "\"data-skBtn\"" }, "value": "data-skBtn" }, { "type": "Identifier", "start": 22086, "end": 22092, "loc": { "start": { "line": 669, "column": 45 }, "end": { "line": 669, "column": 51 }, "identifierName": "button" }, "name": "button" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 21993, "end": 22039, "loc": { "start": { "line": 666, "column": 8 }, "end": { "line": 668, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", "start": 22106, "end": 22261, "loc": { "start": { "line": 671, "column": 8 }, "end": { "line": 674, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 22271, "end": 22337, "loc": { "start": { "line": 675, "column": 8 }, "end": { "line": 675, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22275, "end": 22336, "loc": { "start": { "line": 675, "column": 12 }, "end": { "line": 675, "column": 73 } }, "id": { "type": "Identifier", "start": 22275, "end": 22284, "loc": { "start": { "line": 675, "column": 12 }, "end": { "line": 675, "column": 21 }, "identifierName": "buttonUID" }, "name": "buttonUID", "leadingComments": null }, "init": { "type": "TemplateLiteral", "start": 22287, "end": 22336, "loc": { "start": { "line": 675, "column": 24 }, "end": { "line": 675, "column": 73 } }, "expressions": [ { "type": "MemberExpression", "start": 22290, "end": 22313, "loc": { "start": { "line": 675, "column": 27 }, "end": { "line": 675, "column": 50 } }, "object": { "type": "MemberExpression", "start": 22290, "end": 22302, "loc": { "start": { "line": 675, "column": 27 }, "end": { "line": 675, "column": 39 } }, "object": { "type": "ThisExpression", "start": 22290, "end": 22294, "loc": { "start": { "line": 675, "column": 27 }, "end": { "line": 675, "column": 31 } } }, "property": { "type": "Identifier", "start": 22295, "end": 22302, "loc": { "start": { "line": 675, "column": 32 }, "end": { "line": 675, "column": 39 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 22303, "end": 22313, "loc": { "start": { "line": 675, "column": 40 }, "end": { "line": 675, "column": 50 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, { "type": "Identifier", "start": 22318, "end": 22324, "loc": { "start": { "line": 675, "column": 55 }, "end": { "line": 675, "column": 61 }, "identifierName": "rIndex" }, "name": "rIndex" }, { "type": "Identifier", "start": 22328, "end": 22334, "loc": { "start": { "line": 675, "column": 65 }, "end": { "line": 675, "column": 71 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "quasis": [ { "type": "TemplateElement", "start": 22288, "end": 22288, "loc": { "start": { "line": 675, "column": 25 }, "end": { "line": 675, "column": 25 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 22314, "end": 22316, "loc": { "start": { "line": 675, "column": 51 }, "end": { "line": 675, "column": 53 } }, "value": { "raw": "-r", "cooked": "-r" }, "tail": false }, { "type": "TemplateElement", "start": 22325, "end": 22326, "loc": { "start": { "line": 675, "column": 62 }, "end": { "line": 675, "column": 63 } }, "value": { "raw": "b", "cooked": "b" }, "tail": false }, { "type": "TemplateElement", "start": 22335, "end": 22335, "loc": { "start": { "line": 675, "column": 72 }, "end": { "line": 675, "column": 72 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", "start": 22106, "end": 22261, "loc": { "start": { "line": 671, "column": 8 }, "end": { "line": 674, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22347, "end": 22398, "loc": { "start": { "line": 676, "column": 8 }, "end": { "line": 676, "column": 59 } }, "expression": { "type": "CallExpression", "start": 22347, "end": 22397, "loc": { "start": { "line": 676, "column": 8 }, "end": { "line": 676, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 22347, "end": 22369, "loc": { "start": { "line": 676, "column": 8 }, "end": { "line": 676, "column": 30 } }, "object": { "type": "Identifier", "start": 22347, "end": 22356, "loc": { "start": { "line": 676, "column": 8 }, "end": { "line": 676, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 22357, "end": 22369, "loc": { "start": { "line": 676, "column": 18 }, "end": { "line": 676, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22370, "end": 22385, "loc": { "start": { "line": 676, "column": 31 }, "end": { "line": 676, "column": 46 } }, "extra": { "rawValue": "data-skBtnUID", "raw": "\"data-skBtnUID\"" }, "value": "data-skBtnUID" }, { "type": "Identifier", "start": 22387, "end": 22396, "loc": { "start": { "line": 676, "column": 48 }, "end": { "line": 676, "column": 57 }, "identifierName": "buttonUID" }, "name": "buttonUID" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 22410, "end": 22459, "loc": { "start": { "line": 678, "column": 8 }, "end": { "line": 680, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22469, "end": 22532, "loc": { "start": { "line": 681, "column": 8 }, "end": { "line": 681, "column": 71 } }, "expression": { "type": "CallExpression", "start": 22469, "end": 22531, "loc": { "start": { "line": 681, "column": 8 }, "end": { "line": 681, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 22469, "end": 22491, "loc": { "start": { "line": 681, "column": 8 }, "end": { "line": 681, "column": 30 } }, "object": { "type": "Identifier", "start": 22469, "end": 22478, "loc": { "start": { "line": 681, "column": 8 }, "end": { "line": 681, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 22479, "end": 22491, "loc": { "start": { "line": 681, "column": 18 }, "end": { "line": 681, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 22492, "end": 22511, "loc": { "start": { "line": 681, "column": 31 }, "end": { "line": 681, "column": 50 } }, "extra": { "rawValue": "data-displayLabel", "raw": "\"data-displayLabel\"" }, "value": "data-displayLabel" }, { "type": "Identifier", "start": 22513, "end": 22530, "loc": { "start": { "line": 681, "column": 52 }, "end": { "line": 681, "column": 69 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 22410, "end": 22459, "loc": { "start": { "line": 678, "column": 8 }, "end": { "line": 680, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 22544, "end": 22602, "loc": { "start": { "line": 683, "column": 8 }, "end": { "line": 685, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 22612, "end": 22663, "loc": { "start": { "line": 686, "column": 8 }, "end": { "line": 686, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22616, "end": 22662, "loc": { "start": { "line": 686, "column": 12 }, "end": { "line": 686, "column": 58 } }, "id": { "type": "Identifier", "start": 22616, "end": 22629, "loc": { "start": { "line": 686, "column": 12 }, "end": { "line": 686, "column": 25 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 22632, "end": 22662, "loc": { "start": { "line": 686, "column": 28 }, "end": { "line": 686, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 22632, "end": 22654, "loc": { "start": { "line": 686, "column": 28 }, "end": { "line": 686, "column": 50 } }, "object": { "type": "Identifier", "start": 22632, "end": 22640, "loc": { "start": { "line": 686, "column": 28 }, "end": { "line": 686, "column": 36 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 22641, "end": 22654, "loc": { "start": { "line": 686, "column": 37 }, "end": { "line": 686, "column": 50 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22655, "end": 22661, "loc": { "start": { "line": 686, "column": 51 }, "end": { "line": 686, "column": 57 } }, "extra": { "rawValue": "span", "raw": "'span'" }, "value": "span" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 22544, "end": 22602, "loc": { "start": { "line": 683, "column": 8 }, "end": { "line": 685, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22673, "end": 22717, "loc": { "start": { "line": 687, "column": 8 }, "end": { "line": 687, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 22673, "end": 22716, "loc": { "start": { "line": 687, "column": 8 }, "end": { "line": 687, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22673, "end": 22696, "loc": { "start": { "line": 687, "column": 8 }, "end": { "line": 687, "column": 31 } }, "object": { "type": "Identifier", "start": 22673, "end": 22686, "loc": { "start": { "line": 687, "column": 8 }, "end": { "line": 687, "column": 21 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" }, "property": { "type": "Identifier", "start": 22687, "end": 22696, "loc": { "start": { "line": 687, "column": 22 }, "end": { "line": 687, "column": 31 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "Identifier", "start": 22699, "end": 22716, "loc": { "start": { "line": 687, "column": 34 }, "end": { "line": 687, "column": 51 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } } }, { "type": "ExpressionStatement", "start": 22727, "end": 22764, "loc": { "start": { "line": 688, "column": 8 }, "end": { "line": 688, "column": 45 } }, "expression": { "type": "CallExpression", "start": 22727, "end": 22763, "loc": { "start": { "line": 688, "column": 8 }, "end": { "line": 688, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 22727, "end": 22748, "loc": { "start": { "line": 688, "column": 8 }, "end": { "line": 688, "column": 29 } }, "object": { "type": "Identifier", "start": 22727, "end": 22736, "loc": { "start": { "line": 688, "column": 8 }, "end": { "line": 688, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 22737, "end": 22748, "loc": { "start": { "line": 688, "column": 18 }, "end": { "line": 688, "column": 29 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22749, "end": 22762, "loc": { "start": { "line": 688, "column": 30 }, "end": { "line": 688, "column": 43 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 22776, "end": 22829, "loc": { "start": { "line": 690, "column": 8 }, "end": { "line": 692, "column": 11 } } } ] }, { "type": "IfStatement", "start": 22839, "end": 22916, "loc": { "start": { "line": 693, "column": 8 }, "end": { "line": 694, "column": 43 } }, "test": { "type": "UnaryExpression", "start": 22842, "end": 22870, "loc": { "start": { "line": 693, "column": 11 }, "end": { "line": 693, "column": 39 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 22843, "end": 22870, "loc": { "start": { "line": 693, "column": 12 }, "end": { "line": 693, "column": 39 } }, "object": { "type": "MemberExpression", "start": 22843, "end": 22862, "loc": { "start": { "line": 693, "column": 12 }, "end": { "line": 693, "column": 31 } }, "object": { "type": "ThisExpression", "start": 22843, "end": 22847, "loc": { "start": { "line": 693, "column": 12 }, "end": { "line": 693, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 22848, "end": 22862, "loc": { "start": { "line": 693, "column": 17 }, "end": { "line": 693, "column": 31 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 22863, "end": 22869, "loc": { "start": { "line": 693, "column": 32 }, "end": { "line": 693, "column": 38 }, "identifierName": "button" }, "name": "button" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 22883, "end": 22916, "loc": { "start": { "line": 694, "column": 10 }, "end": { "line": 694, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 22883, "end": 22915, "loc": { "start": { "line": 694, "column": 10 }, "end": { "line": 694, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22883, "end": 22910, "loc": { "start": { "line": 694, "column": 10 }, "end": { "line": 694, "column": 37 } }, "object": { "type": "MemberExpression", "start": 22883, "end": 22902, "loc": { "start": { "line": 694, "column": 10 }, "end": { "line": 694, "column": 29 } }, "object": { "type": "ThisExpression", "start": 22883, "end": 22887, "loc": { "start": { "line": 694, "column": 10 }, "end": { "line": 694, "column": 14 } } }, "property": { "type": "Identifier", "start": 22888, "end": 22902, "loc": { "start": { "line": 694, "column": 15 }, "end": { "line": 694, "column": 29 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 22903, "end": 22909, "loc": { "start": { "line": 694, "column": 30 }, "end": { "line": 694, "column": 36 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "right": { "type": "ArrayExpression", "start": 22913, "end": 22915, "loc": { "start": { "line": 694, "column": 40 }, "end": { "line": 694, "column": 42 } }, "elements": [] } } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 22776, "end": 22829, "loc": { "start": { "line": 690, "column": 8 }, "end": { "line": 692, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22928, "end": 22972, "loc": { "start": { "line": 696, "column": 8 }, "end": { "line": 696, "column": 52 } }, "expression": { "type": "CallExpression", "start": 22928, "end": 22971, "loc": { "start": { "line": 696, "column": 8 }, "end": { "line": 696, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 22928, "end": 22960, "loc": { "start": { "line": 696, "column": 8 }, "end": { "line": 696, "column": 40 } }, "object": { "type": "MemberExpression", "start": 22928, "end": 22955, "loc": { "start": { "line": 696, "column": 8 }, "end": { "line": 696, "column": 35 } }, "object": { "type": "MemberExpression", "start": 22928, "end": 22947, "loc": { "start": { "line": 696, "column": 8 }, "end": { "line": 696, "column": 27 } }, "object": { "type": "ThisExpression", "start": 22928, "end": 22932, "loc": { "start": { "line": 696, "column": 8 }, "end": { "line": 696, "column": 12 } } }, "property": { "type": "Identifier", "start": 22933, "end": 22947, "loc": { "start": { "line": 696, "column": 13 }, "end": { "line": 696, "column": 27 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 22948, "end": 22954, "loc": { "start": { "line": 696, "column": 28 }, "end": { "line": 696, "column": 34 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "property": { "type": "Identifier", "start": 22956, "end": 22960, "loc": { "start": { "line": 696, "column": 36 }, "end": { "line": 696, "column": 40 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22961, "end": 22970, "loc": { "start": { "line": 696, "column": 41 }, "end": { "line": 696, "column": 50 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 22984, "end": 23036, "loc": { "start": { "line": 698, "column": 8 }, "end": { "line": 700, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23046, "end": 23076, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 38 } }, "expression": { "type": "CallExpression", "start": 23046, "end": 23075, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 23046, "end": 23064, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 26 } }, "object": { "type": "Identifier", "start": 23046, "end": 23052, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 14 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 23053, "end": 23064, "loc": { "start": { "line": 701, "column": 15 }, "end": { "line": 701, "column": 26 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 23065, "end": 23074, "loc": { "start": { "line": 701, "column": 27 }, "end": { "line": 701, "column": 36 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 22984, "end": 23036, "loc": { "start": { "line": 698, "column": 8 }, "end": { "line": 700, "column": 11 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 21254, "end": 21315, "loc": { "start": { "line": 650, "column": 6 }, "end": { "line": 652, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 23099, "end": 23149, "loc": { "start": { "line": 705, "column": 6 }, "end": { "line": 707, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 23157, "end": 23194, "loc": { "start": { "line": 708, "column": 6 }, "end": { "line": 708, "column": 43 } }, "expression": { "type": "CallExpression", "start": 23157, "end": 23193, "loc": { "start": { "line": 708, "column": 6 }, "end": { "line": 708, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 23157, "end": 23185, "loc": { "start": { "line": 708, "column": 6 }, "end": { "line": 708, "column": 34 } }, "object": { "type": "MemberExpression", "start": 23157, "end": 23173, "loc": { "start": { "line": 708, "column": 6 }, "end": { "line": 708, "column": 22 } }, "object": { "type": "ThisExpression", "start": 23157, "end": 23161, "loc": { "start": { "line": 708, "column": 6 }, "end": { "line": 708, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 23162, "end": 23173, "loc": { "start": { "line": 708, "column": 11 }, "end": { "line": 708, "column": 22 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 23174, "end": 23185, "loc": { "start": { "line": 708, "column": 23 }, "end": { "line": 708, "column": 34 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 23186, "end": 23192, "loc": { "start": { "line": 708, "column": 35 }, "end": { "line": 708, "column": 41 }, "identifierName": "rowDOM" }, "name": "rowDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 23099, "end": 23149, "loc": { "start": { "line": 705, "column": 6 }, "end": { "line": 707, "column": 9 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 20954, "end": 21001, "loc": { "start": { "line": 638, "column": 4 }, "end": { "line": 640, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 23211, "end": 23248, "loc": { "start": { "line": 711, "column": 4 }, "end": { "line": 713, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 23254, "end": 23270, "loc": { "start": { "line": 714, "column": 4 }, "end": { "line": 714, "column": 20 } }, "expression": { "type": "CallExpression", "start": 23254, "end": 23269, "loc": { "start": { "line": 714, "column": 4 }, "end": { "line": 714, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 23254, "end": 23267, "loc": { "start": { "line": 714, "column": 4 }, "end": { "line": 714, "column": 17 } }, "object": { "type": "ThisExpression", "start": 23254, "end": 23258, "loc": { "start": { "line": 714, "column": 4 }, "end": { "line": 714, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 23259, "end": 23267, "loc": { "start": { "line": 714, "column": 9 }, "end": { "line": 714, "column": 17 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 23211, "end": 23248, "loc": { "start": { "line": 711, "column": 4 }, "end": { "line": 713, "column": 7 } } } ] }, { "type": "IfStatement", "start": 23278, "end": 23613, "loc": { "start": { "line": 716, "column": 4 }, "end": { "line": 731, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 23281, "end": 23298, "loc": { "start": { "line": 716, "column": 7 }, "end": { "line": 716, "column": 24 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 23282, "end": 23298, "loc": { "start": { "line": 716, "column": 8 }, "end": { "line": 716, "column": 24 } }, "object": { "type": "ThisExpression", "start": 23282, "end": 23286, "loc": { "start": { "line": 716, "column": 8 }, "end": { "line": 716, "column": 12 } } }, "property": { "type": "Identifier", "start": 23287, "end": 23298, "loc": { "start": { "line": 716, "column": 13 }, "end": { "line": 716, "column": 24 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 23299, "end": 23613, "loc": { "start": { "line": 716, "column": 25 }, "end": { "line": 731, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 23398, "end": 23422, "loc": { "start": { "line": 720, "column": 6 }, "end": { "line": 720, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 23398, "end": 23421, "loc": { "start": { "line": 720, "column": 6 }, "end": { "line": 720, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23398, "end": 23414, "loc": { "start": { "line": 720, "column": 6 }, "end": { "line": 720, "column": 22 } }, "object": { "type": "ThisExpression", "start": 23398, "end": 23402, "loc": { "start": { "line": 720, "column": 6 }, "end": { "line": 720, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 23403, "end": 23414, "loc": { "start": { "line": 720, "column": 11 }, "end": { "line": 720, "column": 22 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 23417, "end": 23421, "loc": { "start": { "line": 720, "column": 25 }, "end": { "line": 720, "column": 29 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 23308, "end": 23390, "loc": { "start": { "line": 717, "column": 6 }, "end": { "line": 719, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 23432, "end": 23473, "loc": { "start": { "line": 722, "column": 6 }, "end": { "line": 724, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 23481, "end": 23535, "loc": { "start": { "line": 725, "column": 6 }, "end": { "line": 725, "column": 60 } }, "expression": { "type": "AssignmentExpression", "start": 23481, "end": 23534, "loc": { "start": { "line": 725, "column": 6 }, "end": { "line": 725, "column": 59 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23481, "end": 23499, "loc": { "start": { "line": 725, "column": 6 }, "end": { "line": 725, "column": 24 } }, "object": { "type": "Identifier", "start": 23481, "end": 23489, "loc": { "start": { "line": 725, "column": 6 }, "end": { "line": 725, "column": 14 }, "identifierName": "document" }, "name": "document", "leadingComments": null }, "property": { "type": "Identifier", "start": 23490, "end": 23499, "loc": { "start": { "line": 725, "column": 15 }, "end": { "line": 725, "column": 24 }, "identifierName": "onmouseup" }, "name": "onmouseup" }, "computed": false, "leadingComments": null }, "right": { "type": "ArrowFunctionExpression", "start": 23502, "end": 23534, "loc": { "start": { "line": 725, "column": 27 }, "end": { "line": 725, "column": 59 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 23508, "end": 23534, "loc": { "start": { "line": 725, "column": 33 }, "end": { "line": 725, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 23508, "end": 23532, "loc": { "start": { "line": 725, "column": 33 }, "end": { "line": 725, "column": 57 } }, "object": { "type": "ThisExpression", "start": 23508, "end": 23512, "loc": { "start": { "line": 725, "column": 33 }, "end": { "line": 725, "column": 37 } } }, "property": { "type": "Identifier", "start": 23513, "end": 23532, "loc": { "start": { "line": 725, "column": 38 }, "end": { "line": 725, "column": 57 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "arguments": [] } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 23432, "end": 23473, "loc": { "start": { "line": 722, "column": 6 }, "end": { "line": 724, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 23545, "end": 23584, "loc": { "start": { "line": 727, "column": 6 }, "end": { "line": 729, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 23592, "end": 23606, "loc": { "start": { "line": 730, "column": 6 }, "end": { "line": 730, "column": 20 } }, "expression": { "type": "CallExpression", "start": 23592, "end": 23605, "loc": { "start": { "line": 730, "column": 6 }, "end": { "line": 730, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 23592, "end": 23603, "loc": { "start": { "line": 730, "column": 6 }, "end": { "line": 730, "column": 17 } }, "object": { "type": "ThisExpression", "start": 23592, "end": 23596, "loc": { "start": { "line": 730, "column": 6 }, "end": { "line": 730, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 23597, "end": 23603, "loc": { "start": { "line": 730, "column": 11 }, "end": { "line": 730, "column": 17 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 23545, "end": 23584, "loc": { "start": { "line": 727, "column": 6 }, "end": { "line": 729, "column": 9 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 19244, "end": 19300, "loc": { "start": { "line": 587, "column": 2 }, "end": { "line": 589, "column": 5 } } } ] } ] }, "leadingComments": [], "name": "_", "trailingComments": [] }, { "type": "Identifier", "start": 23625, "end": 23655, "loc": { "start": { "line": 735, "column": 0 }, "end": { "line": 735, "column": 30 } }, "declaration": { "type": "Identifier", "start": 23640, "end": 23654, "loc": { "start": { "line": 735, "column": 15 }, "end": { "line": 735, "column": 29 }, "identifierName": "SimpleKeyboard" }, "name": "SimpleKeyboard" }, "name": "_", "leadingComments": [], "trailingComments": [] }, { "type": "ExportDefaultDeclaration", "start": 23625, "end": 23655, "loc": { "start": { "line": 735, "column": 0 }, "end": { "line": 735, "column": 30 } }, "declaration": { "type": "ClassDeclaration", "start": 367, "end": 23621, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 733, "column": 1 } }, "id": { "type": "Identifier", "start": 373, "end": 387, "loc": { "start": { "line": 15, "column": 6 }, "end": { "line": 15, "column": 20 }, "identifierName": "SimpleKeyboard" }, "name": "SimpleKeyboard", "leadingComments": null }, "superClass": null, "body": { "type": "ClassBody", "start": 388, "end": 23621, "loc": { "start": { "line": 15, "column": 21 }, "end": { "line": 733, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 679, "end": 7194, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 146, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 679, "end": 690, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 20, "column": 13 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "RestElement", "start": 691, "end": 700, "loc": { "start": { "line": 20, "column": 14 }, "end": { "line": 20, "column": 23 } }, "argument": { "type": "Identifier", "start": 694, "end": 700, "loc": { "start": { "line": 20, "column": 17 }, "end": { "line": 20, "column": 23 }, "identifierName": "params" }, "name": "params" } } ], "body": { "type": "BlockStatement", "start": 701, "end": 7194, "loc": { "start": { "line": 20, "column": 24 }, "end": { "line": 146, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 708, "end": 794, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 90 } }, "declarations": [ { "type": "VariableDeclarator", "start": 712, "end": 793, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 89 } }, "id": { "type": "Identifier", "start": 712, "end": 728, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 24 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" }, "init": { "type": "ConditionalExpression", "start": 731, "end": 793, "loc": { "start": { "line": 21, "column": 27 }, "end": { "line": 21, "column": 89 } }, "test": { "type": "BinaryExpression", "start": 731, "end": 760, "loc": { "start": { "line": 21, "column": 27 }, "end": { "line": 21, "column": 56 } }, "left": { "type": "UnaryExpression", "start": 731, "end": 747, "loc": { "start": { "line": 21, "column": 27 }, "end": { "line": 21, "column": 43 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 738, "end": 747, "loc": { "start": { "line": 21, "column": 34 }, "end": { "line": 21, "column": 43 } }, "object": { "type": "Identifier", "start": 738, "end": 744, "loc": { "start": { "line": 21, "column": 34 }, "end": { "line": 21, "column": 40 }, "identifierName": "params" }, "name": "params" }, "property": { "type": "NumericLiteral", "start": 745, "end": 746, "loc": { "start": { "line": 21, "column": 41 }, "end": { "line": 21, "column": 42 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 752, "end": 760, "loc": { "start": { "line": 21, "column": 48 }, "end": { "line": 21, "column": 56 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "consequent": { "type": "MemberExpression", "start": 763, "end": 772, "loc": { "start": { "line": 21, "column": 59 }, "end": { "line": 21, "column": 68 } }, "object": { "type": "Identifier", "start": 763, "end": 769, "loc": { "start": { "line": 21, "column": 59 }, "end": { "line": 21, "column": 65 }, "identifierName": "params" }, "name": "params" }, "property": { "type": "NumericLiteral", "start": 770, "end": 771, "loc": { "start": { "line": 21, "column": 66 }, "end": { "line": 21, "column": 67 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "alternate": { "type": "StringLiteral", "start": 775, "end": 793, "loc": { "start": { "line": 21, "column": 71 }, "end": { "line": 21, "column": 89 } }, "extra": { "rawValue": ".simple-keyboard", "raw": "'.simple-keyboard'" }, "value": ".simple-keyboard" } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 800, "end": 868, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 72 } }, "declarations": [ { "type": "VariableDeclarator", "start": 804, "end": 867, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 71 } }, "id": { "type": "Identifier", "start": 804, "end": 811, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 15 }, "identifierName": "options" }, "name": "options" }, "init": { "type": "ConditionalExpression", "start": 814, "end": 867, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 71 } }, "test": { "type": "BinaryExpression", "start": 814, "end": 843, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 47 } }, "left": { "type": "UnaryExpression", "start": 814, "end": 830, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 34 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 821, "end": 830, "loc": { "start": { "line": 22, "column": 25 }, "end": { "line": 22, "column": 34 } }, "object": { "type": "Identifier", "start": 821, "end": 827, "loc": { "start": { "line": 22, "column": 25 }, "end": { "line": 22, "column": 31 }, "identifierName": "params" }, "name": "params" }, "property": { "type": "NumericLiteral", "start": 828, "end": 829, "loc": { "start": { "line": 22, "column": 32 }, "end": { "line": 22, "column": 33 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 835, "end": 843, "loc": { "start": { "line": 22, "column": 39 }, "end": { "line": 22, "column": 47 } }, "extra": { "rawValue": "object", "raw": "\"object\"" }, "value": "object" } }, "consequent": { "type": "MemberExpression", "start": 846, "end": 855, "loc": { "start": { "line": 22, "column": 50 }, "end": { "line": 22, "column": 59 } }, "object": { "type": "Identifier", "start": 846, "end": 852, "loc": { "start": { "line": 22, "column": 50 }, "end": { "line": 22, "column": 56 }, "identifierName": "params" }, "name": "params" }, "property": { "type": "NumericLiteral", "start": 853, "end": 854, "loc": { "start": { "line": 22, "column": 57 }, "end": { "line": 22, "column": 58 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "alternate": { "type": "MemberExpression", "start": 858, "end": 867, "loc": { "start": { "line": 22, "column": 62 }, "end": { "line": 22, "column": 71 } }, "object": { "type": "Identifier", "start": 858, "end": 864, "loc": { "start": { "line": 22, "column": 62 }, "end": { "line": 22, "column": 68 }, "identifierName": "params" }, "name": "params" }, "property": { "type": "NumericLiteral", "start": 865, "end": 866, "loc": { "start": { "line": 22, "column": 69 }, "end": { "line": 22, "column": 70 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "computed": true } } } ], "kind": "let" }, { "type": "IfStatement", "start": 876, "end": 909, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 25, "column": 19 } }, "test": { "type": "UnaryExpression", "start": 879, "end": 887, "loc": { "start": { "line": 24, "column": 7 }, "end": { "line": 24, "column": 15 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 880, "end": 887, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 15 }, "identifierName": "options" }, "name": "options" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 896, "end": 909, "loc": { "start": { "line": 25, "column": 6 }, "end": { "line": 25, "column": 19 } }, "expression": { "type": "AssignmentExpression", "start": 896, "end": 908, "loc": { "start": { "line": 25, "column": 6 }, "end": { "line": 25, "column": 18 } }, "operator": "=", "left": { "type": "Identifier", "start": 896, "end": 903, "loc": { "start": { "line": 25, "column": 6 }, "end": { "line": 25, "column": 13 }, "identifierName": "options" }, "name": "options" }, "right": { "type": "ObjectExpression", "start": 906, "end": 908, "loc": { "start": { "line": 25, "column": 16 }, "end": { "line": 25, "column": 18 } }, "properties": [] } }, "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Initializing Utilities\r\n ", "start": 917, "end": 960, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 29, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 966, "end": 1003, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 966, "end": 1002, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 966, "end": 980, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 18 } }, "object": { "type": "ThisExpression", "start": 966, "end": 970, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 971, "end": 980, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 18 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 983, "end": 1002, "loc": { "start": { "line": 30, "column": 21 }, "end": { "line": 30, "column": 40 } }, "callee": { "type": "Identifier", "start": 987, "end": 996, "loc": { "start": { "line": 30, "column": 25 }, "end": { "line": 30, "column": 34 }, "identifierName": "Utilities" }, "name": "Utilities" }, "arguments": [ { "type": "ThisExpression", "start": 997, "end": 1001, "loc": { "start": { "line": 30, "column": 35 }, "end": { "line": 30, "column": 39 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Initializing Utilities\r\n ", "start": 917, "end": 960, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 29, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Processing options\r\n ", "start": 1011, "end": 1050, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 34, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 1056, "end": 1116, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 64 } }, "expression": { "type": "AssignmentExpression", "start": 1056, "end": 1115, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1056, "end": 1072, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 20 } }, "object": { "type": "ThisExpression", "start": 1056, "end": 1060, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1061, "end": 1072, "loc": { "start": { "line": 35, "column": 9 }, "end": { "line": 35, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 1075, "end": 1115, "loc": { "start": { "line": 35, "column": 23 }, "end": { "line": 35, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 1075, "end": 1097, "loc": { "start": { "line": 35, "column": 23 }, "end": { "line": 35, "column": 45 } }, "object": { "type": "Identifier", "start": 1075, "end": 1083, "loc": { "start": { "line": 35, "column": 23 }, "end": { "line": 35, "column": 31 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 1084, "end": 1097, "loc": { "start": { "line": 35, "column": 32 }, "end": { "line": 35, "column": 45 }, "identifierName": "querySelector" }, "name": "querySelector" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1098, "end": 1114, "loc": { "start": { "line": 35, "column": 46 }, "end": { "line": 35, "column": 62 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Processing options\r\n ", "start": 1011, "end": 1050, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 34, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\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 ", "start": 1124, "end": 3943, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 60, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 3949, "end": 3972, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 3949, "end": 3971, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3949, "end": 3961, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 16 } }, "object": { "type": "ThisExpression", "start": 3949, "end": 3953, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 3954, "end": 3961, "loc": { "start": { "line": 61, "column": 9 }, "end": { "line": 61, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", "start": 3964, "end": 3971, "loc": { "start": { "line": 61, "column": 19 }, "end": { "line": 61, "column": 26 }, "identifierName": "options" }, "name": "options" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\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 ", "start": 1124, "end": 3943, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 60, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 3978, "end": 4041, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 3978, "end": 4040, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3978, "end": 4001, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 27 } }, "object": { "type": "MemberExpression", "start": 3978, "end": 3990, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 16 } }, "object": { "type": "ThisExpression", "start": 3978, "end": 3982, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 8 } } }, "property": { "type": "Identifier", "start": 3983, "end": 3990, "loc": { "start": { "line": 62, "column": 9 }, "end": { "line": 62, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 3991, "end": 4001, "loc": { "start": { "line": 62, "column": 17 }, "end": { "line": 62, "column": 27 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 4004, "end": 4040, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 66 } }, "left": { "type": "MemberExpression", "start": 4004, "end": 4027, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 53 } }, "object": { "type": "MemberExpression", "start": 4004, "end": 4016, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 42 } }, "object": { "type": "ThisExpression", "start": 4004, "end": 4008, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 34 } } }, "property": { "type": "Identifier", "start": 4009, "end": 4016, "loc": { "start": { "line": 62, "column": 35 }, "end": { "line": 62, "column": 42 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4017, "end": 4027, "loc": { "start": { "line": 62, "column": 43 }, "end": { "line": 62, "column": 53 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "operator": "||", "right": { "type": "StringLiteral", "start": 4031, "end": 4040, "loc": { "start": { "line": 62, "column": 57 }, "end": { "line": 62, "column": 66 } }, "extra": { "rawValue": "default", "raw": "\"default\"" }, "value": "default" } } } }, { "type": "ExpressionStatement", "start": 4047, "end": 4109, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 4047, "end": 4108, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4047, "end": 4065, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 22 } }, "object": { "type": "MemberExpression", "start": 4047, "end": 4059, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 16 } }, "object": { "type": "ThisExpression", "start": 4047, "end": 4051, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 8 } } }, "property": { "type": "Identifier", "start": 4052, "end": 4059, "loc": { "start": { "line": 63, "column": 9 }, "end": { "line": 63, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4060, "end": 4065, "loc": { "start": { "line": 63, "column": 17 }, "end": { "line": 63, "column": 22 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 4068, "end": 4108, "loc": { "start": { "line": 63, "column": 25 }, "end": { "line": 63, "column": 65 } }, "left": { "type": "MemberExpression", "start": 4068, "end": 4086, "loc": { "start": { "line": 63, "column": 25 }, "end": { "line": 63, "column": 43 } }, "object": { "type": "MemberExpression", "start": 4068, "end": 4080, "loc": { "start": { "line": 63, "column": 25 }, "end": { "line": 63, "column": 37 } }, "object": { "type": "ThisExpression", "start": 4068, "end": 4072, "loc": { "start": { "line": 63, "column": 25 }, "end": { "line": 63, "column": 29 } } }, "property": { "type": "Identifier", "start": 4073, "end": 4080, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 37 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4081, "end": 4086, "loc": { "start": { "line": 63, "column": 38 }, "end": { "line": 63, "column": 43 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, "operator": "||", "right": { "type": "StringLiteral", "start": 4090, "end": 4108, "loc": { "start": { "line": 63, "column": 47 }, "end": { "line": 63, "column": 65 } }, "extra": { "rawValue": "hg-theme-default", "raw": "\"hg-theme-default\"" }, "value": "hg-theme-default" } } } }, { "type": "ExpressionStatement", "start": 4115, "end": 4176, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 4115, "end": 4175, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4115, "end": 4137, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 26 } }, "object": { "type": "MemberExpression", "start": 4115, "end": 4127, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 16 } }, "object": { "type": "ThisExpression", "start": 4115, "end": 4119, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 8 } } }, "property": { "type": "Identifier", "start": 4120, "end": 4127, "loc": { "start": { "line": 64, "column": 9 }, "end": { "line": 64, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4128, "end": 4137, "loc": { "start": { "line": 64, "column": 17 }, "end": { "line": 64, "column": 26 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 4140, "end": 4175, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 64 } }, "left": { "type": "MemberExpression", "start": 4140, "end": 4162, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 51 } }, "object": { "type": "MemberExpression", "start": 4140, "end": 4152, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 41 } }, "object": { "type": "ThisExpression", "start": 4140, "end": 4144, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 33 } } }, "property": { "type": "Identifier", "start": 4145, "end": 4152, "loc": { "start": { "line": 64, "column": 34 }, "end": { "line": 64, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4153, "end": 4162, "loc": { "start": { "line": 64, "column": 42 }, "end": { "line": 64, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "operator": "||", "right": { "type": "StringLiteral", "start": 4166, "end": 4175, "loc": { "start": { "line": 64, "column": 55 }, "end": { "line": 64, "column": 64 } }, "extra": { "rawValue": "default", "raw": "\"default\"" }, "value": "default" } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4184, "end": 4213, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 68, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4219, "end": 4282, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 4219, "end": 4281, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4219, "end": 4243, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 28 } }, "object": { "type": "ThisExpression", "start": 4219, "end": 4223, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4224, "end": 4243, "loc": { "start": { "line": 69, "column": 9 }, "end": { "line": 69, "column": 28 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 4246, "end": 4281, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 4246, "end": 4275, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "column": 60 } }, "object": { "type": "MemberExpression", "start": 4246, "end": 4270, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "column": 55 } }, "object": { "type": "ThisExpression", "start": 4246, "end": 4250, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "column": 35 } } }, "property": { "type": "Identifier", "start": 4251, "end": 4270, "loc": { "start": { "line": 69, "column": 36 }, "end": { "line": 69, "column": 55 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "property": { "type": "Identifier", "start": 4271, "end": 4275, "loc": { "start": { "line": 69, "column": 56 }, "end": { "line": 69, "column": 60 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4276, "end": 4280, "loc": { "start": { "line": 69, "column": 61 }, "end": { "line": 69, "column": 65 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4184, "end": 4213, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 68, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4288, "end": 4349, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 4288, "end": 4348, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4288, "end": 4311, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4288, "end": 4292, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 8 } } }, "property": { "type": "Identifier", "start": 4293, "end": 4311, "loc": { "start": { "line": 70, "column": 9 }, "end": { "line": 70, "column": 27 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "right": { "type": "CallExpression", "start": 4314, "end": 4348, "loc": { "start": { "line": 70, "column": 30 }, "end": { "line": 70, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 4314, "end": 4342, "loc": { "start": { "line": 70, "column": 30 }, "end": { "line": 70, "column": 58 } }, "object": { "type": "MemberExpression", "start": 4314, "end": 4337, "loc": { "start": { "line": 70, "column": 30 }, "end": { "line": 70, "column": 53 } }, "object": { "type": "ThisExpression", "start": 4314, "end": 4318, "loc": { "start": { "line": 70, "column": 30 }, "end": { "line": 70, "column": 34 } } }, "property": { "type": "Identifier", "start": 4319, "end": 4337, "loc": { "start": { "line": 70, "column": 35 }, "end": { "line": 70, "column": 53 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "property": { "type": "Identifier", "start": 4338, "end": 4342, "loc": { "start": { "line": 70, "column": 54 }, "end": { "line": 70, "column": 58 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4343, "end": 4347, "loc": { "start": { "line": 70, "column": 59 }, "end": { "line": 70, "column": 63 } } } ] } } }, { "type": "ExpressionStatement", "start": 4355, "end": 4400, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 4355, "end": 4399, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4355, "end": 4370, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 19 } }, "object": { "type": "ThisExpression", "start": 4355, "end": 4359, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 8 } } }, "property": { "type": "Identifier", "start": 4360, "end": 4370, "loc": { "start": { "line": 71, "column": 9 }, "end": { "line": 71, "column": 19 }, "identifierName": "clearInput" }, "name": "clearInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4373, "end": 4399, "loc": { "start": { "line": 71, "column": 22 }, "end": { "line": 71, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 4373, "end": 4393, "loc": { "start": { "line": 71, "column": 22 }, "end": { "line": 71, "column": 42 } }, "object": { "type": "MemberExpression", "start": 4373, "end": 4388, "loc": { "start": { "line": 71, "column": 22 }, "end": { "line": 71, "column": 37 } }, "object": { "type": "ThisExpression", "start": 4373, "end": 4377, "loc": { "start": { "line": 71, "column": 22 }, "end": { "line": 71, "column": 26 } } }, "property": { "type": "Identifier", "start": 4378, "end": 4388, "loc": { "start": { "line": 71, "column": 27 }, "end": { "line": 71, "column": 37 }, "identifierName": "clearInput" }, "name": "clearInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4389, "end": 4393, "loc": { "start": { "line": 71, "column": 38 }, "end": { "line": 71, "column": 42 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4394, "end": 4398, "loc": { "start": { "line": 71, "column": 43 }, "end": { "line": 71, "column": 47 } } } ] } } }, { "type": "ExpressionStatement", "start": 4406, "end": 4447, "loc": { "start": { "line": 72, "column": 4 }, "end": { "line": 72, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4406, "end": 4446, "loc": { "start": { "line": 72, "column": 4 }, "end": { "line": 72, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4406, "end": 4419, "loc": { "start": { "line": 72, "column": 4 }, "end": { "line": 72, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4406, "end": 4410, "loc": { "start": { "line": 72, "column": 4 }, "end": { "line": 72, "column": 8 } } }, "property": { "type": "Identifier", "start": 4411, "end": 4419, "loc": { "start": { "line": 72, "column": 9 }, "end": { "line": 72, "column": 17 }, "identifierName": "getInput" }, "name": "getInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4422, "end": 4446, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4422, "end": 4440, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4422, "end": 4435, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4422, "end": 4426, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 24 } } }, "property": { "type": "Identifier", "start": 4427, "end": 4435, "loc": { "start": { "line": 72, "column": 25 }, "end": { "line": 72, "column": 33 }, "identifierName": "getInput" }, "name": "getInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4436, "end": 4440, "loc": { "start": { "line": 72, "column": 34 }, "end": { "line": 72, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4441, "end": 4445, "loc": { "start": { "line": 72, "column": 39 }, "end": { "line": 72, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4453, "end": 4494, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4453, "end": 4493, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4453, "end": 4466, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4453, "end": 4457, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 8 } } }, "property": { "type": "Identifier", "start": 4458, "end": 4466, "loc": { "start": { "line": 73, "column": 9 }, "end": { "line": 73, "column": 17 }, "identifierName": "setInput" }, "name": "setInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4469, "end": 4493, "loc": { "start": { "line": 73, "column": 20 }, "end": { "line": 73, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4469, "end": 4487, "loc": { "start": { "line": 73, "column": 20 }, "end": { "line": 73, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4469, "end": 4482, "loc": { "start": { "line": 73, "column": 20 }, "end": { "line": 73, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4469, "end": 4473, "loc": { "start": { "line": 73, "column": 20 }, "end": { "line": 73, "column": 24 } } }, "property": { "type": "Identifier", "start": 4474, "end": 4482, "loc": { "start": { "line": 73, "column": 25 }, "end": { "line": 73, "column": 33 }, "identifierName": "setInput" }, "name": "setInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4483, "end": 4487, "loc": { "start": { "line": 73, "column": 34 }, "end": { "line": 73, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4488, "end": 4492, "loc": { "start": { "line": 73, "column": 39 }, "end": { "line": 73, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4500, "end": 4549, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 53 } }, "expression": { "type": "AssignmentExpression", "start": 4500, "end": 4548, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4500, "end": 4517, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 21 } }, "object": { "type": "ThisExpression", "start": 4500, "end": 4504, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 8 } } }, "property": { "type": "Identifier", "start": 4505, "end": 4517, "loc": { "start": { "line": 74, "column": 9 }, "end": { "line": 74, "column": 21 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4520, "end": 4548, "loc": { "start": { "line": 74, "column": 24 }, "end": { "line": 74, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 4520, "end": 4542, "loc": { "start": { "line": 74, "column": 24 }, "end": { "line": 74, "column": 46 } }, "object": { "type": "MemberExpression", "start": 4520, "end": 4537, "loc": { "start": { "line": 74, "column": 24 }, "end": { "line": 74, "column": 41 } }, "object": { "type": "ThisExpression", "start": 4520, "end": 4524, "loc": { "start": { "line": 74, "column": 24 }, "end": { "line": 74, "column": 28 } } }, "property": { "type": "Identifier", "start": 4525, "end": 4537, "loc": { "start": { "line": 74, "column": 29 }, "end": { "line": 74, "column": 41 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4538, "end": 4542, "loc": { "start": { "line": 74, "column": 42 }, "end": { "line": 74, "column": 46 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4543, "end": 4547, "loc": { "start": { "line": 74, "column": 47 }, "end": { "line": 74, "column": 51 } } } ] } } }, { "type": "ExpressionStatement", "start": 4555, "end": 4590, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 4555, "end": 4589, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4555, "end": 4565, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 14 } }, "object": { "type": "ThisExpression", "start": 4555, "end": 4559, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 8 } } }, "property": { "type": "Identifier", "start": 4560, "end": 4565, "loc": { "start": { "line": 75, "column": 9 }, "end": { "line": 75, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false }, "right": { "type": "CallExpression", "start": 4568, "end": 4589, "loc": { "start": { "line": 75, "column": 17 }, "end": { "line": 75, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 4568, "end": 4583, "loc": { "start": { "line": 75, "column": 17 }, "end": { "line": 75, "column": 32 } }, "object": { "type": "MemberExpression", "start": 4568, "end": 4578, "loc": { "start": { "line": 75, "column": 17 }, "end": { "line": 75, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4568, "end": 4572, "loc": { "start": { "line": 75, "column": 17 }, "end": { "line": 75, "column": 21 } } }, "property": { "type": "Identifier", "start": 4573, "end": 4578, "loc": { "start": { "line": 75, "column": 22 }, "end": { "line": 75, "column": 27 }, "identifierName": "clear" }, "name": "clear" }, "computed": false }, "property": { "type": "Identifier", "start": 4579, "end": 4583, "loc": { "start": { "line": 75, "column": 28 }, "end": { "line": 75, "column": 32 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4584, "end": 4588, "loc": { "start": { "line": 75, "column": 33 }, "end": { "line": 75, "column": 37 } } } ] } } }, { "type": "ExpressionStatement", "start": 4596, "end": 4637, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4596, "end": 4636, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4596, "end": 4609, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4596, "end": 4600, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 8 } } }, "property": { "type": "Identifier", "start": 4601, "end": 4609, "loc": { "start": { "line": 76, "column": 9 }, "end": { "line": 76, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "right": { "type": "CallExpression", "start": 4612, "end": 4636, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4612, "end": 4630, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4612, "end": 4625, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4612, "end": 4616, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 24 } } }, "property": { "type": "Identifier", "start": 4617, "end": 4625, "loc": { "start": { "line": 76, "column": 25 }, "end": { "line": 76, "column": 33 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "property": { "type": "Identifier", "start": 4626, "end": 4630, "loc": { "start": { "line": 76, "column": 34 }, "end": { "line": 76, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4631, "end": 4635, "loc": { "start": { "line": 76, "column": 39 }, "end": { "line": 76, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4643, "end": 4696, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 4643, "end": 4695, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 56 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4643, "end": 4662, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 23 } }, "object": { "type": "ThisExpression", "start": 4643, "end": 4647, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 8 } } }, "property": { "type": "Identifier", "start": 4648, "end": 4662, "loc": { "start": { "line": 77, "column": 9 }, "end": { "line": 77, "column": 23 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme" }, "computed": false }, "right": { "type": "CallExpression", "start": 4665, "end": 4695, "loc": { "start": { "line": 77, "column": 26 }, "end": { "line": 77, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 4665, "end": 4689, "loc": { "start": { "line": 77, "column": 26 }, "end": { "line": 77, "column": 50 } }, "object": { "type": "MemberExpression", "start": 4665, "end": 4684, "loc": { "start": { "line": 77, "column": 26 }, "end": { "line": 77, "column": 45 } }, "object": { "type": "ThisExpression", "start": 4665, "end": 4669, "loc": { "start": { "line": 77, "column": 26 }, "end": { "line": 77, "column": 30 } } }, "property": { "type": "Identifier", "start": 4670, "end": 4684, "loc": { "start": { "line": 77, "column": 31 }, "end": { "line": 77, "column": 45 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 4685, "end": 4689, "loc": { "start": { "line": 77, "column": 46 }, "end": { "line": 77, "column": 50 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4690, "end": 4694, "loc": { "start": { "line": 77, "column": 51 }, "end": { "line": 77, "column": 55 } } } ] } } }, { "type": "ExpressionStatement", "start": 4702, "end": 4761, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 4702, "end": 4760, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4702, "end": 4724, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 26 } }, "object": { "type": "ThisExpression", "start": 4702, "end": 4706, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 8 } } }, "property": { "type": "Identifier", "start": 4707, "end": 4724, "loc": { "start": { "line": 78, "column": 9 }, "end": { "line": 78, "column": 26 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme" }, "computed": false }, "right": { "type": "CallExpression", "start": 4727, "end": 4760, "loc": { "start": { "line": 78, "column": 29 }, "end": { "line": 78, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 4727, "end": 4754, "loc": { "start": { "line": 78, "column": 29 }, "end": { "line": 78, "column": 56 } }, "object": { "type": "MemberExpression", "start": 4727, "end": 4749, "loc": { "start": { "line": 78, "column": 29 }, "end": { "line": 78, "column": 51 } }, "object": { "type": "ThisExpression", "start": 4727, "end": 4731, "loc": { "start": { "line": 78, "column": 29 }, "end": { "line": 78, "column": 33 } } }, "property": { "type": "Identifier", "start": 4732, "end": 4749, "loc": { "start": { "line": 78, "column": 34 }, "end": { "line": 78, "column": 51 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 4750, "end": 4754, "loc": { "start": { "line": 78, "column": 52 }, "end": { "line": 78, "column": 56 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4755, "end": 4759, "loc": { "start": { "line": 78, "column": 57 }, "end": { "line": 78, "column": 61 } } } ] } } }, { "type": "ExpressionStatement", "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, "column": 4 }, "end": { "line": 84, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 5038, "end": 5074, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5038, "end": 5049, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 15 } }, "object": { "type": "ThisExpression", "start": 5038, "end": 5042, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 8 } } }, "property": { "type": "Identifier", "start": 5043, "end": 5049, "loc": { "start": { "line": 84, "column": 9 }, "end": { "line": 84, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "right": { "type": "CallExpression", "start": 5052, "end": 5074, "loc": { "start": { "line": 84, "column": 18 }, "end": { "line": 84, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 5052, "end": 5068, "loc": { "start": { "line": 84, "column": 18 }, "end": { "line": 84, "column": 34 } }, "object": { "type": "MemberExpression", "start": 5052, "end": 5063, "loc": { "start": { "line": 84, "column": 18 }, "end": { "line": 84, "column": 29 } }, "object": { "type": "ThisExpression", "start": 5052, "end": 5056, "loc": { "start": { "line": 84, "column": 18 }, "end": { "line": 84, "column": 22 } } }, "property": { "type": "Identifier", "start": 5057, "end": 5063, "loc": { "start": { "line": 84, "column": 23 }, "end": { "line": 84, "column": 29 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "property": { "type": "Identifier", "start": 5064, "end": 5068, "loc": { "start": { "line": 84, "column": 30 }, "end": { "line": 84, "column": 34 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5069, "end": 5073, "loc": { "start": { "line": 84, "column": 35 }, "end": { "line": 84, "column": 39 } } } ] } } }, { "type": "ExpressionStatement", "start": 5081, "end": 5128, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 5081, "end": 5127, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5081, "end": 5097, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 20 } }, "object": { "type": "ThisExpression", "start": 5081, "end": 5085, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 8 } } }, "property": { "type": "Identifier", "start": 5086, "end": 5097, "loc": { "start": { "line": 85, "column": 9 }, "end": { "line": 85, "column": 20 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false }, "right": { "type": "CallExpression", "start": 5100, "end": 5127, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 5100, "end": 5121, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 44 } }, "object": { "type": "MemberExpression", "start": 5100, "end": 5116, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 39 } }, "object": { "type": "ThisExpression", "start": 5100, "end": 5104, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 27 } } }, "property": { "type": "Identifier", "start": 5105, "end": 5116, "loc": { "start": { "line": 85, "column": 28 }, "end": { "line": 85, "column": 39 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false }, "property": { "type": "Identifier", "start": 5117, "end": 5121, "loc": { "start": { "line": 85, "column": 40 }, "end": { "line": 85, "column": 44 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5122, "end": 5126, "loc": { "start": { "line": 85, "column": 45 }, "end": { "line": 85, "column": 49 } } } ] } } }, { "type": "ExpressionStatement", "start": 5134, "end": 5197, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 5134, "end": 5196, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5134, "end": 5158, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 28 } }, "object": { "type": "ThisExpression", "start": 5134, "end": 5138, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 8 } } }, "property": { "type": "Identifier", "start": 5139, "end": 5158, "loc": { "start": { "line": 86, "column": 9 }, "end": { "line": 86, "column": 28 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "right": { "type": "CallExpression", "start": 5161, "end": 5196, "loc": { "start": { "line": 86, "column": 31 }, "end": { "line": 86, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 5161, "end": 5190, "loc": { "start": { "line": 86, "column": 31 }, "end": { "line": 86, "column": 60 } }, "object": { "type": "MemberExpression", "start": 5161, "end": 5185, "loc": { "start": { "line": 86, "column": 31 }, "end": { "line": 86, "column": 55 } }, "object": { "type": "ThisExpression", "start": 5161, "end": 5165, "loc": { "start": { "line": 86, "column": 31 }, "end": { "line": 86, "column": 35 } } }, "property": { "type": "Identifier", "start": 5166, "end": 5185, "loc": { "start": { "line": 86, "column": 36 }, "end": { "line": 86, "column": 55 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "property": { "type": "Identifier", "start": 5186, "end": 5190, "loc": { "start": { "line": 86, "column": 56 }, "end": { "line": 86, "column": 60 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5191, "end": 5195, "loc": { "start": { "line": 86, "column": 61 }, "end": { "line": 86, "column": 65 } } } ] } } }, { "type": "ExpressionStatement", "start": 5203, "end": 5270, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 71 } }, "expression": { "type": "AssignmentExpression", "start": 5203, "end": 5269, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5203, "end": 5229, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 30 } }, "object": { "type": "ThisExpression", "start": 5203, "end": 5207, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 8 } } }, "property": { "type": "Identifier", "start": 5208, "end": 5229, "loc": { "start": { "line": 87, "column": 9 }, "end": { "line": 87, "column": 30 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "right": { "type": "CallExpression", "start": 5232, "end": 5269, "loc": { "start": { "line": 87, "column": 33 }, "end": { "line": 87, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 5232, "end": 5263, "loc": { "start": { "line": 87, "column": 33 }, "end": { "line": 87, "column": 64 } }, "object": { "type": "MemberExpression", "start": 5232, "end": 5258, "loc": { "start": { "line": 87, "column": 33 }, "end": { "line": 87, "column": 59 } }, "object": { "type": "ThisExpression", "start": 5232, "end": 5236, "loc": { "start": { "line": 87, "column": 33 }, "end": { "line": 87, "column": 37 } } }, "property": { "type": "Identifier", "start": 5237, "end": 5258, "loc": { "start": { "line": 87, "column": 38 }, "end": { "line": 87, "column": 59 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "property": { "type": "Identifier", "start": 5259, "end": 5263, "loc": { "start": { "line": 87, "column": 60 }, "end": { "line": 87, "column": 64 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5264, "end": 5268, "loc": { "start": { "line": 87, "column": 65 }, "end": { "line": 87, "column": 69 } } } ] } } }, { "type": "ExpressionStatement", "start": 5276, "end": 5333, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 5276, "end": 5332, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5276, "end": 5297, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 25 } }, "object": { "type": "ThisExpression", "start": 5276, "end": 5280, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 8 } } }, "property": { "type": "Identifier", "start": 5281, "end": 5297, "loc": { "start": { "line": 88, "column": 9 }, "end": { "line": 88, "column": 25 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "right": { "type": "CallExpression", "start": 5300, "end": 5332, "loc": { "start": { "line": 88, "column": 28 }, "end": { "line": 88, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 5300, "end": 5326, "loc": { "start": { "line": 88, "column": 28 }, "end": { "line": 88, "column": 54 } }, "object": { "type": "MemberExpression", "start": 5300, "end": 5321, "loc": { "start": { "line": 88, "column": 28 }, "end": { "line": 88, "column": 49 } }, "object": { "type": "ThisExpression", "start": 5300, "end": 5304, "loc": { "start": { "line": 88, "column": 28 }, "end": { "line": 88, "column": 32 } } }, "property": { "type": "Identifier", "start": 5305, "end": 5321, "loc": { "start": { "line": 88, "column": 33 }, "end": { "line": 88, "column": 49 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "property": { "type": "Identifier", "start": 5322, "end": 5326, "loc": { "start": { "line": 88, "column": 50 }, "end": { "line": 88, "column": 54 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5327, "end": 5331, "loc": { "start": { "line": 88, "column": 55 }, "end": { "line": 88, "column": 59 } } } ] } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", "start": 5341, "end": 6000, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 103, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6006, "end": 6022, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 20 } }, "expression": { "type": "AssignmentExpression", "start": 6006, "end": 6021, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 19 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6006, "end": 6016, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 14 } }, "object": { "type": "ThisExpression", "start": 6006, "end": 6010, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6011, "end": 6016, "loc": { "start": { "line": 104, "column": 9 }, "end": { "line": 104, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 6019, "end": 6021, "loc": { "start": { "line": 104, "column": 17 }, "end": { "line": 104, "column": 19 } }, "properties": [] }, "leadingComments": null }, "leadingComments": [ { "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": 5341, "end": 6000, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 103, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6028, "end": 6068, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 105, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 6028, "end": 6067, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 105, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6028, "end": 6062, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 105, "column": 38 } }, "object": { "type": "MemberExpression", "start": 6028, "end": 6038, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 105, "column": 14 } }, "object": { "type": "ThisExpression", "start": 6028, "end": 6032, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 105, "column": 8 } } }, "property": { "type": "Identifier", "start": 6033, "end": 6038, "loc": { "start": { "line": 105, "column": 9 }, "end": { "line": 105, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6039, "end": 6061, "loc": { "start": { "line": 105, "column": 15 }, "end": { "line": 105, "column": 37 } }, "object": { "type": "MemberExpression", "start": 6039, "end": 6051, "loc": { "start": { "line": 105, "column": 15 }, "end": { "line": 105, "column": 27 } }, "object": { "type": "ThisExpression", "start": 6039, "end": 6043, "loc": { "start": { "line": 105, "column": 15 }, "end": { "line": 105, "column": 19 } } }, "property": { "type": "Identifier", "start": 6044, "end": 6051, "loc": { "start": { "line": 105, "column": 20 }, "end": { "line": 105, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6052, "end": 6061, "loc": { "start": { "line": 105, "column": 28 }, "end": { "line": 105, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 6065, "end": 6067, "loc": { "start": { "line": 105, "column": 41 }, "end": { "line": 105, "column": 43 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", "start": 6076, "end": 6185, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 109, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6191, "end": 6252, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 6191, "end": 6251, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6191, "end": 6212, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 25 } }, "object": { "type": "ThisExpression", "start": 6191, "end": 6195, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6196, "end": 6212, "loc": { "start": { "line": 110, "column": 9 }, "end": { "line": 110, "column": 25 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 6215, "end": 6251, "loc": { "start": { "line": 110, "column": 28 }, "end": { "line": 110, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 6215, "end": 6247, "loc": { "start": { "line": 110, "column": 28 }, "end": { "line": 110, "column": 60 } }, "object": { "type": "CallExpression", "start": 6215, "end": 6242, "loc": { "start": { "line": 110, "column": 28 }, "end": { "line": 110, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 6215, "end": 6237, "loc": { "start": { "line": 110, "column": 28 }, "end": { "line": 110, "column": 50 } }, "object": { "type": "Identifier", "start": 6215, "end": 6231, "loc": { "start": { "line": 110, "column": 28 }, "end": { "line": 110, "column": 44 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" }, "property": { "type": "Identifier", "start": 6232, "end": 6237, "loc": { "start": { "line": 110, "column": 45 }, "end": { "line": 110, "column": 50 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6238, "end": 6241, "loc": { "start": { "line": 110, "column": 51 }, "end": { "line": 110, "column": 54 } }, "extra": { "rawValue": ".", "raw": "'.'" }, "value": "." } ] }, "property": { "type": "Identifier", "start": 6243, "end": 6247, "loc": { "start": { "line": 110, "column": 56 }, "end": { "line": 110, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6248, "end": 6250, "loc": { "start": { "line": 110, "column": 61 }, "end": { "line": 110, "column": 63 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", "start": 6076, "end": 6185, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 109, "column": 7 } } } ], "trailingComments": [ { "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": 6260, "end": 6405, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 114, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6411, "end": 6436, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 6411, "end": 6435, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6411, "end": 6430, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 23 } }, "object": { "type": "ThisExpression", "start": 6411, "end": 6415, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6416, "end": 6430, "loc": { "start": { "line": 115, "column": 9 }, "end": { "line": 115, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 6433, "end": 6435, "loc": { "start": { "line": 115, "column": 26 }, "end": { "line": 115, "column": 28 } }, "properties": [] }, "leadingComments": null }, "leadingComments": [ { "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": 6260, "end": 6405, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 114, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 6444, "end": 6483, "loc": { "start": { "line": 117, "column": 4 }, "end": { "line": 119, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6489, "end": 6668, "loc": { "start": { "line": 120, "column": 4 }, "end": { "line": 125, "column": 5 } }, "test": { "type": "MemberExpression", "start": 6492, "end": 6508, "loc": { "start": { "line": 120, "column": 7 }, "end": { "line": 120, "column": 23 } }, "object": { "type": "ThisExpression", "start": 6492, "end": 6496, "loc": { "start": { "line": 120, "column": 7 }, "end": { "line": 120, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6497, "end": 6508, "loc": { "start": { "line": 120, "column": 12 }, "end": { "line": 120, "column": 23 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 6517, "end": 6531, "loc": { "start": { "line": 121, "column": 6 }, "end": { "line": 121, "column": 20 } }, "expression": { "type": "CallExpression", "start": 6517, "end": 6530, "loc": { "start": { "line": 121, "column": 6 }, "end": { "line": 121, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 6517, "end": 6528, "loc": { "start": { "line": 121, "column": 6 }, "end": { "line": 121, "column": 17 } }, "object": { "type": "ThisExpression", "start": 6517, "end": 6521, "loc": { "start": { "line": 121, "column": 6 }, "end": { "line": 121, "column": 10 } } }, "property": { "type": "Identifier", "start": 6522, "end": 6528, "loc": { "start": { "line": 121, "column": 11 }, "end": { "line": 121, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, "alternate": { "type": "BlockStatement", "start": 6542, "end": 6668, "loc": { "start": { "line": 122, "column": 9 }, "end": { "line": 125, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6551, "end": 6615, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 70 } }, "expression": { "type": "CallExpression", "start": 6551, "end": 6614, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 6551, "end": 6563, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 18 } }, "object": { "type": "Identifier", "start": 6551, "end": 6558, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 6559, "end": 6563, "loc": { "start": { "line": 123, "column": 14 }, "end": { "line": 123, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 6564, "end": 6613, "loc": { "start": { "line": 123, "column": 19 }, "end": { "line": 123, "column": 68 } }, "expressions": [ { "type": "Identifier", "start": 6568, "end": 6584, "loc": { "start": { "line": 123, "column": 23 }, "end": { "line": 123, "column": 39 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" } ], "quasis": [ { "type": "TemplateElement", "start": 6565, "end": 6566, "loc": { "start": { "line": 123, "column": 20 }, "end": { "line": 123, "column": 21 } }, "value": { "raw": "\"", "cooked": "\"" }, "tail": false }, { "type": "TemplateElement", "start": 6585, "end": 6612, "loc": { "start": { "line": 123, "column": 40 }, "end": { "line": 123, "column": 67 } }, "value": { "raw": "\" was not found in the DOM.", "cooked": "\" was not found in the DOM." }, "tail": true } ] } ] } }, { "type": "ThrowStatement", "start": 6623, "end": 6661, "loc": { "start": { "line": 124, "column": 6 }, "end": { "line": 124, "column": 44 } }, "argument": { "type": "NewExpression", "start": 6629, "end": 6660, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 43 } }, "callee": { "type": "Identifier", "start": 6633, "end": 6638, "loc": { "start": { "line": 124, "column": 16 }, "end": { "line": 124, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 6639, "end": 6659, "loc": { "start": { "line": 124, "column": 22 }, "end": { "line": 124, "column": 42 } }, "extra": { "rawValue": "KEYBOARD_DOM_ERROR", "raw": "\"KEYBOARD_DOM_ERROR\"" }, "value": "KEYBOARD_DOM_ERROR" } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 6444, "end": 6483, "loc": { "start": { "line": 117, "column": 4 }, "end": { "line": 119, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 6676, "end": 6789, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 130, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6795, "end": 6880, "loc": { "start": { "line": 131, "column": 4 }, "end": { "line": 132, "column": 45 } }, "test": { "type": "UnaryExpression", "start": 6798, "end": 6832, "loc": { "start": { "line": 131, "column": 7 }, "end": { "line": 131, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 6799, "end": 6832, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 41 } }, "object": { "type": "Identifier", "start": 6799, "end": 6805, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 14 }, "identifierName": "window" }, "name": "window", "leadingComments": null }, "property": { "type": "StringLiteral", "start": 6806, "end": 6831, "loc": { "start": { "line": 131, "column": 15 }, "end": { "line": 131, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 6841, "end": 6880, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 6841, "end": 6879, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6841, "end": 6874, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 39 } }, "object": { "type": "Identifier", "start": 6841, "end": 6847, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 12 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 6848, "end": 6873, "loc": { "start": { "line": 132, "column": 13 }, "end": { "line": 132, "column": 38 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 6877, "end": 6879, "loc": { "start": { "line": 132, "column": 42 }, "end": { "line": 132, "column": 44 } }, "properties": [] } } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 6676, "end": 6789, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 130, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6894, "end": 6984, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 94 } }, "expression": { "type": "AssignmentExpression", "start": 6894, "end": 6983, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 93 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6894, "end": 6976, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 86 } }, "object": { "type": "MemberExpression", "start": 6894, "end": 6927, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 37 } }, "object": { "type": "Identifier", "start": 6894, "end": 6900, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 10 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 6901, "end": 6926, "loc": { "start": { "line": 134, "column": 11 }, "end": { "line": 134, "column": 36 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "CallExpression", "start": 6928, "end": 6975, "loc": { "start": { "line": 134, "column": 38 }, "end": { "line": 134, "column": 85 } }, "callee": { "type": "MemberExpression", "start": 6928, "end": 6952, "loc": { "start": { "line": 134, "column": 38 }, "end": { "line": 134, "column": 62 } }, "object": { "type": "MemberExpression", "start": 6928, "end": 6942, "loc": { "start": { "line": 134, "column": 38 }, "end": { "line": 134, "column": 52 } }, "object": { "type": "ThisExpression", "start": 6928, "end": 6932, "loc": { "start": { "line": 134, "column": 38 }, "end": { "line": 134, "column": 42 } } }, "property": { "type": "Identifier", "start": 6933, "end": 6942, "loc": { "start": { "line": 134, "column": 43 }, "end": { "line": 134, "column": 52 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 6943, "end": 6952, "loc": { "start": { "line": 134, "column": 53 }, "end": { "line": 134, "column": 62 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 6953, "end": 6974, "loc": { "start": { "line": 134, "column": 63 }, "end": { "line": 134, "column": 84 } }, "object": { "type": "ThisExpression", "start": 6953, "end": 6957, "loc": { "start": { "line": 134, "column": 63 }, "end": { "line": 134, "column": 67 } } }, "property": { "type": "Identifier", "start": 6958, "end": 6974, "loc": { "start": { "line": 134, "column": 68 }, "end": { "line": 134, "column": 84 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } ] }, "computed": true }, "right": { "type": "ThisExpression", "start": 6979, "end": 6983, "loc": { "start": { "line": 134, "column": 89 }, "end": { "line": 134, "column": 93 } } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 6992, "end": 7038, "loc": { "start": { "line": 136, "column": 4 }, "end": { "line": 138, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7044, "end": 7104, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 64 } }, "expression": { "type": "AssignmentExpression", "start": 7044, "end": 7103, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7044, "end": 7074, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 34 } }, "object": { "type": "ThisExpression", "start": 7044, "end": 7048, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7049, "end": 7074, "loc": { "start": { "line": 139, "column": 9 }, "end": { "line": 139, "column": 34 }, "identifierName": "physicalKeyboardInterface" }, "name": "physicalKeyboardInterface" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 7077, "end": 7103, "loc": { "start": { "line": 139, "column": 37 }, "end": { "line": 139, "column": 63 } }, "callee": { "type": "Identifier", "start": 7081, "end": 7097, "loc": { "start": { "line": 139, "column": 41 }, "end": { "line": 139, "column": 57 }, "identifierName": "PhysicalKeyboard" }, "name": "PhysicalKeyboard" }, "arguments": [ { "type": "ThisExpression", "start": 7098, "end": 7102, "loc": { "start": { "line": 139, "column": 58 }, "end": { "line": 139, "column": 62 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 6992, "end": 7038, "loc": { "start": { "line": 136, "column": 4 }, "end": { "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": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\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 ", "start": 393, "end": 675, "loc": { "start": { "line": 16, "column": 2 }, "end": { "line": 19, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", "start": 7200, "end": 7312, "loc": { "start": { "line": 148, "column": 2 }, "end": { "line": 151, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 7316, "end": 8703, "loc": { "start": { "line": 152, "column": 2 }, "end": { "line": 202, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7316, "end": 7335, "loc": { "start": { "line": 152, "column": 2 }, "end": { "line": 152, "column": 21 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7336, "end": 7342, "loc": { "start": { "line": 152, "column": 22 }, "end": { "line": 152, "column": 28 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 7343, "end": 8703, "loc": { "start": { "line": 152, "column": 29 }, "end": { "line": 202, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 7350, "end": 7381, "loc": { "start": { "line": 153, "column": 4 }, "end": { "line": 153, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7354, "end": 7380, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 34 } }, "id": { "type": "Identifier", "start": 7354, "end": 7359, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 13 }, "identifierName": "debug" }, "name": "debug" }, "init": { "type": "MemberExpression", "start": 7362, "end": 7380, "loc": { "start": { "line": 153, "column": 16 }, "end": { "line": 153, "column": 34 } }, "object": { "type": "MemberExpression", "start": 7362, "end": 7374, "loc": { "start": { "line": 153, "column": 16 }, "end": { "line": 153, "column": 28 } }, "object": { "type": "ThisExpression", "start": 7362, "end": 7366, "loc": { "start": { "line": 153, "column": 16 }, "end": { "line": 153, "column": 20 } } }, "property": { "type": "Identifier", "start": 7367, "end": 7374, "loc": { "start": { "line": 153, "column": 21 }, "end": { "line": 153, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7375, "end": 7380, "loc": { "start": { "line": 153, "column": 29 }, "end": { "line": 153, "column": 34 }, "identifierName": "debug" }, "name": "debug" }, "computed": false } } ], "kind": "let", "trailingComments": [ { "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 } } } ] }, { "type": "IfStatement", "start": 7444, "end": 7486, "loc": { "start": { "line": 158, "column": 4 }, "end": { "line": 159, "column": 19 } }, "test": { "type": "BinaryExpression", "start": 7447, "end": 7464, "loc": { "start": { "line": 158, "column": 7 }, "end": { "line": 158, "column": 24 } }, "left": { "type": "Identifier", "start": 7447, "end": 7453, "loc": { "start": { "line": 158, "column": 7 }, "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 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 7549, "end": 7572, "loc": { "start": { "line": 164, "column": 14 }, "end": { "line": 164, "column": 37 } }, "object": { "type": "MemberExpression", "start": 7549, "end": 7561, "loc": { "start": { "line": 164, "column": 14 }, "end": { "line": 164, "column": 26 } }, "object": { "type": "ThisExpression", "start": 7549, "end": 7553, "loc": { "start": { "line": 164, "column": 14 }, "end": { "line": 164, "column": 18 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7554, "end": 7561, "loc": { "start": { "line": 164, "column": 19 }, "end": { "line": 164, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 7562, "end": 7572, "loc": { "start": { "line": 164, "column": 27 }, "end": { "line": 164, "column": 37 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 7577, "end": 7587, "loc": { "start": { "line": 164, "column": 42 }, "end": { "line": 164, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 7596, "end": 7628, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 38 } }, "expression": { "type": "CallExpression", "start": 7596, "end": 7627, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 7596, "end": 7619, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 29 } }, "object": { "type": "MemberExpression", "start": 7596, "end": 7608, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 18 } }, "object": { "type": "ThisExpression", "start": 7596, "end": 7600, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 10 } } }, "property": { "type": "Identifier", "start": 7601, "end": 7608, "loc": { "start": { "line": 165, "column": 11 }, "end": { "line": 165, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7609, "end": 7619, "loc": { "start": { "line": 165, "column": 19 }, "end": { "line": 165, "column": 29 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7620, "end": 7626, "loc": { "start": { "line": 165, "column": 30 }, "end": { "line": 165, "column": 36 }, "identifierName": "button" }, "name": "button" } ] } }, "alternate": null, "leadingComments": [ { "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": 7640, "end": 7727, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 168, "column": 46 } }, "test": { "type": "UnaryExpression", "start": 7643, "end": 7678, "loc": { "start": { "line": 167, "column": 7 }, "end": { "line": 167, "column": 42 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 7644, "end": 7678, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 42 } }, "object": { "type": "MemberExpression", "start": 7644, "end": 7654, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 18 } }, "object": { "type": "ThisExpression", "start": 7644, "end": 7648, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 12 } } }, "property": { "type": "Identifier", "start": 7649, "end": 7654, "loc": { "start": { "line": 167, "column": 13 }, "end": { "line": 167, "column": 18 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7655, "end": 7677, "loc": { "start": { "line": 167, "column": 19 }, "end": { "line": 167, "column": 41 } }, "object": { "type": "MemberExpression", "start": 7655, "end": 7667, "loc": { "start": { "line": 167, "column": 19 }, "end": { "line": 167, "column": 31 } }, "object": { "type": "ThisExpression", "start": 7655, "end": 7659, "loc": { "start": { "line": 167, "column": 19 }, "end": { "line": 167, "column": 23 } } }, "property": { "type": "Identifier", "start": 7660, "end": 7667, "loc": { "start": { "line": 167, "column": 24 }, "end": { "line": 167, "column": 31 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7668, "end": 7677, "loc": { "start": { "line": 167, "column": 32 }, "end": { "line": 167, "column": 41 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 7687, "end": 7727, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 7687, "end": 7726, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7687, "end": 7721, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 40 } }, "object": { "type": "MemberExpression", "start": 7687, "end": 7697, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 16 } }, "object": { "type": "ThisExpression", "start": 7687, "end": 7691, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 10 } } }, "property": { "type": "Identifier", "start": 7692, "end": 7697, "loc": { "start": { "line": 168, "column": 11 }, "end": { "line": 168, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7698, "end": 7720, "loc": { "start": { "line": 168, "column": 17 }, "end": { "line": 168, "column": 39 } }, "object": { "type": "MemberExpression", "start": 7698, "end": 7710, "loc": { "start": { "line": 168, "column": 17 }, "end": { "line": 168, "column": 29 } }, "object": { "type": "ThisExpression", "start": 7698, "end": 7702, "loc": { "start": { "line": 168, "column": 17 }, "end": { "line": 168, "column": 21 } } }, "property": { "type": "Identifier", "start": 7703, "end": 7710, "loc": { "start": { "line": 168, "column": 22 }, "end": { "line": 168, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7711, "end": 7720, "loc": { "start": { "line": 168, "column": 30 }, "end": { "line": 168, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 7724, "end": 7726, "loc": { "start": { "line": 168, "column": 43 }, "end": { "line": 168, "column": 45 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 7735, "end": 7863, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 170, "column": 132 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7739, "end": 7862, "loc": { "start": { "line": 170, "column": 8 }, "end": { "line": 170, "column": 131 } }, "id": { "type": "Identifier", "start": 7739, "end": 7751, "loc": { "start": { "line": 170, "column": 8 }, "end": { "line": 170, "column": 20 }, "identifierName": "updatedInput" }, "name": "updatedInput" }, "init": { "type": "CallExpression", "start": 7754, "end": 7862, "loc": { "start": { "line": 170, "column": 23 }, "end": { "line": 170, "column": 131 } }, "callee": { "type": "MemberExpression", "start": 7754, "end": 7784, "loc": { "start": { "line": 170, "column": 23 }, "end": { "line": 170, "column": 53 } }, "object": { "type": "MemberExpression", "start": 7754, "end": 7768, "loc": { "start": { "line": 170, "column": 23 }, "end": { "line": 170, "column": 37 } }, "object": { "type": "ThisExpression", "start": 7754, "end": 7758, "loc": { "start": { "line": 170, "column": 23 }, "end": { "line": 170, "column": 27 } } }, "property": { "type": "Identifier", "start": 7759, "end": 7768, "loc": { "start": { "line": 170, "column": 28 }, "end": { "line": 170, "column": 37 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 7769, "end": 7784, "loc": { "start": { "line": 170, "column": 38 }, "end": { "line": 170, "column": 53 }, "identifierName": "getUpdatedInput" }, "name": "getUpdatedInput" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7785, "end": 7791, "loc": { "start": { "line": 170, "column": 54 }, "end": { "line": 170, "column": 60 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 7793, "end": 7827, "loc": { "start": { "line": 170, "column": 62 }, "end": { "line": 170, "column": 96 } }, "object": { "type": "MemberExpression", "start": 7793, "end": 7803, "loc": { "start": { "line": 170, "column": 62 }, "end": { "line": 170, "column": 72 } }, "object": { "type": "ThisExpression", "start": 7793, "end": 7797, "loc": { "start": { "line": 170, "column": 62 }, "end": { "line": 170, "column": 66 } } }, "property": { "type": "Identifier", "start": 7798, "end": 7803, "loc": { "start": { "line": 170, "column": 67 }, "end": { "line": 170, "column": 72 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7804, "end": 7826, "loc": { "start": { "line": 170, "column": 73 }, "end": { "line": 170, "column": 95 } }, "object": { "type": "MemberExpression", "start": 7804, "end": 7816, "loc": { "start": { "line": 170, "column": 73 }, "end": { "line": 170, "column": 85 } }, "object": { "type": "ThisExpression", "start": 7804, "end": 7808, "loc": { "start": { "line": 170, "column": 73 }, "end": { "line": 170, "column": 77 } } }, "property": { "type": "Identifier", "start": 7809, "end": 7816, "loc": { "start": { "line": 170, "column": 78 }, "end": { "line": 170, "column": 85 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7817, "end": 7826, "loc": { "start": { "line": 170, "column": 86 }, "end": { "line": 170, "column": 95 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, { "type": "MemberExpression", "start": 7829, "end": 7841, "loc": { "start": { "line": 170, "column": 98 }, "end": { "line": 170, "column": 110 } }, "object": { "type": "ThisExpression", "start": 7829, "end": 7833, "loc": { "start": { "line": 170, "column": 98 }, "end": { "line": 170, "column": 102 } } }, "property": { "type": "Identifier", "start": 7834, "end": 7841, "loc": { "start": { "line": 170, "column": 103 }, "end": { "line": 170, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "MemberExpression", "start": 7843, "end": 7861, "loc": { "start": { "line": 170, "column": 112 }, "end": { "line": 170, "column": 130 } }, "object": { "type": "ThisExpression", "start": 7843, "end": 7847, "loc": { "start": { "line": 170, "column": 112 }, "end": { "line": 170, "column": 116 } } }, "property": { "type": "Identifier", "start": 7848, "end": 7861, "loc": { "start": { "line": 170, "column": 117 }, "end": { "line": 170, "column": 130 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 7871, "end": 8625, "loc": { "start": { "line": 172, "column": 4 }, "end": { "line": 197, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 7874, "end": 7925, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 58 } }, "left": { "type": "MemberExpression", "start": 7874, "end": 7908, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 41 } }, "object": { "type": "MemberExpression", "start": 7874, "end": 7884, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 17 } }, "object": { "type": "ThisExpression", "start": 7874, "end": 7878, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 11 } } }, "property": { "type": "Identifier", "start": 7879, "end": 7884, "loc": { "start": { "line": 172, "column": 12 }, "end": { "line": 172, "column": 17 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7885, "end": 7907, "loc": { "start": { "line": 172, "column": 18 }, "end": { "line": 172, "column": 40 } }, "object": { "type": "MemberExpression", "start": 7885, "end": 7897, "loc": { "start": { "line": 172, "column": 18 }, "end": { "line": 172, "column": 30 } }, "object": { "type": "ThisExpression", "start": 7885, "end": 7889, "loc": { "start": { "line": 172, "column": 18 }, "end": { "line": 172, "column": 22 } } }, "property": { "type": "Identifier", "start": 7890, "end": 7897, "loc": { "start": { "line": 172, "column": 23 }, "end": { "line": 172, "column": 30 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7898, "end": 7907, "loc": { "start": { "line": 172, "column": 31 }, "end": { "line": 172, "column": 40 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "operator": "!==", "right": { "type": "Identifier", "start": 7913, "end": 7925, "loc": { "start": { "line": 172, "column": 46 }, "end": { "line": 172, "column": 58 }, "identifierName": "updatedInput" }, "name": "updatedInput" } }, "consequent": { "type": "BlockStatement", "start": 7926, "end": 8625, "loc": { "start": { "line": 172, "column": 59 }, "end": { "line": 197, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 8022, "end": 8155, "loc": { "start": { "line": 177, "column": 6 }, "end": { "line": 179, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 8025, "end": 8121, "loc": { "start": { "line": 177, "column": 9 }, "end": { "line": 177, "column": 105 } }, "left": { "type": "MemberExpression", "start": 8025, "end": 8047, "loc": { "start": { "line": 177, "column": 9 }, "end": { "line": 177, "column": 31 } }, "object": { "type": "MemberExpression", "start": 8025, "end": 8037, "loc": { "start": { "line": 177, "column": 9 }, "end": { "line": 177, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8025, "end": 8029, "loc": { "start": { "line": 177, "column": 9 }, "end": { "line": 177, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8030, "end": 8037, "loc": { "start": { "line": 177, "column": 14 }, "end": { "line": 177, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8038, "end": 8047, "loc": { "start": { "line": 177, "column": 22 }, "end": { "line": 177, "column": 31 }, "identifierName": "maxLength" }, "name": "maxLength" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 8051, "end": 8121, "loc": { "start": { "line": 177, "column": 35 }, "end": { "line": 177, "column": 105 } }, "callee": { "type": "MemberExpression", "start": 8051, "end": 8081, "loc": { "start": { "line": 177, "column": 35 }, "end": { "line": 177, "column": 65 } }, "object": { "type": "MemberExpression", "start": 8051, "end": 8065, "loc": { "start": { "line": 177, "column": 35 }, "end": { "line": 177, "column": 49 } }, "object": { "type": "ThisExpression", "start": 8051, "end": 8055, "loc": { "start": { "line": 177, "column": 35 }, "end": { "line": 177, "column": 39 } } }, "property": { "type": "Identifier", "start": 8056, "end": 8065, "loc": { "start": { "line": 177, "column": 40 }, "end": { "line": 177, "column": 49 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 8066, "end": 8081, "loc": { "start": { "line": 177, "column": 50 }, "end": { "line": 177, "column": 65 }, "identifierName": "handleMaxLength" }, "name": "handleMaxLength" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8082, "end": 8092, "loc": { "start": { "line": 177, "column": 66 }, "end": { "line": 177, "column": 76 } }, "object": { "type": "ThisExpression", "start": 8082, "end": 8086, "loc": { "start": { "line": 177, "column": 66 }, "end": { "line": 177, "column": 70 } } }, "property": { "type": "Identifier", "start": 8087, "end": 8092, "loc": { "start": { "line": 177, "column": 71 }, "end": { "line": 177, "column": 76 }, "identifierName": "input" }, "name": "input" }, "computed": false }, { "type": "MemberExpression", "start": 8094, "end": 8106, "loc": { "start": { "line": 177, "column": 78 }, "end": { "line": 177, "column": 90 } }, "object": { "type": "ThisExpression", "start": 8094, "end": 8098, "loc": { "start": { "line": 177, "column": 78 }, "end": { "line": 177, "column": 82 } } }, "property": { "type": "Identifier", "start": 8099, "end": 8106, "loc": { "start": { "line": 177, "column": 83 }, "end": { "line": 177, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 8108, "end": 8120, "loc": { "start": { "line": 177, "column": 92 }, "end": { "line": 177, "column": 104 }, "identifierName": "updatedInput" }, "name": "updatedInput" } ] }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 8122, "end": 8155, "loc": { "start": { "line": 177, "column": 106 }, "end": { "line": 179, "column": 7 } }, "body": [ { "type": "ReturnStatement", "start": 8133, "end": 8146, "loc": { "start": { "line": 178, "column": 8 }, "end": { "line": 178, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 8140, "end": 8145, "loc": { "start": { "line": 178, "column": 15 }, "end": { "line": 178, "column": 20 } }, "value": false } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "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": 176, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 8165, "end": 8215, "loc": { "start": { "line": 181, "column": 6 }, "end": { "line": 181, "column": 56 } }, "expression": { "type": "AssignmentExpression", "start": 8165, "end": 8214, "loc": { "start": { "line": 181, "column": 6 }, "end": { "line": 181, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8165, "end": 8199, "loc": { "start": { "line": 181, "column": 6 }, "end": { "line": 181, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8165, "end": 8175, "loc": { "start": { "line": 181, "column": 6 }, "end": { "line": 181, "column": 16 } }, "object": { "type": "ThisExpression", "start": 8165, "end": 8169, "loc": { "start": { "line": 181, "column": 6 }, "end": { "line": 181, "column": 10 } } }, "property": { "type": "Identifier", "start": 8170, "end": 8175, "loc": { "start": { "line": 181, "column": 11 }, "end": { "line": 181, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8176, "end": 8198, "loc": { "start": { "line": 181, "column": 17 }, "end": { "line": 181, "column": 39 } }, "object": { "type": "MemberExpression", "start": 8176, "end": 8188, "loc": { "start": { "line": 181, "column": 17 }, "end": { "line": 181, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8176, "end": 8180, "loc": { "start": { "line": 181, "column": 17 }, "end": { "line": 181, "column": 21 } } }, "property": { "type": "Identifier", "start": 8181, "end": 8188, "loc": { "start": { "line": 181, "column": 22 }, "end": { "line": 181, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8189, "end": 8198, "loc": { "start": { "line": 181, "column": 30 }, "end": { "line": 181, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "Identifier", "start": 8202, "end": 8214, "loc": { "start": { "line": 181, "column": 43 }, "end": { "line": 181, "column": 55 }, "identifierName": "updatedInput" }, "name": "updatedInput" } } }, { "type": "IfStatement", "start": 8225, "end": 8286, "loc": { "start": { "line": 183, "column": 6 }, "end": { "line": 184, "column": 50 } }, "test": { "type": "Identifier", "start": 8228, "end": 8233, "loc": { "start": { "line": 183, "column": 9 }, "end": { "line": 183, "column": 14 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "ExpressionStatement", "start": 8244, "end": 8286, "loc": { "start": { "line": 184, "column": 8 }, "end": { "line": 184, "column": 50 } }, "expression": { "type": "CallExpression", "start": 8244, "end": 8285, "loc": { "start": { "line": 184, "column": 8 }, "end": { "line": 184, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 8244, "end": 8255, "loc": { "start": { "line": 184, "column": 8 }, "end": { "line": 184, "column": 19 } }, "object": { "type": "Identifier", "start": 8244, "end": 8251, "loc": { "start": { "line": 184, "column": 8 }, "end": { "line": 184, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 8252, "end": 8255, "loc": { "start": { "line": 184, "column": 16 }, "end": { "line": 184, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 8256, "end": 8272, "loc": { "start": { "line": 184, "column": 20 }, "end": { "line": 184, "column": 36 } }, "extra": { "rawValue": "Input changed:", "raw": "'Input changed:'" }, "value": "Input changed:" }, { "type": "MemberExpression", "start": 8274, "end": 8284, "loc": { "start": { "line": 184, "column": 38 }, "end": { "line": 184, "column": 48 } }, "object": { "type": "ThisExpression", "start": 8274, "end": 8278, "loc": { "start": { "line": 184, "column": 38 }, "end": { "line": 184, "column": 42 } } }, "property": { "type": "Identifier", "start": 8279, "end": 8284, "loc": { "start": { "line": 184, "column": 43 }, "end": { "line": 184, "column": 48 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] }, "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8296, "end": 8355, "loc": { "start": { "line": 186, "column": 6 }, "end": { "line": 188, "column": 9 } } } ] }, { "type": "IfStatement", "start": 8363, "end": 8444, "loc": { "start": { "line": 189, "column": 6 }, "end": { "line": 190, "column": 44 } }, "test": { "type": "MemberExpression", "start": 8366, "end": 8397, "loc": { "start": { "line": 189, "column": 9 }, "end": { "line": 189, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8366, "end": 8378, "loc": { "start": { "line": 189, "column": 9 }, "end": { "line": 189, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8366, "end": 8370, "loc": { "start": { "line": 189, "column": 9 }, "end": { "line": 189, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8371, "end": 8378, "loc": { "start": { "line": 189, "column": 14 }, "end": { "line": 189, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8379, "end": 8397, "loc": { "start": { "line": 189, "column": 22 }, "end": { "line": 189, "column": 40 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8408, "end": 8444, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 44 } }, "expression": { "type": "CallExpression", "start": 8408, "end": 8443, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 8408, "end": 8431, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 31 } }, "object": { "type": "ThisExpression", "start": 8408, "end": 8412, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 12 } } }, "property": { "type": "Identifier", "start": 8413, "end": 8431, "loc": { "start": { "line": 190, "column": 13 }, "end": { "line": 190, "column": 31 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8432, "end": 8442, "loc": { "start": { "line": 190, "column": 32 }, "end": { "line": 190, "column": 42 } }, "object": { "type": "ThisExpression", "start": 8432, "end": 8436, "loc": { "start": { "line": 190, "column": 32 }, "end": { "line": 190, "column": 36 } } }, "property": { "type": "Identifier", "start": 8437, "end": 8442, "loc": { "start": { "line": 190, "column": 37 }, "end": { "line": 190, "column": 42 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] }, "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8296, "end": 8355, "loc": { "start": { "line": 186, "column": 6 }, "end": { "line": 188, "column": 9 } } } ], "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": 8503, "end": 8618, "loc": { "start": { "line": 195, "column": 6 }, "end": { "line": 196, "column": 66 } }, "test": { "type": "BinaryExpression", "start": 8506, "end": 8549, "loc": { "start": { "line": 195, "column": 9 }, "end": { "line": 195, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 8506, "end": 8534, "loc": { "start": { "line": 195, "column": 9 }, "end": { "line": 195, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 8513, "end": 8534, "loc": { "start": { "line": 195, "column": 16 }, "end": { "line": 195, "column": 37 } }, "object": { "type": "MemberExpression", "start": 8513, "end": 8525, "loc": { "start": { "line": 195, "column": 16 }, "end": { "line": 195, "column": 28 } }, "object": { "type": "ThisExpression", "start": 8513, "end": 8517, "loc": { "start": { "line": 195, "column": 16 }, "end": { "line": 195, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8518, "end": 8525, "loc": { "start": { "line": 195, "column": 21 }, "end": { "line": 195, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8526, "end": 8534, "loc": { "start": { "line": 195, "column": 29 }, "end": { "line": 195, "column": 37 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 8539, "end": 8549, "loc": { "start": { "line": 195, "column": 42 }, "end": { "line": 195, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8560, "end": 8618, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 66 } }, "expression": { "type": "CallExpression", "start": 8560, "end": 8617, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 8560, "end": 8581, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 29 } }, "object": { "type": "MemberExpression", "start": 8560, "end": 8572, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 20 } }, "object": { "type": "ThisExpression", "start": 8560, "end": 8564, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 12 } } }, "property": { "type": "Identifier", "start": 8565, "end": 8572, "loc": { "start": { "line": 196, "column": 13 }, "end": { "line": 196, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8573, "end": 8581, "loc": { "start": { "line": 196, "column": 21 }, "end": { "line": 196, "column": 29 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8582, "end": 8616, "loc": { "start": { "line": 196, "column": 30 }, "end": { "line": 196, "column": 64 } }, "object": { "type": "MemberExpression", "start": 8582, "end": 8592, "loc": { "start": { "line": 196, "column": 30 }, "end": { "line": 196, "column": 40 } }, "object": { "type": "ThisExpression", "start": 8582, "end": 8586, "loc": { "start": { "line": 196, "column": 30 }, "end": { "line": 196, "column": 34 } } }, "property": { "type": "Identifier", "start": 8587, "end": 8592, "loc": { "start": { "line": 196, "column": 35 }, "end": { "line": 196, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8593, "end": 8615, "loc": { "start": { "line": 196, "column": 41 }, "end": { "line": 196, "column": 63 } }, "object": { "type": "MemberExpression", "start": 8593, "end": 8605, "loc": { "start": { "line": 196, "column": 41 }, "end": { "line": 196, "column": 53 } }, "object": { "type": "ThisExpression", "start": 8593, "end": 8597, "loc": { "start": { "line": 196, "column": 41 }, "end": { "line": 196, "column": 45 } } }, "property": { "type": "Identifier", "start": 8598, "end": 8605, "loc": { "start": { "line": 196, "column": 46 }, "end": { "line": 196, "column": 53 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8606, "end": 8615, "loc": { "start": { "line": 196, "column": 54 }, "end": { "line": 196, "column": 63 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 8454, "end": 8495, "loc": { "start": { "line": 192, "column": 6 }, "end": { "line": 194, "column": 9 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 8637, "end": 8698, "loc": { "start": { "line": 199, "column": 4 }, "end": { "line": 201, "column": 5 } }, "test": { "type": "Identifier", "start": 8640, "end": 8645, "loc": { "start": { "line": 199, "column": 7 }, "end": { "line": 199, "column": 12 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "BlockStatement", "start": 8646, "end": 8698, "loc": { "start": { "line": 199, "column": 13 }, "end": { "line": 201, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 8655, "end": 8691, "loc": { "start": { "line": 200, "column": 6 }, "end": { "line": 200, "column": 42 } }, "expression": { "type": "CallExpression", "start": 8655, "end": 8690, "loc": { "start": { "line": 200, "column": 6 }, "end": { "line": 200, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 8655, "end": 8666, "loc": { "start": { "line": 200, "column": 6 }, "end": { "line": 200, "column": 17 } }, "object": { "type": "Identifier", "start": 8655, "end": 8662, "loc": { "start": { "line": 200, "column": 6 }, "end": { "line": 200, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 8663, "end": 8666, "loc": { "start": { "line": 200, "column": 14 }, "end": { "line": 200, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 8667, "end": 8681, "loc": { "start": { "line": 200, "column": 18 }, "end": { "line": 200, "column": 32 } }, "extra": { "rawValue": "Key pressed:", "raw": "\"Key pressed:\"" }, "value": "Key pressed:" }, { "type": "Identifier", "start": 8683, "end": 8689, "loc": { "start": { "line": 200, "column": 34 }, "end": { "line": 200, "column": 40 }, "identifierName": "button" }, "name": "button" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", "start": 7200, "end": 7312, "loc": { "start": { "line": 148, "column": 2 }, "end": { "line": 151, "column": 5 } } } ], "trailingComments": [ { "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": "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 } } } ] }, { "type": "ClassMethod", "start": 9536, "end": 9681, "loc": { "start": { "line": 239, "column": 2 }, "end": { "line": 243, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9536, "end": 9555, "loc": { "start": { "line": 239, "column": 2 }, "end": { "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" }, "name": "syncInstanceInputs", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 10153, "end": 10245, "loc": { "start": { "line": 262, "column": 22 }, "end": { "line": 266, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10160, "end": 10240, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 265, "column": 7 } }, "expression": { "type": "CallExpression", "start": 10160, "end": 10239, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 265, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 10160, "end": 10173, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 263, "column": 17 } }, "object": { "type": "ThisExpression", "start": 10160, "end": 10164, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 263, "column": 8 } } }, "property": { "type": "Identifier", "start": 10165, "end": 10173, "loc": { "start": { "line": 263, "column": 9 }, "end": { "line": 263, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10174, "end": 10238, "loc": { "start": { "line": 263, "column": 18 }, "end": { "line": 265, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10175, "end": 10183, "loc": { "start": { "line": 263, "column": 19 }, "end": { "line": 263, "column": 27 }, "identifierName": "instance" }, "name": "instance" } ], "body": { "type": "BlockStatement", "start": 10188, "end": 10238, "loc": { "start": { "line": 263, "column": 32 }, "end": { "line": 265, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10197, "end": 10231, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 40 } }, "expression": { "type": "CallExpression", "start": 10197, "end": 10230, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 10197, "end": 10218, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 27 } }, "object": { "type": "Identifier", "start": 10197, "end": 10205, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 14 }, "identifierName": "instance" }, "name": "instance" }, "property": { "type": "Identifier", "start": 10206, "end": 10218, "loc": { "start": { "line": 264, "column": 15 }, "end": { "line": 264, "column": 27 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 10219, "end": 10229, "loc": { "start": { "line": 264, "column": 28 }, "end": { "line": 264, "column": 38 } }, "object": { "type": "ThisExpression", "start": 10219, "end": 10223, "loc": { "start": { "line": 264, "column": 28 }, "end": { "line": 264, "column": 32 } } }, "property": { "type": "Identifier", "start": 10224, "end": 10229, "loc": { "start": { "line": 264, "column": 33 }, "end": { "line": 264, "column": 38 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 10032, "end": 10129, "loc": { "start": { "line": 259, "column": 2 }, "end": { "line": 261, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 10253, "end": 10371, "loc": { "start": { "line": 268, "column": 2 }, "end": { "line": 271, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10375, "end": 10650, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 281, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10375, "end": 10385, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 272, "column": 12 }, "identifierName": "clearInput" }, "name": "clearInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10386, "end": 10395, "loc": { "start": { "line": 272, "column": 13 }, "end": { "line": 272, "column": 22 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 10396, "end": 10650, "loc": { "start": { "line": 272, "column": 23 }, "end": { "line": 281, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10403, "end": 10451, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 273, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 10403, "end": 10450, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 273, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 10403, "end": 10412, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 273, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 10415, "end": 10450, "loc": { "start": { "line": 273, "column": 16 }, "end": { "line": 273, "column": 51 } }, "left": { "type": "Identifier", "start": 10415, "end": 10424, "loc": { "start": { "line": 273, "column": 16 }, "end": { "line": 273, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 10428, "end": 10450, "loc": { "start": { "line": 273, "column": 29 }, "end": { "line": 273, "column": 51 } }, "object": { "type": "MemberExpression", "start": 10428, "end": 10440, "loc": { "start": { "line": 273, "column": 29 }, "end": { "line": 273, "column": 41 } }, "object": { "type": "ThisExpression", "start": 10428, "end": 10432, "loc": { "start": { "line": 273, "column": 29 }, "end": { "line": 273, "column": 33 } } }, "property": { "type": "Identifier", "start": 10433, "end": 10440, "loc": { "start": { "line": 273, "column": 34 }, "end": { "line": 273, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10441, "end": 10450, "loc": { "start": { "line": 273, "column": 42 }, "end": { "line": 273, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 10457, "end": 10497, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 10457, "end": 10496, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10457, "end": 10491, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 38 } }, "object": { "type": "MemberExpression", "start": 10457, "end": 10467, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 14 } }, "object": { "type": "ThisExpression", "start": 10457, "end": 10461, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 8 } } }, "property": { "type": "Identifier", "start": 10462, "end": 10467, "loc": { "start": { "line": 274, "column": 9 }, "end": { "line": 274, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 10468, "end": 10490, "loc": { "start": { "line": 274, "column": 15 }, "end": { "line": 274, "column": 37 } }, "object": { "type": "MemberExpression", "start": 10468, "end": 10480, "loc": { "start": { "line": 274, "column": 15 }, "end": { "line": 274, "column": 27 } }, "object": { "type": "ThisExpression", "start": 10468, "end": 10472, "loc": { "start": { "line": 274, "column": 15 }, "end": { "line": 274, "column": 19 } } }, "property": { "type": "Identifier", "start": 10473, "end": 10480, "loc": { "start": { "line": 274, "column": 20 }, "end": { "line": 274, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10481, "end": 10490, "loc": { "start": { "line": 274, "column": 28 }, "end": { "line": 274, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 10494, "end": 10496, "loc": { "start": { "line": 274, "column": 41 }, "end": { "line": 274, "column": 43 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10505, "end": 10560, "loc": { "start": { "line": 276, "column": 4 }, "end": { "line": 278, "column": 7 } } } ] }, { "type": "IfStatement", "start": 10566, "end": 10645, "loc": { "start": { "line": 279, "column": 4 }, "end": { "line": 280, "column": 42 } }, "test": { "type": "MemberExpression", "start": 10569, "end": 10600, "loc": { "start": { "line": 279, "column": 7 }, "end": { "line": 279, "column": 38 } }, "object": { "type": "MemberExpression", "start": 10569, "end": 10581, "loc": { "start": { "line": 279, "column": 7 }, "end": { "line": 279, "column": 19 } }, "object": { "type": "ThisExpression", "start": 10569, "end": 10573, "loc": { "start": { "line": 279, "column": 7 }, "end": { "line": 279, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 10574, "end": 10581, "loc": { "start": { "line": 279, "column": 12 }, "end": { "line": 279, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 10582, "end": 10600, "loc": { "start": { "line": 279, "column": 20 }, "end": { "line": 279, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 10609, "end": 10645, "loc": { "start": { "line": 280, "column": 6 }, "end": { "line": 280, "column": 42 } }, "expression": { "type": "CallExpression", "start": 10609, "end": 10644, "loc": { "start": { "line": 280, "column": 6 }, "end": { "line": 280, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 10609, "end": 10632, "loc": { "start": { "line": 280, "column": 6 }, "end": { "line": 280, "column": 29 } }, "object": { "type": "ThisExpression", "start": 10609, "end": 10613, "loc": { "start": { "line": 280, "column": 6 }, "end": { "line": 280, "column": 10 } } }, "property": { "type": "Identifier", "start": 10614, "end": 10632, "loc": { "start": { "line": 280, "column": 11 }, "end": { "line": 280, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 10633, "end": 10643, "loc": { "start": { "line": 280, "column": 30 }, "end": { "line": 280, "column": 40 } }, "object": { "type": "ThisExpression", "start": 10633, "end": 10637, "loc": { "start": { "line": 280, "column": 30 }, "end": { "line": 280, "column": 34 } } }, "property": { "type": "Identifier", "start": 10638, "end": 10643, "loc": { "start": { "line": 280, "column": 35 }, "end": { "line": 280, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10505, "end": 10560, "loc": { "start": { "line": 276, "column": 4 }, "end": { "line": 278, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 10253, "end": 10371, "loc": { "start": { "line": 268, "column": 2 }, "end": { "line": 271, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 10656, "end": 10818, "loc": { "start": { "line": 283, "column": 2 }, "end": { "line": 286, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10822, "end": 11099, "loc": { "start": { "line": 287, "column": 2 }, "end": { "line": 297, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10822, "end": 10830, "loc": { "start": { "line": 287, "column": 2 }, "end": { "line": 287, "column": 10 }, "identifierName": "getInput" }, "name": "getInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10831, "end": 10840, "loc": { "start": { "line": 287, "column": 11 }, "end": { "line": 287, "column": 20 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 10841, "end": 11099, "loc": { "start": { "line": 287, "column": 21 }, "end": { "line": 297, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10848, "end": 10896, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 288, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 10848, "end": 10895, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 288, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 10848, "end": 10857, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 288, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 10860, "end": 10895, "loc": { "start": { "line": 288, "column": 16 }, "end": { "line": 288, "column": 51 } }, "left": { "type": "Identifier", "start": 10860, "end": 10869, "loc": { "start": { "line": 288, "column": 16 }, "end": { "line": 288, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 10873, "end": 10895, "loc": { "start": { "line": 288, "column": 29 }, "end": { "line": 288, "column": 51 } }, "object": { "type": "MemberExpression", "start": 10873, "end": 10885, "loc": { "start": { "line": 288, "column": 29 }, "end": { "line": 288, "column": 41 } }, "object": { "type": "ThisExpression", "start": 10873, "end": 10877, "loc": { "start": { "line": 288, "column": 29 }, "end": { "line": 288, "column": 33 } } }, "property": { "type": "Identifier", "start": 10878, "end": 10885, "loc": { "start": { "line": 288, "column": 34 }, "end": { "line": 288, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10886, "end": 10895, "loc": { "start": { "line": 288, "column": 42 }, "end": { "line": 288, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10904, "end": 10959, "loc": { "start": { "line": 290, "column": 4 }, "end": { "line": 292, "column": 7 } } } ] }, { "type": "IfStatement", "start": 10965, "end": 11044, "loc": { "start": { "line": 293, "column": 4 }, "end": { "line": 294, "column": 42 } }, "test": { "type": "MemberExpression", "start": 10968, "end": 10999, "loc": { "start": { "line": 293, "column": 7 }, "end": { "line": 293, "column": 38 } }, "object": { "type": "MemberExpression", "start": 10968, "end": 10980, "loc": { "start": { "line": 293, "column": 7 }, "end": { "line": 293, "column": 19 } }, "object": { "type": "ThisExpression", "start": 10968, "end": 10972, "loc": { "start": { "line": 293, "column": 7 }, "end": { "line": 293, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 10973, "end": 10980, "loc": { "start": { "line": 293, "column": 12 }, "end": { "line": 293, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 10981, "end": 10999, "loc": { "start": { "line": 293, "column": 20 }, "end": { "line": 293, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 11008, "end": 11044, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 42 } }, "expression": { "type": "CallExpression", "start": 11008, "end": 11043, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 11008, "end": 11031, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 29 } }, "object": { "type": "ThisExpression", "start": 11008, "end": 11012, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 10 } } }, "property": { "type": "Identifier", "start": 11013, "end": 11031, "loc": { "start": { "line": 294, "column": 11 }, "end": { "line": 294, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11032, "end": 11042, "loc": { "start": { "line": 294, "column": 30 }, "end": { "line": 294, "column": 40 } }, "object": { "type": "ThisExpression", "start": 11032, "end": 11036, "loc": { "start": { "line": 294, "column": 30 }, "end": { "line": 294, "column": 34 } } }, "property": { "type": "Identifier", "start": 11037, "end": 11042, "loc": { "start": { "line": 294, "column": 35 }, "end": { "line": 294, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10904, "end": 10959, "loc": { "start": { "line": 290, "column": 4 }, "end": { "line": 292, "column": 7 } } } ] }, { "type": "ReturnStatement", "start": 11052, "end": 11094, "loc": { "start": { "line": 296, "column": 4 }, "end": { "line": 296, "column": 46 } }, "argument": { "type": "MemberExpression", "start": 11059, "end": 11093, "loc": { "start": { "line": 296, "column": 11 }, "end": { "line": 296, "column": 45 } }, "object": { "type": "MemberExpression", "start": 11059, "end": 11069, "loc": { "start": { "line": 296, "column": 11 }, "end": { "line": 296, "column": 21 } }, "object": { "type": "ThisExpression", "start": 11059, "end": 11063, "loc": { "start": { "line": 296, "column": 11 }, "end": { "line": 296, "column": 15 } } }, "property": { "type": "Identifier", "start": 11064, "end": 11069, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 21 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 11070, "end": 11092, "loc": { "start": { "line": 296, "column": 22 }, "end": { "line": 296, "column": 44 } }, "object": { "type": "MemberExpression", "start": 11070, "end": 11082, "loc": { "start": { "line": 296, "column": 22 }, "end": { "line": 296, "column": 34 } }, "object": { "type": "ThisExpression", "start": 11070, "end": 11074, "loc": { "start": { "line": 296, "column": 22 }, "end": { "line": 296, "column": 26 } } }, "property": { "type": "Identifier", "start": 11075, "end": 11082, "loc": { "start": { "line": 296, "column": 27 }, "end": { "line": 296, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11083, "end": 11092, "loc": { "start": { "line": 296, "column": 35 }, "end": { "line": 296, "column": 44 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 10656, "end": 10818, "loc": { "start": { "line": 283, "column": 2 }, "end": { "line": 286, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", "start": 11105, "end": 11265, "loc": { "start": { "line": 299, "column": 2 }, "end": { "line": 303, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11269, "end": 11539, "loc": { "start": { "line": 304, "column": 2 }, "end": { "line": 313, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11269, "end": 11277, "loc": { "start": { "line": 304, "column": 2 }, "end": { "line": 304, "column": 10 }, "identifierName": "setInput" }, "name": "setInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11278, "end": 11283, "loc": { "start": { "line": 304, "column": 11 }, "end": { "line": 304, "column": 16 }, "identifierName": "input" }, "name": "input" }, { "type": "Identifier", "start": 11285, "end": 11294, "loc": { "start": { "line": 304, "column": 18 }, "end": { "line": 304, "column": 27 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 11295, "end": 11539, "loc": { "start": { "line": 304, "column": 28 }, "end": { "line": 313, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11302, "end": 11350, "loc": { "start": { "line": 305, "column": 4 }, "end": { "line": 305, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 11302, "end": 11349, "loc": { "start": { "line": 305, "column": 4 }, "end": { "line": 305, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 11302, "end": 11311, "loc": { "start": { "line": 305, "column": 4 }, "end": { "line": 305, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 11314, "end": 11349, "loc": { "start": { "line": 305, "column": 16 }, "end": { "line": 305, "column": 51 } }, "left": { "type": "Identifier", "start": 11314, "end": 11323, "loc": { "start": { "line": 305, "column": 16 }, "end": { "line": 305, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 11327, "end": 11349, "loc": { "start": { "line": 305, "column": 29 }, "end": { "line": 305, "column": 51 } }, "object": { "type": "MemberExpression", "start": 11327, "end": 11339, "loc": { "start": { "line": 305, "column": 29 }, "end": { "line": 305, "column": 41 } }, "object": { "type": "ThisExpression", "start": 11327, "end": 11331, "loc": { "start": { "line": 305, "column": 29 }, "end": { "line": 305, "column": 33 } } }, "property": { "type": "Identifier", "start": 11332, "end": 11339, "loc": { "start": { "line": 305, "column": 34 }, "end": { "line": 305, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11340, "end": 11349, "loc": { "start": { "line": 305, "column": 42 }, "end": { "line": 305, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 11356, "end": 11386, "loc": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 11356, "end": 11385, "loc": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11356, "end": 11377, "loc": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 25 } }, "object": { "type": "MemberExpression", "start": 11356, "end": 11366, "loc": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 14 } }, "object": { "type": "ThisExpression", "start": 11356, "end": 11360, "loc": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 8 } } }, "property": { "type": "Identifier", "start": 11361, "end": 11366, "loc": { "start": { "line": 306, "column": 9 }, "end": { "line": 306, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "Identifier", "start": 11367, "end": 11376, "loc": { "start": { "line": 306, "column": 15 }, "end": { "line": 306, "column": 24 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": true }, "right": { "type": "Identifier", "start": 11380, "end": 11385, "loc": { "start": { "line": 306, "column": 28 }, "end": { "line": 306, "column": 33 }, "identifierName": "input" }, "name": "input" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11394, "end": 11449, "loc": { "start": { "line": 308, "column": 4 }, "end": { "line": 310, "column": 7 } } } ] }, { "type": "IfStatement", "start": 11455, "end": 11534, "loc": { "start": { "line": 311, "column": 4 }, "end": { "line": 312, "column": 42 } }, "test": { "type": "MemberExpression", "start": 11458, "end": 11489, "loc": { "start": { "line": 311, "column": 7 }, "end": { "line": 311, "column": 38 } }, "object": { "type": "MemberExpression", "start": 11458, "end": 11470, "loc": { "start": { "line": 311, "column": 7 }, "end": { "line": 311, "column": 19 } }, "object": { "type": "ThisExpression", "start": 11458, "end": 11462, "loc": { "start": { "line": 311, "column": 7 }, "end": { "line": 311, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11463, "end": 11470, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11471, "end": 11489, "loc": { "start": { "line": 311, "column": 20 }, "end": { "line": 311, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 11498, "end": 11534, "loc": { "start": { "line": 312, "column": 6 }, "end": { "line": 312, "column": 42 } }, "expression": { "type": "CallExpression", "start": 11498, "end": 11533, "loc": { "start": { "line": 312, "column": 6 }, "end": { "line": 312, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 11498, "end": 11521, "loc": { "start": { "line": 312, "column": 6 }, "end": { "line": 312, "column": 29 } }, "object": { "type": "ThisExpression", "start": 11498, "end": 11502, "loc": { "start": { "line": 312, "column": 6 }, "end": { "line": 312, "column": 10 } } }, "property": { "type": "Identifier", "start": 11503, "end": 11521, "loc": { "start": { "line": 312, "column": 11 }, "end": { "line": 312, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11522, "end": 11532, "loc": { "start": { "line": 312, "column": 30 }, "end": { "line": 312, "column": 40 } }, "object": { "type": "ThisExpression", "start": 11522, "end": 11526, "loc": { "start": { "line": 312, "column": 30 }, "end": { "line": 312, "column": 34 } } }, "property": { "type": "Identifier", "start": 11527, "end": 11532, "loc": { "start": { "line": 312, "column": 35 }, "end": { "line": 312, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11394, "end": 11449, "loc": { "start": { "line": 308, "column": 4 }, "end": { "line": 310, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", "start": 11105, "end": 11265, "loc": { "start": { "line": 299, "column": 2 }, "end": { "line": 303, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 11547, "end": 11656, "loc": { "start": { "line": 315, "column": 2 }, "end": { "line": 318, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11660, "end": 11716, "loc": { "start": { "line": 319, "column": 2 }, "end": { "line": 321, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11660, "end": 11672, "loc": { "start": { "line": 319, "column": 2 }, "end": { "line": 319, "column": 14 }, "identifierName": "replaceInput" }, "name": "replaceInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11673, "end": 11681, "loc": { "start": { "line": 319, "column": 15 }, "end": { "line": 319, "column": 23 }, "identifierName": "inputObj" }, "name": "inputObj" } ], "body": { "type": "BlockStatement", "start": 11682, "end": 11716, "loc": { "start": { "line": 319, "column": 24 }, "end": { "line": 321, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11689, "end": 11711, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 11689, "end": 11710, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11689, "end": 11699, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 14 } }, "object": { "type": "ThisExpression", "start": 11689, "end": 11693, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 8 } } }, "property": { "type": "Identifier", "start": 11694, "end": 11699, "loc": { "start": { "line": 320, "column": 9 }, "end": { "line": 320, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "right": { "type": "Identifier", "start": 11702, "end": 11710, "loc": { "start": { "line": 320, "column": 17 }, "end": { "line": 320, "column": 25 }, "identifierName": "inputObj" }, "name": "inputObj" } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 11547, "end": 11656, "loc": { "start": { "line": 315, "column": 2 }, "end": { "line": 318, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", "start": 11722, "end": 11848, "loc": { "start": { "line": 323, "column": 2 }, "end": { "line": 326, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 11852, "end": 11986, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 331, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11852, "end": 11862, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 327, "column": 12 }, "identifierName": "setOptions" }, "name": "setOptions", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 11865, "end": 11986, "loc": { "start": { "line": 327, "column": 15 }, "end": { "line": 331, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11865, "end": 11871, "loc": { "start": { "line": 327, "column": 15 }, "end": { "line": 327, "column": 21 }, "identifierName": "option" }, "name": "option" } ], "body": { "type": "BlockStatement", "start": 11875, "end": 11986, "loc": { "start": { "line": 327, "column": 25 }, "end": { "line": 331, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11882, "end": 11904, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 328, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 11882, "end": 11903, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 328, "column": 25 } }, "operator": "=", "left": { "type": "Identifier", "start": 11882, "end": 11888, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 328, "column": 10 }, "identifierName": "option" }, "name": "option" }, "right": { "type": "LogicalExpression", "start": 11891, "end": 11903, "loc": { "start": { "line": 328, "column": 13 }, "end": { "line": 328, "column": 25 } }, "left": { "type": "Identifier", "start": 11891, "end": 11897, "loc": { "start": { "line": 328, "column": 13 }, "end": { "line": 328, "column": 19 }, "identifierName": "option" }, "name": "option" }, "operator": "||", "right": { "type": "ObjectExpression", "start": 11901, "end": 11903, "loc": { "start": { "line": 328, "column": 23 }, "end": { "line": 328, "column": 25 } }, "properties": [] } } } }, { "type": "ExpressionStatement", "start": 11910, "end": 11961, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 11910, "end": 11960, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11910, "end": 11922, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 16 } }, "object": { "type": "ThisExpression", "start": 11910, "end": 11914, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 8 } } }, "property": { "type": "Identifier", "start": 11915, "end": 11922, "loc": { "start": { "line": 329, "column": 9 }, "end": { "line": 329, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "right": { "type": "CallExpression", "start": 11925, "end": 11960, "loc": { "start": { "line": 329, "column": 19 }, "end": { "line": 329, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 11925, "end": 11938, "loc": { "start": { "line": 329, "column": 19 }, "end": { "line": 329, "column": 32 } }, "object": { "type": "Identifier", "start": 11925, "end": 11931, "loc": { "start": { "line": 329, "column": 19 }, "end": { "line": 329, "column": 25 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 11932, "end": 11938, "loc": { "start": { "line": 329, "column": 26 }, "end": { "line": 329, "column": 32 }, "identifierName": "assign" }, "name": "assign" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11939, "end": 11951, "loc": { "start": { "line": 329, "column": 33 }, "end": { "line": 329, "column": 45 } }, "object": { "type": "ThisExpression", "start": 11939, "end": 11943, "loc": { "start": { "line": 329, "column": 33 }, "end": { "line": 329, "column": 37 } } }, "property": { "type": "Identifier", "start": 11944, "end": 11951, "loc": { "start": { "line": 329, "column": 38 }, "end": { "line": 329, "column": 45 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 11953, "end": 11959, "loc": { "start": { "line": 329, "column": 47 }, "end": { "line": 329, "column": 53 }, "identifierName": "option" }, "name": "option" } ] } } }, { "type": "ExpressionStatement", "start": 11967, "end": 11981, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 18 } }, "expression": { "type": "CallExpression", "start": 11967, "end": 11980, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 11967, "end": 11978, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 15 } }, "object": { "type": "ThisExpression", "start": 11967, "end": 11971, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 8 } } }, "property": { "type": "Identifier", "start": 11972, "end": 11978, "loc": { "start": { "line": 330, "column": 9 }, "end": { "line": 330, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", "start": 11722, "end": 11848, "loc": { "start": { "line": 323, "column": 2 }, "end": { "line": 326, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", "start": 11992, "end": 12101, "loc": { "start": { "line": 333, "column": 2 }, "end": { "line": 336, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12105, "end": 12244, "loc": { "start": { "line": 337, "column": 2 }, "end": { "line": 341, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12105, "end": 12110, "loc": { "start": { "line": 337, "column": 2 }, "end": { "line": 337, "column": 7 }, "identifierName": "clear" }, "name": "clear", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 12112, "end": 12244, "loc": { "start": { "line": 337, "column": 9 }, "end": { "line": 341, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 12119, "end": 12151, "loc": { "start": { "line": 338, "column": 4 }, "end": { "line": 338, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 12119, "end": 12150, "loc": { "start": { "line": 338, "column": 4 }, "end": { "line": 338, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12119, "end": 12145, "loc": { "start": { "line": 338, "column": 4 }, "end": { "line": 338, "column": 30 } }, "object": { "type": "MemberExpression", "start": 12119, "end": 12135, "loc": { "start": { "line": 338, "column": 4 }, "end": { "line": 338, "column": 20 } }, "object": { "type": "ThisExpression", "start": 12119, "end": 12123, "loc": { "start": { "line": 338, "column": 4 }, "end": { "line": 338, "column": 8 } } }, "property": { "type": "Identifier", "start": 12124, "end": 12135, "loc": { "start": { "line": 338, "column": 9 }, "end": { "line": 338, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 12136, "end": 12145, "loc": { "start": { "line": 338, "column": 21 }, "end": { "line": 338, "column": 30 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "StringLiteral", "start": 12148, "end": 12150, "loc": { "start": { "line": 338, "column": 33 }, "end": { "line": 338, "column": 35 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, { "type": "ExpressionStatement", "start": 12157, "end": 12208, "loc": { "start": { "line": 339, "column": 4 }, "end": { "line": 339, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 12157, "end": 12207, "loc": { "start": { "line": 339, "column": 4 }, "end": { "line": 339, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12157, "end": 12183, "loc": { "start": { "line": 339, "column": 4 }, "end": { "line": 339, "column": 30 } }, "object": { "type": "MemberExpression", "start": 12157, "end": 12173, "loc": { "start": { "line": 339, "column": 4 }, "end": { "line": 339, "column": 20 } }, "object": { "type": "ThisExpression", "start": 12157, "end": 12161, "loc": { "start": { "line": 339, "column": 4 }, "end": { "line": 339, "column": 8 } } }, "property": { "type": "Identifier", "start": 12162, "end": 12173, "loc": { "start": { "line": 339, "column": 9 }, "end": { "line": 339, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 12174, "end": 12183, "loc": { "start": { "line": 339, "column": 21 }, "end": { "line": 339, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "MemberExpression", "start": 12186, "end": 12207, "loc": { "start": { "line": 339, "column": 33 }, "end": { "line": 339, "column": 54 } }, "object": { "type": "ThisExpression", "start": 12186, "end": 12190, "loc": { "start": { "line": 339, "column": 33 }, "end": { "line": 339, "column": 37 } } }, "property": { "type": "Identifier", "start": 12191, "end": 12207, "loc": { "start": { "line": 339, "column": 38 }, "end": { "line": 339, "column": 54 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 12214, "end": 12239, "loc": { "start": { "line": 340, "column": 4 }, "end": { "line": 340, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 12214, "end": 12238, "loc": { "start": { "line": 340, "column": 4 }, "end": { "line": 340, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12214, "end": 12233, "loc": { "start": { "line": 340, "column": 4 }, "end": { "line": 340, "column": 23 } }, "object": { "type": "ThisExpression", "start": 12214, "end": 12218, "loc": { "start": { "line": 340, "column": 4 }, "end": { "line": 340, "column": 8 } } }, "property": { "type": "Identifier", "start": 12219, "end": 12233, "loc": { "start": { "line": 340, "column": 9 }, "end": { "line": 340, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 12236, "end": 12238, "loc": { "start": { "line": 340, "column": 26 }, "end": { "line": 340, "column": 28 } }, "properties": [] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", "start": 11992, "end": 12101, "loc": { "start": { "line": 333, "column": 2 }, "end": { "line": 336, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", "start": 12250, "end": 12455, "loc": { "start": { "line": 343, "column": 2 }, "end": { "line": 346, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12459, "end": 12827, "loc": { "start": { "line": 347, "column": 2 }, "end": { "line": 356, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12459, "end": 12467, "loc": { "start": { "line": 347, "column": 2 }, "end": { "line": 347, "column": 10 }, "identifierName": "dispatch" }, "name": "dispatch", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12468, "end": 12476, "loc": { "start": { "line": 347, "column": 11 }, "end": { "line": 347, "column": 19 }, "identifierName": "callback" }, "name": "callback" } ], "body": { "type": "BlockStatement", "start": 12477, "end": 12827, "loc": { "start": { "line": 347, "column": 20 }, "end": { "line": 356, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 12484, "end": 12668, "loc": { "start": { "line": 348, "column": 4 }, "end": { "line": 351, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 12487, "end": 12521, "loc": { "start": { "line": 348, "column": 7 }, "end": { "line": 348, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 12488, "end": 12521, "loc": { "start": { "line": 348, "column": 8 }, "end": { "line": 348, "column": 41 } }, "object": { "type": "Identifier", "start": 12488, "end": 12494, "loc": { "start": { "line": 348, "column": 8 }, "end": { "line": 348, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 12495, "end": 12520, "loc": { "start": { "line": 348, "column": 15 }, "end": { "line": 348, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 12522, "end": 12668, "loc": { "start": { "line": 348, "column": 42 }, "end": { "line": 351, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 12531, "end": 12614, "loc": { "start": { "line": 349, "column": 6 }, "end": { "line": 349, "column": 89 } }, "expression": { "type": "CallExpression", "start": 12531, "end": 12613, "loc": { "start": { "line": 349, "column": 6 }, "end": { "line": 349, "column": 88 } }, "callee": { "type": "MemberExpression", "start": 12531, "end": 12543, "loc": { "start": { "line": 349, "column": 6 }, "end": { "line": 349, "column": 18 } }, "object": { "type": "Identifier", "start": 12531, "end": 12538, "loc": { "start": { "line": 349, "column": 6 }, "end": { "line": 349, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 12539, "end": 12543, "loc": { "start": { "line": 349, "column": 14 }, "end": { "line": 349, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 12544, "end": 12612, "loc": { "start": { "line": 349, "column": 19 }, "end": { "line": 349, "column": 87 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 12545, "end": 12611, "loc": { "start": { "line": 349, "column": 20 }, "end": { "line": 349, "column": 86 } }, "value": { "raw": "SimpleKeyboardInstances is not defined. Dispatch cannot be called.", "cooked": "SimpleKeyboardInstances is not defined. Dispatch cannot be called." }, "tail": true } ] } ] } }, { "type": "ThrowStatement", "start": 12622, "end": 12661, "loc": { "start": { "line": 350, "column": 6 }, "end": { "line": 350, "column": 45 } }, "argument": { "type": "NewExpression", "start": 12628, "end": 12660, "loc": { "start": { "line": 350, "column": 12 }, "end": { "line": 350, "column": 44 } }, "callee": { "type": "Identifier", "start": 12632, "end": 12637, "loc": { "start": { "line": 350, "column": 16 }, "end": { "line": 350, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 12638, "end": 12659, "loc": { "start": { "line": 350, "column": 22 }, "end": { "line": 350, "column": 43 } }, "extra": { "rawValue": "INSTANCES_VAR_ERROR", "raw": "\"INSTANCES_VAR_ERROR\"" }, "value": "INSTANCES_VAR_ERROR" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 12680, "end": 12822, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 355, "column": 6 } }, "argument": { "type": "CallExpression", "start": 12687, "end": 12822, "loc": { "start": { "line": 353, "column": 11 }, "end": { "line": 355, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 12687, "end": 12741, "loc": { "start": { "line": 353, "column": 11 }, "end": { "line": 353, "column": 65 } }, "object": { "type": "CallExpression", "start": 12687, "end": 12733, "loc": { "start": { "line": 353, "column": 11 }, "end": { "line": 353, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 12687, "end": 12698, "loc": { "start": { "line": 353, "column": 11 }, "end": { "line": 353, "column": 22 } }, "object": { "type": "Identifier", "start": 12687, "end": 12693, "loc": { "start": { "line": 353, "column": 11 }, "end": { "line": 353, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 12694, "end": 12698, "loc": { "start": { "line": 353, "column": 18 }, "end": { "line": 353, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12699, "end": 12732, "loc": { "start": { "line": 353, "column": 23 }, "end": { "line": 353, "column": 56 } }, "object": { "type": "Identifier", "start": 12699, "end": 12705, "loc": { "start": { "line": 353, "column": 23 }, "end": { "line": 353, "column": 29 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 12706, "end": 12731, "loc": { "start": { "line": 353, "column": 30 }, "end": { "line": 353, "column": 55 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true } ] }, "property": { "type": "Identifier", "start": 12734, "end": 12741, "loc": { "start": { "line": 353, "column": 58 }, "end": { "line": 353, "column": 65 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 12742, "end": 12821, "loc": { "start": { "line": 353, "column": 66 }, "end": { "line": 355, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12743, "end": 12746, "loc": { "start": { "line": 353, "column": 67 }, "end": { "line": 353, "column": 70 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 12751, "end": 12821, "loc": { "start": { "line": 353, "column": 75 }, "end": { "line": 355, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 12760, "end": 12814, "loc": { "start": { "line": 354, "column": 6 }, "end": { "line": 354, "column": 60 } }, "expression": { "type": "CallExpression", "start": 12760, "end": 12813, "loc": { "start": { "line": 354, "column": 6 }, "end": { "line": 354, "column": 59 } }, "callee": { "type": "Identifier", "start": 12760, "end": 12768, "loc": { "start": { "line": 354, "column": 6 }, "end": { "line": 354, "column": 14 }, "identifierName": "callback" }, "name": "callback" }, "arguments": [ { "type": "MemberExpression", "start": 12769, "end": 12807, "loc": { "start": { "line": 354, "column": 15 }, "end": { "line": 354, "column": 53 } }, "object": { "type": "MemberExpression", "start": 12769, "end": 12802, "loc": { "start": { "line": 354, "column": 15 }, "end": { "line": 354, "column": 48 } }, "object": { "type": "Identifier", "start": 12769, "end": 12775, "loc": { "start": { "line": 354, "column": 15 }, "end": { "line": 354, "column": 21 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 12776, "end": 12801, "loc": { "start": { "line": 354, "column": 22 }, "end": { "line": 354, "column": 47 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "Identifier", "start": 12803, "end": 12806, "loc": { "start": { "line": 354, "column": 49 }, "end": { "line": 354, "column": 52 }, "identifierName": "key" }, "name": "key" }, "computed": true }, { "type": "Identifier", "start": 12809, "end": 12812, "loc": { "start": { "line": 354, "column": 55 }, "end": { "line": 354, "column": 58 }, "identifierName": "key" }, "name": "key" } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", "start": 12250, "end": 12455, "loc": { "start": { "line": 343, "column": 2 }, "end": { "line": 346, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 12833, "end": 13114, "loc": { "start": { "line": 358, "column": 2 }, "end": { "line": 362, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 13118, "end": 14350, "loc": { "start": { "line": 363, "column": 2 }, "end": { "line": 406, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13118, "end": 13132, "loc": { "start": { "line": 363, "column": 2 }, "end": { "line": 363, "column": 16 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13133, "end": 13140, "loc": { "start": { "line": 363, "column": 17 }, "end": { "line": 363, "column": 24 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 13142, "end": 13151, "loc": { "start": { "line": 363, "column": 26 }, "end": { "line": 363, "column": 35 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 13152, "end": 14350, "loc": { "start": { "line": 363, "column": 36 }, "end": { "line": 406, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 13159, "end": 13206, "loc": { "start": { "line": 364, "column": 4 }, "end": { "line": 365, "column": 19 } }, "test": { "type": "LogicalExpression", "start": 13162, "end": 13184, "loc": { "start": { "line": 364, "column": 7 }, "end": { "line": 364, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 13162, "end": 13172, "loc": { "start": { "line": 364, "column": 7 }, "end": { "line": 364, "column": 17 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 13163, "end": 13172, "loc": { "start": { "line": 364, "column": 8 }, "end": { "line": 364, "column": 17 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 13176, "end": 13184, "loc": { "start": { "line": 364, "column": 21 }, "end": { "line": 364, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 13177, "end": 13184, "loc": { "start": { "line": 364, "column": 22 }, "end": { "line": 364, "column": 29 }, "identifierName": "buttons" }, "name": "buttons" }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "ReturnStatement", "start": 13193, "end": 13206, "loc": { "start": { "line": 365, "column": 6 }, "end": { "line": 365, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 13200, "end": 13205, "loc": { "start": { "line": 365, "column": 13 }, "end": { "line": 365, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ExpressionStatement", "start": 13214, "end": 14323, "loc": { "start": { "line": 367, "column": 4 }, "end": { "line": 403, "column": 7 } }, "expression": { "type": "CallExpression", "start": 13214, "end": 14322, "loc": { "start": { "line": 367, "column": 4 }, "end": { "line": 403, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 13214, "end": 13240, "loc": { "start": { "line": 367, "column": 4 }, "end": { "line": 367, "column": 30 } }, "object": { "type": "CallExpression", "start": 13214, "end": 13232, "loc": { "start": { "line": 367, "column": 4 }, "end": { "line": 367, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 13214, "end": 13227, "loc": { "start": { "line": 367, "column": 4 }, "end": { "line": 367, "column": 17 } }, "object": { "type": "Identifier", "start": 13214, "end": 13221, "loc": { "start": { "line": 367, "column": 4 }, "end": { "line": 367, "column": 11 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 13222, "end": 13227, "loc": { "start": { "line": 367, "column": 12 }, "end": { "line": 367, "column": 17 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13228, "end": 13231, "loc": { "start": { "line": 367, "column": 18 }, "end": { "line": 367, "column": 21 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13233, "end": 13240, "loc": { "start": { "line": 367, "column": 23 }, "end": { "line": 367, "column": 30 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13241, "end": 14321, "loc": { "start": { "line": 367, "column": 31 }, "end": { "line": 403, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13241, "end": 13247, "loc": { "start": { "line": 367, "column": 31 }, "end": { "line": 367, "column": 37 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 13251, "end": 14321, "loc": { "start": { "line": 367, "column": 41 }, "end": { "line": 403, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 13260, "end": 14314, "loc": { "start": { "line": 368, "column": 6 }, "end": { "line": 402, "column": 9 } }, "expression": { "type": "CallExpression", "start": 13260, "end": 14313, "loc": { "start": { "line": 368, "column": 6 }, "end": { "line": 402, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 13260, "end": 13288, "loc": { "start": { "line": 368, "column": 6 }, "end": { "line": 368, "column": 34 } }, "object": { "type": "CallExpression", "start": 13260, "end": 13280, "loc": { "start": { "line": 368, "column": 6 }, "end": { "line": 368, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 13260, "end": 13275, "loc": { "start": { "line": 368, "column": 6 }, "end": { "line": 368, "column": 21 } }, "object": { "type": "Identifier", "start": 13260, "end": 13269, "loc": { "start": { "line": 368, "column": 6 }, "end": { "line": 368, "column": 15 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 13270, "end": 13275, "loc": { "start": { "line": 368, "column": 16 }, "end": { "line": 368, "column": 21 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13276, "end": 13279, "loc": { "start": { "line": 368, "column": 22 }, "end": { "line": 368, "column": 25 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13281, "end": 13288, "loc": { "start": { "line": 368, "column": 27 }, "end": { "line": 368, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13289, "end": 14312, "loc": { "start": { "line": 368, "column": 35 }, "end": { "line": 402, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13289, "end": 13302, "loc": { "start": { "line": 368, "column": 35 }, "end": { "line": 368, "column": 48 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ], "body": { "type": "BlockStatement", "start": 13306, "end": 14312, "loc": { "start": { "line": 368, "column": 52 }, "end": { "line": 402, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 13317, "end": 13388, "loc": { "start": { "line": 369, "column": 8 }, "end": { "line": 370, "column": 40 } }, "test": { "type": "UnaryExpression", "start": 13320, "end": 13345, "loc": { "start": { "line": 369, "column": 11 }, "end": { "line": 369, "column": 36 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 13321, "end": 13345, "loc": { "start": { "line": 369, "column": 12 }, "end": { "line": 369, "column": 36 } }, "object": { "type": "MemberExpression", "start": 13321, "end": 13333, "loc": { "start": { "line": 369, "column": 12 }, "end": { "line": 369, "column": 24 } }, "object": { "type": "ThisExpression", "start": 13321, "end": 13325, "loc": { "start": { "line": 369, "column": 12 }, "end": { "line": 369, "column": 16 } } }, "property": { "type": "Identifier", "start": 13326, "end": 13333, "loc": { "start": { "line": 369, "column": 17 }, "end": { "line": 369, "column": 24 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 13334, "end": 13345, "loc": { "start": { "line": 369, "column": 25 }, "end": { "line": 369, "column": 36 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 13358, "end": 13388, "loc": { "start": { "line": 370, "column": 10 }, "end": { "line": 370, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 13358, "end": 13387, "loc": { "start": { "line": 370, "column": 10 }, "end": { "line": 370, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13358, "end": 13382, "loc": { "start": { "line": 370, "column": 10 }, "end": { "line": 370, "column": 34 } }, "object": { "type": "MemberExpression", "start": 13358, "end": 13370, "loc": { "start": { "line": 370, "column": 10 }, "end": { "line": 370, "column": 22 } }, "object": { "type": "ThisExpression", "start": 13358, "end": 13362, "loc": { "start": { "line": 370, "column": 10 }, "end": { "line": 370, "column": 14 } } }, "property": { "type": "Identifier", "start": 13363, "end": 13370, "loc": { "start": { "line": 370, "column": 15 }, "end": { "line": 370, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 13371, "end": 13382, "loc": { "start": { "line": 370, "column": 23 }, "end": { "line": 370, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 13385, "end": 13387, "loc": { "start": { "line": 370, "column": 37 }, "end": { "line": 370, "column": 39 } }, "elements": [] } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 13400, "end": 13427, "loc": { "start": { "line": 372, "column": 8 }, "end": { "line": 372, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13404, "end": 13426, "loc": { "start": { "line": 372, "column": 12 }, "end": { "line": 372, "column": 34 } }, "id": { "type": "Identifier", "start": 13404, "end": 13418, "loc": { "start": { "line": 372, "column": 12 }, "end": { "line": 372, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "init": { "type": "BooleanLiteral", "start": 13421, "end": 13426, "loc": { "start": { "line": 372, "column": 29 }, "end": { "line": 372, "column": 34 } }, "value": false } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 13441, "end": 13532, "loc": { "start": { "line": 374, "column": 8 }, "end": { "line": 376, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 13542, "end": 14050, "loc": { "start": { "line": 377, "column": 8 }, "end": { "line": 390, "column": 11 } }, "expression": { "type": "CallExpression", "start": 13542, "end": 14049, "loc": { "start": { "line": 377, "column": 8 }, "end": { "line": 390, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 13542, "end": 13570, "loc": { "start": { "line": 377, "column": 8 }, "end": { "line": 377, "column": 36 } }, "object": { "type": "MemberExpression", "start": 13542, "end": 13566, "loc": { "start": { "line": 377, "column": 8 }, "end": { "line": 377, "column": 32 } }, "object": { "type": "MemberExpression", "start": 13542, "end": 13554, "loc": { "start": { "line": 377, "column": 8 }, "end": { "line": 377, "column": 20 } }, "object": { "type": "ThisExpression", "start": 13542, "end": 13546, "loc": { "start": { "line": 377, "column": 8 }, "end": { "line": 377, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 13547, "end": 13554, "loc": { "start": { "line": 377, "column": 13 }, "end": { "line": 377, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 13555, "end": 13566, "loc": { "start": { "line": 377, "column": 21 }, "end": { "line": 377, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 13567, "end": 13570, "loc": { "start": { "line": 377, "column": 33 }, "end": { "line": 377, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13571, "end": 14048, "loc": { "start": { "line": 377, "column": 37 }, "end": { "line": 390, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13571, "end": 13582, "loc": { "start": { "line": 377, "column": 37 }, "end": { "line": 377, "column": 48 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } ], "body": { "type": "BlockStatement", "start": 13586, "end": 14048, "loc": { "start": { "line": 377, "column": 52 }, "end": { "line": 390, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 13601, "end": 14006, "loc": { "start": { "line": 379, "column": 10 }, "end": { "line": 388, "column": 11 } }, "test": { "type": "CallExpression", "start": 13604, "end": 13656, "loc": { "start": { "line": 379, "column": 13 }, "end": { "line": 379, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 13604, "end": 13641, "loc": { "start": { "line": 379, "column": 13 }, "end": { "line": 379, "column": 50 } }, "object": { "type": "CallExpression", "start": 13604, "end": 13632, "loc": { "start": { "line": 379, "column": 13 }, "end": { "line": 379, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 13604, "end": 13627, "loc": { "start": { "line": 379, "column": 13 }, "end": { "line": 379, "column": 36 } }, "object": { "type": "MemberExpression", "start": 13604, "end": 13621, "loc": { "start": { "line": 379, "column": 13 }, "end": { "line": 379, "column": 30 } }, "object": { "type": "Identifier", "start": 13604, "end": 13615, "loc": { "start": { "line": 379, "column": 13 }, "end": { "line": 379, "column": 24 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 13616, "end": 13621, "loc": { "start": { "line": 379, "column": 25 }, "end": { "line": 379, "column": 30 }, "identifierName": "class" }, "name": "class" }, "computed": false }, "property": { "type": "Identifier", "start": 13622, "end": 13627, "loc": { "start": { "line": 379, "column": 31 }, "end": { "line": 379, "column": 36 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13628, "end": 13631, "loc": { "start": { "line": 379, "column": 37 }, "end": { "line": 379, "column": 40 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13633, "end": 13641, "loc": { "start": { "line": 379, "column": 42 }, "end": { "line": 379, "column": 50 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13642, "end": 13655, "loc": { "start": { "line": 379, "column": 51 }, "end": { "line": 379, "column": 64 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ] }, "consequent": { "type": "BlockStatement", "start": 13657, "end": 14006, "loc": { "start": { "line": 379, "column": 66 }, "end": { "line": 388, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 13672, "end": 13694, "loc": { "start": { "line": 380, "column": 12 }, "end": { "line": 380, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 13672, "end": 13693, "loc": { "start": { "line": 380, "column": 12 }, "end": { "line": 380, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", "start": 13672, "end": 13686, "loc": { "start": { "line": 380, "column": 12 }, "end": { "line": 380, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 13689, "end": 13693, "loc": { "start": { "line": 380, "column": 29 }, "end": { "line": 380, "column": 33 } }, "value": true } } }, { "type": "VariableDeclaration", "start": 13722, "end": 13776, "loc": { "start": { "line": 382, "column": 12 }, "end": { "line": 382, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13726, "end": 13775, "loc": { "start": { "line": 382, "column": 16 }, "end": { "line": 382, "column": 65 } }, "id": { "type": "Identifier", "start": 13726, "end": 13742, "loc": { "start": { "line": 382, "column": 16 }, "end": { "line": 382, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "init": { "type": "CallExpression", "start": 13745, "end": 13775, "loc": { "start": { "line": 382, "column": 35 }, "end": { "line": 382, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 13745, "end": 13770, "loc": { "start": { "line": 382, "column": 35 }, "end": { "line": 382, "column": 60 } }, "object": { "type": "MemberExpression", "start": 13745, "end": 13764, "loc": { "start": { "line": 382, "column": 35 }, "end": { "line": 382, "column": 54 } }, "object": { "type": "Identifier", "start": 13745, "end": 13756, "loc": { "start": { "line": 382, "column": 35 }, "end": { "line": 382, "column": 46 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 13757, "end": 13764, "loc": { "start": { "line": 382, "column": 47 }, "end": { "line": 382, "column": 54 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 13765, "end": 13770, "loc": { "start": { "line": 382, "column": 55 }, "end": { "line": 382, "column": 60 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13771, "end": 13774, "loc": { "start": { "line": 382, "column": 61 }, "end": { "line": 382, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 13790, "end": 13993, "loc": { "start": { "line": 383, "column": 12 }, "end": { "line": 387, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 13793, "end": 13827, "loc": { "start": { "line": 383, "column": 15 }, "end": { "line": 383, "column": 49 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 13794, "end": 13827, "loc": { "start": { "line": 383, "column": 16 }, "end": { "line": 383, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 13794, "end": 13819, "loc": { "start": { "line": 383, "column": 16 }, "end": { "line": 383, "column": 41 } }, "object": { "type": "Identifier", "start": 13794, "end": 13810, "loc": { "start": { "line": 383, "column": 16 }, "end": { "line": 383, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 13811, "end": 13819, "loc": { "start": { "line": 383, "column": 33 }, "end": { "line": 383, "column": 41 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13820, "end": 13826, "loc": { "start": { "line": 383, "column": 42 }, "end": { "line": 383, "column": 48 }, "identifierName": "button" }, "name": "button" } ] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 13828, "end": 13993, "loc": { "start": { "line": 383, "column": 50 }, "end": { "line": 387, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 13845, "end": 13867, "loc": { "start": { "line": 384, "column": 14 }, "end": { "line": 384, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 13845, "end": 13866, "loc": { "start": { "line": 384, "column": 14 }, "end": { "line": 384, "column": 35 } }, "operator": "=", "left": { "type": "Identifier", "start": 13845, "end": 13859, "loc": { "start": { "line": 384, "column": 14 }, "end": { "line": 384, "column": 28 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 13862, "end": 13866, "loc": { "start": { "line": 384, "column": 31 }, "end": { "line": 384, "column": 35 } }, "value": true } } }, { "type": "ExpressionStatement", "start": 13883, "end": 13913, "loc": { "start": { "line": 385, "column": 14 }, "end": { "line": 385, "column": 44 } }, "expression": { "type": "CallExpression", "start": 13883, "end": 13912, "loc": { "start": { "line": 385, "column": 14 }, "end": { "line": 385, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 13883, "end": 13904, "loc": { "start": { "line": 385, "column": 14 }, "end": { "line": 385, "column": 35 } }, "object": { "type": "Identifier", "start": 13883, "end": 13899, "loc": { "start": { "line": 385, "column": 14 }, "end": { "line": 385, "column": 30 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 13900, "end": 13904, "loc": { "start": { "line": 385, "column": 31 }, "end": { "line": 385, "column": 35 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13905, "end": 13911, "loc": { "start": { "line": 385, "column": 36 }, "end": { "line": 385, "column": 42 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 13929, "end": 13978, "loc": { "start": { "line": 386, "column": 14 }, "end": { "line": 386, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 13929, "end": 13977, "loc": { "start": { "line": 386, "column": 14 }, "end": { "line": 386, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13929, "end": 13948, "loc": { "start": { "line": 386, "column": 14 }, "end": { "line": 386, "column": 33 } }, "object": { "type": "Identifier", "start": 13929, "end": 13940, "loc": { "start": { "line": 386, "column": 14 }, "end": { "line": 386, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 13941, "end": 13948, "loc": { "start": { "line": 386, "column": 26 }, "end": { "line": 386, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 13951, "end": 13977, "loc": { "start": { "line": 386, "column": 36 }, "end": { "line": 386, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 13951, "end": 13972, "loc": { "start": { "line": 386, "column": 36 }, "end": { "line": 386, "column": 57 } }, "object": { "type": "Identifier", "start": 13951, "end": 13967, "loc": { "start": { "line": 386, "column": 36 }, "end": { "line": 386, "column": 52 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 13968, "end": 13972, "loc": { "start": { "line": 386, "column": 53 }, "end": { "line": 386, "column": 57 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13973, "end": 13976, "loc": { "start": { "line": 386, "column": 58 }, "end": { "line": 386, "column": 61 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 14018, "end": 14037, "loc": { "start": { "line": 389, "column": 10 }, "end": { "line": 389, "column": 29 } }, "argument": { "type": "Identifier", "start": 14025, "end": 14036, "loc": { "start": { "line": 389, "column": 17 }, "end": { "line": 389, "column": 28 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 13441, "end": 13532, "loc": { "start": { "line": 374, "column": 8 }, "end": { "line": 376, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 14062, "end": 14137, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 394, "column": 11 } } } ] }, { "type": "IfStatement", "start": 14147, "end": 14301, "loc": { "start": { "line": 395, "column": 8 }, "end": { "line": 400, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 14150, "end": 14165, "loc": { "start": { "line": 395, "column": 11 }, "end": { "line": 395, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 14151, "end": 14165, "loc": { "start": { "line": 395, "column": 12 }, "end": { "line": 395, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 14166, "end": 14301, "loc": { "start": { "line": 395, "column": 27 }, "end": { "line": 400, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 14179, "end": 14290, "loc": { "start": { "line": 396, "column": 10 }, "end": { "line": 399, "column": 13 } }, "expression": { "type": "CallExpression", "start": 14179, "end": 14289, "loc": { "start": { "line": 396, "column": 10 }, "end": { "line": 399, "column": 12 } }, "callee": { "type": "MemberExpression", "start": 14179, "end": 14208, "loc": { "start": { "line": 396, "column": 10 }, "end": { "line": 396, "column": 39 } }, "object": { "type": "MemberExpression", "start": 14179, "end": 14203, "loc": { "start": { "line": 396, "column": 10 }, "end": { "line": 396, "column": 34 } }, "object": { "type": "MemberExpression", "start": 14179, "end": 14191, "loc": { "start": { "line": 396, "column": 10 }, "end": { "line": 396, "column": 22 } }, "object": { "type": "ThisExpression", "start": 14179, "end": 14183, "loc": { "start": { "line": 396, "column": 10 }, "end": { "line": 396, "column": 14 } } }, "property": { "type": "Identifier", "start": 14184, "end": 14191, "loc": { "start": { "line": 396, "column": 15 }, "end": { "line": 396, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 14192, "end": 14203, "loc": { "start": { "line": 396, "column": 23 }, "end": { "line": 396, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 14204, "end": 14208, "loc": { "start": { "line": 396, "column": 35 }, "end": { "line": 396, "column": 39 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 14209, "end": 14288, "loc": { "start": { "line": 396, "column": 40 }, "end": { "line": 399, "column": 11 } }, "properties": [ { "type": "ObjectProperty", "start": 14224, "end": 14244, "loc": { "start": { "line": 397, "column": 12 }, "end": { "line": 397, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 14224, "end": 14229, "loc": { "start": { "line": 397, "column": 12 }, "end": { "line": 397, "column": 17 }, "identifierName": "class" }, "name": "class" }, "value": { "type": "Identifier", "start": 14231, "end": 14244, "loc": { "start": { "line": 397, "column": 19 }, "end": { "line": 397, "column": 32 }, "identifierName": "classNameItem" }, "name": "classNameItem" } }, { "type": "ObjectProperty", "start": 14259, "end": 14275, "loc": { "start": { "line": 398, "column": 12 }, "end": { "line": 398, "column": 28 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 14259, "end": 14266, "loc": { "start": { "line": 398, "column": 12 }, "end": { "line": 398, "column": 19 }, "identifierName": "buttons" }, "name": "buttons" }, "value": { "type": "Identifier", "start": 14268, "end": 14275, "loc": { "start": { "line": 398, "column": 21 }, "end": { "line": 398, "column": 28 }, "identifierName": "buttons" }, "name": "buttons" } } ] } ] } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 14062, "end": 14137, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 394, "column": 11 } } } ] } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 14331, "end": 14345, "loc": { "start": { "line": 405, "column": 4 }, "end": { "line": 405, "column": 18 } }, "expression": { "type": "CallExpression", "start": 14331, "end": 14344, "loc": { "start": { "line": 405, "column": 4 }, "end": { "line": 405, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 14331, "end": 14342, "loc": { "start": { "line": 405, "column": 4 }, "end": { "line": 405, "column": 15 } }, "object": { "type": "ThisExpression", "start": 14331, "end": 14335, "loc": { "start": { "line": 405, "column": 4 }, "end": { "line": 405, "column": 8 } } }, "property": { "type": "Identifier", "start": 14336, "end": 14342, "loc": { "start": { "line": 405, "column": 9 }, "end": { "line": 405, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 12833, "end": 13114, "loc": { "start": { "line": 358, "column": 2 }, "end": { "line": 362, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 14356, "end": 14696, "loc": { "start": { "line": 408, "column": 2 }, "end": { "line": 412, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 14700, "end": 16117, "loc": { "start": { "line": 413, "column": 2 }, "end": { "line": 459, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 14700, "end": 14717, "loc": { "start": { "line": 413, "column": 2 }, "end": { "line": 413, "column": 19 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14718, "end": 14725, "loc": { "start": { "line": 413, "column": 20 }, "end": { "line": 413, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 14727, "end": 14736, "loc": { "start": { "line": 413, "column": 29 }, "end": { "line": 413, "column": 38 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 14737, "end": 16117, "loc": { "start": { "line": 413, "column": 39 }, "end": { "line": 459, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 14830, "end": 14945, "loc": { "start": { "line": 417, "column": 4 }, "end": { "line": 421, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 14833, "end": 14855, "loc": { "start": { "line": 417, "column": 7 }, "end": { "line": 417, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 14833, "end": 14841, "loc": { "start": { "line": 417, "column": 7 }, "end": { "line": 417, "column": 15 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 14834, "end": 14841, "loc": { "start": { "line": 417, "column": 8 }, "end": { "line": 417, "column": 15 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 14845, "end": 14855, "loc": { "start": { "line": 417, "column": 19 }, "end": { "line": 417, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 14846, "end": 14855, "loc": { "start": { "line": 417, "column": 20 }, "end": { "line": 417, "column": 29 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 14856, "end": 14945, "loc": { "start": { "line": 417, "column": 30 }, "end": { "line": 421, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 14865, "end": 14895, "loc": { "start": { "line": 418, "column": 6 }, "end": { "line": 418, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 14865, "end": 14894, "loc": { "start": { "line": 418, "column": 6 }, "end": { "line": 418, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 14865, "end": 14889, "loc": { "start": { "line": 418, "column": 6 }, "end": { "line": 418, "column": 30 } }, "object": { "type": "MemberExpression", "start": 14865, "end": 14877, "loc": { "start": { "line": 418, "column": 6 }, "end": { "line": 418, "column": 18 } }, "object": { "type": "ThisExpression", "start": 14865, "end": 14869, "loc": { "start": { "line": 418, "column": 6 }, "end": { "line": 418, "column": 10 } } }, "property": { "type": "Identifier", "start": 14870, "end": 14877, "loc": { "start": { "line": 418, "column": 11 }, "end": { "line": 418, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 14878, "end": 14889, "loc": { "start": { "line": 418, "column": 19 }, "end": { "line": 418, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 14892, "end": 14894, "loc": { "start": { "line": 418, "column": 33 }, "end": { "line": 418, "column": 35 } }, "elements": [] } } }, { "type": "ExpressionStatement", "start": 14903, "end": 14917, "loc": { "start": { "line": 419, "column": 6 }, "end": { "line": 419, "column": 20 } }, "expression": { "type": "CallExpression", "start": 14903, "end": 14916, "loc": { "start": { "line": 419, "column": 6 }, "end": { "line": 419, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 14903, "end": 14914, "loc": { "start": { "line": 419, "column": 6 }, "end": { "line": 419, "column": 17 } }, "object": { "type": "ThisExpression", "start": 14903, "end": 14907, "loc": { "start": { "line": 419, "column": 6 }, "end": { "line": 419, "column": 10 } } }, "property": { "type": "Identifier", "start": 14908, "end": 14914, "loc": { "start": { "line": 419, "column": 11 }, "end": { "line": 419, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, { "type": "ReturnStatement", "start": 14925, "end": 14938, "loc": { "start": { "line": 420, "column": 6 }, "end": { "line": 420, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 14932, "end": 14937, "loc": { "start": { "line": 420, "column": 13 }, "end": { "line": 420, "column": 18 } }, "value": false } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", "start": 14744, "end": 14824, "loc": { "start": { "line": 414, "column": 4 }, "end": { "line": 416, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 14953, "end": 15021, "loc": { "start": { "line": 423, "column": 4 }, "end": { "line": 425, "column": 7 } } } ] }, { "type": "IfStatement", "start": 15027, "end": 16112, "loc": { "start": { "line": 426, "column": 4 }, "end": { "line": 458, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 15030, "end": 15115, "loc": { "start": { "line": 426, "column": 7 }, "end": { "line": 426, "column": 92 } }, "left": { "type": "LogicalExpression", "start": 15030, "end": 15080, "loc": { "start": { "line": 426, "column": 7 }, "end": { "line": 426, "column": 57 } }, "left": { "type": "Identifier", "start": 15030, "end": 15037, "loc": { "start": { "line": 426, "column": 7 }, "end": { "line": 426, "column": 14 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 15041, "end": 15080, "loc": { "start": { "line": 426, "column": 18 }, "end": { "line": 426, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 15041, "end": 15054, "loc": { "start": { "line": 426, "column": 18 }, "end": { "line": 426, "column": 31 } }, "object": { "type": "Identifier", "start": 15041, "end": 15046, "loc": { "start": { "line": 426, "column": 18 }, "end": { "line": 426, "column": 23 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 15047, "end": 15054, "loc": { "start": { "line": 426, "column": 24 }, "end": { "line": 426, "column": 31 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 15055, "end": 15079, "loc": { "start": { "line": 426, "column": 32 }, "end": { "line": 426, "column": 56 } }, "object": { "type": "MemberExpression", "start": 15055, "end": 15067, "loc": { "start": { "line": 426, "column": 32 }, "end": { "line": 426, "column": 44 } }, "object": { "type": "ThisExpression", "start": 15055, "end": 15059, "loc": { "start": { "line": 426, "column": 32 }, "end": { "line": 426, "column": 36 } } }, "property": { "type": "Identifier", "start": 15060, "end": 15067, "loc": { "start": { "line": 426, "column": 37 }, "end": { "line": 426, "column": 44 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15068, "end": 15079, "loc": { "start": { "line": 426, "column": 45 }, "end": { "line": 426, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "leadingComments": null }, "operator": "&&", "right": { "type": "MemberExpression", "start": 15084, "end": 15115, "loc": { "start": { "line": 426, "column": 61 }, "end": { "line": 426, "column": 92 } }, "object": { "type": "MemberExpression", "start": 15084, "end": 15108, "loc": { "start": { "line": 426, "column": 61 }, "end": { "line": 426, "column": 85 } }, "object": { "type": "MemberExpression", "start": 15084, "end": 15096, "loc": { "start": { "line": 426, "column": 61 }, "end": { "line": 426, "column": 73 } }, "object": { "type": "ThisExpression", "start": 15084, "end": 15088, "loc": { "start": { "line": 426, "column": 61 }, "end": { "line": 426, "column": 65 } } }, "property": { "type": "Identifier", "start": 15089, "end": 15096, "loc": { "start": { "line": 426, "column": 66 }, "end": { "line": 426, "column": 73 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15097, "end": 15108, "loc": { "start": { "line": 426, "column": 74 }, "end": { "line": 426, "column": 85 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 15109, "end": 15115, "loc": { "start": { "line": 426, "column": 86 }, "end": { "line": 426, "column": 92 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15116, "end": 16112, "loc": { "start": { "line": 426, "column": 93 }, "end": { "line": 458, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 15125, "end": 15162, "loc": { "start": { "line": 427, "column": 6 }, "end": { "line": 427, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15129, "end": 15161, "loc": { "start": { "line": 427, "column": 10 }, "end": { "line": 427, "column": 42 } }, "id": { "type": "Identifier", "start": 15129, "end": 15140, "loc": { "start": { "line": 427, "column": 10 }, "end": { "line": 427, "column": 21 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "init": { "type": "CallExpression", "start": 15143, "end": 15161, "loc": { "start": { "line": 427, "column": 24 }, "end": { "line": 427, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 15143, "end": 15156, "loc": { "start": { "line": 427, "column": 24 }, "end": { "line": 427, "column": 37 } }, "object": { "type": "Identifier", "start": 15143, "end": 15150, "loc": { "start": { "line": 427, "column": 24 }, "end": { "line": 427, "column": 31 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 15151, "end": 15156, "loc": { "start": { "line": 427, "column": 32 }, "end": { "line": 427, "column": 37 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15157, "end": 15160, "loc": { "start": { "line": 427, "column": 38 }, "end": { "line": 427, "column": 41 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 15170, "end": 16081, "loc": { "start": { "line": 428, "column": 6 }, "end": { "line": 455, "column": 9 } }, "expression": { "type": "CallExpression", "start": 15170, "end": 16080, "loc": { "start": { "line": 428, "column": 6 }, "end": { "line": 455, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 15170, "end": 15189, "loc": { "start": { "line": 428, "column": 6 }, "end": { "line": 428, "column": 25 } }, "object": { "type": "Identifier", "start": 15170, "end": 15181, "loc": { "start": { "line": 428, "column": 6 }, "end": { "line": 428, "column": 17 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "property": { "type": "Identifier", "start": 15182, "end": 15189, "loc": { "start": { "line": 428, "column": 18 }, "end": { "line": 428, "column": 25 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 15190, "end": 16079, "loc": { "start": { "line": 428, "column": 26 }, "end": { "line": 455, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15191, "end": 15197, "loc": { "start": { "line": 428, "column": 27 }, "end": { "line": 428, "column": 33 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 15199, "end": 15202, "loc": { "start": { "line": 428, "column": 35 }, "end": { "line": 428, "column": 38 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 15207, "end": 16079, "loc": { "start": { "line": 428, "column": 43 }, "end": { "line": 455, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 15218, "end": 16070, "loc": { "start": { "line": 429, "column": 8 }, "end": { "line": 454, "column": 11 } }, "expression": { "type": "CallExpression", "start": 15218, "end": 16069, "loc": { "start": { "line": 429, "column": 8 }, "end": { "line": 454, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 15218, "end": 15246, "loc": { "start": { "line": 429, "column": 8 }, "end": { "line": 429, "column": 36 } }, "object": { "type": "MemberExpression", "start": 15218, "end": 15242, "loc": { "start": { "line": 429, "column": 8 }, "end": { "line": 429, "column": 32 } }, "object": { "type": "MemberExpression", "start": 15218, "end": 15230, "loc": { "start": { "line": 429, "column": 8 }, "end": { "line": 429, "column": 20 } }, "object": { "type": "ThisExpression", "start": 15218, "end": 15222, "loc": { "start": { "line": 429, "column": 8 }, "end": { "line": 429, "column": 12 } } }, "property": { "type": "Identifier", "start": 15223, "end": 15230, "loc": { "start": { "line": 429, "column": 13 }, "end": { "line": 429, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15231, "end": 15242, "loc": { "start": { "line": 429, "column": 21 }, "end": { "line": 429, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 15243, "end": 15246, "loc": { "start": { "line": 429, "column": 33 }, "end": { "line": 429, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 15247, "end": 16068, "loc": { "start": { "line": 429, "column": 37 }, "end": { "line": 454, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15248, "end": 15259, "loc": { "start": { "line": 429, "column": 38 }, "end": { "line": 429, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, { "type": "Identifier", "start": 15261, "end": 15266, "loc": { "start": { "line": 429, "column": 51 }, "end": { "line": 429, "column": 56 }, "identifierName": "index" }, "name": "index" } ], "body": { "type": "BlockStatement", "start": 15271, "end": 16068, "loc": { "start": { "line": 429, "column": 61 }, "end": { "line": 454, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 15439, "end": 16024, "loc": { "start": { "line": 435, "column": 10 }, "end": { "line": 451, "column": 11 } }, "test": { "type": "LogicalExpression", "start": 15456, "end": 15535, "loc": { "start": { "line": 436, "column": 12 }, "end": { "line": 437, "column": 22 } }, "left": { "type": "LogicalExpression", "start": 15457, "end": 15507, "loc": { "start": { "line": 436, "column": 13 }, "end": { "line": 436, "column": 63 } }, "left": { "type": "Identifier", "start": 15457, "end": 15466, "loc": { "start": { "line": 436, "column": 13 }, "end": { "line": 436, "column": 22 }, "identifierName": "className" }, "name": "className", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 15470, "end": 15507, "loc": { "start": { "line": 436, "column": 26 }, "end": { "line": 436, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 15470, "end": 15488, "loc": { "start": { "line": 436, "column": 26 }, "end": { "line": 436, "column": 44 } }, "object": { "type": "Identifier", "start": 15470, "end": 15479, "loc": { "start": { "line": 436, "column": 26 }, "end": { "line": 436, "column": 35 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 15480, "end": 15488, "loc": { "start": { "line": 436, "column": 36 }, "end": { "line": 436, "column": 44 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 15489, "end": 15506, "loc": { "start": { "line": 436, "column": 45 }, "end": { "line": 436, "column": 62 } }, "object": { "type": "Identifier", "start": 15489, "end": 15500, "loc": { "start": { "line": 436, "column": 45 }, "end": { "line": 436, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 15501, "end": 15506, "loc": { "start": { "line": 436, "column": 57 }, "end": { "line": 436, "column": 62 }, "identifierName": "class" }, "name": "class" }, "computed": false } ] }, "leadingComments": null, "extra": { "parenthesized": true, "parenStart": 15456 } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 15525, "end": 15535, "loc": { "start": { "line": 437, "column": 12 }, "end": { "line": 437, "column": 22 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 15526, "end": 15535, "loc": { "start": { "line": 437, "column": 13 }, "end": { "line": 437, "column": 22 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15548, "end": 16024, "loc": { "start": { "line": 438, "column": 11 }, "end": { "line": 451, "column": 11 } }, "body": [ { "type": "VariableDeclaration", "start": 15563, "end": 15652, "loc": { "start": { "line": 439, "column": 12 }, "end": { "line": 439, "column": 101 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15567, "end": 15651, "loc": { "start": { "line": 439, "column": 16 }, "end": { "line": 439, "column": 100 } }, "id": { "type": "Identifier", "start": 15567, "end": 15586, "loc": { "start": { "line": 439, "column": 16 }, "end": { "line": 439, "column": 35 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "init": { "type": "CallExpression", "start": 15589, "end": 15651, "loc": { "start": { "line": 439, "column": 38 }, "end": { "line": 439, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 15589, "end": 15626, "loc": { "start": { "line": 439, "column": 38 }, "end": { "line": 439, "column": 75 } }, "object": { "type": "CallExpression", "start": 15589, "end": 15619, "loc": { "start": { "line": 439, "column": 38 }, "end": { "line": 439, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 15589, "end": 15614, "loc": { "start": { "line": 439, "column": 38 }, "end": { "line": 439, "column": 63 } }, "object": { "type": "MemberExpression", "start": 15589, "end": 15608, "loc": { "start": { "line": 439, "column": 38 }, "end": { "line": 439, "column": 57 } }, "object": { "type": "Identifier", "start": 15589, "end": 15600, "loc": { "start": { "line": 439, "column": 38 }, "end": { "line": 439, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 15601, "end": 15608, "loc": { "start": { "line": 439, "column": 50 }, "end": { "line": 439, "column": 57 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 15609, "end": 15614, "loc": { "start": { "line": 439, "column": 58 }, "end": { "line": 439, "column": 63 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15615, "end": 15618, "loc": { "start": { "line": 439, "column": 64 }, "end": { "line": 439, "column": 67 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 15620, "end": 15626, "loc": { "start": { "line": 439, "column": 69 }, "end": { "line": 439, "column": 75 }, "identifierName": "filter" }, "name": "filter" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 15627, "end": 15650, "loc": { "start": { "line": 439, "column": 76 }, "end": { "line": 439, "column": 99 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 15627, "end": 15631, "loc": { "start": { "line": 439, "column": 76 }, "end": { "line": 439, "column": 80 }, "identifierName": "item" }, "name": "item" } ], "body": { "type": "BinaryExpression", "start": 15635, "end": 15650, "loc": { "start": { "line": 439, "column": 84 }, "end": { "line": 439, "column": 99 } }, "left": { "type": "Identifier", "start": 15635, "end": 15639, "loc": { "start": { "line": 439, "column": 84 }, "end": { "line": 439, "column": 88 }, "identifierName": "item" }, "name": "item" }, "operator": "!==", "right": { "type": "Identifier", "start": 15644, "end": 15650, "loc": { "start": { "line": 439, "column": 93 }, "end": { "line": 439, "column": 99 }, "identifierName": "button" }, "name": "button" } } } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 15668, "end": 15765, "loc": { "start": { "line": 441, "column": 12 }, "end": { "line": 443, "column": 15 } } } ] }, { "type": "IfStatement", "start": 15779, "end": 16008, "loc": { "start": { "line": 444, "column": 12 }, "end": { "line": 449, "column": 13 } }, "test": { "type": "MemberExpression", "start": 15782, "end": 15808, "loc": { "start": { "line": 444, "column": 15 }, "end": { "line": 444, "column": 41 } }, "object": { "type": "Identifier", "start": 15782, "end": 15801, "loc": { "start": { "line": 444, "column": 15 }, "end": { "line": 444, "column": 34 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 15802, "end": 15808, "loc": { "start": { "line": 444, "column": 35 }, "end": { "line": 444, "column": 41 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15809, "end": 15893, "loc": { "start": { "line": 444, "column": 42 }, "end": { "line": 446, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 15826, "end": 15878, "loc": { "start": { "line": 445, "column": 14 }, "end": { "line": 445, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 15826, "end": 15877, "loc": { "start": { "line": 445, "column": 14 }, "end": { "line": 445, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 15826, "end": 15845, "loc": { "start": { "line": 445, "column": 14 }, "end": { "line": 445, "column": 33 } }, "object": { "type": "Identifier", "start": 15826, "end": 15837, "loc": { "start": { "line": 445, "column": 14 }, "end": { "line": 445, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 15838, "end": 15845, "loc": { "start": { "line": 445, "column": 26 }, "end": { "line": 445, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 15848, "end": 15877, "loc": { "start": { "line": 445, "column": 36 }, "end": { "line": 445, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 15848, "end": 15872, "loc": { "start": { "line": 445, "column": 36 }, "end": { "line": 445, "column": 60 } }, "object": { "type": "Identifier", "start": 15848, "end": 15867, "loc": { "start": { "line": 445, "column": 36 }, "end": { "line": 445, "column": 55 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "property": { "type": "Identifier", "start": 15868, "end": 15872, "loc": { "start": { "line": 445, "column": 56 }, "end": { "line": 445, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15873, "end": 15876, "loc": { "start": { "line": 445, "column": 61 }, "end": { "line": 445, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 15899, "end": 16008, "loc": { "start": { "line": 446, "column": 19 }, "end": { "line": 449, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 15916, "end": 15958, "loc": { "start": { "line": 447, "column": 14 }, "end": { "line": 447, "column": 56 } }, "expression": { "type": "CallExpression", "start": 15916, "end": 15957, "loc": { "start": { "line": 447, "column": 14 }, "end": { "line": 447, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 15916, "end": 15947, "loc": { "start": { "line": 447, "column": 14 }, "end": { "line": 447, "column": 45 } }, "object": { "type": "MemberExpression", "start": 15916, "end": 15940, "loc": { "start": { "line": 447, "column": 14 }, "end": { "line": 447, "column": 38 } }, "object": { "type": "MemberExpression", "start": 15916, "end": 15928, "loc": { "start": { "line": 447, "column": 14 }, "end": { "line": 447, "column": 26 } }, "object": { "type": "ThisExpression", "start": 15916, "end": 15920, "loc": { "start": { "line": 447, "column": 14 }, "end": { "line": 447, "column": 18 } } }, "property": { "type": "Identifier", "start": 15921, "end": 15928, "loc": { "start": { "line": 447, "column": 19 }, "end": { "line": 447, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15929, "end": 15940, "loc": { "start": { "line": 447, "column": 27 }, "end": { "line": 447, "column": 38 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 15941, "end": 15947, "loc": { "start": { "line": 447, "column": 39 }, "end": { "line": 447, "column": 45 }, "identifierName": "splice" }, "name": "splice" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 15948, "end": 15953, "loc": { "start": { "line": 447, "column": 46 }, "end": { "line": 447, "column": 51 }, "identifierName": "index" }, "name": "index" }, { "type": "NumericLiteral", "start": 15955, "end": 15956, "loc": { "start": { "line": 447, "column": 53 }, "end": { "line": 447, "column": 54 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } }, { "type": "ExpressionStatement", "start": 15974, "end": 15993, "loc": { "start": { "line": 448, "column": 14 }, "end": { "line": 448, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 15974, "end": 15992, "loc": { "start": { "line": 448, "column": 14 }, "end": { "line": 448, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", "start": 15974, "end": 15985, "loc": { "start": { "line": 448, "column": 14 }, "end": { "line": 448, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "right": { "type": "NullLiteral", "start": 15988, "end": 15992, "loc": { "start": { "line": 448, "column": 28 }, "end": { "line": 448, "column": 32 } } } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 15668, "end": 15765, "loc": { "start": { "line": 441, "column": 12 }, "end": { "line": 443, "column": 15 } } } ] } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If className is set, we affect the buttons only for that class\r\n * Otherwise, we afect all classes\r\n ", "start": 15286, "end": 15427, "loc": { "start": { "line": 431, "column": 10 }, "end": { "line": 434, "column": 13 } } } ] }, { "type": "ReturnStatement", "start": 16038, "end": 16057, "loc": { "start": { "line": 453, "column": 10 }, "end": { "line": 453, "column": 29 } }, "argument": { "type": "Identifier", "start": 16045, "end": 16056, "loc": { "start": { "line": 453, "column": 17 }, "end": { "line": 453, "column": 28 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 16091, "end": 16105, "loc": { "start": { "line": 457, "column": 6 }, "end": { "line": 457, "column": 20 } }, "expression": { "type": "CallExpression", "start": 16091, "end": 16104, "loc": { "start": { "line": 457, "column": 6 }, "end": { "line": 457, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 16091, "end": 16102, "loc": { "start": { "line": 457, "column": 6 }, "end": { "line": 457, "column": 17 } }, "object": { "type": "ThisExpression", "start": 16091, "end": 16095, "loc": { "start": { "line": 457, "column": 6 }, "end": { "line": 457, "column": 10 } } }, "property": { "type": "Identifier", "start": 16096, "end": 16102, "loc": { "start": { "line": 457, "column": 11 }, "end": { "line": 457, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 14953, "end": 15021, "loc": { "start": { "line": 423, "column": 4 }, "end": { "line": 425, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 14356, "end": 14696, "loc": { "start": { "line": 408, "column": 2 }, "end": { "line": 412, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", "start": 16123, "end": 16326, "loc": { "start": { "line": 461, "column": 2 }, "end": { "line": 464, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 16330, "end": 16597, "loc": { "start": { "line": 465, "column": 2 }, "end": { "line": 478, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 16330, "end": 16346, "loc": { "start": { "line": 465, "column": 2 }, "end": { "line": 465, "column": 18 }, "identifierName": "getButtonElement" }, "name": "getButtonElement", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16347, "end": 16353, "loc": { "start": { "line": 465, "column": 19 }, "end": { "line": 465, "column": 25 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 16354, "end": 16597, "loc": { "start": { "line": 465, "column": 26 }, "end": { "line": 478, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 16361, "end": 16372, "loc": { "start": { "line": 466, "column": 4 }, "end": { "line": 466, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16365, "end": 16371, "loc": { "start": { "line": 466, "column": 8 }, "end": { "line": 466, "column": 14 } }, "id": { "type": "Identifier", "start": 16365, "end": 16371, "loc": { "start": { "line": 466, "column": 8 }, "end": { "line": 466, "column": 14 }, "identifierName": "output" }, "name": "output" }, "init": null } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 16380, "end": 16424, "loc": { "start": { "line": 468, "column": 4 }, "end": { "line": 468, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16384, "end": 16423, "loc": { "start": { "line": 468, "column": 8 }, "end": { "line": 468, "column": 47 } }, "id": { "type": "Identifier", "start": 16384, "end": 16393, "loc": { "start": { "line": 468, "column": 8 }, "end": { "line": 468, "column": 17 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "init": { "type": "MemberExpression", "start": 16396, "end": 16423, "loc": { "start": { "line": 468, "column": 20 }, "end": { "line": 468, "column": 47 } }, "object": { "type": "MemberExpression", "start": 16396, "end": 16415, "loc": { "start": { "line": 468, "column": 20 }, "end": { "line": 468, "column": 39 } }, "object": { "type": "ThisExpression", "start": 16396, "end": 16400, "loc": { "start": { "line": 468, "column": 20 }, "end": { "line": 468, "column": 24 } } }, "property": { "type": "Identifier", "start": 16401, "end": 16415, "loc": { "start": { "line": 468, "column": 25 }, "end": { "line": 468, "column": 39 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 16416, "end": 16422, "loc": { "start": { "line": 468, "column": 40 }, "end": { "line": 468, "column": 46 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "IfStatement", "start": 16430, "end": 16570, "loc": { "start": { "line": 469, "column": 4 }, "end": { "line": 475, "column": 5 } }, "test": { "type": "Identifier", "start": 16433, "end": 16442, "loc": { "start": { "line": 469, "column": 7 }, "end": { "line": 469, "column": 16 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "consequent": { "type": "BlockStatement", "start": 16443, "end": 16570, "loc": { "start": { "line": 469, "column": 17 }, "end": { "line": 475, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 16452, "end": 16563, "loc": { "start": { "line": 470, "column": 6 }, "end": { "line": 474, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 16455, "end": 16475, "loc": { "start": { "line": 470, "column": 9 }, "end": { "line": 470, "column": 29 } }, "left": { "type": "MemberExpression", "start": 16455, "end": 16471, "loc": { "start": { "line": 470, "column": 9 }, "end": { "line": 470, "column": 25 } }, "object": { "type": "Identifier", "start": 16455, "end": 16464, "loc": { "start": { "line": 470, "column": 9 }, "end": { "line": 470, "column": 18 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "Identifier", "start": 16465, "end": 16471, "loc": { "start": { "line": 470, "column": 19 }, "end": { "line": 470, "column": 25 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 16474, "end": 16475, "loc": { "start": { "line": 470, "column": 28 }, "end": { "line": 470, "column": 29 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "consequent": { "type": "BlockStatement", "start": 16476, "end": 16515, "loc": { "start": { "line": 470, "column": 30 }, "end": { "line": 472, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 16487, "end": 16506, "loc": { "start": { "line": 471, "column": 8 }, "end": { "line": 471, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 16487, "end": 16505, "loc": { "start": { "line": 471, "column": 8 }, "end": { "line": 471, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", "start": 16487, "end": 16493, "loc": { "start": { "line": 471, "column": 8 }, "end": { "line": 471, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "Identifier", "start": 16496, "end": 16505, "loc": { "start": { "line": 471, "column": 17 }, "end": { "line": 471, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 16521, "end": 16563, "loc": { "start": { "line": 472, "column": 13 }, "end": { "line": 474, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 16532, "end": 16554, "loc": { "start": { "line": 473, "column": 8 }, "end": { "line": 473, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 16532, "end": 16553, "loc": { "start": { "line": 473, "column": 8 }, "end": { "line": 473, "column": 29 } }, "operator": "=", "left": { "type": "Identifier", "start": 16532, "end": 16538, "loc": { "start": { "line": 473, "column": 8 }, "end": { "line": 473, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "MemberExpression", "start": 16541, "end": 16553, "loc": { "start": { "line": 473, "column": 17 }, "end": { "line": 473, "column": 29 } }, "object": { "type": "Identifier", "start": 16541, "end": 16550, "loc": { "start": { "line": 473, "column": 17 }, "end": { "line": 473, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "NumericLiteral", "start": 16551, "end": 16552, "loc": { "start": { "line": 473, "column": 27 }, "end": { "line": 473, "column": 28 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } } } ], "directives": [] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 16578, "end": 16592, "loc": { "start": { "line": 477, "column": 4 }, "end": { "line": 477, "column": 18 } }, "argument": { "type": "Identifier", "start": 16585, "end": 16591, "loc": { "start": { "line": 477, "column": 11 }, "end": { "line": 477, "column": 17 }, "identifierName": "output" }, "name": "output" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", "start": 16123, "end": 16326, "loc": { "start": { "line": 461, "column": 2 }, "end": { "line": 464, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 16603, "end": 16693, "loc": { "start": { "line": 480, "column": 2 }, "end": { "line": 482, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 16697, "end": 17000, "loc": { "start": { "line": 483, "column": 2 }, "end": { "line": 491, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 16697, "end": 16708, "loc": { "start": { "line": 483, "column": 2 }, "end": { "line": 483, "column": 13 }, "identifierName": "handleCaret" }, "name": "handleCaret", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 16710, "end": 17000, "loc": { "start": { "line": 483, "column": 15 }, "end": { "line": 491, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 16717, "end": 16793, "loc": { "start": { "line": 484, "column": 4 }, "end": { "line": 486, "column": 5 } }, "test": { "type": "MemberExpression", "start": 16720, "end": 16738, "loc": { "start": { "line": 484, "column": 7 }, "end": { "line": 484, "column": 25 } }, "object": { "type": "MemberExpression", "start": 16720, "end": 16732, "loc": { "start": { "line": 484, "column": 7 }, "end": { "line": 484, "column": 19 } }, "object": { "type": "ThisExpression", "start": 16720, "end": 16724, "loc": { "start": { "line": 484, "column": 7 }, "end": { "line": 484, "column": 11 } } }, "property": { "type": "Identifier", "start": 16725, "end": 16732, "loc": { "start": { "line": 484, "column": 12 }, "end": { "line": 484, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16733, "end": 16738, "loc": { "start": { "line": 484, "column": 20 }, "end": { "line": 484, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 16739, "end": 16793, "loc": { "start": { "line": 484, "column": 26 }, "end": { "line": 486, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 16748, "end": 16786, "loc": { "start": { "line": 485, "column": 6 }, "end": { "line": 485, "column": 44 } }, "expression": { "type": "CallExpression", "start": 16748, "end": 16785, "loc": { "start": { "line": 485, "column": 6 }, "end": { "line": 485, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 16748, "end": 16759, "loc": { "start": { "line": 485, "column": 6 }, "end": { "line": 485, "column": 17 } }, "object": { "type": "Identifier", "start": 16748, "end": 16755, "loc": { "start": { "line": 485, "column": 6 }, "end": { "line": 485, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 16756, "end": 16759, "loc": { "start": { "line": 485, "column": 14 }, "end": { "line": 485, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16760, "end": 16784, "loc": { "start": { "line": 485, "column": 18 }, "end": { "line": 485, "column": 42 } }, "extra": { "rawValue": "Caret handling started", "raw": "\"Caret handling started\"" }, "value": "Caret handling started" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 16801, "end": 16860, "loc": { "start": { "line": 488, "column": 4 }, "end": { "line": 488, "column": 63 } }, "expression": { "type": "CallExpression", "start": 16801, "end": 16859, "loc": { "start": { "line": 488, "column": 4 }, "end": { "line": 488, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 16801, "end": 16826, "loc": { "start": { "line": 488, "column": 4 }, "end": { "line": 488, "column": 29 } }, "object": { "type": "Identifier", "start": 16801, "end": 16809, "loc": { "start": { "line": 488, "column": 4 }, "end": { "line": 488, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 16810, "end": 16826, "loc": { "start": { "line": 488, "column": 13 }, "end": { "line": 488, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16827, "end": 16834, "loc": { "start": { "line": 488, "column": 30 }, "end": { "line": 488, "column": 37 } }, "extra": { "rawValue": "keyup", "raw": "\"keyup\"" }, "value": "keyup" }, { "type": "MemberExpression", "start": 16836, "end": 16858, "loc": { "start": { "line": 488, "column": 39 }, "end": { "line": 488, "column": 61 } }, "object": { "type": "ThisExpression", "start": 16836, "end": 16840, "loc": { "start": { "line": 488, "column": 39 }, "end": { "line": 488, "column": 43 } } }, "property": { "type": "Identifier", "start": 16841, "end": 16858, "loc": { "start": { "line": 488, "column": 44 }, "end": { "line": 488, "column": 61 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 16866, "end": 16927, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 489, "column": 65 } }, "expression": { "type": "CallExpression", "start": 16866, "end": 16926, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 489, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 16866, "end": 16891, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 489, "column": 29 } }, "object": { "type": "Identifier", "start": 16866, "end": 16874, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 489, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 16875, "end": 16891, "loc": { "start": { "line": 489, "column": 13 }, "end": { "line": 489, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16892, "end": 16901, "loc": { "start": { "line": 489, "column": 30 }, "end": { "line": 489, "column": 39 } }, "extra": { "rawValue": "mouseup", "raw": "\"mouseup\"" }, "value": "mouseup" }, { "type": "MemberExpression", "start": 16903, "end": 16925, "loc": { "start": { "line": 489, "column": 41 }, "end": { "line": 489, "column": 63 } }, "object": { "type": "ThisExpression", "start": 16903, "end": 16907, "loc": { "start": { "line": 489, "column": 41 }, "end": { "line": 489, "column": 45 } } }, "property": { "type": "Identifier", "start": 16908, "end": 16925, "loc": { "start": { "line": 489, "column": 46 }, "end": { "line": 489, "column": 63 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 16933, "end": 16995, "loc": { "start": { "line": 490, "column": 4 }, "end": { "line": 490, "column": 66 } }, "expression": { "type": "CallExpression", "start": 16933, "end": 16994, "loc": { "start": { "line": 490, "column": 4 }, "end": { "line": 490, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 16933, "end": 16958, "loc": { "start": { "line": 490, "column": 4 }, "end": { "line": 490, "column": 29 } }, "object": { "type": "Identifier", "start": 16933, "end": 16941, "loc": { "start": { "line": 490, "column": 4 }, "end": { "line": 490, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 16942, "end": 16958, "loc": { "start": { "line": 490, "column": 13 }, "end": { "line": 490, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16959, "end": 16969, "loc": { "start": { "line": 490, "column": 30 }, "end": { "line": 490, "column": 40 } }, "extra": { "rawValue": "touchend", "raw": "\"touchend\"" }, "value": "touchend" }, { "type": "MemberExpression", "start": 16971, "end": 16993, "loc": { "start": { "line": 490, "column": 42 }, "end": { "line": 490, "column": 64 } }, "object": { "type": "ThisExpression", "start": 16971, "end": 16975, "loc": { "start": { "line": 490, "column": 42 }, "end": { "line": 490, "column": 46 } } }, "property": { "type": "Identifier", "start": 16976, "end": 16993, "loc": { "start": { "line": 490, "column": 47 }, "end": { "line": 490, "column": 64 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 16603, "end": 16693, "loc": { "start": { "line": 480, "column": 2 }, "end": { "line": 482, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", "start": 17006, "end": 17118, "loc": { "start": { "line": 493, "column": 2 }, "end": { "line": 495, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 17122, "end": 17672, "loc": { "start": { "line": 496, "column": 2 }, "end": { "line": 513, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17122, "end": 17139, "loc": { "start": { "line": 496, "column": 2 }, "end": { "line": 496, "column": 19 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17140, "end": 17145, "loc": { "start": { "line": 496, "column": 20 }, "end": { "line": 496, "column": 25 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 17146, "end": 17672, "loc": { "start": { "line": 496, "column": 26 }, "end": { "line": 513, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 17153, "end": 17208, "loc": { "start": { "line": 497, "column": 4 }, "end": { "line": 497, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17157, "end": 17207, "loc": { "start": { "line": 497, "column": 8 }, "end": { "line": 497, "column": 58 } }, "id": { "type": "Identifier", "start": 17157, "end": 17170, "loc": { "start": { "line": 497, "column": 8 }, "end": { "line": 497, "column": 21 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "init": { "type": "CallExpression", "start": 17173, "end": 17207, "loc": { "start": { "line": 497, "column": 24 }, "end": { "line": 497, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 17173, "end": 17205, "loc": { "start": { "line": 497, "column": 24 }, "end": { "line": 497, "column": 56 } }, "object": { "type": "MemberExpression", "start": 17173, "end": 17193, "loc": { "start": { "line": 497, "column": 24 }, "end": { "line": 497, "column": 44 } }, "object": { "type": "MemberExpression", "start": 17173, "end": 17185, "loc": { "start": { "line": 497, "column": 24 }, "end": { "line": 497, "column": 36 } }, "object": { "type": "Identifier", "start": 17173, "end": 17178, "loc": { "start": { "line": 497, "column": 24 }, "end": { "line": 497, "column": 29 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17179, "end": 17185, "loc": { "start": { "line": 497, "column": 30 }, "end": { "line": 497, "column": 36 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17186, "end": 17193, "loc": { "start": { "line": 497, "column": 37 }, "end": { "line": 497, "column": 44 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 17194, "end": 17205, "loc": { "start": { "line": 497, "column": 45 }, "end": { "line": 497, "column": 56 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } } ], "kind": "let" }, { "type": "IfStatement", "start": 17216, "end": 17667, "loc": { "start": { "line": 499, "column": 4 }, "end": { "line": 512, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 17227, "end": 17291, "loc": { "start": { "line": 500, "column": 6 }, "end": { "line": 501, "column": 31 } }, "left": { "type": "BinaryExpression", "start": 17227, "end": 17255, "loc": { "start": { "line": 500, "column": 6 }, "end": { "line": 500, "column": 34 } }, "left": { "type": "Identifier", "start": 17227, "end": 17240, "loc": { "start": { "line": 500, "column": 6 }, "end": { "line": 500, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 17245, "end": 17255, "loc": { "start": { "line": 500, "column": 24 }, "end": { "line": 500, "column": 34 } }, "extra": { "rawValue": "textarea", "raw": "\"textarea\"" }, "value": "textarea" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 17266, "end": 17291, "loc": { "start": { "line": 501, "column": 6 }, "end": { "line": 501, "column": 31 } }, "left": { "type": "Identifier", "start": 17266, "end": 17279, "loc": { "start": { "line": 501, "column": 6 }, "end": { "line": 501, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 17284, "end": 17291, "loc": { "start": { "line": 501, "column": 24 }, "end": { "line": 501, "column": 31 } }, "extra": { "rawValue": "input", "raw": "\"input\"" }, "value": "input" } } }, "consequent": { "type": "BlockStatement", "start": 17298, "end": 17667, "loc": { "start": { "line": 502, "column": 5 }, "end": { "line": 512, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 17463, "end": 17512, "loc": { "start": { "line": 507, "column": 6 }, "end": { "line": 507, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 17463, "end": 17511, "loc": { "start": { "line": 507, "column": 6 }, "end": { "line": 507, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 17463, "end": 17481, "loc": { "start": { "line": 507, "column": 6 }, "end": { "line": 507, "column": 24 } }, "object": { "type": "ThisExpression", "start": 17463, "end": 17467, "loc": { "start": { "line": 507, "column": 6 }, "end": { "line": 507, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 17468, "end": 17481, "loc": { "start": { "line": 507, "column": 11 }, "end": { "line": 507, "column": 24 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 17484, "end": 17511, "loc": { "start": { "line": 507, "column": 27 }, "end": { "line": 507, "column": 54 } }, "object": { "type": "MemberExpression", "start": 17484, "end": 17496, "loc": { "start": { "line": 507, "column": 27 }, "end": { "line": 507, "column": 39 } }, "object": { "type": "Identifier", "start": 17484, "end": 17489, "loc": { "start": { "line": 507, "column": 27 }, "end": { "line": 507, "column": 32 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17490, "end": 17496, "loc": { "start": { "line": 507, "column": 33 }, "end": { "line": 507, "column": 39 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17497, "end": 17511, "loc": { "start": { "line": 507, "column": 40 }, "end": { "line": 507, "column": 54 }, "identifierName": "selectionStart" }, "name": "selectionStart" }, "computed": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Tracks current cursor position\r\n * As keys are pressed, text will be added/removed at that position within the input.\r\n ", "start": 17307, "end": 17455, "loc": { "start": { "line": 503, "column": 6 }, "end": { "line": 506, "column": 9 } } } ] }, { "type": "IfStatement", "start": 17522, "end": 17655, "loc": { "start": { "line": 509, "column": 6 }, "end": { "line": 511, "column": 7 } }, "test": { "type": "MemberExpression", "start": 17525, "end": 17543, "loc": { "start": { "line": 509, "column": 9 }, "end": { "line": 509, "column": 27 } }, "object": { "type": "MemberExpression", "start": 17525, "end": 17537, "loc": { "start": { "line": 509, "column": 9 }, "end": { "line": 509, "column": 21 } }, "object": { "type": "ThisExpression", "start": 17525, "end": 17529, "loc": { "start": { "line": 509, "column": 9 }, "end": { "line": 509, "column": 13 } } }, "property": { "type": "Identifier", "start": 17530, "end": 17537, "loc": { "start": { "line": 509, "column": 14 }, "end": { "line": 509, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17538, "end": 17543, "loc": { "start": { "line": 509, "column": 22 }, "end": { "line": 509, "column": 27 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 17544, "end": 17655, "loc": { "start": { "line": 509, "column": 28 }, "end": { "line": 511, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 17555, "end": 17646, "loc": { "start": { "line": 510, "column": 8 }, "end": { "line": 510, "column": 99 } }, "expression": { "type": "CallExpression", "start": 17555, "end": 17645, "loc": { "start": { "line": 510, "column": 8 }, "end": { "line": 510, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 17555, "end": 17566, "loc": { "start": { "line": 510, "column": 8 }, "end": { "line": 510, "column": 19 } }, "object": { "type": "Identifier", "start": 17555, "end": 17562, "loc": { "start": { "line": 510, "column": 8 }, "end": { "line": 510, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 17563, "end": 17566, "loc": { "start": { "line": 510, "column": 16 }, "end": { "line": 510, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17567, "end": 17579, "loc": { "start": { "line": 510, "column": 20 }, "end": { "line": 510, "column": 32 } }, "extra": { "rawValue": "Caret at: ", "raw": "'Caret at: '" }, "value": "Caret at: " }, { "type": "MemberExpression", "start": 17581, "end": 17608, "loc": { "start": { "line": 510, "column": 34 }, "end": { "line": 510, "column": 61 } }, "object": { "type": "MemberExpression", "start": 17581, "end": 17593, "loc": { "start": { "line": 510, "column": 34 }, "end": { "line": 510, "column": 46 } }, "object": { "type": "Identifier", "start": 17581, "end": 17586, "loc": { "start": { "line": 510, "column": 34 }, "end": { "line": 510, "column": 39 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17587, "end": 17593, "loc": { "start": { "line": 510, "column": 40 }, "end": { "line": 510, "column": 46 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17594, "end": 17608, "loc": { "start": { "line": 510, "column": 47 }, "end": { "line": 510, "column": 61 }, "identifierName": "selectionStart" }, "name": "selectionStart" }, "computed": false }, { "type": "CallExpression", "start": 17610, "end": 17644, "loc": { "start": { "line": 510, "column": 63 }, "end": { "line": 510, "column": 97 } }, "callee": { "type": "MemberExpression", "start": 17610, "end": 17642, "loc": { "start": { "line": 510, "column": 63 }, "end": { "line": 510, "column": 95 } }, "object": { "type": "MemberExpression", "start": 17610, "end": 17630, "loc": { "start": { "line": 510, "column": 63 }, "end": { "line": 510, "column": 83 } }, "object": { "type": "MemberExpression", "start": 17610, "end": 17622, "loc": { "start": { "line": 510, "column": 63 }, "end": { "line": 510, "column": 75 } }, "object": { "type": "Identifier", "start": 17610, "end": 17615, "loc": { "start": { "line": 510, "column": 63 }, "end": { "line": 510, "column": 68 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17616, "end": 17622, "loc": { "start": { "line": 510, "column": 69 }, "end": { "line": 510, "column": 75 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17623, "end": 17630, "loc": { "start": { "line": 510, "column": 76 }, "end": { "line": 510, "column": 83 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 17631, "end": 17642, "loc": { "start": { "line": 510, "column": 84 }, "end": { "line": 510, "column": 95 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", "start": 17006, "end": 17118, "loc": { "start": { "line": 493, "column": 2 }, "end": { "line": 495, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", "start": 17678, "end": 17798, "loc": { "start": { "line": 515, "column": 2 }, "end": { "line": 517, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 17802, "end": 18038, "loc": { "start": { "line": 518, "column": 2 }, "end": { "line": 530, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17802, "end": 17808, "loc": { "start": { "line": 518, "column": 2 }, "end": { "line": 518, "column": 8 }, "identifierName": "onInit" }, "name": "onInit", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 17810, "end": 18038, "loc": { "start": { "line": 518, "column": 10 }, "end": { "line": 530, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 17817, "end": 17882, "loc": { "start": { "line": 519, "column": 4 }, "end": { "line": 521, "column": 5 } }, "test": { "type": "MemberExpression", "start": 17820, "end": 17838, "loc": { "start": { "line": 519, "column": 7 }, "end": { "line": 519, "column": 25 } }, "object": { "type": "MemberExpression", "start": 17820, "end": 17832, "loc": { "start": { "line": 519, "column": 7 }, "end": { "line": 519, "column": 19 } }, "object": { "type": "ThisExpression", "start": 17820, "end": 17824, "loc": { "start": { "line": 519, "column": 7 }, "end": { "line": 519, "column": 11 } } }, "property": { "type": "Identifier", "start": 17825, "end": 17832, "loc": { "start": { "line": 519, "column": 12 }, "end": { "line": 519, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17833, "end": 17838, "loc": { "start": { "line": 519, "column": 20 }, "end": { "line": 519, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 17839, "end": 17882, "loc": { "start": { "line": 519, "column": 26 }, "end": { "line": 521, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 17848, "end": 17875, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 520, "column": 33 } }, "expression": { "type": "CallExpression", "start": 17848, "end": 17874, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 520, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 17848, "end": 17859, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 520, "column": 17 } }, "object": { "type": "Identifier", "start": 17848, "end": 17855, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 520, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 17856, "end": 17859, "loc": { "start": { "line": 520, "column": 14 }, "end": { "line": 520, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17860, "end": 17873, "loc": { "start": { "line": 520, "column": 18 }, "end": { "line": 520, "column": 31 } }, "extra": { "rawValue": "Initialized", "raw": "\"Initialized\"" }, "value": "Initialized" } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 17890, "end": 17925, "loc": { "start": { "line": 523, "column": 4 }, "end": { "line": 525, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 17931, "end": 17950, "loc": { "start": { "line": 526, "column": 4 }, "end": { "line": 526, "column": 23 } }, "expression": { "type": "CallExpression", "start": 17931, "end": 17949, "loc": { "start": { "line": 526, "column": 4 }, "end": { "line": 526, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 17931, "end": 17947, "loc": { "start": { "line": 526, "column": 4 }, "end": { "line": 526, "column": 20 } }, "object": { "type": "ThisExpression", "start": 17931, "end": 17935, "loc": { "start": { "line": 526, "column": 4 }, "end": { "line": 526, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 17936, "end": 17947, "loc": { "start": { "line": 526, "column": 9 }, "end": { "line": 526, "column": 20 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 17890, "end": 17925, "loc": { "start": { "line": 523, "column": 4 }, "end": { "line": 525, "column": 7 } } } ] }, { "type": "IfStatement", "start": 17958, "end": 18033, "loc": { "start": { "line": 528, "column": 4 }, "end": { "line": 529, "column": 28 } }, "test": { "type": "BinaryExpression", "start": 17961, "end": 18002, "loc": { "start": { "line": 528, "column": 7 }, "end": { "line": 528, "column": 48 } }, "left": { "type": "UnaryExpression", "start": 17961, "end": 17987, "loc": { "start": { "line": 528, "column": 7 }, "end": { "line": 528, "column": 33 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 17968, "end": 17987, "loc": { "start": { "line": 528, "column": 14 }, "end": { "line": 528, "column": 33 } }, "object": { "type": "MemberExpression", "start": 17968, "end": 17980, "loc": { "start": { "line": 528, "column": 14 }, "end": { "line": 528, "column": 26 } }, "object": { "type": "ThisExpression", "start": 17968, "end": 17972, "loc": { "start": { "line": 528, "column": 14 }, "end": { "line": 528, "column": 18 } } }, "property": { "type": "Identifier", "start": 17973, "end": 17980, "loc": { "start": { "line": 528, "column": 19 }, "end": { "line": 528, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17981, "end": 17987, "loc": { "start": { "line": 528, "column": 27 }, "end": { "line": 528, "column": 33 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 17992, "end": 18002, "loc": { "start": { "line": 528, "column": 38 }, "end": { "line": 528, "column": 48 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 18011, "end": 18033, "loc": { "start": { "line": 529, "column": 6 }, "end": { "line": 529, "column": 28 } }, "expression": { "type": "CallExpression", "start": 18011, "end": 18032, "loc": { "start": { "line": 529, "column": 6 }, "end": { "line": 529, "column": 27 } }, "callee": { "type": "MemberExpression", "start": 18011, "end": 18030, "loc": { "start": { "line": 529, "column": 6 }, "end": { "line": 529, "column": 25 } }, "object": { "type": "MemberExpression", "start": 18011, "end": 18023, "loc": { "start": { "line": 529, "column": 6 }, "end": { "line": 529, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18011, "end": 18015, "loc": { "start": { "line": 529, "column": 6 }, "end": { "line": 529, "column": 10 } } }, "property": { "type": "Identifier", "start": 18016, "end": 18023, "loc": { "start": { "line": 529, "column": 11 }, "end": { "line": 529, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18024, "end": 18030, "loc": { "start": { "line": 529, "column": 19 }, "end": { "line": 529, "column": 25 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", "start": 17678, "end": 17798, "loc": { "start": { "line": 515, "column": 2 }, "end": { "line": 517, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", "start": 18044, "end": 18162, "loc": { "start": { "line": 532, "column": 2 }, "end": { "line": 534, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 18166, "end": 18267, "loc": { "start": { "line": 535, "column": 2 }, "end": { "line": 538, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18166, "end": 18174, "loc": { "start": { "line": 535, "column": 2 }, "end": { "line": 535, "column": 10 }, "identifierName": "onRender" }, "name": "onRender", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 18176, "end": 18267, "loc": { "start": { "line": 535, "column": 12 }, "end": { "line": 538, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18183, "end": 18262, "loc": { "start": { "line": 536, "column": 4 }, "end": { "line": 537, "column": 30 } }, "test": { "type": "BinaryExpression", "start": 18186, "end": 18229, "loc": { "start": { "line": 536, "column": 7 }, "end": { "line": 536, "column": 50 } }, "left": { "type": "UnaryExpression", "start": 18186, "end": 18214, "loc": { "start": { "line": 536, "column": 7 }, "end": { "line": 536, "column": 35 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 18193, "end": 18214, "loc": { "start": { "line": 536, "column": 14 }, "end": { "line": 536, "column": 35 } }, "object": { "type": "MemberExpression", "start": 18193, "end": 18205, "loc": { "start": { "line": 536, "column": 14 }, "end": { "line": 536, "column": 26 } }, "object": { "type": "ThisExpression", "start": 18193, "end": 18197, "loc": { "start": { "line": 536, "column": 14 }, "end": { "line": 536, "column": 18 } } }, "property": { "type": "Identifier", "start": 18198, "end": 18205, "loc": { "start": { "line": 536, "column": 19 }, "end": { "line": 536, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18206, "end": 18214, "loc": { "start": { "line": 536, "column": 27 }, "end": { "line": 536, "column": 35 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 18219, "end": 18229, "loc": { "start": { "line": 536, "column": 40 }, "end": { "line": 536, "column": 50 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 18238, "end": 18262, "loc": { "start": { "line": 537, "column": 6 }, "end": { "line": 537, "column": 30 } }, "expression": { "type": "CallExpression", "start": 18238, "end": 18261, "loc": { "start": { "line": 537, "column": 6 }, "end": { "line": 537, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 18238, "end": 18259, "loc": { "start": { "line": 537, "column": 6 }, "end": { "line": 537, "column": 27 } }, "object": { "type": "MemberExpression", "start": 18238, "end": 18250, "loc": { "start": { "line": 537, "column": 6 }, "end": { "line": 537, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18238, "end": 18242, "loc": { "start": { "line": 537, "column": 6 }, "end": { "line": 537, "column": 10 } } }, "property": { "type": "Identifier", "start": 18243, "end": 18250, "loc": { "start": { "line": 537, "column": 11 }, "end": { "line": 537, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18251, "end": 18259, "loc": { "start": { "line": 537, "column": 19 }, "end": { "line": 537, "column": 27 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", "start": 18044, "end": 18162, "loc": { "start": { "line": 532, "column": 2 }, "end": { "line": 534, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 18273, "end": 18305, "loc": { "start": { "line": 540, "column": 2 }, "end": { "line": 542, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 18309, "end": 18458, "loc": { "start": { "line": 543, "column": 2 }, "end": { "line": 548, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18309, "end": 18323, "loc": { "start": { "line": 543, "column": 2 }, "end": { "line": 543, "column": 16 }, "identifierName": "registerModule" }, "name": "registerModule", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 18326, "end": 18458, "loc": { "start": { "line": 543, "column": 19 }, "end": { "line": 548, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 18327, "end": 18331, "loc": { "start": { "line": 543, "column": 20 }, "end": { "line": 543, "column": 24 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 18333, "end": 18345, "loc": { "start": { "line": 543, "column": 26 }, "end": { "line": 543, "column": 38 }, "identifierName": "initCallback" }, "name": "initCallback" } ], "body": { "type": "BlockStatement", "start": 18350, "end": 18458, "loc": { "start": { "line": 543, "column": 43 }, "end": { "line": 548, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18357, "end": 18412, "loc": { "start": { "line": 544, "column": 4 }, "end": { "line": 545, "column": 30 } }, "test": { "type": "UnaryExpression", "start": 18360, "end": 18379, "loc": { "start": { "line": 544, "column": 7 }, "end": { "line": 544, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 18361, "end": 18379, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 544, "column": 26 } }, "object": { "type": "MemberExpression", "start": 18361, "end": 18373, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 544, "column": 20 } }, "object": { "type": "ThisExpression", "start": 18361, "end": 18365, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 544, "column": 12 } } }, "property": { "type": "Identifier", "start": 18366, "end": 18373, "loc": { "start": { "line": 544, "column": 13 }, "end": { "line": 544, "column": 20 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 18374, "end": 18378, "loc": { "start": { "line": 544, "column": 21 }, "end": { "line": 544, "column": 25 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 18388, "end": 18412, "loc": { "start": { "line": 545, "column": 6 }, "end": { "line": 545, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 18388, "end": 18411, "loc": { "start": { "line": 545, "column": 6 }, "end": { "line": 545, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18388, "end": 18406, "loc": { "start": { "line": 545, "column": 6 }, "end": { "line": 545, "column": 24 } }, "object": { "type": "MemberExpression", "start": 18388, "end": 18400, "loc": { "start": { "line": 545, "column": 6 }, "end": { "line": 545, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18388, "end": 18392, "loc": { "start": { "line": 545, "column": 6 }, "end": { "line": 545, "column": 10 } } }, "property": { "type": "Identifier", "start": 18393, "end": 18400, "loc": { "start": { "line": 545, "column": 11 }, "end": { "line": 545, "column": 18 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 18401, "end": 18405, "loc": { "start": { "line": 545, "column": 19 }, "end": { "line": 545, "column": 23 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 18409, "end": 18411, "loc": { "start": { "line": 545, "column": 27 }, "end": { "line": 545, "column": 29 } }, "properties": [] } } }, "alternate": null }, { "type": "ExpressionStatement", "start": 18420, "end": 18453, "loc": { "start": { "line": 547, "column": 4 }, "end": { "line": 547, "column": 37 } }, "expression": { "type": "CallExpression", "start": 18420, "end": 18452, "loc": { "start": { "line": 547, "column": 4 }, "end": { "line": 547, "column": 36 } }, "callee": { "type": "Identifier", "start": 18420, "end": 18432, "loc": { "start": { "line": 547, "column": 4 }, "end": { "line": 547, "column": 16 }, "identifierName": "initCallback" }, "name": "initCallback" }, "arguments": [ { "type": "MemberExpression", "start": 18433, "end": 18451, "loc": { "start": { "line": 547, "column": 17 }, "end": { "line": 547, "column": 35 } }, "object": { "type": "MemberExpression", "start": 18433, "end": 18445, "loc": { "start": { "line": 547, "column": 17 }, "end": { "line": 547, "column": 29 } }, "object": { "type": "ThisExpression", "start": 18433, "end": 18437, "loc": { "start": { "line": 547, "column": 17 }, "end": { "line": 547, "column": 21 } } }, "property": { "type": "Identifier", "start": 18438, "end": 18445, "loc": { "start": { "line": 547, "column": 22 }, "end": { "line": 547, "column": 29 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 18446, "end": 18450, "loc": { "start": { "line": 547, "column": 30 }, "end": { "line": 547, "column": 34 }, "identifierName": "name" }, "name": "name" }, "computed": true } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 18273, "end": 18305, "loc": { "start": { "line": 540, "column": 2 }, "end": { "line": 542, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 18464, "end": 18493, "loc": { "start": { "line": 550, "column": 2 }, "end": { "line": 552, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 18497, "end": 18955, "loc": { "start": { "line": 553, "column": 2 }, "end": { "line": 568, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18497, "end": 18508, "loc": { "start": { "line": 553, "column": 2 }, "end": { "line": 553, "column": 13 }, "identifierName": "loadModules" }, "name": "loadModules", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 18510, "end": 18955, "loc": { "start": { "line": 553, "column": 15 }, "end": { "line": 568, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18517, "end": 18950, "loc": { "start": { "line": 554, "column": 4 }, "end": { "line": 567, "column": 5 } }, "test": { "type": "CallExpression", "start": 18520, "end": 18555, "loc": { "start": { "line": 554, "column": 7 }, "end": { "line": 554, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 18520, "end": 18533, "loc": { "start": { "line": 554, "column": 7 }, "end": { "line": 554, "column": 20 } }, "object": { "type": "Identifier", "start": 18520, "end": 18525, "loc": { "start": { "line": 554, "column": 7 }, "end": { "line": 554, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 18526, "end": 18533, "loc": { "start": { "line": 554, "column": 13 }, "end": { "line": 554, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 18534, "end": 18554, "loc": { "start": { "line": 554, "column": 21 }, "end": { "line": 554, "column": 41 } }, "object": { "type": "MemberExpression", "start": 18534, "end": 18546, "loc": { "start": { "line": 554, "column": 21 }, "end": { "line": 554, "column": 33 } }, "object": { "type": "ThisExpression", "start": 18534, "end": 18538, "loc": { "start": { "line": 554, "column": 21 }, "end": { "line": 554, "column": 25 } } }, "property": { "type": "Identifier", "start": 18539, "end": 18546, "loc": { "start": { "line": 554, "column": 26 }, "end": { "line": 554, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18547, "end": 18554, "loc": { "start": { "line": 554, "column": 34 }, "end": { "line": 554, "column": 41 }, "identifierName": "modules" }, "name": "modules" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 18556, "end": 18950, "loc": { "start": { "line": 554, "column": 43 }, "end": { "line": 567, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18565, "end": 18943, "loc": { "start": { "line": 555, "column": 6 }, "end": { "line": 566, "column": 9 } }, "expression": { "type": "CallExpression", "start": 18565, "end": 18942, "loc": { "start": { "line": 555, "column": 6 }, "end": { "line": 566, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 18565, "end": 18593, "loc": { "start": { "line": 555, "column": 6 }, "end": { "line": 555, "column": 34 } }, "object": { "type": "MemberExpression", "start": 18565, "end": 18585, "loc": { "start": { "line": 555, "column": 6 }, "end": { "line": 555, "column": 26 } }, "object": { "type": "MemberExpression", "start": 18565, "end": 18577, "loc": { "start": { "line": 555, "column": 6 }, "end": { "line": 555, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18565, "end": 18569, "loc": { "start": { "line": 555, "column": 6 }, "end": { "line": 555, "column": 10 } } }, "property": { "type": "Identifier", "start": 18570, "end": 18577, "loc": { "start": { "line": 555, "column": 11 }, "end": { "line": 555, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18578, "end": 18585, "loc": { "start": { "line": 555, "column": 19 }, "end": { "line": 555, "column": 26 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 18586, "end": 18593, "loc": { "start": { "line": 555, "column": 27 }, "end": { "line": 555, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 18594, "end": 18941, "loc": { "start": { "line": 555, "column": 35 }, "end": { "line": 566, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 18594, "end": 18600, "loc": { "start": { "line": 555, "column": 35 }, "end": { "line": 555, "column": 41 }, "identifierName": "Module" }, "name": "Module" } ], "body": { "type": "BlockStatement", "start": 18604, "end": 18941, "loc": { "start": { "line": 555, "column": 45 }, "end": { "line": 566, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 18615, "end": 18641, "loc": { "start": { "line": 556, "column": 8 }, "end": { "line": 556, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18619, "end": 18640, "loc": { "start": { "line": 556, "column": 12 }, "end": { "line": 556, "column": 33 } }, "id": { "type": "Identifier", "start": 18619, "end": 18625, "loc": { "start": { "line": 556, "column": 12 }, "end": { "line": 556, "column": 18 }, "identifierName": "module" }, "name": "module" }, "init": { "type": "NewExpression", "start": 18628, "end": 18640, "loc": { "start": { "line": 556, "column": 21 }, "end": { "line": 556, "column": 33 } }, "callee": { "type": "Identifier", "start": 18632, "end": 18638, "loc": { "start": { "line": 556, "column": 25 }, "end": { "line": 556, "column": 31 }, "identifierName": "Module" }, "name": "Module" }, "arguments": [] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 18653, "end": 18679, "loc": { "start": { "line": 558, "column": 8 }, "end": { "line": 558, "column": 34 } } } ] }, { "type": "IfStatement", "start": 18689, "end": 18902, "loc": { "start": { "line": 559, "column": 8 }, "end": { "line": 563, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 18692, "end": 18757, "loc": { "start": { "line": 559, "column": 11 }, "end": { "line": 559, "column": 76 } }, "left": { "type": "MemberExpression", "start": 18692, "end": 18715, "loc": { "start": { "line": 559, "column": 11 }, "end": { "line": 559, "column": 34 } }, "object": { "type": "MemberExpression", "start": 18692, "end": 18710, "loc": { "start": { "line": 559, "column": 11 }, "end": { "line": 559, "column": 29 } }, "object": { "type": "Identifier", "start": 18692, "end": 18698, "loc": { "start": { "line": 559, "column": 11 }, "end": { "line": 559, "column": 17 }, "identifierName": "module" }, "name": "module", "leadingComments": null }, "property": { "type": "Identifier", "start": 18699, "end": 18710, "loc": { "start": { "line": 559, "column": 18 }, "end": { "line": 559, "column": 29 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 18711, "end": 18715, "loc": { "start": { "line": 559, "column": 30 }, "end": { "line": 559, "column": 34 }, "identifierName": "name" }, "name": "name" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 18719, "end": 18757, "loc": { "start": { "line": 559, "column": 38 }, "end": { "line": 559, "column": 76 } }, "left": { "type": "MemberExpression", "start": 18719, "end": 18742, "loc": { "start": { "line": 559, "column": 38 }, "end": { "line": 559, "column": 61 } }, "object": { "type": "MemberExpression", "start": 18719, "end": 18737, "loc": { "start": { "line": 559, "column": 38 }, "end": { "line": 559, "column": 56 } }, "object": { "type": "Identifier", "start": 18719, "end": 18725, "loc": { "start": { "line": 559, "column": 38 }, "end": { "line": 559, "column": 44 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 18726, "end": 18737, "loc": { "start": { "line": 559, "column": 45 }, "end": { "line": 559, "column": 56 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "property": { "type": "Identifier", "start": 18738, "end": 18742, "loc": { "start": { "line": 559, "column": 57 }, "end": { "line": 559, "column": 61 }, "identifierName": "name" }, "name": "name" }, "computed": false }, "operator": "!==", "right": { "type": "StringLiteral", "start": 18747, "end": 18757, "loc": { "start": { "line": 559, "column": 66 }, "end": { "line": 559, "column": 76 } }, "extra": { "rawValue": "Function", "raw": "\"Function\"" }, "value": "Function" } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 18758, "end": 18902, "loc": { "start": { "line": 559, "column": 77 }, "end": { "line": 563, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 18771, "end": 18891, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 562, "column": 12 } }, "expression": { "type": "CallExpression", "start": 18771, "end": 18890, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 562, "column": 11 } }, "callee": { "type": "MemberExpression", "start": 18771, "end": 18801, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 40 } }, "object": { "type": "MemberExpression", "start": 18771, "end": 18797, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 36 } }, "object": { "type": "MemberExpression", "start": 18771, "end": 18787, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 26 } }, "object": { "type": "ThisExpression", "start": 18771, "end": 18775, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 14 } } }, "property": { "type": "Identifier", "start": 18776, "end": 18787, "loc": { "start": { "line": 560, "column": 15 }, "end": { "line": 560, "column": 26 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 18788, "end": 18797, "loc": { "start": { "line": 560, "column": 27 }, "end": { "line": 560, "column": 36 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 18798, "end": 18801, "loc": { "start": { "line": 560, "column": 37 }, "end": { "line": 560, "column": 40 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 18816, "end": 18877, "loc": { "start": { "line": 561, "column": 12 }, "end": { "line": 561, "column": 73 } }, "expressions": [ { "type": "CallExpression", "start": 18826, "end": 18875, "loc": { "start": { "line": 561, "column": 22 }, "end": { "line": 561, "column": 71 } }, "callee": { "type": "MemberExpression", "start": 18826, "end": 18850, "loc": { "start": { "line": 561, "column": 22 }, "end": { "line": 561, "column": 46 } }, "object": { "type": "MemberExpression", "start": 18826, "end": 18840, "loc": { "start": { "line": 561, "column": 22 }, "end": { "line": 561, "column": 36 } }, "object": { "type": "ThisExpression", "start": 18826, "end": 18830, "loc": { "start": { "line": 561, "column": 22 }, "end": { "line": 561, "column": 26 } } }, "property": { "type": "Identifier", "start": 18831, "end": 18840, "loc": { "start": { "line": 561, "column": 27 }, "end": { "line": 561, "column": 36 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 18841, "end": 18850, "loc": { "start": { "line": 561, "column": 37 }, "end": { "line": 561, "column": 46 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 18851, "end": 18874, "loc": { "start": { "line": 561, "column": 47 }, "end": { "line": 561, "column": 70 } }, "object": { "type": "MemberExpression", "start": 18851, "end": 18869, "loc": { "start": { "line": 561, "column": 47 }, "end": { "line": 561, "column": 65 } }, "object": { "type": "Identifier", "start": 18851, "end": 18857, "loc": { "start": { "line": 561, "column": 47 }, "end": { "line": 561, "column": 53 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 18858, "end": 18869, "loc": { "start": { "line": 561, "column": 54 }, "end": { "line": 561, "column": 65 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "property": { "type": "Identifier", "start": 18870, "end": 18874, "loc": { "start": { "line": 561, "column": 66 }, "end": { "line": 561, "column": 70 }, "identifierName": "name" }, "name": "name" }, "computed": false } ] } ], "quasis": [ { "type": "TemplateElement", "start": 18817, "end": 18824, "loc": { "start": { "line": 561, "column": 13 }, "end": { "line": 561, "column": 20 } }, "value": { "raw": "module-", "cooked": "module-" }, "tail": false }, { "type": "TemplateElement", "start": 18876, "end": 18876, "loc": { "start": { "line": 561, "column": 72 }, "end": { "line": 561, "column": 72 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } ] } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 18653, "end": 18679, "loc": { "start": { "line": 558, "column": 8 }, "end": { "line": 558, "column": 34 } } } ] }, { "type": "ExpressionStatement", "start": 18914, "end": 18932, "loc": { "start": { "line": 565, "column": 8 }, "end": { "line": 565, "column": 26 } }, "expression": { "type": "CallExpression", "start": 18914, "end": 18931, "loc": { "start": { "line": 565, "column": 8 }, "end": { "line": 565, "column": 25 } }, "callee": { "type": "MemberExpression", "start": 18914, "end": 18925, "loc": { "start": { "line": 565, "column": 8 }, "end": { "line": 565, "column": 19 } }, "object": { "type": "Identifier", "start": 18914, "end": 18920, "loc": { "start": { "line": 565, "column": 8 }, "end": { "line": 565, "column": 14 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 18921, "end": 18925, "loc": { "start": { "line": 565, "column": 15 }, "end": { "line": 565, "column": 19 }, "identifierName": "init" }, "name": "init" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 18926, "end": 18930, "loc": { "start": { "line": 565, "column": 20 }, "end": { "line": 565, "column": 24 } } } ] } } ], "directives": [] } } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 18464, "end": 18493, "loc": { "start": { "line": 550, "column": 2 }, "end": { "line": 552, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 18961, "end": 18993, "loc": { "start": { "line": 570, "column": 2 }, "end": { "line": 572, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 18997, "end": 19129, "loc": { "start": { "line": 573, "column": 2 }, "end": { "line": 578, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18997, "end": 19010, "loc": { "start": { "line": 573, "column": 2 }, "end": { "line": 573, "column": 15 }, "identifierName": "getModuleProp" }, "name": "getModuleProp", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 19013, "end": 19129, "loc": { "start": { "line": 573, "column": 18 }, "end": { "line": 578, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19014, "end": 19018, "loc": { "start": { "line": 573, "column": 19 }, "end": { "line": 573, "column": 23 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 19020, "end": 19024, "loc": { "start": { "line": 573, "column": 25 }, "end": { "line": 573, "column": 29 }, "identifierName": "prop" }, "name": "prop" } ], "body": { "type": "BlockStatement", "start": 19029, "end": 19129, "loc": { "start": { "line": 573, "column": 34 }, "end": { "line": 578, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19036, "end": 19080, "loc": { "start": { "line": 574, "column": 4 }, "end": { "line": 575, "column": 19 } }, "test": { "type": "UnaryExpression", "start": 19039, "end": 19058, "loc": { "start": { "line": 574, "column": 7 }, "end": { "line": 574, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 19040, "end": 19058, "loc": { "start": { "line": 574, "column": 8 }, "end": { "line": 574, "column": 26 } }, "object": { "type": "MemberExpression", "start": 19040, "end": 19052, "loc": { "start": { "line": 574, "column": 8 }, "end": { "line": 574, "column": 20 } }, "object": { "type": "ThisExpression", "start": 19040, "end": 19044, "loc": { "start": { "line": 574, "column": 8 }, "end": { "line": 574, "column": 12 } } }, "property": { "type": "Identifier", "start": 19045, "end": 19052, "loc": { "start": { "line": 574, "column": 13 }, "end": { "line": 574, "column": 20 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19053, "end": 19057, "loc": { "start": { "line": 574, "column": 21 }, "end": { "line": 574, "column": 25 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ReturnStatement", "start": 19067, "end": 19080, "loc": { "start": { "line": 575, "column": 6 }, "end": { "line": 575, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 19074, "end": 19079, "loc": { "start": { "line": 575, "column": 13 }, "end": { "line": 575, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ReturnStatement", "start": 19092, "end": 19124, "loc": { "start": { "line": 577, "column": 4 }, "end": { "line": 577, "column": 36 } }, "argument": { "type": "MemberExpression", "start": 19099, "end": 19123, "loc": { "start": { "line": 577, "column": 11 }, "end": { "line": 577, "column": 35 } }, "object": { "type": "MemberExpression", "start": 19099, "end": 19117, "loc": { "start": { "line": 577, "column": 11 }, "end": { "line": 577, "column": 29 } }, "object": { "type": "MemberExpression", "start": 19099, "end": 19111, "loc": { "start": { "line": 577, "column": 11 }, "end": { "line": 577, "column": 23 } }, "object": { "type": "ThisExpression", "start": 19099, "end": 19103, "loc": { "start": { "line": 577, "column": 11 }, "end": { "line": 577, "column": 15 } } }, "property": { "type": "Identifier", "start": 19104, "end": 19111, "loc": { "start": { "line": 577, "column": 16 }, "end": { "line": 577, "column": 23 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19112, "end": 19116, "loc": { "start": { "line": 577, "column": 24 }, "end": { "line": 577, "column": 28 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "property": { "type": "Identifier", "start": 19118, "end": 19122, "loc": { "start": { "line": 577, "column": 30 }, "end": { "line": 577, "column": 34 }, "identifierName": "prop" }, "name": "prop" }, "computed": true } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 18961, "end": 18993, "loc": { "start": { "line": 570, "column": 2 }, "end": { "line": 572, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 19135, "end": 19166, "loc": { "start": { "line": 580, "column": 2 }, "end": { "line": 582, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 19170, "end": 19238, "loc": { "start": { "line": 583, "column": 2 }, "end": { "line": 585, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19170, "end": 19184, "loc": { "start": { "line": 583, "column": 2 }, "end": { "line": 583, "column": 16 }, "identifierName": "getModulesList" }, "name": "getModulesList", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 19187, "end": 19238, "loc": { "start": { "line": 583, "column": 19 }, "end": { "line": 585, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19193, "end": 19238, "loc": { "start": { "line": 583, "column": 25 }, "end": { "line": 585, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 19200, "end": 19233, "loc": { "start": { "line": 584, "column": 4 }, "end": { "line": 584, "column": 37 } }, "argument": { "type": "CallExpression", "start": 19207, "end": 19232, "loc": { "start": { "line": 584, "column": 11 }, "end": { "line": 584, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 19207, "end": 19218, "loc": { "start": { "line": 584, "column": 11 }, "end": { "line": 584, "column": 22 } }, "object": { "type": "Identifier", "start": 19207, "end": 19213, "loc": { "start": { "line": 584, "column": 11 }, "end": { "line": 584, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 19214, "end": 19218, "loc": { "start": { "line": 584, "column": 18 }, "end": { "line": 584, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19219, "end": 19231, "loc": { "start": { "line": 584, "column": 23 }, "end": { "line": 584, "column": 35 } }, "object": { "type": "ThisExpression", "start": 19219, "end": 19223, "loc": { "start": { "line": 584, "column": 23 }, "end": { "line": 584, "column": 27 } } }, "property": { "type": "Identifier", "start": 19224, "end": 19231, "loc": { "start": { "line": 584, "column": 28 }, "end": { "line": 584, "column": 35 }, "identifierName": "modules" }, "name": "modules" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 19135, "end": 19166, "loc": { "start": { "line": 580, "column": 2 }, "end": { "line": 582, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 19244, "end": 19300, "loc": { "start": { "line": 587, "column": 2 }, "end": { "line": 589, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 19304, "end": 23618, "loc": { "start": { "line": 590, "column": 2 }, "end": { "line": 732, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19304, "end": 19310, "loc": { "start": { "line": 590, "column": 2 }, "end": { "line": 590, "column": 8 }, "identifierName": "render" }, "name": "render", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19312, "end": 23618, "loc": { "start": { "line": 590, "column": 10 }, "end": { "line": 732, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 19360, "end": 19373, "loc": { "start": { "line": 594, "column": 4 }, "end": { "line": 594, "column": 17 } }, "expression": { "type": "CallExpression", "start": 19360, "end": 19372, "loc": { "start": { "line": 594, "column": 4 }, "end": { "line": 594, "column": 16 } }, "callee": { "type": "MemberExpression", "start": 19360, "end": 19370, "loc": { "start": { "line": 594, "column": 4 }, "end": { "line": 594, "column": 14 } }, "object": { "type": "ThisExpression", "start": 19360, "end": 19364, "loc": { "start": { "line": 594, "column": 4 }, "end": { "line": 594, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19365, "end": 19370, "loc": { "start": { "line": 594, "column": 9 }, "end": { "line": 594, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 19319, "end": 19354, "loc": { "start": { "line": 591, "column": 4 }, "end": { "line": 593, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 19381, "end": 19481, "loc": { "start": { "line": 596, "column": 4 }, "end": { "line": 596, "column": 104 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19385, "end": 19480, "loc": { "start": { "line": 596, "column": 8 }, "end": { "line": 596, "column": 103 } }, "id": { "type": "Identifier", "start": 19385, "end": 19396, "loc": { "start": { "line": 596, "column": 8 }, "end": { "line": 596, "column": 19 }, "identifierName": "layoutClass" }, "name": "layoutClass" }, "init": { "type": "ConditionalExpression", "start": 19399, "end": 19480, "loc": { "start": { "line": 596, "column": 22 }, "end": { "line": 596, "column": 103 } }, "test": { "type": "MemberExpression", "start": 19399, "end": 19418, "loc": { "start": { "line": 596, "column": 22 }, "end": { "line": 596, "column": 41 } }, "object": { "type": "MemberExpression", "start": 19399, "end": 19411, "loc": { "start": { "line": 596, "column": 22 }, "end": { "line": 596, "column": 34 } }, "object": { "type": "ThisExpression", "start": 19399, "end": 19403, "loc": { "start": { "line": 596, "column": 22 }, "end": { "line": 596, "column": 26 } } }, "property": { "type": "Identifier", "start": 19404, "end": 19411, "loc": { "start": { "line": 596, "column": 27 }, "end": { "line": 596, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19412, "end": 19418, "loc": { "start": { "line": 596, "column": 35 }, "end": { "line": 596, "column": 41 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "consequent": { "type": "StringLiteral", "start": 19421, "end": 19439, "loc": { "start": { "line": 596, "column": 44 }, "end": { "line": 596, "column": 62 } }, "extra": { "rawValue": "hg-layout-custom", "raw": "\"hg-layout-custom\"" }, "value": "hg-layout-custom" }, "alternate": { "type": "TemplateLiteral", "start": 19442, "end": 19480, "loc": { "start": { "line": 596, "column": 65 }, "end": { "line": 596, "column": 103 } }, "expressions": [ { "type": "MemberExpression", "start": 19455, "end": 19478, "loc": { "start": { "line": 596, "column": 78 }, "end": { "line": 596, "column": 101 } }, "object": { "type": "MemberExpression", "start": 19455, "end": 19467, "loc": { "start": { "line": 596, "column": 78 }, "end": { "line": 596, "column": 90 } }, "object": { "type": "ThisExpression", "start": 19455, "end": 19459, "loc": { "start": { "line": 596, "column": 78 }, "end": { "line": 596, "column": 82 } } }, "property": { "type": "Identifier", "start": 19460, "end": 19467, "loc": { "start": { "line": 596, "column": 83 }, "end": { "line": 596, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19468, "end": 19478, "loc": { "start": { "line": 596, "column": 91 }, "end": { "line": 596, "column": 101 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 19443, "end": 19453, "loc": { "start": { "line": 596, "column": 66 }, "end": { "line": 596, "column": 76 } }, "value": { "raw": "hg-layout-", "cooked": "hg-layout-" }, "tail": false }, { "type": "TemplateElement", "start": 19479, "end": 19479, "loc": { "start": { "line": 596, "column": 102 }, "end": { "line": 596, "column": 102 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 19487, "end": 19557, "loc": { "start": { "line": 597, "column": 4 }, "end": { "line": 597, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19491, "end": 19556, "loc": { "start": { "line": 597, "column": 8 }, "end": { "line": 597, "column": 73 } }, "id": { "type": "Identifier", "start": 19491, "end": 19497, "loc": { "start": { "line": 597, "column": 8 }, "end": { "line": 597, "column": 14 }, "identifierName": "layout" }, "name": "layout" }, "init": { "type": "LogicalExpression", "start": 19500, "end": 19556, "loc": { "start": { "line": 597, "column": 17 }, "end": { "line": 597, "column": 73 } }, "left": { "type": "MemberExpression", "start": 19500, "end": 19519, "loc": { "start": { "line": 597, "column": 17 }, "end": { "line": 597, "column": 36 } }, "object": { "type": "MemberExpression", "start": 19500, "end": 19512, "loc": { "start": { "line": 597, "column": 17 }, "end": { "line": 597, "column": 29 } }, "object": { "type": "ThisExpression", "start": 19500, "end": 19504, "loc": { "start": { "line": 597, "column": 17 }, "end": { "line": 597, "column": 21 } } }, "property": { "type": "Identifier", "start": 19505, "end": 19512, "loc": { "start": { "line": 597, "column": 22 }, "end": { "line": 597, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19513, "end": 19519, "loc": { "start": { "line": 597, "column": 30 }, "end": { "line": 597, "column": 36 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "operator": "||", "right": { "type": "CallExpression", "start": 19523, "end": 19556, "loc": { "start": { "line": 597, "column": 40 }, "end": { "line": 597, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 19523, "end": 19554, "loc": { "start": { "line": 597, "column": 40 }, "end": { "line": 597, "column": 71 } }, "object": { "type": "Identifier", "start": 19523, "end": 19537, "loc": { "start": { "line": 597, "column": 40 }, "end": { "line": 597, "column": 54 }, "identifierName": "KeyboardLayout" }, "name": "KeyboardLayout" }, "property": { "type": "Identifier", "start": 19538, "end": 19554, "loc": { "start": { "line": 597, "column": 55 }, "end": { "line": 597, "column": 71 }, "identifierName": "getDefaultLayout" }, "name": "getDefaultLayout" }, "computed": false }, "arguments": [] } } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 19565, "end": 19617, "loc": { "start": { "line": 599, "column": 4 }, "end": { "line": 601, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 19623, "end": 19651, "loc": { "start": { "line": 602, "column": 4 }, "end": { "line": 602, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19627, "end": 19650, "loc": { "start": { "line": 602, "column": 8 }, "end": { "line": 602, "column": 31 } }, "id": { "type": "Identifier", "start": 19627, "end": 19645, "loc": { "start": { "line": 602, "column": 8 }, "end": { "line": 602, "column": 26 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed", "leadingComments": null }, "init": { "type": "ObjectExpression", "start": 19648, "end": 19650, "loc": { "start": { "line": 602, "column": 29 }, "end": { "line": 602, "column": 31 } }, "properties": [] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 19565, "end": 19617, "loc": { "start": { "line": 599, "column": 4 }, "end": { "line": 601, "column": 7 } } } ] }, { "type": "IfStatement", "start": 19657, "end": 20796, "loc": { "start": { "line": 603, "column": 4 }, "end": { "line": 631, "column": 5 } }, "test": { "type": "CallExpression", "start": 19660, "end": 19699, "loc": { "start": { "line": 603, "column": 7 }, "end": { "line": 603, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 19660, "end": 19673, "loc": { "start": { "line": 603, "column": 7 }, "end": { "line": 603, "column": 20 } }, "object": { "type": "Identifier", "start": 19660, "end": 19665, "loc": { "start": { "line": 603, "column": 7 }, "end": { "line": 603, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 19666, "end": 19673, "loc": { "start": { "line": 603, "column": 13 }, "end": { "line": 603, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19674, "end": 19698, "loc": { "start": { "line": 603, "column": 21 }, "end": { "line": 603, "column": 45 } }, "object": { "type": "MemberExpression", "start": 19674, "end": 19686, "loc": { "start": { "line": 603, "column": 21 }, "end": { "line": 603, "column": 33 } }, "object": { "type": "ThisExpression", "start": 19674, "end": 19678, "loc": { "start": { "line": 603, "column": 21 }, "end": { "line": 603, "column": 25 } } }, "property": { "type": "Identifier", "start": 19679, "end": 19686, "loc": { "start": { "line": 603, "column": 26 }, "end": { "line": 603, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19687, "end": 19698, "loc": { "start": { "line": 603, "column": 34 }, "end": { "line": 603, "column": 45 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 19700, "end": 20796, "loc": { "start": { "line": 603, "column": 47 }, "end": { "line": 631, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 19709, "end": 20789, "loc": { "start": { "line": 604, "column": 6 }, "end": { "line": 630, "column": 9 } }, "expression": { "type": "CallExpression", "start": 19709, "end": 20788, "loc": { "start": { "line": 604, "column": 6 }, "end": { "line": 630, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 19709, "end": 19741, "loc": { "start": { "line": 604, "column": 6 }, "end": { "line": 604, "column": 38 } }, "object": { "type": "MemberExpression", "start": 19709, "end": 19733, "loc": { "start": { "line": 604, "column": 6 }, "end": { "line": 604, "column": 30 } }, "object": { "type": "MemberExpression", "start": 19709, "end": 19721, "loc": { "start": { "line": 604, "column": 6 }, "end": { "line": 604, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19709, "end": 19713, "loc": { "start": { "line": 604, "column": 6 }, "end": { "line": 604, "column": 10 } } }, "property": { "type": "Identifier", "start": 19714, "end": 19721, "loc": { "start": { "line": 604, "column": 11 }, "end": { "line": 604, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19722, "end": 19733, "loc": { "start": { "line": 604, "column": 19 }, "end": { "line": 604, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 19734, "end": 19741, "loc": { "start": { "line": 604, "column": 31 }, "end": { "line": 604, "column": 38 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 19742, "end": 20787, "loc": { "start": { "line": 604, "column": 39 }, "end": { "line": 630, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19742, "end": 19750, "loc": { "start": { "line": 604, "column": 39 }, "end": { "line": 604, "column": 47 }, "identifierName": "themeObj" }, "name": "themeObj" } ], "body": { "type": "BlockStatement", "start": 19754, "end": 20787, "loc": { "start": { "line": 604, "column": 51 }, "end": { "line": 630, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 19765, "end": 20778, "loc": { "start": { "line": 605, "column": 8 }, "end": { "line": 629, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 19768, "end": 19802, "loc": { "start": { "line": 605, "column": 11 }, "end": { "line": 605, "column": 45 } }, "left": { "type": "MemberExpression", "start": 19768, "end": 19784, "loc": { "start": { "line": 605, "column": 11 }, "end": { "line": 605, "column": 27 } }, "object": { "type": "Identifier", "start": 19768, "end": 19776, "loc": { "start": { "line": 605, "column": 11 }, "end": { "line": 605, "column": 19 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 19777, "end": 19784, "loc": { "start": { "line": 605, "column": 20 }, "end": { "line": 605, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "operator": "&&", "right": { "type": "MemberExpression", "start": 19788, "end": 19802, "loc": { "start": { "line": 605, "column": 31 }, "end": { "line": 605, "column": 45 } }, "object": { "type": "Identifier", "start": 19788, "end": 19796, "loc": { "start": { "line": 605, "column": 31 }, "end": { "line": 605, "column": 39 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 19797, "end": 19802, "loc": { "start": { "line": 605, "column": 40 }, "end": { "line": 605, "column": 45 }, "identifierName": "class" }, "name": "class" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 19803, "end": 20644, "loc": { "start": { "line": 605, "column": 46 }, "end": { "line": 627, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 19816, "end": 19833, "loc": { "start": { "line": 606, "column": 10 }, "end": { "line": 606, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19820, "end": 19832, "loc": { "start": { "line": 606, "column": 14 }, "end": { "line": 606, "column": 26 } }, "id": { "type": "Identifier", "start": 19820, "end": 19832, "loc": { "start": { "line": 606, "column": 14 }, "end": { "line": 606, "column": 26 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 19847, "end": 19958, "loc": { "start": { "line": 608, "column": 10 }, "end": { "line": 610, "column": 11 } }, "test": { "type": "BinaryExpression", "start": 19850, "end": 19886, "loc": { "start": { "line": 608, "column": 13 }, "end": { "line": 608, "column": 49 } }, "left": { "type": "UnaryExpression", "start": 19850, "end": 19873, "loc": { "start": { "line": 608, "column": 13 }, "end": { "line": 608, "column": 36 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 19857, "end": 19873, "loc": { "start": { "line": 608, "column": 20 }, "end": { "line": 608, "column": 36 } }, "object": { "type": "Identifier", "start": 19857, "end": 19865, "loc": { "start": { "line": 608, "column": 20 }, "end": { "line": 608, "column": 28 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 19866, "end": 19873, "loc": { "start": { "line": 608, "column": 29 }, "end": { "line": 608, "column": 36 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 19878, "end": 19886, "loc": { "start": { "line": 608, "column": 41 }, "end": { "line": 608, "column": 49 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "consequent": { "type": "BlockStatement", "start": 19887, "end": 19958, "loc": { "start": { "line": 608, "column": 50 }, "end": { "line": 610, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 19902, "end": 19945, "loc": { "start": { "line": 609, "column": 12 }, "end": { "line": 609, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 19902, "end": 19944, "loc": { "start": { "line": 609, "column": 12 }, "end": { "line": 609, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 19902, "end": 19914, "loc": { "start": { "line": 609, "column": 12 }, "end": { "line": 609, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "right": { "type": "CallExpression", "start": 19917, "end": 19944, "loc": { "start": { "line": 609, "column": 27 }, "end": { "line": 609, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 19917, "end": 19939, "loc": { "start": { "line": 609, "column": 27 }, "end": { "line": 609, "column": 49 } }, "object": { "type": "MemberExpression", "start": 19917, "end": 19933, "loc": { "start": { "line": 609, "column": 27 }, "end": { "line": 609, "column": 43 } }, "object": { "type": "Identifier", "start": 19917, "end": 19925, "loc": { "start": { "line": 609, "column": 27 }, "end": { "line": 609, "column": 35 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 19926, "end": 19933, "loc": { "start": { "line": 609, "column": 36 }, "end": { "line": 609, "column": 43 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 19934, "end": 19939, "loc": { "start": { "line": 609, "column": 44 }, "end": { "line": 609, "column": 49 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 19940, "end": 19943, "loc": { "start": { "line": 609, "column": 50 }, "end": { "line": 609, "column": 53 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 19972, "end": 20633, "loc": { "start": { "line": 612, "column": 10 }, "end": { "line": 626, "column": 11 } }, "test": { "type": "Identifier", "start": 19975, "end": 19987, "loc": { "start": { "line": 612, "column": 13 }, "end": { "line": 612, "column": 25 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "consequent": { "type": "BlockStatement", "start": 19988, "end": 20633, "loc": { "start": { "line": 612, "column": 26 }, "end": { "line": 626, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 20003, "end": 20620, "loc": { "start": { "line": 613, "column": 12 }, "end": { "line": 625, "column": 15 } }, "expression": { "type": "CallExpression", "start": 20003, "end": 20619, "loc": { "start": { "line": 613, "column": 12 }, "end": { "line": 625, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 20003, "end": 20023, "loc": { "start": { "line": 613, "column": 12 }, "end": { "line": 613, "column": 32 } }, "object": { "type": "Identifier", "start": 20003, "end": 20015, "loc": { "start": { "line": 613, "column": 12 }, "end": { "line": 613, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "property": { "type": "Identifier", "start": 20016, "end": 20023, "loc": { "start": { "line": 613, "column": 25 }, "end": { "line": 613, "column": 32 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 20024, "end": 20618, "loc": { "start": { "line": 613, "column": 33 }, "end": { "line": 625, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 20024, "end": 20035, "loc": { "start": { "line": 613, "column": 33 }, "end": { "line": 613, "column": 44 }, "identifierName": "themeButton" }, "name": "themeButton" } ], "body": { "type": "BlockStatement", "start": 20039, "end": 20618, "loc": { "start": { "line": 613, "column": 48 }, "end": { "line": 625, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 20056, "end": 20106, "loc": { "start": { "line": 614, "column": 14 }, "end": { "line": 614, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20060, "end": 20105, "loc": { "start": { "line": 614, "column": 18 }, "end": { "line": 614, "column": 63 } }, "id": { "type": "Identifier", "start": 20060, "end": 20071, "loc": { "start": { "line": 614, "column": 18 }, "end": { "line": 614, "column": 29 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "init": { "type": "MemberExpression", "start": 20074, "end": 20105, "loc": { "start": { "line": 614, "column": 32 }, "end": { "line": 614, "column": 63 } }, "object": { "type": "Identifier", "start": 20074, "end": 20092, "loc": { "start": { "line": 614, "column": 32 }, "end": { "line": 614, "column": 50 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 20093, "end": 20104, "loc": { "start": { "line": 614, "column": 51 }, "end": { "line": 614, "column": 62 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 20124, "end": 20163, "loc": { "start": { "line": 616, "column": 14 }, "end": { "line": 616, "column": 53 } } } ] }, { "type": "IfStatement", "start": 20179, "end": 20603, "loc": { "start": { "line": 617, "column": 14 }, "end": { "line": 624, "column": 15 } }, "test": { "type": "Identifier", "start": 20182, "end": 20193, "loc": { "start": { "line": 617, "column": 17 }, "end": { "line": 617, "column": 28 }, "identifierName": "themeParsed" }, "name": "themeParsed", "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 20194, "end": 20512, "loc": { "start": { "line": 617, "column": 29 }, "end": { "line": 622, "column": 15 } }, "body": [ { "type": "IfStatement", "start": 20314, "end": 20495, "loc": { "start": { "line": 619, "column": 16 }, "end": { "line": 621, "column": 17 } }, "test": { "type": "UnaryExpression", "start": 20317, "end": 20385, "loc": { "start": { "line": 619, "column": 19 }, "end": { "line": 619, "column": 87 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 20318, "end": 20385, "loc": { "start": { "line": 619, "column": 20 }, "end": { "line": 619, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 20318, "end": 20345, "loc": { "start": { "line": 619, "column": 20 }, "end": { "line": 619, "column": 47 } }, "object": { "type": "MemberExpression", "start": 20318, "end": 20332, "loc": { "start": { "line": 619, "column": 20 }, "end": { "line": 619, "column": 34 } }, "object": { "type": "ThisExpression", "start": 20318, "end": 20322, "loc": { "start": { "line": 619, "column": 20 }, "end": { "line": 619, "column": 24 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 20323, "end": 20332, "loc": { "start": { "line": 619, "column": 25 }, "end": { "line": 619, "column": 34 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 20333, "end": 20345, "loc": { "start": { "line": 619, "column": 35 }, "end": { "line": 619, "column": 47 }, "identifierName": "countInArray" }, "name": "countInArray" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "CallExpression", "start": 20346, "end": 20368, "loc": { "start": { "line": 619, "column": 48 }, "end": { "line": 619, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 20346, "end": 20363, "loc": { "start": { "line": 619, "column": 48 }, "end": { "line": 619, "column": 65 } }, "object": { "type": "Identifier", "start": 20346, "end": 20357, "loc": { "start": { "line": 619, "column": 48 }, "end": { "line": 619, "column": 59 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "property": { "type": "Identifier", "start": 20358, "end": 20363, "loc": { "start": { "line": 619, "column": 60 }, "end": { "line": 619, "column": 65 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 20364, "end": 20367, "loc": { "start": { "line": 619, "column": 66 }, "end": { "line": 619, "column": 69 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, { "type": "MemberExpression", "start": 20370, "end": 20384, "loc": { "start": { "line": 619, "column": 72 }, "end": { "line": 619, "column": 86 } }, "object": { "type": "Identifier", "start": 20370, "end": 20378, "loc": { "start": { "line": 619, "column": 72 }, "end": { "line": 619, "column": 80 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 20379, "end": 20384, "loc": { "start": { "line": 619, "column": 81 }, "end": { "line": 619, "column": 86 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 20386, "end": 20495, "loc": { "start": { "line": 619, "column": 88 }, "end": { "line": 621, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 20407, "end": 20476, "loc": { "start": { "line": 620, "column": 18 }, "end": { "line": 620, "column": 87 } }, "expression": { "type": "AssignmentExpression", "start": 20407, "end": 20475, "loc": { "start": { "line": 620, "column": 18 }, "end": { "line": 620, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20407, "end": 20438, "loc": { "start": { "line": 620, "column": 18 }, "end": { "line": 620, "column": 49 } }, "object": { "type": "Identifier", "start": 20407, "end": 20425, "loc": { "start": { "line": 620, "column": 18 }, "end": { "line": 620, "column": 36 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 20426, "end": 20437, "loc": { "start": { "line": 620, "column": 37 }, "end": { "line": 620, "column": 48 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "TemplateLiteral", "start": 20441, "end": 20475, "loc": { "start": { "line": 620, "column": 52 }, "end": { "line": 620, "column": 86 } }, "expressions": [ { "type": "Identifier", "start": 20444, "end": 20455, "loc": { "start": { "line": 620, "column": 55 }, "end": { "line": 620, "column": 66 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, { "type": "MemberExpression", "start": 20459, "end": 20473, "loc": { "start": { "line": 620, "column": 70 }, "end": { "line": 620, "column": 84 } }, "object": { "type": "Identifier", "start": 20459, "end": 20467, "loc": { "start": { "line": 620, "column": 70 }, "end": { "line": 620, "column": 78 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 20468, "end": 20473, "loc": { "start": { "line": 620, "column": 79 }, "end": { "line": 620, "column": 84 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 20442, "end": 20442, "loc": { "start": { "line": 620, "column": 53 }, "end": { "line": 620, "column": 53 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 20456, "end": 20457, "loc": { "start": { "line": 620, "column": 67 }, "end": { "line": 620, "column": 68 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 20474, "end": 20474, "loc": { "start": { "line": 620, "column": 85 }, "end": { "line": 620, "column": 85 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", "start": 20213, "end": 20296, "loc": { "start": { "line": 618, "column": 16 }, "end": { "line": 618, "column": 99 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 20518, "end": 20603, "loc": { "start": { "line": 622, "column": 21 }, "end": { "line": 624, "column": 15 } }, "body": [ { "type": "ExpressionStatement", "start": 20537, "end": 20586, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 20537, "end": 20585, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20537, "end": 20568, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 47 } }, "object": { "type": "Identifier", "start": 20537, "end": 20555, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 34 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 20556, "end": 20567, "loc": { "start": { "line": 623, "column": 35 }, "end": { "line": 623, "column": 46 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "MemberExpression", "start": 20571, "end": 20585, "loc": { "start": { "line": 623, "column": 50 }, "end": { "line": 623, "column": 64 } }, "object": { "type": "Identifier", "start": 20571, "end": 20579, "loc": { "start": { "line": 623, "column": 50 }, "end": { "line": 623, "column": 58 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 20580, "end": 20585, "loc": { "start": { "line": 623, "column": 59 }, "end": { "line": 623, "column": 64 }, "identifierName": "class" }, "name": "class" }, "computed": false } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 20124, "end": 20163, "loc": { "start": { "line": 616, "column": 14 }, "end": { "line": 616, "column": 53 } } } ] } ], "directives": [] } } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 20650, "end": 20778, "loc": { "start": { "line": 627, "column": 15 }, "end": { "line": 629, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 20663, "end": 20767, "loc": { "start": { "line": 628, "column": 10 }, "end": { "line": 628, "column": 114 } }, "expression": { "type": "CallExpression", "start": 20663, "end": 20767, "loc": { "start": { "line": 628, "column": 10 }, "end": { "line": 628, "column": 114 } }, "callee": { "type": "MemberExpression", "start": 20663, "end": 20675, "loc": { "start": { "line": 628, "column": 10 }, "end": { "line": 628, "column": 22 } }, "object": { "type": "Identifier", "start": 20663, "end": 20670, "loc": { "start": { "line": 628, "column": 10 }, "end": { "line": 628, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 20671, "end": 20675, "loc": { "start": { "line": 628, "column": 18 }, "end": { "line": 628, "column": 22 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 20676, "end": 20766, "loc": { "start": { "line": 628, "column": 23 }, "end": { "line": 628, "column": 113 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 20677, "end": 20765, "loc": { "start": { "line": 628, "column": 24 }, "end": { "line": 628, "column": 112 } }, "value": { "raw": "buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation.", "cooked": "buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation." }, "tail": true } ] } ] } } ], "directives": [] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 20804, "end": 20870, "loc": { "start": { "line": 633, "column": 4 }, "end": { "line": 635, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 20876, "end": 20946, "loc": { "start": { "line": 636, "column": 4 }, "end": { "line": 636, "column": 74 } }, "expression": { "type": "AssignmentExpression", "start": 20876, "end": 20945, "loc": { "start": { "line": 636, "column": 4 }, "end": { "line": 636, "column": 73 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 20876, "end": 20902, "loc": { "start": { "line": 636, "column": 4 }, "end": { "line": 636, "column": 30 } }, "object": { "type": "MemberExpression", "start": 20876, "end": 20892, "loc": { "start": { "line": 636, "column": 4 }, "end": { "line": 636, "column": 20 } }, "object": { "type": "ThisExpression", "start": 20876, "end": 20880, "loc": { "start": { "line": 636, "column": 4 }, "end": { "line": 636, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 20881, "end": 20892, "loc": { "start": { "line": 636, "column": 9 }, "end": { "line": 636, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 20893, "end": 20902, "loc": { "start": { "line": 636, "column": 21 }, "end": { "line": 636, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false, "leadingComments": null }, "right": { "type": "TemplateLiteral", "start": 20906, "end": 20945, "loc": { "start": { "line": 636, "column": 34 }, "end": { "line": 636, "column": 73 } }, "expressions": [ { "type": "MemberExpression", "start": 20910, "end": 20928, "loc": { "start": { "line": 636, "column": 38 }, "end": { "line": 636, "column": 56 } }, "object": { "type": "MemberExpression", "start": 20910, "end": 20922, "loc": { "start": { "line": 636, "column": 38 }, "end": { "line": 636, "column": 50 } }, "object": { "type": "ThisExpression", "start": 20910, "end": 20914, "loc": { "start": { "line": 636, "column": 38 }, "end": { "line": 636, "column": 42 } } }, "property": { "type": "Identifier", "start": 20915, "end": 20922, "loc": { "start": { "line": 636, "column": 43 }, "end": { "line": 636, "column": 50 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20923, "end": 20928, "loc": { "start": { "line": 636, "column": 51 }, "end": { "line": 636, "column": 56 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, { "type": "Identifier", "start": 20932, "end": 20943, "loc": { "start": { "line": 636, "column": 60 }, "end": { "line": 636, "column": 71 }, "identifierName": "layoutClass" }, "name": "layoutClass" } ], "quasis": [ { "type": "TemplateElement", "start": 20907, "end": 20908, "loc": { "start": { "line": 636, "column": 35 }, "end": { "line": 636, "column": 36 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 20929, "end": 20930, "loc": { "start": { "line": 636, "column": 57 }, "end": { "line": 636, "column": 58 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 20944, "end": 20944, "loc": { "start": { "line": 636, "column": 72 }, "end": { "line": 636, "column": 72 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 20804, "end": 20870, "loc": { "start": { "line": 633, "column": 4 }, "end": { "line": 635, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 20954, "end": 21001, "loc": { "start": { "line": 638, "column": 4 }, "end": { "line": 640, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 21007, "end": 23203, "loc": { "start": { "line": 641, "column": 4 }, "end": { "line": 709, "column": 7 } }, "expression": { "type": "CallExpression", "start": 21007, "end": 23202, "loc": { "start": { "line": 641, "column": 4 }, "end": { "line": 709, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 21007, "end": 21046, "loc": { "start": { "line": 641, "column": 4 }, "end": { "line": 641, "column": 43 } }, "object": { "type": "MemberExpression", "start": 21007, "end": 21038, "loc": { "start": { "line": 641, "column": 4 }, "end": { "line": 641, "column": 35 } }, "object": { "type": "Identifier", "start": 21007, "end": 21013, "loc": { "start": { "line": 641, "column": 4 }, "end": { "line": 641, "column": 10 }, "identifierName": "layout" }, "name": "layout", "leadingComments": null }, "property": { "type": "MemberExpression", "start": 21014, "end": 21037, "loc": { "start": { "line": 641, "column": 11 }, "end": { "line": 641, "column": 34 } }, "object": { "type": "MemberExpression", "start": 21014, "end": 21026, "loc": { "start": { "line": 641, "column": 11 }, "end": { "line": 641, "column": 23 } }, "object": { "type": "ThisExpression", "start": 21014, "end": 21018, "loc": { "start": { "line": 641, "column": 11 }, "end": { "line": 641, "column": 15 } } }, "property": { "type": "Identifier", "start": 21019, "end": 21026, "loc": { "start": { "line": 641, "column": 16 }, "end": { "line": 641, "column": 23 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21027, "end": 21037, "loc": { "start": { "line": 641, "column": 24 }, "end": { "line": 641, "column": 34 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 21039, "end": 21046, "loc": { "start": { "line": 641, "column": 36 }, "end": { "line": 641, "column": 43 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 21047, "end": 23201, "loc": { "start": { "line": 641, "column": 44 }, "end": { "line": 709, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 21048, "end": 21051, "loc": { "start": { "line": 641, "column": 45 }, "end": { "line": 641, "column": 48 }, "identifierName": "row" }, "name": "row" }, { "type": "Identifier", "start": 21053, "end": 21059, "loc": { "start": { "line": 641, "column": 50 }, "end": { "line": 641, "column": 56 }, "identifierName": "rIndex" }, "name": "rIndex" } ], "body": { "type": "BlockStatement", "start": 21064, "end": 23201, "loc": { "start": { "line": 641, "column": 61 }, "end": { "line": 709, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 21073, "end": 21103, "loc": { "start": { "line": 642, "column": 6 }, "end": { "line": 642, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21077, "end": 21102, "loc": { "start": { "line": 642, "column": 10 }, "end": { "line": 642, "column": 35 } }, "id": { "type": "Identifier", "start": 21077, "end": 21085, "loc": { "start": { "line": 642, "column": 10 }, "end": { "line": 642, "column": 18 }, "identifierName": "rowArray" }, "name": "rowArray" }, "init": { "type": "CallExpression", "start": 21088, "end": 21102, "loc": { "start": { "line": 642, "column": 21 }, "end": { "line": 642, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 21088, "end": 21097, "loc": { "start": { "line": 642, "column": 21 }, "end": { "line": 642, "column": 30 } }, "object": { "type": "Identifier", "start": 21088, "end": 21091, "loc": { "start": { "line": 642, "column": 21 }, "end": { "line": 642, "column": 24 }, "identifierName": "row" }, "name": "row" }, "property": { "type": "Identifier", "start": 21092, "end": 21097, "loc": { "start": { "line": 642, "column": 25 }, "end": { "line": 642, "column": 30 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21098, "end": 21101, "loc": { "start": { "line": 642, "column": 31 }, "end": { "line": 642, "column": 34 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 21113, "end": 21156, "loc": { "start": { "line": 644, "column": 6 }, "end": { "line": 646, "column": 9 } } } ] }, { "type": "VariableDeclaration", "start": 21164, "end": 21207, "loc": { "start": { "line": 647, "column": 6 }, "end": { "line": 647, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21168, "end": 21206, "loc": { "start": { "line": 647, "column": 10 }, "end": { "line": 647, "column": 48 } }, "id": { "type": "Identifier", "start": 21168, "end": 21174, "loc": { "start": { "line": 647, "column": 10 }, "end": { "line": 647, "column": 16 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 21177, "end": 21206, "loc": { "start": { "line": 647, "column": 19 }, "end": { "line": 647, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 21177, "end": 21199, "loc": { "start": { "line": 647, "column": 19 }, "end": { "line": 647, "column": 41 } }, "object": { "type": "Identifier", "start": 21177, "end": 21185, "loc": { "start": { "line": 647, "column": 19 }, "end": { "line": 647, "column": 27 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 21186, "end": 21199, "loc": { "start": { "line": 647, "column": 28 }, "end": { "line": 647, "column": 41 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21200, "end": 21205, "loc": { "start": { "line": 647, "column": 42 }, "end": { "line": 647, "column": 47 } }, "extra": { "rawValue": "div", "raw": "'div'" }, "value": "div" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 21113, "end": 21156, "loc": { "start": { "line": 644, "column": 6 }, "end": { "line": 646, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 21215, "end": 21244, "loc": { "start": { "line": 648, "column": 6 }, "end": { "line": 648, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 21215, "end": 21243, "loc": { "start": { "line": 648, "column": 6 }, "end": { "line": 648, "column": 34 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 21215, "end": 21231, "loc": { "start": { "line": 648, "column": 6 }, "end": { "line": 648, "column": 22 } }, "object": { "type": "Identifier", "start": 21215, "end": 21221, "loc": { "start": { "line": 648, "column": 6 }, "end": { "line": 648, "column": 12 }, "identifierName": "rowDOM" }, "name": "rowDOM" }, "property": { "type": "Identifier", "start": 21222, "end": 21231, "loc": { "start": { "line": 648, "column": 13 }, "end": { "line": 648, "column": 22 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "StringLiteral", "start": 21235, "end": 21243, "loc": { "start": { "line": 648, "column": 26 }, "end": { "line": 648, "column": 34 } }, "extra": { "rawValue": "hg-row", "raw": "\"hg-row\"" }, "value": "hg-row" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 21254, "end": 21315, "loc": { "start": { "line": 650, "column": 6 }, "end": { "line": 652, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 21323, "end": 23089, "loc": { "start": { "line": 653, "column": 6 }, "end": { "line": 703, "column": 9 } }, "expression": { "type": "CallExpression", "start": 21323, "end": 23088, "loc": { "start": { "line": 653, "column": 6 }, "end": { "line": 703, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 21323, "end": 21339, "loc": { "start": { "line": 653, "column": 6 }, "end": { "line": 653, "column": 22 } }, "object": { "type": "Identifier", "start": 21323, "end": 21331, "loc": { "start": { "line": 653, "column": 6 }, "end": { "line": 653, "column": 14 }, "identifierName": "rowArray" }, "name": "rowArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 21332, "end": 21339, "loc": { "start": { "line": 653, "column": 15 }, "end": { "line": 653, "column": 22 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 21340, "end": 23087, "loc": { "start": { "line": 653, "column": 23 }, "end": { "line": 703, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 21341, "end": 21347, "loc": { "start": { "line": 653, "column": 24 }, "end": { "line": 653, "column": 30 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 21349, "end": 21355, "loc": { "start": { "line": 653, "column": 32 }, "end": { "line": 653, "column": 38 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "body": { "type": "BlockStatement", "start": 21360, "end": 23087, "loc": { "start": { "line": 653, "column": 43 }, "end": { "line": 703, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 21371, "end": 21427, "loc": { "start": { "line": 654, "column": 8 }, "end": { "line": 654, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21375, "end": 21426, "loc": { "start": { "line": 654, "column": 12 }, "end": { "line": 654, "column": 63 } }, "id": { "type": "Identifier", "start": 21375, "end": 21386, "loc": { "start": { "line": 654, "column": 12 }, "end": { "line": 654, "column": 23 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, "init": { "type": "CallExpression", "start": 21389, "end": 21426, "loc": { "start": { "line": 654, "column": 26 }, "end": { "line": 654, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 21389, "end": 21418, "loc": { "start": { "line": 654, "column": 26 }, "end": { "line": 654, "column": 55 } }, "object": { "type": "MemberExpression", "start": 21389, "end": 21403, "loc": { "start": { "line": 654, "column": 26 }, "end": { "line": 654, "column": 40 } }, "object": { "type": "ThisExpression", "start": 21389, "end": 21393, "loc": { "start": { "line": 654, "column": 26 }, "end": { "line": 654, "column": 30 } } }, "property": { "type": "Identifier", "start": 21394, "end": 21403, "loc": { "start": { "line": 654, "column": 31 }, "end": { "line": 654, "column": 40 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 21404, "end": 21418, "loc": { "start": { "line": 654, "column": 41 }, "end": { "line": 654, "column": 55 }, "identifierName": "getButtonClass" }, "name": "getButtonClass" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 21419, "end": 21425, "loc": { "start": { "line": 654, "column": 56 }, "end": { "line": 654, "column": 62 }, "identifierName": "button" }, "name": "button" } ] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 21437, "end": 21487, "loc": { "start": { "line": 655, "column": 8 }, "end": { "line": 655, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21441, "end": 21486, "loc": { "start": { "line": 655, "column": 12 }, "end": { "line": 655, "column": 57 } }, "id": { "type": "Identifier", "start": 21441, "end": 21457, "loc": { "start": { "line": 655, "column": 12 }, "end": { "line": 655, "column": 28 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "init": { "type": "MemberExpression", "start": 21460, "end": 21486, "loc": { "start": { "line": 655, "column": 31 }, "end": { "line": 655, "column": 57 } }, "object": { "type": "Identifier", "start": 21460, "end": 21478, "loc": { "start": { "line": 655, "column": 31 }, "end": { "line": 655, "column": 49 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 21479, "end": 21485, "loc": { "start": { "line": 655, "column": 50 }, "end": { "line": 655, "column": 56 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 21497, "end": 21614, "loc": { "start": { "line": 656, "column": 8 }, "end": { "line": 656, "column": 125 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21501, "end": 21613, "loc": { "start": { "line": 656, "column": 12 }, "end": { "line": 656, "column": 124 } }, "id": { "type": "Identifier", "start": 21501, "end": 21518, "loc": { "start": { "line": 656, "column": 12 }, "end": { "line": 656, "column": 29 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" }, "init": { "type": "CallExpression", "start": 21521, "end": 21613, "loc": { "start": { "line": 656, "column": 32 }, "end": { "line": 656, "column": 124 } }, "callee": { "type": "MemberExpression", "start": 21521, "end": 21556, "loc": { "start": { "line": 656, "column": 32 }, "end": { "line": 656, "column": 67 } }, "object": { "type": "MemberExpression", "start": 21521, "end": 21535, "loc": { "start": { "line": 656, "column": 32 }, "end": { "line": 656, "column": 46 } }, "object": { "type": "ThisExpression", "start": 21521, "end": 21525, "loc": { "start": { "line": 656, "column": 32 }, "end": { "line": 656, "column": 36 } } }, "property": { "type": "Identifier", "start": 21526, "end": 21535, "loc": { "start": { "line": 656, "column": 37 }, "end": { "line": 656, "column": 46 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 21536, "end": 21556, "loc": { "start": { "line": 656, "column": 47 }, "end": { "line": 656, "column": 67 }, "identifierName": "getButtonDisplayName" }, "name": "getButtonDisplayName" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 21557, "end": 21563, "loc": { "start": { "line": 656, "column": 68 }, "end": { "line": 656, "column": 74 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 21565, "end": 21585, "loc": { "start": { "line": 656, "column": 76 }, "end": { "line": 656, "column": 96 } }, "object": { "type": "MemberExpression", "start": 21565, "end": 21577, "loc": { "start": { "line": 656, "column": 76 }, "end": { "line": 656, "column": 88 } }, "object": { "type": "ThisExpression", "start": 21565, "end": 21569, "loc": { "start": { "line": 656, "column": 76 }, "end": { "line": 656, "column": 80 } } }, "property": { "type": "Identifier", "start": 21570, "end": 21577, "loc": { "start": { "line": 656, "column": 81 }, "end": { "line": 656, "column": 88 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21578, "end": 21585, "loc": { "start": { "line": 656, "column": 89 }, "end": { "line": 656, "column": 96 }, "identifierName": "display" }, "name": "display" }, "computed": false }, { "type": "MemberExpression", "start": 21587, "end": 21612, "loc": { "start": { "line": 656, "column": 98 }, "end": { "line": 656, "column": 123 } }, "object": { "type": "MemberExpression", "start": 21587, "end": 21599, "loc": { "start": { "line": 656, "column": 98 }, "end": { "line": 656, "column": 110 } }, "object": { "type": "ThisExpression", "start": 21587, "end": 21591, "loc": { "start": { "line": 656, "column": 98 }, "end": { "line": 656, "column": 102 } } }, "property": { "type": "Identifier", "start": 21592, "end": 21599, "loc": { "start": { "line": 656, "column": 103 }, "end": { "line": 656, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21600, "end": 21612, "loc": { "start": { "line": 656, "column": 111 }, "end": { "line": 656, "column": 123 }, "identifierName": "mergeDisplay" }, "name": "mergeDisplay" }, "computed": false } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 21626, "end": 21670, "loc": { "start": { "line": 658, "column": 8 }, "end": { "line": 660, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 21680, "end": 21726, "loc": { "start": { "line": 661, "column": 8 }, "end": { "line": 661, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21684, "end": 21725, "loc": { "start": { "line": 661, "column": 12 }, "end": { "line": 661, "column": 53 } }, "id": { "type": "Identifier", "start": 21684, "end": 21693, "loc": { "start": { "line": 661, "column": 12 }, "end": { "line": 661, "column": 21 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 21696, "end": 21725, "loc": { "start": { "line": 661, "column": 24 }, "end": { "line": 661, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 21696, "end": 21718, "loc": { "start": { "line": 661, "column": 24 }, "end": { "line": 661, "column": 46 } }, "object": { "type": "Identifier", "start": 21696, "end": 21704, "loc": { "start": { "line": 661, "column": 24 }, "end": { "line": 661, "column": 32 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 21705, "end": 21718, "loc": { "start": { "line": 661, "column": 33 }, "end": { "line": 661, "column": 46 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21719, "end": 21724, "loc": { "start": { "line": 661, "column": 47 }, "end": { "line": 661, "column": 52 } }, "extra": { "rawValue": "div", "raw": "'div'" }, "value": "div" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 21626, "end": 21670, "loc": { "start": { "line": 658, "column": 8 }, "end": { "line": 660, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 21736, "end": 21833, "loc": { "start": { "line": 662, "column": 8 }, "end": { "line": 662, "column": 105 } }, "expression": { "type": "AssignmentExpression", "start": 21736, "end": 21832, "loc": { "start": { "line": 662, "column": 8 }, "end": { "line": 662, "column": 104 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 21736, "end": 21755, "loc": { "start": { "line": 662, "column": 8 }, "end": { "line": 662, "column": 27 } }, "object": { "type": "Identifier", "start": 21736, "end": 21745, "loc": { "start": { "line": 662, "column": 8 }, "end": { "line": 662, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 21746, "end": 21755, "loc": { "start": { "line": 662, "column": 18 }, "end": { "line": 662, "column": 27 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "TemplateLiteral", "start": 21759, "end": 21832, "loc": { "start": { "line": 662, "column": 31 }, "end": { "line": 662, "column": 104 } }, "expressions": [ { "type": "Identifier", "start": 21772, "end": 21783, "loc": { "start": { "line": 662, "column": 44 }, "end": { "line": 662, "column": 55 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, { "type": "ConditionalExpression", "start": 21786, "end": 21830, "loc": { "start": { "line": 662, "column": 58 }, "end": { "line": 662, "column": 102 } }, "test": { "type": "Identifier", "start": 21786, "end": 21802, "loc": { "start": { "line": 662, "column": 58 }, "end": { "line": 662, "column": 74 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "consequent": { "type": "BinaryExpression", "start": 21805, "end": 21825, "loc": { "start": { "line": 662, "column": 77 }, "end": { "line": 662, "column": 97 } }, "left": { "type": "StringLiteral", "start": 21805, "end": 21808, "loc": { "start": { "line": 662, "column": 77 }, "end": { "line": 662, "column": 80 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " }, "operator": "+", "right": { "type": "Identifier", "start": 21809, "end": 21825, "loc": { "start": { "line": 662, "column": 81 }, "end": { "line": 662, "column": 97 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" } }, "alternate": { "type": "StringLiteral", "start": 21828, "end": 21830, "loc": { "start": { "line": 662, "column": 100 }, "end": { "line": 662, "column": 102 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "quasis": [ { "type": "TemplateElement", "start": 21760, "end": 21770, "loc": { "start": { "line": 662, "column": 32 }, "end": { "line": 662, "column": 42 } }, "value": { "raw": "hg-button ", "cooked": "hg-button " }, "tail": false }, { "type": "TemplateElement", "start": 21784, "end": 21784, "loc": { "start": { "line": 662, "column": 56 }, "end": { "line": 662, "column": 56 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 21831, "end": 21831, "loc": { "start": { "line": 662, "column": 103 }, "end": { "line": 662, "column": 103 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } }, { "type": "ExpressionStatement", "start": 21843, "end": 21902, "loc": { "start": { "line": 663, "column": 8 }, "end": { "line": 663, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 21843, "end": 21901, "loc": { "start": { "line": 663, "column": 8 }, "end": { "line": 663, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 21843, "end": 21860, "loc": { "start": { "line": 663, "column": 8 }, "end": { "line": 663, "column": 25 } }, "object": { "type": "Identifier", "start": 21843, "end": 21852, "loc": { "start": { "line": 663, "column": 8 }, "end": { "line": 663, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 21853, "end": 21860, "loc": { "start": { "line": 663, "column": 18 }, "end": { "line": 663, "column": 25 }, "identifierName": "onclick" }, "name": "onclick" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 21863, "end": 21901, "loc": { "start": { "line": 663, "column": 28 }, "end": { "line": 663, "column": 66 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 21869, "end": 21901, "loc": { "start": { "line": 663, "column": 34 }, "end": { "line": 663, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 21869, "end": 21893, "loc": { "start": { "line": 663, "column": 34 }, "end": { "line": 663, "column": 58 } }, "object": { "type": "ThisExpression", "start": 21869, "end": 21873, "loc": { "start": { "line": 663, "column": 34 }, "end": { "line": 663, "column": 38 } } }, "property": { "type": "Identifier", "start": 21874, "end": 21893, "loc": { "start": { "line": 663, "column": 39 }, "end": { "line": 663, "column": 58 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 21894, "end": 21900, "loc": { "start": { "line": 663, "column": 59 }, "end": { "line": 663, "column": 65 }, "identifierName": "button" }, "name": "button" } ] } } } }, { "type": "ExpressionStatement", "start": 21912, "end": 21981, "loc": { "start": { "line": 664, "column": 8 }, "end": { "line": 664, "column": 77 } }, "expression": { "type": "AssignmentExpression", "start": 21912, "end": 21980, "loc": { "start": { "line": 664, "column": 8 }, "end": { "line": 664, "column": 76 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 21912, "end": 21933, "loc": { "start": { "line": 664, "column": 8 }, "end": { "line": 664, "column": 29 } }, "object": { "type": "Identifier", "start": 21912, "end": 21921, "loc": { "start": { "line": 664, "column": 8 }, "end": { "line": 664, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 21922, "end": 21933, "loc": { "start": { "line": 664, "column": 18 }, "end": { "line": 664, "column": 29 }, "identifierName": "onmousedown" }, "name": "onmousedown" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 21936, "end": 21980, "loc": { "start": { "line": 664, "column": 32 }, "end": { "line": 664, "column": 76 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 21937, "end": 21938, "loc": { "start": { "line": 664, "column": 33 }, "end": { "line": 664, "column": 34 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "CallExpression", "start": 21943, "end": 21980, "loc": { "start": { "line": 664, "column": 39 }, "end": { "line": 664, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 21943, "end": 21969, "loc": { "start": { "line": 664, "column": 39 }, "end": { "line": 664, "column": 65 } }, "object": { "type": "ThisExpression", "start": 21943, "end": 21947, "loc": { "start": { "line": 664, "column": 39 }, "end": { "line": 664, "column": 43 } } }, "property": { "type": "Identifier", "start": 21948, "end": 21969, "loc": { "start": { "line": 664, "column": 44 }, "end": { "line": 664, "column": 65 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 21970, "end": 21976, "loc": { "start": { "line": 664, "column": 66 }, "end": { "line": 664, "column": 72 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 21978, "end": 21979, "loc": { "start": { "line": 664, "column": 74 }, "end": { "line": 664, "column": 75 }, "identifierName": "e" }, "name": "e" } ] } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 21993, "end": 22039, "loc": { "start": { "line": 666, "column": 8 }, "end": { "line": 668, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22049, "end": 22094, "loc": { "start": { "line": 669, "column": 8 }, "end": { "line": 669, "column": 53 } }, "expression": { "type": "CallExpression", "start": 22049, "end": 22093, "loc": { "start": { "line": 669, "column": 8 }, "end": { "line": 669, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 22049, "end": 22071, "loc": { "start": { "line": 669, "column": 8 }, "end": { "line": 669, "column": 30 } }, "object": { "type": "Identifier", "start": 22049, "end": 22058, "loc": { "start": { "line": 669, "column": 8 }, "end": { "line": 669, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 22059, "end": 22071, "loc": { "start": { "line": 669, "column": 18 }, "end": { "line": 669, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 22072, "end": 22084, "loc": { "start": { "line": 669, "column": 31 }, "end": { "line": 669, "column": 43 } }, "extra": { "rawValue": "data-skBtn", "raw": "\"data-skBtn\"" }, "value": "data-skBtn" }, { "type": "Identifier", "start": 22086, "end": 22092, "loc": { "start": { "line": 669, "column": 45 }, "end": { "line": 669, "column": 51 }, "identifierName": "button" }, "name": "button" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 21993, "end": 22039, "loc": { "start": { "line": 666, "column": 8 }, "end": { "line": 668, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", "start": 22106, "end": 22261, "loc": { "start": { "line": 671, "column": 8 }, "end": { "line": 674, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 22271, "end": 22337, "loc": { "start": { "line": 675, "column": 8 }, "end": { "line": 675, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22275, "end": 22336, "loc": { "start": { "line": 675, "column": 12 }, "end": { "line": 675, "column": 73 } }, "id": { "type": "Identifier", "start": 22275, "end": 22284, "loc": { "start": { "line": 675, "column": 12 }, "end": { "line": 675, "column": 21 }, "identifierName": "buttonUID" }, "name": "buttonUID", "leadingComments": null }, "init": { "type": "TemplateLiteral", "start": 22287, "end": 22336, "loc": { "start": { "line": 675, "column": 24 }, "end": { "line": 675, "column": 73 } }, "expressions": [ { "type": "MemberExpression", "start": 22290, "end": 22313, "loc": { "start": { "line": 675, "column": 27 }, "end": { "line": 675, "column": 50 } }, "object": { "type": "MemberExpression", "start": 22290, "end": 22302, "loc": { "start": { "line": 675, "column": 27 }, "end": { "line": 675, "column": 39 } }, "object": { "type": "ThisExpression", "start": 22290, "end": 22294, "loc": { "start": { "line": 675, "column": 27 }, "end": { "line": 675, "column": 31 } } }, "property": { "type": "Identifier", "start": 22295, "end": 22302, "loc": { "start": { "line": 675, "column": 32 }, "end": { "line": 675, "column": 39 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 22303, "end": 22313, "loc": { "start": { "line": 675, "column": 40 }, "end": { "line": 675, "column": 50 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, { "type": "Identifier", "start": 22318, "end": 22324, "loc": { "start": { "line": 675, "column": 55 }, "end": { "line": 675, "column": 61 }, "identifierName": "rIndex" }, "name": "rIndex" }, { "type": "Identifier", "start": 22328, "end": 22334, "loc": { "start": { "line": 675, "column": 65 }, "end": { "line": 675, "column": 71 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "quasis": [ { "type": "TemplateElement", "start": 22288, "end": 22288, "loc": { "start": { "line": 675, "column": 25 }, "end": { "line": 675, "column": 25 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 22314, "end": 22316, "loc": { "start": { "line": 675, "column": 51 }, "end": { "line": 675, "column": 53 } }, "value": { "raw": "-r", "cooked": "-r" }, "tail": false }, { "type": "TemplateElement", "start": 22325, "end": 22326, "loc": { "start": { "line": 675, "column": 62 }, "end": { "line": 675, "column": 63 } }, "value": { "raw": "b", "cooked": "b" }, "tail": false }, { "type": "TemplateElement", "start": 22335, "end": 22335, "loc": { "start": { "line": 675, "column": 72 }, "end": { "line": 675, "column": 72 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", "start": 22106, "end": 22261, "loc": { "start": { "line": 671, "column": 8 }, "end": { "line": 674, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22347, "end": 22398, "loc": { "start": { "line": 676, "column": 8 }, "end": { "line": 676, "column": 59 } }, "expression": { "type": "CallExpression", "start": 22347, "end": 22397, "loc": { "start": { "line": 676, "column": 8 }, "end": { "line": 676, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 22347, "end": 22369, "loc": { "start": { "line": 676, "column": 8 }, "end": { "line": 676, "column": 30 } }, "object": { "type": "Identifier", "start": 22347, "end": 22356, "loc": { "start": { "line": 676, "column": 8 }, "end": { "line": 676, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 22357, "end": 22369, "loc": { "start": { "line": 676, "column": 18 }, "end": { "line": 676, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22370, "end": 22385, "loc": { "start": { "line": 676, "column": 31 }, "end": { "line": 676, "column": 46 } }, "extra": { "rawValue": "data-skBtnUID", "raw": "\"data-skBtnUID\"" }, "value": "data-skBtnUID" }, { "type": "Identifier", "start": 22387, "end": 22396, "loc": { "start": { "line": 676, "column": 48 }, "end": { "line": 676, "column": 57 }, "identifierName": "buttonUID" }, "name": "buttonUID" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 22410, "end": 22459, "loc": { "start": { "line": 678, "column": 8 }, "end": { "line": 680, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22469, "end": 22532, "loc": { "start": { "line": 681, "column": 8 }, "end": { "line": 681, "column": 71 } }, "expression": { "type": "CallExpression", "start": 22469, "end": 22531, "loc": { "start": { "line": 681, "column": 8 }, "end": { "line": 681, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 22469, "end": 22491, "loc": { "start": { "line": 681, "column": 8 }, "end": { "line": 681, "column": 30 } }, "object": { "type": "Identifier", "start": 22469, "end": 22478, "loc": { "start": { "line": 681, "column": 8 }, "end": { "line": 681, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 22479, "end": 22491, "loc": { "start": { "line": 681, "column": 18 }, "end": { "line": 681, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 22492, "end": 22511, "loc": { "start": { "line": 681, "column": 31 }, "end": { "line": 681, "column": 50 } }, "extra": { "rawValue": "data-displayLabel", "raw": "\"data-displayLabel\"" }, "value": "data-displayLabel" }, { "type": "Identifier", "start": 22513, "end": 22530, "loc": { "start": { "line": 681, "column": 52 }, "end": { "line": 681, "column": 69 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 22410, "end": 22459, "loc": { "start": { "line": 678, "column": 8 }, "end": { "line": 680, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 22544, "end": 22602, "loc": { "start": { "line": 683, "column": 8 }, "end": { "line": 685, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 22612, "end": 22663, "loc": { "start": { "line": 686, "column": 8 }, "end": { "line": 686, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22616, "end": 22662, "loc": { "start": { "line": 686, "column": 12 }, "end": { "line": 686, "column": 58 } }, "id": { "type": "Identifier", "start": 22616, "end": 22629, "loc": { "start": { "line": 686, "column": 12 }, "end": { "line": 686, "column": 25 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 22632, "end": 22662, "loc": { "start": { "line": 686, "column": 28 }, "end": { "line": 686, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 22632, "end": 22654, "loc": { "start": { "line": 686, "column": 28 }, "end": { "line": 686, "column": 50 } }, "object": { "type": "Identifier", "start": 22632, "end": 22640, "loc": { "start": { "line": 686, "column": 28 }, "end": { "line": 686, "column": 36 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 22641, "end": 22654, "loc": { "start": { "line": 686, "column": 37 }, "end": { "line": 686, "column": 50 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22655, "end": 22661, "loc": { "start": { "line": 686, "column": 51 }, "end": { "line": 686, "column": 57 } }, "extra": { "rawValue": "span", "raw": "'span'" }, "value": "span" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 22544, "end": 22602, "loc": { "start": { "line": 683, "column": 8 }, "end": { "line": 685, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22673, "end": 22717, "loc": { "start": { "line": 687, "column": 8 }, "end": { "line": 687, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 22673, "end": 22716, "loc": { "start": { "line": 687, "column": 8 }, "end": { "line": 687, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22673, "end": 22696, "loc": { "start": { "line": 687, "column": 8 }, "end": { "line": 687, "column": 31 } }, "object": { "type": "Identifier", "start": 22673, "end": 22686, "loc": { "start": { "line": 687, "column": 8 }, "end": { "line": 687, "column": 21 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" }, "property": { "type": "Identifier", "start": 22687, "end": 22696, "loc": { "start": { "line": 687, "column": 22 }, "end": { "line": 687, "column": 31 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "Identifier", "start": 22699, "end": 22716, "loc": { "start": { "line": 687, "column": 34 }, "end": { "line": 687, "column": 51 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } } }, { "type": "ExpressionStatement", "start": 22727, "end": 22764, "loc": { "start": { "line": 688, "column": 8 }, "end": { "line": 688, "column": 45 } }, "expression": { "type": "CallExpression", "start": 22727, "end": 22763, "loc": { "start": { "line": 688, "column": 8 }, "end": { "line": 688, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 22727, "end": 22748, "loc": { "start": { "line": 688, "column": 8 }, "end": { "line": 688, "column": 29 } }, "object": { "type": "Identifier", "start": 22727, "end": 22736, "loc": { "start": { "line": 688, "column": 8 }, "end": { "line": 688, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 22737, "end": 22748, "loc": { "start": { "line": 688, "column": 18 }, "end": { "line": 688, "column": 29 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22749, "end": 22762, "loc": { "start": { "line": 688, "column": 30 }, "end": { "line": 688, "column": 43 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 22776, "end": 22829, "loc": { "start": { "line": 690, "column": 8 }, "end": { "line": 692, "column": 11 } } } ] }, { "type": "IfStatement", "start": 22839, "end": 22916, "loc": { "start": { "line": 693, "column": 8 }, "end": { "line": 694, "column": 43 } }, "test": { "type": "UnaryExpression", "start": 22842, "end": 22870, "loc": { "start": { "line": 693, "column": 11 }, "end": { "line": 693, "column": 39 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 22843, "end": 22870, "loc": { "start": { "line": 693, "column": 12 }, "end": { "line": 693, "column": 39 } }, "object": { "type": "MemberExpression", "start": 22843, "end": 22862, "loc": { "start": { "line": 693, "column": 12 }, "end": { "line": 693, "column": 31 } }, "object": { "type": "ThisExpression", "start": 22843, "end": 22847, "loc": { "start": { "line": 693, "column": 12 }, "end": { "line": 693, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 22848, "end": 22862, "loc": { "start": { "line": 693, "column": 17 }, "end": { "line": 693, "column": 31 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 22863, "end": 22869, "loc": { "start": { "line": 693, "column": 32 }, "end": { "line": 693, "column": 38 }, "identifierName": "button" }, "name": "button" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 22883, "end": 22916, "loc": { "start": { "line": 694, "column": 10 }, "end": { "line": 694, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 22883, "end": 22915, "loc": { "start": { "line": 694, "column": 10 }, "end": { "line": 694, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22883, "end": 22910, "loc": { "start": { "line": 694, "column": 10 }, "end": { "line": 694, "column": 37 } }, "object": { "type": "MemberExpression", "start": 22883, "end": 22902, "loc": { "start": { "line": 694, "column": 10 }, "end": { "line": 694, "column": 29 } }, "object": { "type": "ThisExpression", "start": 22883, "end": 22887, "loc": { "start": { "line": 694, "column": 10 }, "end": { "line": 694, "column": 14 } } }, "property": { "type": "Identifier", "start": 22888, "end": 22902, "loc": { "start": { "line": 694, "column": 15 }, "end": { "line": 694, "column": 29 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 22903, "end": 22909, "loc": { "start": { "line": 694, "column": 30 }, "end": { "line": 694, "column": 36 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "right": { "type": "ArrayExpression", "start": 22913, "end": 22915, "loc": { "start": { "line": 694, "column": 40 }, "end": { "line": 694, "column": 42 } }, "elements": [] } } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 22776, "end": 22829, "loc": { "start": { "line": 690, "column": 8 }, "end": { "line": 692, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22928, "end": 22972, "loc": { "start": { "line": 696, "column": 8 }, "end": { "line": 696, "column": 52 } }, "expression": { "type": "CallExpression", "start": 22928, "end": 22971, "loc": { "start": { "line": 696, "column": 8 }, "end": { "line": 696, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 22928, "end": 22960, "loc": { "start": { "line": 696, "column": 8 }, "end": { "line": 696, "column": 40 } }, "object": { "type": "MemberExpression", "start": 22928, "end": 22955, "loc": { "start": { "line": 696, "column": 8 }, "end": { "line": 696, "column": 35 } }, "object": { "type": "MemberExpression", "start": 22928, "end": 22947, "loc": { "start": { "line": 696, "column": 8 }, "end": { "line": 696, "column": 27 } }, "object": { "type": "ThisExpression", "start": 22928, "end": 22932, "loc": { "start": { "line": 696, "column": 8 }, "end": { "line": 696, "column": 12 } } }, "property": { "type": "Identifier", "start": 22933, "end": 22947, "loc": { "start": { "line": 696, "column": 13 }, "end": { "line": 696, "column": 27 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 22948, "end": 22954, "loc": { "start": { "line": 696, "column": 28 }, "end": { "line": 696, "column": 34 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "property": { "type": "Identifier", "start": 22956, "end": 22960, "loc": { "start": { "line": 696, "column": 36 }, "end": { "line": 696, "column": 40 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22961, "end": 22970, "loc": { "start": { "line": 696, "column": 41 }, "end": { "line": 696, "column": 50 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 22984, "end": 23036, "loc": { "start": { "line": 698, "column": 8 }, "end": { "line": 700, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23046, "end": 23076, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 38 } }, "expression": { "type": "CallExpression", "start": 23046, "end": 23075, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 23046, "end": 23064, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 26 } }, "object": { "type": "Identifier", "start": 23046, "end": 23052, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 14 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 23053, "end": 23064, "loc": { "start": { "line": 701, "column": 15 }, "end": { "line": 701, "column": 26 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 23065, "end": 23074, "loc": { "start": { "line": 701, "column": 27 }, "end": { "line": 701, "column": 36 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 22984, "end": 23036, "loc": { "start": { "line": 698, "column": 8 }, "end": { "line": 700, "column": 11 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 21254, "end": 21315, "loc": { "start": { "line": 650, "column": 6 }, "end": { "line": 652, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 23099, "end": 23149, "loc": { "start": { "line": 705, "column": 6 }, "end": { "line": 707, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 23157, "end": 23194, "loc": { "start": { "line": 708, "column": 6 }, "end": { "line": 708, "column": 43 } }, "expression": { "type": "CallExpression", "start": 23157, "end": 23193, "loc": { "start": { "line": 708, "column": 6 }, "end": { "line": 708, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 23157, "end": 23185, "loc": { "start": { "line": 708, "column": 6 }, "end": { "line": 708, "column": 34 } }, "object": { "type": "MemberExpression", "start": 23157, "end": 23173, "loc": { "start": { "line": 708, "column": 6 }, "end": { "line": 708, "column": 22 } }, "object": { "type": "ThisExpression", "start": 23157, "end": 23161, "loc": { "start": { "line": 708, "column": 6 }, "end": { "line": 708, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 23162, "end": 23173, "loc": { "start": { "line": 708, "column": 11 }, "end": { "line": 708, "column": 22 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 23174, "end": 23185, "loc": { "start": { "line": 708, "column": 23 }, "end": { "line": 708, "column": 34 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 23186, "end": 23192, "loc": { "start": { "line": 708, "column": 35 }, "end": { "line": 708, "column": 41 }, "identifierName": "rowDOM" }, "name": "rowDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 23099, "end": 23149, "loc": { "start": { "line": 705, "column": 6 }, "end": { "line": 707, "column": 9 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 20954, "end": 21001, "loc": { "start": { "line": 638, "column": 4 }, "end": { "line": 640, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 23211, "end": 23248, "loc": { "start": { "line": 711, "column": 4 }, "end": { "line": 713, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 23254, "end": 23270, "loc": { "start": { "line": 714, "column": 4 }, "end": { "line": 714, "column": 20 } }, "expression": { "type": "CallExpression", "start": 23254, "end": 23269, "loc": { "start": { "line": 714, "column": 4 }, "end": { "line": 714, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 23254, "end": 23267, "loc": { "start": { "line": 714, "column": 4 }, "end": { "line": 714, "column": 17 } }, "object": { "type": "ThisExpression", "start": 23254, "end": 23258, "loc": { "start": { "line": 714, "column": 4 }, "end": { "line": 714, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 23259, "end": 23267, "loc": { "start": { "line": 714, "column": 9 }, "end": { "line": 714, "column": 17 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 23211, "end": 23248, "loc": { "start": { "line": 711, "column": 4 }, "end": { "line": 713, "column": 7 } } } ] }, { "type": "IfStatement", "start": 23278, "end": 23613, "loc": { "start": { "line": 716, "column": 4 }, "end": { "line": 731, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 23281, "end": 23298, "loc": { "start": { "line": 716, "column": 7 }, "end": { "line": 716, "column": 24 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 23282, "end": 23298, "loc": { "start": { "line": 716, "column": 8 }, "end": { "line": 716, "column": 24 } }, "object": { "type": "ThisExpression", "start": 23282, "end": 23286, "loc": { "start": { "line": 716, "column": 8 }, "end": { "line": 716, "column": 12 } } }, "property": { "type": "Identifier", "start": 23287, "end": 23298, "loc": { "start": { "line": 716, "column": 13 }, "end": { "line": 716, "column": 24 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 23299, "end": 23613, "loc": { "start": { "line": 716, "column": 25 }, "end": { "line": 731, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 23398, "end": 23422, "loc": { "start": { "line": 720, "column": 6 }, "end": { "line": 720, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 23398, "end": 23421, "loc": { "start": { "line": 720, "column": 6 }, "end": { "line": 720, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23398, "end": 23414, "loc": { "start": { "line": 720, "column": 6 }, "end": { "line": 720, "column": 22 } }, "object": { "type": "ThisExpression", "start": 23398, "end": 23402, "loc": { "start": { "line": 720, "column": 6 }, "end": { "line": 720, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 23403, "end": 23414, "loc": { "start": { "line": 720, "column": 11 }, "end": { "line": 720, "column": 22 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 23417, "end": 23421, "loc": { "start": { "line": 720, "column": 25 }, "end": { "line": 720, "column": 29 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 23308, "end": 23390, "loc": { "start": { "line": 717, "column": 6 }, "end": { "line": 719, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 23432, "end": 23473, "loc": { "start": { "line": 722, "column": 6 }, "end": { "line": 724, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 23481, "end": 23535, "loc": { "start": { "line": 725, "column": 6 }, "end": { "line": 725, "column": 60 } }, "expression": { "type": "AssignmentExpression", "start": 23481, "end": 23534, "loc": { "start": { "line": 725, "column": 6 }, "end": { "line": 725, "column": 59 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23481, "end": 23499, "loc": { "start": { "line": 725, "column": 6 }, "end": { "line": 725, "column": 24 } }, "object": { "type": "Identifier", "start": 23481, "end": 23489, "loc": { "start": { "line": 725, "column": 6 }, "end": { "line": 725, "column": 14 }, "identifierName": "document" }, "name": "document", "leadingComments": null }, "property": { "type": "Identifier", "start": 23490, "end": 23499, "loc": { "start": { "line": 725, "column": 15 }, "end": { "line": 725, "column": 24 }, "identifierName": "onmouseup" }, "name": "onmouseup" }, "computed": false, "leadingComments": null }, "right": { "type": "ArrowFunctionExpression", "start": 23502, "end": 23534, "loc": { "start": { "line": 725, "column": 27 }, "end": { "line": 725, "column": 59 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 23508, "end": 23534, "loc": { "start": { "line": 725, "column": 33 }, "end": { "line": 725, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 23508, "end": 23532, "loc": { "start": { "line": 725, "column": 33 }, "end": { "line": 725, "column": 57 } }, "object": { "type": "ThisExpression", "start": 23508, "end": 23512, "loc": { "start": { "line": 725, "column": 33 }, "end": { "line": 725, "column": 37 } } }, "property": { "type": "Identifier", "start": 23513, "end": 23532, "loc": { "start": { "line": 725, "column": 38 }, "end": { "line": 725, "column": 57 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "arguments": [] } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 23432, "end": 23473, "loc": { "start": { "line": 722, "column": 6 }, "end": { "line": 724, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 23545, "end": 23584, "loc": { "start": { "line": 727, "column": 6 }, "end": { "line": 729, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 23592, "end": 23606, "loc": { "start": { "line": 730, "column": 6 }, "end": { "line": 730, "column": 20 } }, "expression": { "type": "CallExpression", "start": 23592, "end": 23605, "loc": { "start": { "line": 730, "column": 6 }, "end": { "line": 730, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 23592, "end": 23603, "loc": { "start": { "line": 730, "column": 6 }, "end": { "line": 730, "column": 17 } }, "object": { "type": "ThisExpression", "start": 23592, "end": 23596, "loc": { "start": { "line": 730, "column": 6 }, "end": { "line": 730, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 23597, "end": 23603, "loc": { "start": { "line": 730, "column": 11 }, "end": { "line": 730, "column": 17 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 23545, "end": 23584, "loc": { "start": { "line": 727, "column": 6 }, "end": { "line": 729, "column": 9 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 19244, "end": 19300, "loc": { "start": { "line": 587, "column": 2 }, "end": { "line": 589, "column": 5 } } } ] } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\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 ", "start": 211, "end": 365, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 14, "column": 3 } } } ], "__PseudoExport__": false, "trailingComments": [] }, "leadingComments": null } ], "directives": [] }, "comments": [ { "type": "CommentLine", "value": " Services", "start": 28, "end": 39, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 11 } } }, { "type": "CommentBlock", "value": "*\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 ", "start": 211, "end": 365, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 14, "column": 3 } } }, { "type": "CommentBlock", "value": "*\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 ", "start": 393, "end": 675, "loc": { "start": { "line": 16, "column": 2 }, "end": { "line": 19, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Initializing Utilities\r\n ", "start": 917, "end": 960, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 29, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Processing options\r\n ", "start": 1011, "end": 1050, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 34, "column": 7 } } }, { "type": "CommentBlock", "value": "*\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 ", "start": 1124, "end": 3943, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 60, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4184, "end": 4213, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 68, "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": 5341, "end": 6000, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 103, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", "start": 6076, "end": 6185, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 109, "column": 7 } } }, { "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": 6260, "end": 6405, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 114, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 6444, "end": 6483, "loc": { "start": { "line": 117, "column": 4 }, "end": { "line": 119, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 6676, "end": 6789, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 130, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 6992, "end": 7038, "loc": { "start": { "line": 136, "column": 4 }, "end": { "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 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", "start": 7200, "end": 7312, "loc": { "start": { "line": 148, "column": 2 }, "end": { "line": 151, "column": 5 } } }, { "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 } } }, { "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": "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": 176, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8296, "end": 8355, "loc": { "start": { "line": 186, "column": 6 }, "end": { "line": 188, "column": 9 } } }, { "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": "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": "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 } } }, { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 10253, "end": 10371, "loc": { "start": { "line": 268, "column": 2 }, "end": { "line": 271, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10505, "end": 10560, "loc": { "start": { "line": 276, "column": 4 }, "end": { "line": 278, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 10656, "end": 10818, "loc": { "start": { "line": 283, "column": 2 }, "end": { "line": 286, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10904, "end": 10959, "loc": { "start": { "line": 290, "column": 4 }, "end": { "line": 292, "column": 7 } } }, { "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": 11105, "end": 11265, "loc": { "start": { "line": 299, "column": 2 }, "end": { "line": 303, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11394, "end": 11449, "loc": { "start": { "line": 308, "column": 4 }, "end": { "line": 310, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 11547, "end": 11656, "loc": { "start": { "line": 315, "column": 2 }, "end": { "line": 318, "column": 5 } } }, { "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": 11722, "end": 11848, "loc": { "start": { "line": 323, "column": 2 }, "end": { "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": 11992, "end": 12101, "loc": { "start": { "line": 333, "column": 2 }, "end": { "line": 336, "column": 5 } } }, { "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": 12250, "end": 12455, "loc": { "start": { "line": 343, "column": 2 }, "end": { "line": 346, "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": 12833, "end": 13114, "loc": { "start": { "line": 358, "column": 2 }, "end": { "line": 362, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 13441, "end": 13532, "loc": { "start": { "line": 374, "column": 8 }, "end": { "line": 376, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 14062, "end": 14137, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 394, "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": 14356, "end": 14696, "loc": { "start": { "line": 408, "column": 2 }, "end": { "line": 412, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", "start": 14744, "end": 14824, "loc": { "start": { "line": 414, "column": 4 }, "end": { "line": 416, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 14953, "end": 15021, "loc": { "start": { "line": 423, "column": 4 }, "end": { "line": 425, "column": 7 } } }, { "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": 15286, "end": 15427, "loc": { "start": { "line": 431, "column": 10 }, "end": { "line": 434, "column": 13 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 15668, "end": 15765, "loc": { "start": { "line": 441, "column": 12 }, "end": { "line": 443, "column": 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": 16123, "end": 16326, "loc": { "start": { "line": 461, "column": 2 }, "end": { "line": 464, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 16603, "end": 16693, "loc": { "start": { "line": 480, "column": 2 }, "end": { "line": 482, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", "start": 17006, "end": 17118, "loc": { "start": { "line": 493, "column": 2 }, "end": { "line": 495, "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": 17307, "end": 17455, "loc": { "start": { "line": 503, "column": 6 }, "end": { "line": 506, "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": 17678, "end": 17798, "loc": { "start": { "line": 515, "column": 2 }, "end": { "line": 517, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 17890, "end": 17925, "loc": { "start": { "line": 523, "column": 4 }, "end": { "line": 525, "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": 18044, "end": 18162, "loc": { "start": { "line": 532, "column": 2 }, "end": { "line": 534, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 18273, "end": 18305, "loc": { "start": { "line": 540, "column": 2 }, "end": { "line": 542, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 18464, "end": 18493, "loc": { "start": { "line": 550, "column": 2 }, "end": { "line": 552, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 18653, "end": 18679, "loc": { "start": { "line": 558, "column": 8 }, "end": { "line": 558, "column": 34 } } }, { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 18961, "end": 18993, "loc": { "start": { "line": 570, "column": 2 }, "end": { "line": 572, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 19135, "end": 19166, "loc": { "start": { "line": 580, "column": 2 }, "end": { "line": 582, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 19244, "end": 19300, "loc": { "start": { "line": 587, "column": 2 }, "end": { "line": 589, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 19319, "end": 19354, "loc": { "start": { "line": 591, "column": 4 }, "end": { "line": 593, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 19565, "end": 19617, "loc": { "start": { "line": 599, "column": 4 }, "end": { "line": 601, "column": 7 } } }, { "type": "CommentLine", "value": " If the button has already been added", "start": 20124, "end": 20163, "loc": { "start": { "line": 616, "column": 14 }, "end": { "line": 616, "column": 53 } } }, { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", "start": 20213, "end": 20296, "loc": { "start": { "line": 618, "column": 16 }, "end": { "line": 618, "column": 99 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 20804, "end": 20870, "loc": { "start": { "line": 633, "column": 4 }, "end": { "line": 635, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 20954, "end": 21001, "loc": { "start": { "line": 638, "column": 4 }, "end": { "line": 640, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 21113, "end": 21156, "loc": { "start": { "line": 644, "column": 6 }, "end": { "line": 646, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 21254, "end": 21315, "loc": { "start": { "line": 650, "column": 6 }, "end": { "line": 652, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 21626, "end": 21670, "loc": { "start": { "line": 658, "column": 8 }, "end": { "line": 660, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 21993, "end": 22039, "loc": { "start": { "line": 666, "column": 8 }, "end": { "line": 668, "column": 11 } } }, { "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": 22106, "end": 22261, "loc": { "start": { "line": 671, "column": 8 }, "end": { "line": 674, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 22410, "end": 22459, "loc": { "start": { "line": 678, "column": 8 }, "end": { "line": 680, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 22544, "end": 22602, "loc": { "start": { "line": 683, "column": 8 }, "end": { "line": 685, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 22776, "end": 22829, "loc": { "start": { "line": 690, "column": 8 }, "end": { "line": 692, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 22984, "end": 23036, "loc": { "start": { "line": 698, "column": 8 }, "end": { "line": 700, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 23099, "end": 23149, "loc": { "start": { "line": 705, "column": 6 }, "end": { "line": 707, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 23211, "end": 23248, "loc": { "start": { "line": 711, "column": 4 }, "end": { "line": 713, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 23308, "end": 23390, "loc": { "start": { "line": 717, "column": 6 }, "end": { "line": 719, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 23432, "end": 23473, "loc": { "start": { "line": 722, "column": 6 }, "end": { "line": 724, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 23545, "end": 23584, "loc": { "start": { "line": 727, "column": 6 }, "end": { "line": 729, "column": 9 } } } ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 0, "end": 6, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 6 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./Keyboard.css", "start": 7, "end": 23, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23, "end": 24, "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 24 } } }, { "type": "CommentLine", "value": " Services", "start": 28, "end": 39, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 11 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 41, "end": 47, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "PhysicalKeyboard", "start": 48, "end": 64, "loc": { "start": { "line": 4, "column": 7 }, "end": { "line": 4, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 65, "end": 69, "loc": { "start": { "line": 4, "column": 24 }, "end": { "line": 4, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../services/PhysicalKeyboard", "start": 70, "end": 100, "loc": { "start": { "line": 4, "column": 29 }, "end": { "line": 4, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 100, "end": 101, "loc": { "start": { "line": 4, "column": 59 }, "end": { "line": 4, "column": 60 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 103, "end": 109, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KeyboardLayout", "start": 110, "end": 124, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 125, "end": 129, "loc": { "start": { "line": 5, "column": 22 }, "end": { "line": 5, "column": 26 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../services/KeyboardLayout", "start": 130, "end": 158, "loc": { "start": { "line": 5, "column": 27 }, "end": { "line": 5, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 158, "end": 159, "loc": { "start": { "line": 5, "column": 55 }, "end": { "line": 5, "column": 56 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 161, "end": 167, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Utilities", "start": 168, "end": 177, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 178, "end": 182, "loc": { "start": { "line": 6, "column": 17 }, "end": { "line": 6, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../services/Utilities", "start": 183, "end": 206, "loc": { "start": { "line": 6, "column": 22 }, "end": { "line": 6, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 206, "end": 207, "loc": { "start": { "line": 6, "column": 45 }, "end": { "line": 6, "column": 46 } } }, { "type": "CommentBlock", "value": "*\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 ", "start": 211, "end": 365, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 14, "column": 3 } } }, { "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": 367, "end": 372, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 15, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SimpleKeyboard", "start": 373, "end": 387, "loc": { "start": { "line": 15, "column": 6 }, "end": { "line": 15, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 388, "end": 389, "loc": { "start": { "line": 15, "column": 21 }, "end": { "line": 15, "column": 22 } } }, { "type": "CommentBlock", "value": "*\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 ", "start": 393, "end": 675, "loc": { "start": { "line": 16, "column": 2 }, "end": { "line": 19, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 679, "end": 690, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 20, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 690, "end": 691, "loc": { "start": { "line": 20, "column": 13 }, "end": { "line": 20, "column": 14 } } }, { "type": { "label": "...", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 691, "end": 694, "loc": { "start": { "line": 20, "column": 14 }, "end": { "line": 20, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "params", "start": 694, "end": 700, "loc": { "start": { "line": 20, "column": 17 }, "end": { "line": 20, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 700, "end": 701, "loc": { "start": { "line": 20, "column": 23 }, "end": { "line": 20, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 701, "end": 702, "loc": { "start": { "line": 20, "column": 24 }, "end": { "line": 20, "column": 25 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 708, "end": 711, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMQuery", "start": 712, "end": 728, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 729, "end": 730, "loc": { "start": { "line": 21, "column": 25 }, "end": { "line": 21, "column": 26 } } }, { "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": 731, "end": 737, "loc": { "start": { "line": 21, "column": 27 }, "end": { "line": 21, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "params", "start": 738, "end": 744, "loc": { "start": { "line": 21, "column": 34 }, "end": { "line": 21, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 744, "end": 745, "loc": { "start": { "line": 21, "column": 40 }, "end": { "line": 21, "column": 41 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 745, "end": 746, "loc": { "start": { "line": 21, "column": 41 }, "end": { "line": 21, "column": 42 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 746, "end": 747, "loc": { "start": { "line": 21, "column": 42 }, "end": { "line": 21, "column": 43 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 748, "end": 751, "loc": { "start": { "line": 21, "column": 44 }, "end": { "line": 21, "column": 47 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "string", "start": 752, "end": 760, "loc": { "start": { "line": 21, "column": 48 }, "end": { "line": 21, "column": 56 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 761, "end": 762, "loc": { "start": { "line": 21, "column": 57 }, "end": { "line": 21, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "params", "start": 763, "end": 769, "loc": { "start": { "line": 21, "column": 59 }, "end": { "line": 21, "column": 65 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 769, "end": 770, "loc": { "start": { "line": 21, "column": 65 }, "end": { "line": 21, "column": 66 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 770, "end": 771, "loc": { "start": { "line": 21, "column": 66 }, "end": { "line": 21, "column": 67 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 771, "end": 772, "loc": { "start": { "line": 21, "column": 67 }, "end": { "line": 21, "column": 68 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 773, "end": 774, "loc": { "start": { "line": 21, "column": 69 }, "end": { "line": 21, "column": 70 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ".simple-keyboard", "start": 775, "end": 793, "loc": { "start": { "line": 21, "column": 71 }, "end": { "line": 21, "column": 89 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 793, "end": 794, "loc": { "start": { "line": 21, "column": 89 }, "end": { "line": 21, "column": 90 } } }, { "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": 800, "end": 803, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 804, "end": 811, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 812, "end": 813, "loc": { "start": { "line": 22, "column": 16 }, "end": { "line": 22, "column": 17 } } }, { "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": 814, "end": 820, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "params", "start": 821, "end": 827, "loc": { "start": { "line": 22, "column": 25 }, "end": { "line": 22, "column": 31 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 827, "end": 828, "loc": { "start": { "line": 22, "column": 31 }, "end": { "line": 22, "column": 32 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 828, "end": 829, "loc": { "start": { "line": 22, "column": 32 }, "end": { "line": 22, "column": 33 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 829, "end": 830, "loc": { "start": { "line": 22, "column": 33 }, "end": { "line": 22, "column": 34 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 831, "end": 834, "loc": { "start": { "line": 22, "column": 35 }, "end": { "line": 22, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "object", "start": 835, "end": 843, "loc": { "start": { "line": 22, "column": 39 }, "end": { "line": 22, "column": 47 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 844, "end": 845, "loc": { "start": { "line": 22, "column": 48 }, "end": { "line": 22, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "params", "start": 846, "end": 852, "loc": { "start": { "line": 22, "column": 50 }, "end": { "line": 22, "column": 56 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 852, "end": 853, "loc": { "start": { "line": 22, "column": 56 }, "end": { "line": 22, "column": 57 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 853, "end": 854, "loc": { "start": { "line": 22, "column": 57 }, "end": { "line": 22, "column": 58 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 854, "end": 855, "loc": { "start": { "line": 22, "column": 58 }, "end": { "line": 22, "column": 59 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 856, "end": 857, "loc": { "start": { "line": 22, "column": 60 }, "end": { "line": 22, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "params", "start": 858, "end": 864, "loc": { "start": { "line": 22, "column": 62 }, "end": { "line": 22, "column": 68 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 864, "end": 865, "loc": { "start": { "line": 22, "column": 68 }, "end": { "line": 22, "column": 69 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 865, "end": 866, "loc": { "start": { "line": 22, "column": 69 }, "end": { "line": 22, "column": 70 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 866, "end": 867, "loc": { "start": { "line": 22, "column": 70 }, "end": { "line": 22, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 867, "end": 868, "loc": { "start": { "line": 22, "column": 71 }, "end": { "line": 22, "column": 72 } } }, { "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": 876, "end": 878, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 878, "end": 879, "loc": { "start": { "line": 24, "column": 6 }, "end": { "line": 24, "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": 879, "end": 880, "loc": { "start": { "line": 24, "column": 7 }, "end": { "line": 24, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 880, "end": 887, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 887, "end": 888, "loc": { "start": { "line": 24, "column": 15 }, "end": { "line": 24, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 896, "end": 903, "loc": { "start": { "line": 25, "column": 6 }, "end": { "line": 25, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 904, "end": 905, "loc": { "start": { "line": 25, "column": 14 }, "end": { "line": 25, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 906, "end": 907, "loc": { "start": { "line": 25, "column": 16 }, "end": { "line": 25, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 907, "end": 908, "loc": { "start": { "line": 25, "column": 17 }, "end": { "line": 25, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 908, "end": 909, "loc": { "start": { "line": 25, "column": 18 }, "end": { "line": 25, "column": 19 } } }, { "type": "CommentBlock", "value": "*\r\n * Initializing Utilities\r\n ", "start": 917, "end": 960, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 29, "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": 966, "end": 970, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 970, "end": 971, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 30, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 971, "end": 980, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 981, "end": 982, "loc": { "start": { "line": 30, "column": 19 }, "end": { "line": 30, "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": 983, "end": 986, "loc": { "start": { "line": 30, "column": 21 }, "end": { "line": 30, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Utilities", "start": 987, "end": 996, "loc": { "start": { "line": 30, "column": 25 }, "end": { "line": 30, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 996, "end": 997, "loc": { "start": { "line": 30, "column": 34 }, "end": { "line": 30, "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": 997, "end": 1001, "loc": { "start": { "line": 30, "column": 35 }, "end": { "line": 30, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1001, "end": 1002, "loc": { "start": { "line": 30, "column": 39 }, "end": { "line": 30, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1002, "end": 1003, "loc": { "start": { "line": 30, "column": 40 }, "end": { "line": 30, "column": 41 } } }, { "type": "CommentBlock", "value": "*\r\n * Processing options\r\n ", "start": 1011, "end": 1050, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 34, "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": 1056, "end": 1060, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1060, "end": 1061, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 1061, "end": 1072, "loc": { "start": { "line": 35, "column": 9 }, "end": { "line": 35, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1073, "end": 1074, "loc": { "start": { "line": 35, "column": 21 }, "end": { "line": 35, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 1075, "end": 1083, "loc": { "start": { "line": 35, "column": 23 }, "end": { "line": 35, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1083, "end": 1084, "loc": { "start": { "line": 35, "column": 31 }, "end": { "line": 35, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "querySelector", "start": 1084, "end": 1097, "loc": { "start": { "line": 35, "column": 32 }, "end": { "line": 35, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1097, "end": 1098, "loc": { "start": { "line": 35, "column": 45 }, "end": { "line": 35, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMQuery", "start": 1098, "end": 1114, "loc": { "start": { "line": 35, "column": 46 }, "end": { "line": 35, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1114, "end": 1115, "loc": { "start": { "line": 35, "column": 62 }, "end": { "line": 35, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1115, "end": 1116, "loc": { "start": { "line": 35, "column": 63 }, "end": { "line": 35, "column": 64 } } }, { "type": "CommentBlock", "value": "*\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 ", "start": 1124, "end": 3943, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 60, "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": 3949, "end": 3953, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3953, "end": 3954, "loc": { "start": { "line": 61, "column": 8 }, "end": { "line": 61, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 3954, "end": 3961, "loc": { "start": { "line": 61, "column": 9 }, "end": { "line": 61, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3962, "end": 3963, "loc": { "start": { "line": 61, "column": 17 }, "end": { "line": 61, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 3964, "end": 3971, "loc": { "start": { "line": 61, "column": 19 }, "end": { "line": 61, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3971, "end": 3972, "loc": { "start": { "line": 61, "column": 26 }, "end": { "line": 61, "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": 3978, "end": 3982, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3982, "end": 3983, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 3983, "end": 3990, "loc": { "start": { "line": 62, "column": 9 }, "end": { "line": 62, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3990, "end": 3991, "loc": { "start": { "line": 62, "column": 16 }, "end": { "line": 62, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 3991, "end": 4001, "loc": { "start": { "line": 62, "column": 17 }, "end": { "line": 62, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4002, "end": 4003, "loc": { "start": { "line": 62, "column": 28 }, "end": { "line": 62, "column": 29 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4004, "end": 4008, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4008, "end": 4009, "loc": { "start": { "line": 62, "column": 34 }, "end": { "line": 62, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 4009, "end": 4016, "loc": { "start": { "line": 62, "column": 35 }, "end": { "line": 62, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4016, "end": 4017, "loc": { "start": { "line": 62, "column": 42 }, "end": { "line": 62, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 4017, "end": 4027, "loc": { "start": { "line": 62, "column": 43 }, "end": { "line": 62, "column": 53 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 4028, "end": 4030, "loc": { "start": { "line": 62, "column": 54 }, "end": { "line": 62, "column": 56 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "default", "start": 4031, "end": 4040, "loc": { "start": { "line": 62, "column": 57 }, "end": { "line": 62, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4040, "end": 4041, "loc": { "start": { "line": 62, "column": 66 }, "end": { "line": 62, "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": 4047, "end": 4051, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4051, "end": 4052, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 4052, "end": 4059, "loc": { "start": { "line": 63, "column": 9 }, "end": { "line": 63, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4059, "end": 4060, "loc": { "start": { "line": 63, "column": 16 }, "end": { "line": 63, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "theme", "start": 4060, "end": 4065, "loc": { "start": { "line": 63, "column": 17 }, "end": { "line": 63, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4066, "end": 4067, "loc": { "start": { "line": 63, "column": 23 }, "end": { "line": 63, "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": 4068, "end": 4072, "loc": { "start": { "line": 63, "column": 25 }, "end": { "line": 63, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4072, "end": 4073, "loc": { "start": { "line": 63, "column": 29 }, "end": { "line": 63, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 4073, "end": 4080, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4080, "end": 4081, "loc": { "start": { "line": 63, "column": 37 }, "end": { "line": 63, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "theme", "start": 4081, "end": 4086, "loc": { "start": { "line": 63, "column": 38 }, "end": { "line": 63, "column": 43 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 4087, "end": 4089, "loc": { "start": { "line": 63, "column": 44 }, "end": { "line": 63, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "hg-theme-default", "start": 4090, "end": 4108, "loc": { "start": { "line": 63, "column": 47 }, "end": { "line": 63, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4108, "end": 4109, "loc": { "start": { "line": 63, "column": 65 }, "end": { "line": 63, "column": 66 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4115, "end": 4119, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4119, "end": 4120, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 4120, "end": 4127, "loc": { "start": { "line": 64, "column": 9 }, "end": { "line": 64, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4127, "end": 4128, "loc": { "start": { "line": 64, "column": 16 }, "end": { "line": 64, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 4128, "end": 4137, "loc": { "start": { "line": 64, "column": 17 }, "end": { "line": 64, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4138, "end": 4139, "loc": { "start": { "line": 64, "column": 27 }, "end": { "line": 64, "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": 4140, "end": 4144, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4144, "end": 4145, "loc": { "start": { "line": 64, "column": 33 }, "end": { "line": 64, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 4145, "end": 4152, "loc": { "start": { "line": 64, "column": 34 }, "end": { "line": 64, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4152, "end": 4153, "loc": { "start": { "line": 64, "column": 41 }, "end": { "line": 64, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 4153, "end": 4162, "loc": { "start": { "line": 64, "column": 42 }, "end": { "line": 64, "column": 51 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 4163, "end": 4165, "loc": { "start": { "line": 64, "column": 52 }, "end": { "line": 64, "column": 54 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "default", "start": 4166, "end": 4175, "loc": { "start": { "line": 64, "column": 55 }, "end": { "line": 64, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4175, "end": 4176, "loc": { "start": { "line": 64, "column": 64 }, "end": { "line": 64, "column": 65 } } }, { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4184, "end": 4213, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 68, "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": 4219, "end": 4223, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4223, "end": 4224, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 4224, "end": 4243, "loc": { "start": { "line": 69, "column": 9 }, "end": { "line": 69, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4244, "end": 4245, "loc": { "start": { "line": 69, "column": 29 }, "end": { "line": 69, "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": 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, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4275, "end": 4276, "loc": { "start": { "line": 69, "column": 60 }, "end": { "line": 69, "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": 4276, "end": 4280, "loc": { "start": { "line": 69, "column": 61 }, "end": { "line": 69, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4280, "end": 4281, "loc": { "start": { "line": 69, "column": 65 }, "end": { "line": 69, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4281, "end": 4282, "loc": { "start": { "line": 69, "column": 66 }, "end": { "line": 69, "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": 4288, "end": 4292, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4292, "end": 4293, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 4293, "end": 4311, "loc": { "start": { "line": 70, "column": 9 }, "end": { "line": 70, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4312, "end": 4313, "loc": { "start": { "line": 70, "column": 28 }, "end": { "line": 70, "column": 29 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4314, "end": 4318, "loc": { "start": { "line": 70, "column": 30 }, "end": { "line": 70, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4318, "end": 4319, "loc": { "start": { "line": 70, "column": 34 }, "end": { "line": 70, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 4319, "end": 4337, "loc": { "start": { "line": 70, "column": 35 }, "end": { "line": 70, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4337, "end": 4338, "loc": { "start": { "line": 70, "column": 53 }, "end": { "line": 70, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4338, "end": 4342, "loc": { "start": { "line": 70, "column": 54 }, "end": { "line": 70, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4342, "end": 4343, "loc": { "start": { "line": 70, "column": 58 }, "end": { "line": 70, "column": 59 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4343, "end": 4347, "loc": { "start": { "line": 70, "column": 59 }, "end": { "line": 70, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4347, "end": 4348, "loc": { "start": { "line": 70, "column": 63 }, "end": { "line": 70, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4348, "end": 4349, "loc": { "start": { "line": 70, "column": 64 }, "end": { "line": 70, "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": 4355, "end": 4359, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4359, "end": 4360, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearInput", "start": 4360, "end": 4370, "loc": { "start": { "line": 71, "column": 9 }, "end": { "line": 71, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4371, "end": 4372, "loc": { "start": { "line": 71, "column": 20 }, "end": { "line": 71, "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": 4373, "end": 4377, "loc": { "start": { "line": 71, "column": 22 }, "end": { "line": 71, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4377, "end": 4378, "loc": { "start": { "line": 71, "column": 26 }, "end": { "line": 71, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearInput", "start": 4378, "end": 4388, "loc": { "start": { "line": 71, "column": 27 }, "end": { "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": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4457, "end": 4458, "loc": { "start": { "line": 73, "column": 8 }, "end": { "line": 73, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setInput", "start": 4458, "end": 4466, "loc": { "start": { "line": 73, "column": 9 }, "end": { "line": 73, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4467, "end": 4468, "loc": { "start": { "line": 73, "column": 18 }, "end": { "line": 73, "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": 4469, "end": 4473, "loc": { "start": { "line": 73, "column": 20 }, "end": { "line": 73, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4473, "end": 4474, "loc": { "start": { "line": 73, "column": 24 }, "end": { "line": 73, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setInput", "start": 4474, "end": 4482, "loc": { "start": { "line": 73, "column": 25 }, "end": { "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": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4504, "end": 4505, "loc": { "start": { "line": 74, "column": 8 }, "end": { "line": 74, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceInput", "start": 4505, "end": 4517, "loc": { "start": { "line": 74, "column": 9 }, "end": { "line": 74, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4518, "end": 4519, "loc": { "start": { "line": 74, "column": 22 }, "end": { "line": 74, "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": 4520, "end": 4524, "loc": { "start": { "line": 74, "column": 24 }, "end": { "line": 74, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4524, "end": 4525, "loc": { "start": { "line": 74, "column": 28 }, "end": { "line": 74, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceInput", "start": 4525, "end": 4537, "loc": { "start": { "line": 74, "column": 29 }, "end": { "line": 74, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4537, "end": 4538, "loc": { "start": { "line": 74, "column": 41 }, "end": { "line": 74, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4538, "end": 4542, "loc": { "start": { "line": 74, "column": 42 }, "end": { "line": 74, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4542, "end": 4543, "loc": { "start": { "line": 74, "column": 46 }, "end": { "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", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4612, "end": 4616, "loc": { "start": { "line": 76, "column": 20 }, "end": { "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 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4635, "end": 4636, "loc": { "start": { "line": 76, "column": 43 }, "end": { "line": 76, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4636, "end": 4637, "loc": { "start": { "line": 76, "column": 44 }, "end": { "line": 76, "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": 4643, "end": 4647, "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": 4647, "end": 4648, "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": "addButtonTheme", "start": 4648, "end": 4662, "loc": { "start": { "line": 77, "column": 9 }, "end": { "line": 77, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4663, "end": 4664, "loc": { "start": { "line": 77, "column": 24 }, "end": { "line": 77, "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": 4665, "end": 4669, "loc": { "start": { "line": 77, "column": 26 }, "end": { "line": 77, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "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, "column": 8 }, "end": { "line": 81, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 4888, "end": 4905, "loc": { "start": { "line": 81, "column": 9 }, "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 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5005, "end": 5006, "loc": { "start": { "line": 83, "column": 18 }, "end": { "line": 83, "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": 5007, "end": 5011, "loc": { "start": { "line": 83, "column": 20 }, "end": { "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 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5026, "end": 5030, "loc": { "start": { "line": 83, "column": 39 }, "end": { "line": 83, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5030, "end": 5031, "loc": { "start": { "line": 83, "column": 43 }, "end": { "line": 83, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5031, "end": 5032, "loc": { "start": { "line": 83, "column": 44 }, "end": { "line": 83, "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": 5038, "end": 5042, "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": 5042, "end": 5043, "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": "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": 84, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5064, "end": 5068, "loc": { "start": { "line": 84, "column": 30 }, "end": { "line": 84, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5068, "end": 5069, "loc": { "start": { "line": 84, "column": 34 }, "end": { "line": 84, "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": 5069, "end": 5073, "loc": { "start": { "line": 84, "column": 35 }, "end": { "line": 84, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5073, "end": 5074, "loc": { "start": { "line": 84, "column": 39 }, "end": { "line": 84, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5074, "end": 5075, "loc": { "start": { "line": 84, "column": 40 }, "end": { "line": 84, "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": 5081, "end": 5085, "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": 5085, "end": 5086, "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": "loadModules", "start": 5086, "end": 5097, "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": 5098, "end": 5099, "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": 5100, "end": 5104, "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": 5104, "end": 5105, "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": "loadModules", "start": 5105, "end": 5116, "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": 5116, "end": 5117, "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": 5117, "end": 5121, "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": 5121, "end": 5122, "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": 5122, "end": 5126, "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": 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": 86, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5138, "end": 5139, "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": "handleButtonMouseUp", "start": 5139, "end": 5158, "loc": { "start": { "line": 86, "column": 9 }, "end": { "line": 86, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5159, "end": 5160, "loc": { "start": { "line": 86, "column": 29 }, "end": { "line": 86, "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": 5161, "end": 5165, "loc": { "start": { "line": 86, "column": 31 }, "end": { "line": 86, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5165, "end": 5166, "loc": { "start": { "line": 86, "column": 35 }, "end": { "line": 86, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseUp", "start": 5166, "end": 5185, "loc": { "start": { "line": 86, "column": 36 }, "end": { "line": 86, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5185, "end": 5186, "loc": { "start": { "line": 86, "column": 55 }, "end": { "line": 86, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5186, "end": 5190, "loc": { "start": { "line": 86, "column": 56 }, "end": { "line": 86, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5190, "end": 5191, "loc": { "start": { "line": 86, "column": 60 }, "end": { "line": 86, "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": 5191, "end": 5195, "loc": { "start": { "line": 86, "column": 61 }, "end": { "line": 86, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5195, "end": 5196, "loc": { "start": { "line": 86, "column": 65 }, "end": { "line": 86, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5196, "end": 5197, "loc": { "start": { "line": 86, "column": 66 }, "end": { "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": 5341, "end": 6000, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 103, "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": 6006, "end": 6010, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6010, "end": 6011, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 104, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 6011, "end": 6016, "loc": { "start": { "line": 104, "column": 9 }, "end": { "line": 104, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6017, "end": 6018, "loc": { "start": { "line": 104, "column": 15 }, "end": { "line": 104, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6019, "end": 6020, "loc": { "start": { "line": 104, "column": 17 }, "end": { "line": 104, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6020, "end": 6021, "loc": { "start": { "line": 104, "column": 18 }, "end": { "line": 104, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6021, "end": 6022, "loc": { "start": { "line": 104, "column": 19 }, "end": { "line": 104, "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": 6028, "end": 6032, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 105, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6032, "end": 6033, "loc": { "start": { "line": 105, "column": 8 }, "end": { "line": 105, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 6033, "end": 6038, "loc": { "start": { "line": 105, "column": 9 }, "end": { "line": 105, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6038, "end": 6039, "loc": { "start": { "line": 105, "column": 14 }, "end": { "line": 105, "column": 15 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6039, "end": 6043, "loc": { "start": { "line": 105, "column": 15 }, "end": { "line": 105, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6043, "end": 6044, "loc": { "start": { "line": 105, "column": 19 }, "end": { "line": 105, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6044, "end": 6051, "loc": { "start": { "line": 105, "column": 20 }, "end": { "line": 105, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6051, "end": 6052, "loc": { "start": { "line": 105, "column": 27 }, "end": { "line": 105, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 6052, "end": 6061, "loc": { "start": { "line": 105, "column": 28 }, "end": { "line": 105, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6061, "end": 6062, "loc": { "start": { "line": 105, "column": 37 }, "end": { "line": 105, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6063, "end": 6064, "loc": { "start": { "line": 105, "column": 39 }, "end": { "line": 105, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 6065, "end": 6067, "loc": { "start": { "line": 105, "column": 41 }, "end": { "line": 105, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6067, "end": 6068, "loc": { "start": { "line": 105, "column": 43 }, "end": { "line": 105, "column": 44 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", "start": 6076, "end": 6185, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 109, "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": 6191, "end": 6195, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6195, "end": 6196, "loc": { "start": { "line": 110, "column": 8 }, "end": { "line": 110, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMClass", "start": 6196, "end": 6212, "loc": { "start": { "line": 110, "column": 9 }, "end": { "line": 110, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6213, "end": 6214, "loc": { "start": { "line": 110, "column": 26 }, "end": { "line": 110, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMQuery", "start": 6215, "end": 6231, "loc": { "start": { "line": 110, "column": 28 }, "end": { "line": 110, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6231, "end": 6232, "loc": { "start": { "line": 110, "column": 44 }, "end": { "line": 110, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 6232, "end": 6237, "loc": { "start": { "line": 110, "column": 45 }, "end": { "line": 110, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6237, "end": 6238, "loc": { "start": { "line": 110, "column": 50 }, "end": { "line": 110, "column": 51 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ".", "start": 6238, "end": 6241, "loc": { "start": { "line": 110, "column": 51 }, "end": { "line": 110, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6241, "end": 6242, "loc": { "start": { "line": 110, "column": 54 }, "end": { "line": 110, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6242, "end": 6243, "loc": { "start": { "line": 110, "column": 55 }, "end": { "line": 110, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 6243, "end": 6247, "loc": { "start": { "line": 110, "column": 56 }, "end": { "line": 110, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6247, "end": 6248, "loc": { "start": { "line": 110, "column": 60 }, "end": { "line": 110, "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": 6248, "end": 6250, "loc": { "start": { "line": 110, "column": 61 }, "end": { "line": 110, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6250, "end": 6251, "loc": { "start": { "line": 110, "column": 63 }, "end": { "line": 110, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6251, "end": 6252, "loc": { "start": { "line": 110, "column": 64 }, "end": { "line": 110, "column": 65 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Contains the DOM elements of every rendered button, the key being the button's layout name (e.g.: \"{enter}\").\r\n ", "start": 6260, "end": 6405, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 114, "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": 6411, "end": 6415, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6415, "end": 6416, "loc": { "start": { "line": 115, "column": 8 }, "end": { "line": 115, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 6416, "end": 6430, "loc": { "start": { "line": 115, "column": 9 }, "end": { "line": 115, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6431, "end": 6432, "loc": { "start": { "line": 115, "column": 24 }, "end": { "line": 115, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6433, "end": 6434, "loc": { "start": { "line": 115, "column": 26 }, "end": { "line": 115, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6434, "end": 6435, "loc": { "start": { "line": 115, "column": 27 }, "end": { "line": 115, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6435, "end": 6436, "loc": { "start": { "line": 115, "column": 28 }, "end": { "line": 115, "column": 29 } } }, { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 6444, "end": 6483, "loc": { "start": { "line": 117, "column": 4 }, "end": { "line": 119, "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": 6489, "end": 6491, "loc": { "start": { "line": 120, "column": 4 }, "end": { "line": 120, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6491, "end": 6492, "loc": { "start": { "line": 120, "column": 6 }, "end": { "line": 120, "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": 6492, "end": 6496, "loc": { "start": { "line": 120, "column": 7 }, "end": { "line": 120, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6496, "end": 6497, "loc": { "start": { "line": 120, "column": 11 }, "end": { "line": 120, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 6497, "end": 6508, "loc": { "start": { "line": 120, "column": 12 }, "end": { "line": 120, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6508, "end": 6509, "loc": { "start": { "line": 120, "column": 23 }, "end": { "line": 120, "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": 6517, "end": 6521, "loc": { "start": { "line": 121, "column": 6 }, "end": { "line": 121, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6521, "end": 6522, "loc": { "start": { "line": 121, "column": 10 }, "end": { "line": 121, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 6522, "end": 6528, "loc": { "start": { "line": 121, "column": 11 }, "end": { "line": 121, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6528, "end": 6529, "loc": { "start": { "line": 121, "column": 17 }, "end": { "line": 121, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6529, "end": 6530, "loc": { "start": { "line": 121, "column": 18 }, "end": { "line": 121, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6530, "end": 6531, "loc": { "start": { "line": 121, "column": 19 }, "end": { "line": 121, "column": 20 } } }, { "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": 6537, "end": 6541, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 122, "column": 8 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6542, "end": 6543, "loc": { "start": { "line": 122, "column": 9 }, "end": { "line": 122, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 6551, "end": 6558, "loc": { "start": { "line": 123, "column": 6 }, "end": { "line": 123, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6558, "end": 6559, "loc": { "start": { "line": 123, "column": 13 }, "end": { "line": 123, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 6559, "end": 6563, "loc": { "start": { "line": 123, "column": 14 }, "end": { "line": 123, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6563, "end": 6564, "loc": { "start": { "line": 123, "column": 18 }, "end": { "line": 123, "column": 19 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6564, "end": 6565, "loc": { "start": { "line": 123, "column": 19 }, "end": { "line": 123, "column": 20 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "\"", "start": 6565, "end": 6566, "loc": { "start": { "line": 123, "column": 20 }, "end": { "line": 123, "column": 21 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6566, "end": 6568, "loc": { "start": { "line": 123, "column": 21 }, "end": { "line": 123, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMQuery", "start": 6568, "end": 6584, "loc": { "start": { "line": 123, "column": 23 }, "end": { "line": 123, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6584, "end": 6585, "loc": { "start": { "line": 123, "column": 39 }, "end": { "line": 123, "column": 40 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "\" was not found in the DOM.", "start": 6585, "end": 6612, "loc": { "start": { "line": 123, "column": 40 }, "end": { "line": 123, "column": 67 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6612, "end": 6613, "loc": { "start": { "line": 123, "column": 67 }, "end": { "line": 123, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6613, "end": 6614, "loc": { "start": { "line": 123, "column": 68 }, "end": { "line": 123, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6614, "end": 6615, "loc": { "start": { "line": 123, "column": 69 }, "end": { "line": 123, "column": 70 } } }, { "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": 6623, "end": 6628, "loc": { "start": { "line": 124, "column": 6 }, "end": { "line": 124, "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": 6629, "end": 6632, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 6633, "end": 6638, "loc": { "start": { "line": 124, "column": 16 }, "end": { "line": 124, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6638, "end": 6639, "loc": { "start": { "line": 124, "column": 21 }, "end": { "line": 124, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "KEYBOARD_DOM_ERROR", "start": 6639, "end": 6659, "loc": { "start": { "line": 124, "column": 22 }, "end": { "line": 124, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6659, "end": 6660, "loc": { "start": { "line": 124, "column": 42 }, "end": { "line": 124, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6660, "end": 6661, "loc": { "start": { "line": 124, "column": 43 }, "end": { "line": 124, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6667, "end": 6668, "loc": { "start": { "line": 125, "column": 4 }, "end": { "line": 125, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 6676, "end": 6789, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 130, "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": 6795, "end": 6797, "loc": { "start": { "line": 131, "column": 4 }, "end": { "line": 131, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6797, "end": 6798, "loc": { "start": { "line": 131, "column": 6 }, "end": { "line": 131, "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": 6798, "end": 6799, "loc": { "start": { "line": 131, "column": 7 }, "end": { "line": 131, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 6799, "end": 6805, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6805, "end": 6806, "loc": { "start": { "line": 131, "column": 14 }, "end": { "line": 131, "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": 6806, "end": 6831, "loc": { "start": { "line": 131, "column": 15 }, "end": { "line": 131, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6831, "end": 6832, "loc": { "start": { "line": 131, "column": 40 }, "end": { "line": 131, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6832, "end": 6833, "loc": { "start": { "line": 131, "column": 41 }, "end": { "line": 131, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 6841, "end": 6847, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 12 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6847, "end": 6848, "loc": { "start": { "line": 132, "column": 12 }, "end": { "line": 132, "column": 13 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "SimpleKeyboardInstances", "start": 6848, "end": 6873, "loc": { "start": { "line": 132, "column": 13 }, "end": { "line": 132, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6873, "end": 6874, "loc": { "start": { "line": 132, "column": 38 }, "end": { "line": 132, "column": 39 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6875, "end": 6876, "loc": { "start": { "line": 132, "column": 40 }, "end": { "line": 132, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6877, "end": 6878, "loc": { "start": { "line": 132, "column": 42 }, "end": { "line": 132, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6878, "end": 6879, "loc": { "start": { "line": 132, "column": 43 }, "end": { "line": 132, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6879, "end": 6880, "loc": { "start": { "line": 132, "column": 44 }, "end": { "line": 132, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 6894, "end": 6900, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 10 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6900, "end": 6901, "loc": { "start": { "line": 134, "column": 10 }, "end": { "line": 134, "column": 11 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "SimpleKeyboardInstances", "start": 6901, "end": 6926, "loc": { "start": { "line": 134, "column": 11 }, "end": { "line": 134, "column": 36 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6926, "end": 6927, "loc": { "start": { "line": 134, "column": 36 }, "end": { "line": 134, "column": 37 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6927, "end": 6928, "loc": { "start": { "line": 134, "column": 37 }, "end": { "line": 134, "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": 6928, "end": 6932, "loc": { "start": { "line": 134, "column": 38 }, "end": { "line": 134, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6932, "end": 6933, "loc": { "start": { "line": 134, "column": 42 }, "end": { "line": 134, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 6933, "end": 6942, "loc": { "start": { "line": 134, "column": 43 }, "end": { "line": 134, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6942, "end": 6943, "loc": { "start": { "line": 134, "column": 52 }, "end": { "line": 134, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camelCase", "start": 6943, "end": 6952, "loc": { "start": { "line": 134, "column": 53 }, "end": { "line": 134, "column": 62 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6952, "end": 6953, "loc": { "start": { "line": 134, "column": 62 }, "end": { "line": 134, "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": 6953, "end": 6957, "loc": { "start": { "line": 134, "column": 63 }, "end": { "line": 134, "column": 67 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6957, "end": 6958, "loc": { "start": { "line": 134, "column": 67 }, "end": { "line": 134, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMClass", "start": 6958, "end": 6974, "loc": { "start": { "line": 134, "column": 68 }, "end": { "line": 134, "column": 84 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6974, "end": 6975, "loc": { "start": { "line": 134, "column": 84 }, "end": { "line": 134, "column": 85 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6975, "end": 6976, "loc": { "start": { "line": 134, "column": 85 }, "end": { "line": 134, "column": 86 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6977, "end": 6978, "loc": { "start": { "line": 134, "column": 87 }, "end": { "line": 134, "column": 88 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6979, "end": 6983, "loc": { "start": { "line": 134, "column": 89 }, "end": { "line": 134, "column": 93 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6983, "end": 6984, "loc": { "start": { "line": 134, "column": 93 }, "end": { "line": 134, "column": 94 } } }, { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 6992, "end": 7038, "loc": { "start": { "line": 136, "column": 4 }, "end": { "line": 138, "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": 7044, "end": 7048, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7048, "end": 7049, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "physicalKeyboardInterface", "start": 7049, "end": 7074, "loc": { "start": { "line": 139, "column": 9 }, "end": { "line": 139, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7075, "end": 7076, "loc": { "start": { "line": 139, "column": 35 }, "end": { "line": 139, "column": 36 } } }, { "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": 7077, "end": 7080, "loc": { "start": { "line": 139, "column": 37 }, "end": { "line": 139, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "PhysicalKeyboard", "start": 7081, "end": 7097, "loc": { "start": { "line": 139, "column": 41 }, "end": { "line": 139, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7097, "end": 7098, "loc": { "start": { "line": 139, "column": 57 }, "end": { "line": 139, "column": 58 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7098, "end": 7102, "loc": { "start": { "line": 139, "column": 58 }, "end": { "line": 139, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7102, "end": 7103, "loc": { "start": { "line": 139, "column": 62 }, "end": { "line": 139, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7103, "end": 7104, "loc": { "start": { "line": 139, "column": 63 }, "end": { "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": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7162, "end": 7163, "loc": { "start": { "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": 146, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", "start": 7200, "end": 7312, "loc": { "start": { "line": 148, "column": 2 }, "end": { "line": 151, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 7316, "end": 7335, "loc": { "start": { "line": 152, "column": 2 }, "end": { "line": 152, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7335, "end": 7336, "loc": { "start": { "line": 152, "column": 21 }, "end": { "line": 152, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 7336, "end": 7342, "loc": { "start": { "line": 152, "column": 22 }, "end": { "line": 152, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7342, "end": 7343, "loc": { "start": { "line": 152, "column": 28 }, "end": { "line": 152, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7343, "end": 7344, "loc": { "start": { "line": 152, "column": 29 }, "end": { "line": 152, "column": 30 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 7350, "end": 7353, "loc": { "start": { "line": 153, "column": 4 }, "end": { "line": 153, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 7354, "end": 7359, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7360, "end": 7361, "loc": { "start": { "line": 153, "column": 14 }, "end": { "line": 153, "column": 15 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7362, "end": 7366, "loc": { "start": { "line": 153, "column": 16 }, "end": { "line": 153, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7366, "end": 7367, "loc": { "start": { "line": 153, "column": 20 }, "end": { "line": 153, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7367, "end": 7374, "loc": { "start": { "line": 153, "column": 21 }, "end": { "line": 153, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7374, "end": 7375, "loc": { "start": { "line": 153, "column": 28 }, "end": { "line": 153, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 7375, "end": 7380, "loc": { "start": { "line": 153, "column": 29 }, "end": { "line": 153, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7380, "end": 7381, "loc": { "start": { "line": 153, "column": 34 }, "end": { "line": 153, "column": 35 } } }, { "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 } } }, { "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": 7444, "end": 7446, "loc": { "start": { "line": 158, "column": 4 }, "end": { "line": 158, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7446, "end": 7447, "loc": { "start": { "line": 158, "column": 6 }, "end": { "line": 158, "column": 7 } } }, { "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", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 7542, "end": 7548, "loc": { "start": { "line": 164, "column": 7 }, "end": { "line": 164, "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": 7549, "end": 7553, "loc": { "start": { "line": 164, "column": 14 }, "end": { "line": 164, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7553, "end": 7554, "loc": { "start": { "line": 164, "column": 18 }, "end": { "line": 164, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7554, "end": 7561, "loc": { "start": { "line": 164, "column": 19 }, "end": { "line": 164, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7561, "end": 7562, "loc": { "start": { "line": 164, "column": 26 }, "end": { "line": 164, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onKeyPress", "start": 7562, "end": 7572, "loc": { "start": { "line": 164, "column": 27 }, "end": { "line": 164, "column": 37 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 7573, "end": 7576, "loc": { "start": { "line": 164, "column": 38 }, "end": { "line": 164, "column": 41 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "function", "start": 7577, "end": 7587, "loc": { "start": { "line": 164, "column": 42 }, "end": { "line": 164, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7587, "end": 7588, "loc": { "start": { "line": 164, "column": 52 }, "end": { "line": 164, "column": 53 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7596, "end": 7600, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7600, "end": 7601, "loc": { "start": { "line": 165, "column": 10 }, "end": { "line": 165, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7601, "end": 7608, "loc": { "start": { "line": 165, "column": 11 }, "end": { "line": 165, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7608, "end": 7609, "loc": { "start": { "line": 165, "column": 18 }, "end": { "line": 165, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onKeyPress", "start": 7609, "end": 7619, "loc": { "start": { "line": 165, "column": 19 }, "end": { "line": 165, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7619, "end": 7620, "loc": { "start": { "line": 165, "column": 29 }, "end": { "line": 165, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 7620, "end": 7626, "loc": { "start": { "line": 165, "column": 30 }, "end": { "line": 165, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7626, "end": 7627, "loc": { "start": { "line": 165, "column": 36 }, "end": { "line": 165, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7627, "end": 7628, "loc": { "start": { "line": 165, "column": 37 }, "end": { "line": 165, "column": 38 } } }, { "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": 7640, "end": 7642, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 167, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7642, "end": 7643, "loc": { "start": { "line": 167, "column": 6 }, "end": { "line": 167, "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": 7643, "end": 7644, "loc": { "start": { "line": 167, "column": 7 }, "end": { "line": 167, "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": 7644, "end": 7648, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7648, "end": 7649, "loc": { "start": { "line": 167, "column": 12 }, "end": { "line": 167, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 7649, "end": 7654, "loc": { "start": { "line": 167, "column": 13 }, "end": { "line": 167, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7654, "end": 7655, "loc": { "start": { "line": 167, "column": 18 }, "end": { "line": 167, "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": 7655, "end": 7659, "loc": { "start": { "line": 167, "column": 19 }, "end": { "line": 167, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7659, "end": 7660, "loc": { "start": { "line": 167, "column": 23 }, "end": { "line": 167, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7660, "end": 7667, "loc": { "start": { "line": 167, "column": 24 }, "end": { "line": 167, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7667, "end": 7668, "loc": { "start": { "line": 167, "column": 31 }, "end": { "line": 167, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7668, "end": 7677, "loc": { "start": { "line": 167, "column": 32 }, "end": { "line": 167, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7677, "end": 7678, "loc": { "start": { "line": 167, "column": 41 }, "end": { "line": 167, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7678, "end": 7679, "loc": { "start": { "line": 167, "column": 42 }, "end": { "line": 167, "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": 7687, "end": 7691, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7691, "end": 7692, "loc": { "start": { "line": 168, "column": 10 }, "end": { "line": 168, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 7692, "end": 7697, "loc": { "start": { "line": 168, "column": 11 }, "end": { "line": 168, "column": 16 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7697, "end": 7698, "loc": { "start": { "line": 168, "column": 16 }, "end": { "line": 168, "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": 7698, "end": 7702, "loc": { "start": { "line": 168, "column": 17 }, "end": { "line": 168, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7702, "end": 7703, "loc": { "start": { "line": 168, "column": 21 }, "end": { "line": 168, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7703, "end": 7710, "loc": { "start": { "line": 168, "column": 22 }, "end": { "line": 168, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7710, "end": 7711, "loc": { "start": { "line": 168, "column": 29 }, "end": { "line": 168, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7711, "end": 7720, "loc": { "start": { "line": 168, "column": 30 }, "end": { "line": 168, "column": 39 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7720, "end": 7721, "loc": { "start": { "line": 168, "column": 39 }, "end": { "line": 168, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7722, "end": 7723, "loc": { "start": { "line": 168, "column": 41 }, "end": { "line": 168, "column": 42 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 7724, "end": 7726, "loc": { "start": { "line": 168, "column": 43 }, "end": { "line": 168, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7726, "end": 7727, "loc": { "start": { "line": 168, "column": 45 }, "end": { "line": 168, "column": 46 } } }, { "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": 7735, "end": 7738, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 170, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 7739, "end": 7751, "loc": { "start": { "line": 170, "column": 8 }, "end": { "line": 170, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7752, "end": 7753, "loc": { "start": { "line": 170, "column": 21 }, "end": { "line": 170, "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": 7754, "end": 7758, "loc": { "start": { "line": 170, "column": 23 }, "end": { "line": 170, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7758, "end": 7759, "loc": { "start": { "line": 170, "column": 27 }, "end": { "line": 170, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 7759, "end": 7768, "loc": { "start": { "line": 170, "column": 28 }, "end": { "line": 170, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7768, "end": 7769, "loc": { "start": { "line": 170, "column": 37 }, "end": { "line": 170, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getUpdatedInput", "start": 7769, "end": 7784, "loc": { "start": { "line": 170, "column": 38 }, "end": { "line": 170, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7784, "end": 7785, "loc": { "start": { "line": 170, "column": 53 }, "end": { "line": 170, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 7785, "end": 7791, "loc": { "start": { "line": 170, "column": 54 }, "end": { "line": 170, "column": 60 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7791, "end": 7792, "loc": { "start": { "line": 170, "column": 60 }, "end": { "line": 170, "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": 7793, "end": 7797, "loc": { "start": { "line": 170, "column": 62 }, "end": { "line": 170, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7797, "end": 7798, "loc": { "start": { "line": 170, "column": 66 }, "end": { "line": 170, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 7798, "end": 7803, "loc": { "start": { "line": 170, "column": 67 }, "end": { "line": 170, "column": 72 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7803, "end": 7804, "loc": { "start": { "line": 170, "column": 72 }, "end": { "line": 170, "column": 73 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7804, "end": 7808, "loc": { "start": { "line": 170, "column": 73 }, "end": { "line": 170, "column": 77 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7808, "end": 7809, "loc": { "start": { "line": 170, "column": 77 }, "end": { "line": 170, "column": 78 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7809, "end": 7816, "loc": { "start": { "line": 170, "column": 78 }, "end": { "line": 170, "column": 85 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7816, "end": 7817, "loc": { "start": { "line": 170, "column": 85 }, "end": { "line": 170, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7817, "end": 7826, "loc": { "start": { "line": 170, "column": 86 }, "end": { "line": 170, "column": 95 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7826, "end": 7827, "loc": { "start": { "line": 170, "column": 95 }, "end": { "line": 170, "column": 96 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7827, "end": 7828, "loc": { "start": { "line": 170, "column": 96 }, "end": { "line": 170, "column": 97 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7829, "end": 7833, "loc": { "start": { "line": 170, "column": 98 }, "end": { "line": 170, "column": 102 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7833, "end": 7834, "loc": { "start": { "line": 170, "column": 102 }, "end": { "line": 170, "column": 103 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7834, "end": 7841, "loc": { "start": { "line": 170, "column": 103 }, "end": { "line": 170, "column": 110 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7841, "end": 7842, "loc": { "start": { "line": 170, "column": 110 }, "end": { "line": 170, "column": 111 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7843, "end": 7847, "loc": { "start": { "line": 170, "column": 112 }, "end": { "line": 170, "column": 116 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7847, "end": 7848, "loc": { "start": { "line": 170, "column": 116 }, "end": { "line": 170, "column": 117 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPosition", "start": 7848, "end": 7861, "loc": { "start": { "line": 170, "column": 117 }, "end": { "line": 170, "column": 130 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7861, "end": 7862, "loc": { "start": { "line": 170, "column": 130 }, "end": { "line": 170, "column": 131 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7862, "end": 7863, "loc": { "start": { "line": 170, "column": 131 }, "end": { "line": 170, "column": 132 } } }, { "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": 7871, "end": 7873, "loc": { "start": { "line": 172, "column": 4 }, "end": { "line": 172, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7873, "end": 7874, "loc": { "start": { "line": 172, "column": 6 }, "end": { "line": 172, "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": 7874, "end": 7878, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7878, "end": 7879, "loc": { "start": { "line": 172, "column": 11 }, "end": { "line": 172, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 7879, "end": 7884, "loc": { "start": { "line": 172, "column": 12 }, "end": { "line": 172, "column": 17 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7884, "end": 7885, "loc": { "start": { "line": 172, "column": 17 }, "end": { "line": 172, "column": 18 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7885, "end": 7889, "loc": { "start": { "line": 172, "column": 18 }, "end": { "line": 172, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7889, "end": 7890, "loc": { "start": { "line": 172, "column": 22 }, "end": { "line": 172, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7890, "end": 7897, "loc": { "start": { "line": 172, "column": 23 }, "end": { "line": 172, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7897, "end": 7898, "loc": { "start": { "line": 172, "column": 30 }, "end": { "line": 172, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7898, "end": 7907, "loc": { "start": { "line": 172, "column": 31 }, "end": { "line": 172, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7907, "end": 7908, "loc": { "start": { "line": 172, "column": 40 }, "end": { "line": 172, "column": 41 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 7909, "end": 7912, "loc": { "start": { "line": 172, "column": 42 }, "end": { "line": 172, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 7913, "end": 7925, "loc": { "start": { "line": 172, "column": 46 }, "end": { "line": 172, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7925, "end": 7926, "loc": { "start": { "line": 172, "column": 58 }, "end": { "line": 172, "column": 59 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7926, "end": 7927, "loc": { "start": { "line": 172, "column": 59 }, "end": { "line": 172, "column": 60 } } }, { "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": 176, "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": 8022, "end": 8024, "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": 8024, "end": 8025, "loc": { "start": { "line": 177, "column": 8 }, "end": { "line": 177, "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": 8025, "end": 8029, "loc": { "start": { "line": 177, "column": 9 }, "end": { "line": 177, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8029, "end": 8030, "loc": { "start": { "line": 177, "column": 13 }, "end": { "line": 177, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8030, "end": 8037, "loc": { "start": { "line": 177, "column": 14 }, "end": { "line": 177, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8037, "end": 8038, "loc": { "start": { "line": 177, "column": 21 }, "end": { "line": 177, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxLength", "start": 8038, "end": 8047, "loc": { "start": { "line": 177, "column": 22 }, "end": { "line": 177, "column": 31 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 8048, "end": 8050, "loc": { "start": { "line": 177, "column": 32 }, "end": { "line": 177, "column": 34 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8051, "end": 8055, "loc": { "start": { "line": 177, "column": 35 }, "end": { "line": 177, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8055, "end": 8056, "loc": { "start": { "line": 177, "column": 39 }, "end": { "line": 177, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 8056, "end": 8065, "loc": { "start": { "line": 177, "column": 40 }, "end": { "line": 177, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8065, "end": 8066, "loc": { "start": { "line": 177, "column": 49 }, "end": { "line": 177, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleMaxLength", "start": 8066, "end": 8081, "loc": { "start": { "line": 177, "column": 50 }, "end": { "line": 177, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8081, "end": 8082, "loc": { "start": { "line": 177, "column": 65 }, "end": { "line": 177, "column": 66 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8082, "end": 8086, "loc": { "start": { "line": 177, "column": 66 }, "end": { "line": 177, "column": 70 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8086, "end": 8087, "loc": { "start": { "line": 177, "column": 70 }, "end": { "line": 177, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8087, "end": 8092, "loc": { "start": { "line": 177, "column": 71 }, "end": { "line": 177, "column": 76 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8092, "end": 8093, "loc": { "start": { "line": 177, "column": 76 }, "end": { "line": 177, "column": 77 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8094, "end": 8098, "loc": { "start": { "line": 177, "column": 78 }, "end": { "line": 177, "column": 82 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8098, "end": 8099, "loc": { "start": { "line": 177, "column": 82 }, "end": { "line": 177, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8099, "end": 8106, "loc": { "start": { "line": 177, "column": 83 }, "end": { "line": 177, "column": 90 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8106, "end": 8107, "loc": { "start": { "line": 177, "column": 90 }, "end": { "line": 177, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 8108, "end": 8120, "loc": { "start": { "line": 177, "column": 92 }, "end": { "line": 177, "column": 104 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8120, "end": 8121, "loc": { "start": { "line": 177, "column": 104 }, "end": { "line": 177, "column": 105 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8121, "end": 8122, "loc": { "start": { "line": 177, "column": 105 }, "end": { "line": 177, "column": 106 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8122, "end": 8123, "loc": { "start": { "line": 177, "column": 106 }, "end": { "line": 177, "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": 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, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 8140, "end": 8145, "loc": { "start": { "line": 178, "column": 15 }, "end": { "line": 178, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "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, "column": 43 }, "end": { "line": 184, "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 * Enforce syncInstanceInputs, if set\r\n ", "start": 8296, "end": 8355, "loc": { "start": { "line": 186, "column": 6 }, "end": { "line": 188, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 8363, "end": 8365, "loc": { "start": { "line": 189, "column": 6 }, "end": { "line": 189, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8365, "end": 8366, "loc": { "start": { "line": 189, "column": 8 }, "end": { "line": 189, "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": 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", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 8506, "end": 8512, "loc": { "start": { "line": 195, "column": 9 }, "end": { "line": 195, "column": 15 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8513, "end": 8517, "loc": { "start": { "line": 195, "column": 16 }, "end": { "line": 195, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8517, "end": 8518, "loc": { "start": { "line": 195, "column": 20 }, "end": { "line": 195, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8518, "end": 8525, "loc": { "start": { "line": 195, "column": 21 }, "end": { "line": 195, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8525, "end": 8526, "loc": { "start": { "line": 195, "column": 28 }, "end": { "line": 195, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onChange", "start": 8526, "end": 8534, "loc": { "start": { "line": 195, "column": 29 }, "end": { "line": 195, "column": 37 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 8535, "end": 8538, "loc": { "start": { "line": 195, "column": 38 }, "end": { "line": 195, "column": 41 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "function", "start": 8539, "end": 8549, "loc": { "start": { "line": 195, "column": 42 }, "end": { "line": 195, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8549, "end": 8550, "loc": { "start": { "line": 195, "column": 52 }, "end": { "line": 195, "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": 8560, "end": 8564, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8564, "end": 8565, "loc": { "start": { "line": 196, "column": 12 }, "end": { "line": 196, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8565, "end": 8572, "loc": { "start": { "line": 196, "column": 13 }, "end": { "line": 196, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8572, "end": 8573, "loc": { "start": { "line": 196, "column": 20 }, "end": { "line": 196, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onChange", "start": 8573, "end": 8581, "loc": { "start": { "line": 196, "column": 21 }, "end": { "line": 196, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8581, "end": 8582, "loc": { "start": { "line": 196, "column": 29 }, "end": { "line": 196, "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": 8582, "end": 8586, "loc": { "start": { "line": 196, "column": 30 }, "end": { "line": 196, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8586, "end": 8587, "loc": { "start": { "line": 196, "column": 34 }, "end": { "line": 196, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8587, "end": 8592, "loc": { "start": { "line": 196, "column": 35 }, "end": { "line": 196, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8592, "end": 8593, "loc": { "start": { "line": 196, "column": 40 }, "end": { "line": 196, "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": 8593, "end": 8597, "loc": { "start": { "line": 196, "column": 41 }, "end": { "line": 196, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8597, "end": 8598, "loc": { "start": { "line": 196, "column": 45 }, "end": { "line": 196, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8598, "end": 8605, "loc": { "start": { "line": 196, "column": 46 }, "end": { "line": 196, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8605, "end": 8606, "loc": { "start": { "line": 196, "column": 53 }, "end": { "line": 196, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8606, "end": 8615, "loc": { "start": { "line": 196, "column": 54 }, "end": { "line": 196, "column": 63 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8615, "end": 8616, "loc": { "start": { "line": 196, "column": 63 }, "end": { "line": 196, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8616, "end": 8617, "loc": { "start": { "line": 196, "column": 64 }, "end": { "line": 196, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8617, "end": 8618, "loc": { "start": { "line": 196, "column": 65 }, "end": { "line": 196, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8624, "end": 8625, "loc": { "start": { "line": 197, "column": 4 }, "end": { "line": 197, "column": 5 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 8637, "end": 8639, "loc": { "start": { "line": 199, "column": 4 }, "end": { "line": 199, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8639, "end": 8640, "loc": { "start": { "line": 199, "column": 6 }, "end": { "line": 199, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 8640, "end": 8645, "loc": { "start": { "line": 199, "column": 7 }, "end": { "line": 199, "column": 12 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8645, "end": 8646, "loc": { "start": { "line": 199, "column": 12 }, "end": { "line": 199, "column": 13 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8646, "end": 8647, "loc": { "start": { "line": 199, "column": 13 }, "end": { "line": 199, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 8655, "end": 8662, "loc": { "start": { "line": 200, "column": 6 }, "end": { "line": 200, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8662, "end": 8663, "loc": { "start": { "line": 200, "column": 13 }, "end": { "line": 200, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 8663, "end": 8666, "loc": { "start": { "line": 200, "column": 14 }, "end": { "line": 200, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8666, "end": 8667, "loc": { "start": { "line": 200, "column": 17 }, "end": { "line": 200, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Key pressed:", "start": 8667, "end": 8681, "loc": { "start": { "line": 200, "column": 18 }, "end": { "line": 200, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8681, "end": 8682, "loc": { "start": { "line": 200, "column": 32 }, "end": { "line": 200, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 8683, "end": 8689, "loc": { "start": { "line": 200, "column": 34 }, "end": { "line": 200, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8689, "end": 8690, "loc": { "start": { "line": 200, "column": 40 }, "end": { "line": 200, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8690, "end": 8691, "loc": { "start": { "line": 200, "column": 41 }, "end": { "line": 200, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8697, "end": 8698, "loc": { "start": { "line": 201, "column": 4 }, "end": { "line": 201, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8702, "end": 8703, "loc": { "start": { "line": 202, "column": 2 }, "end": { "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 } } }, { "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": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 10133, "end": 10151, "loc": { "start": { "line": 262, "column": 2 }, "end": { "line": 262, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10151, "end": 10152, "loc": { "start": { "line": 262, "column": 20 }, "end": { "line": 262, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10152, "end": 10153, "loc": { "start": { "line": 262, "column": 21 }, "end": { "line": 262, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10153, "end": 10154, "loc": { "start": { "line": 262, "column": 22 }, "end": { "line": 262, "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": 10160, "end": 10164, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 263, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10164, "end": 10165, "loc": { "start": { "line": 263, "column": 8 }, "end": { "line": 263, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 10165, "end": 10173, "loc": { "start": { "line": 263, "column": 9 }, "end": { "line": 263, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10173, "end": 10174, "loc": { "start": { "line": 263, "column": 17 }, "end": { "line": 263, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10174, "end": 10175, "loc": { "start": { "line": 263, "column": 18 }, "end": { "line": 263, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "instance", "start": 10175, "end": 10183, "loc": { "start": { "line": 263, "column": 19 }, "end": { "line": 263, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10183, "end": 10184, "loc": { "start": { "line": 263, "column": 27 }, "end": { "line": 263, "column": 28 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10185, "end": 10187, "loc": { "start": { "line": 263, "column": 29 }, "end": { "line": 263, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10188, "end": 10189, "loc": { "start": { "line": 263, "column": 32 }, "end": { "line": 263, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "instance", "start": 10197, "end": 10205, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10205, "end": 10206, "loc": { "start": { "line": 264, "column": 14 }, "end": { "line": 264, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceInput", "start": 10206, "end": 10218, "loc": { "start": { "line": 264, "column": 15 }, "end": { "line": 264, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10218, "end": 10219, "loc": { "start": { "line": 264, "column": 27 }, "end": { "line": 264, "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": 10219, "end": 10223, "loc": { "start": { "line": 264, "column": 28 }, "end": { "line": 264, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10223, "end": 10224, "loc": { "start": { "line": 264, "column": 32 }, "end": { "line": 264, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 10224, "end": 10229, "loc": { "start": { "line": 264, "column": 33 }, "end": { "line": 264, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10229, "end": 10230, "loc": { "start": { "line": 264, "column": 38 }, "end": { "line": 264, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10230, "end": 10231, "loc": { "start": { "line": 264, "column": 39 }, "end": { "line": 264, "column": 40 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10237, "end": 10238, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 265, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10238, "end": 10239, "loc": { "start": { "line": 265, "column": 5 }, "end": { "line": 265, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10239, "end": 10240, "loc": { "start": { "line": 265, "column": 6 }, "end": { "line": 265, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10244, "end": 10245, "loc": { "start": { "line": 266, "column": 2 }, "end": { "line": 266, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 10253, "end": 10371, "loc": { "start": { "line": 268, "column": 2 }, "end": { "line": 271, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearInput", "start": 10375, "end": 10385, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 272, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10385, "end": 10386, "loc": { "start": { "line": 272, "column": 12 }, "end": { "line": 272, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 10386, "end": 10395, "loc": { "start": { "line": 272, "column": 13 }, "end": { "line": 272, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10395, "end": 10396, "loc": { "start": { "line": 272, "column": 22 }, "end": { "line": 272, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10396, "end": 10397, "loc": { "start": { "line": 272, "column": 23 }, "end": { "line": 272, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 10403, "end": 10412, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 273, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10413, "end": 10414, "loc": { "start": { "line": 273, "column": 14 }, "end": { "line": 273, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 10415, "end": 10424, "loc": { "start": { "line": 273, "column": 16 }, "end": { "line": 273, "column": 25 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 10425, "end": 10427, "loc": { "start": { "line": 273, "column": 26 }, "end": { "line": 273, "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": 10428, "end": 10432, "loc": { "start": { "line": 273, "column": 29 }, "end": { "line": 273, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10432, "end": 10433, "loc": { "start": { "line": 273, "column": 33 }, "end": { "line": 273, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 10433, "end": 10440, "loc": { "start": { "line": 273, "column": 34 }, "end": { "line": 273, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10440, "end": 10441, "loc": { "start": { "line": 273, "column": 41 }, "end": { "line": 273, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 10441, "end": 10450, "loc": { "start": { "line": 273, "column": 42 }, "end": { "line": 273, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10450, "end": 10451, "loc": { "start": { "line": 273, "column": 51 }, "end": { "line": 273, "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": 10457, "end": 10461, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10461, "end": 10462, "loc": { "start": { "line": 274, "column": 8 }, "end": { "line": 274, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 10462, "end": 10467, "loc": { "start": { "line": 274, "column": 9 }, "end": { "line": 274, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10467, "end": 10468, "loc": { "start": { "line": 274, "column": 14 }, "end": { "line": 274, "column": 15 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 10468, "end": 10472, "loc": { "start": { "line": 274, "column": 15 }, "end": { "line": 274, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10472, "end": 10473, "loc": { "start": { "line": 274, "column": 19 }, "end": { "line": 274, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 10473, "end": 10480, "loc": { "start": { "line": 274, "column": 20 }, "end": { "line": 274, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10480, "end": 10481, "loc": { "start": { "line": 274, "column": 27 }, "end": { "line": 274, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 10481, "end": 10490, "loc": { "start": { "line": 274, "column": 28 }, "end": { "line": 274, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10490, "end": 10491, "loc": { "start": { "line": 274, "column": 37 }, "end": { "line": 274, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10492, "end": 10493, "loc": { "start": { "line": 274, "column": 39 }, "end": { "line": 274, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 10494, "end": 10496, "loc": { "start": { "line": 274, "column": 41 }, "end": { "line": 274, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10496, "end": 10497, "loc": { "start": { "line": 274, "column": 43 }, "end": { "line": 274, "column": 44 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10505, "end": 10560, "loc": { "start": { "line": 276, "column": 4 }, "end": { "line": 278, "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": 10566, "end": 10568, "loc": { "start": { "line": 279, "column": 4 }, "end": { "line": 279, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10568, "end": 10569, "loc": { "start": { "line": 279, "column": 6 }, "end": { "line": 279, "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": 10569, "end": 10573, "loc": { "start": { "line": 279, "column": 7 }, "end": { "line": 279, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10573, "end": 10574, "loc": { "start": { "line": 279, "column": 11 }, "end": { "line": 279, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 10574, "end": 10581, "loc": { "start": { "line": 279, "column": 12 }, "end": { "line": 279, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10581, "end": 10582, "loc": { "start": { "line": 279, "column": 19 }, "end": { "line": 279, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 10582, "end": 10600, "loc": { "start": { "line": 279, "column": 20 }, "end": { "line": 279, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10600, "end": 10601, "loc": { "start": { "line": 279, "column": 38 }, "end": { "line": 279, "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": 10609, "end": 10613, "loc": { "start": { "line": 280, "column": 6 }, "end": { "line": 280, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10613, "end": 10614, "loc": { "start": { "line": 280, "column": 10 }, "end": { "line": 280, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 10614, "end": 10632, "loc": { "start": { "line": 280, "column": 11 }, "end": { "line": 280, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10632, "end": 10633, "loc": { "start": { "line": 280, "column": 29 }, "end": { "line": 280, "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": 10633, "end": 10637, "loc": { "start": { "line": 280, "column": 30 }, "end": { "line": 280, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10637, "end": 10638, "loc": { "start": { "line": 280, "column": 34 }, "end": { "line": 280, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 10638, "end": 10643, "loc": { "start": { "line": 280, "column": 35 }, "end": { "line": 280, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10643, "end": 10644, "loc": { "start": { "line": 280, "column": 40 }, "end": { "line": 280, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10644, "end": 10645, "loc": { "start": { "line": 280, "column": 41 }, "end": { "line": 280, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10649, "end": 10650, "loc": { "start": { "line": 281, "column": 2 }, "end": { "line": 281, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 10656, "end": 10818, "loc": { "start": { "line": 283, "column": 2 }, "end": { "line": 286, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getInput", "start": 10822, "end": 10830, "loc": { "start": { "line": 287, "column": 2 }, "end": { "line": 287, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10830, "end": 10831, "loc": { "start": { "line": 287, "column": 10 }, "end": { "line": 287, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 10831, "end": 10840, "loc": { "start": { "line": 287, "column": 11 }, "end": { "line": 287, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10840, "end": 10841, "loc": { "start": { "line": 287, "column": 20 }, "end": { "line": 287, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10841, "end": 10842, "loc": { "start": { "line": 287, "column": 21 }, "end": { "line": 287, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 10848, "end": 10857, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 288, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10858, "end": 10859, "loc": { "start": { "line": 288, "column": 14 }, "end": { "line": 288, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 10860, "end": 10869, "loc": { "start": { "line": 288, "column": 16 }, "end": { "line": 288, "column": 25 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 10870, "end": 10872, "loc": { "start": { "line": 288, "column": 26 }, "end": { "line": 288, "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": 10873, "end": 10877, "loc": { "start": { "line": 288, "column": 29 }, "end": { "line": 288, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10877, "end": 10878, "loc": { "start": { "line": 288, "column": 33 }, "end": { "line": 288, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 10878, "end": 10885, "loc": { "start": { "line": 288, "column": 34 }, "end": { "line": 288, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10885, "end": 10886, "loc": { "start": { "line": 288, "column": 41 }, "end": { "line": 288, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 10886, "end": 10895, "loc": { "start": { "line": 288, "column": 42 }, "end": { "line": 288, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10895, "end": 10896, "loc": { "start": { "line": 288, "column": 51 }, "end": { "line": 288, "column": 52 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10904, "end": 10959, "loc": { "start": { "line": 290, "column": 4 }, "end": { "line": 292, "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": 10965, "end": 10967, "loc": { "start": { "line": 293, "column": 4 }, "end": { "line": 293, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10967, "end": 10968, "loc": { "start": { "line": 293, "column": 6 }, "end": { "line": 293, "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": 10968, "end": 10972, "loc": { "start": { "line": 293, "column": 7 }, "end": { "line": 293, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10972, "end": 10973, "loc": { "start": { "line": 293, "column": 11 }, "end": { "line": 293, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 10973, "end": 10980, "loc": { "start": { "line": 293, "column": 12 }, "end": { "line": 293, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10980, "end": 10981, "loc": { "start": { "line": 293, "column": 19 }, "end": { "line": 293, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 10981, "end": 10999, "loc": { "start": { "line": 293, "column": 20 }, "end": { "line": 293, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10999, "end": 11000, "loc": { "start": { "line": 293, "column": 38 }, "end": { "line": 293, "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": 11008, "end": 11012, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11012, "end": 11013, "loc": { "start": { "line": 294, "column": 10 }, "end": { "line": 294, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 11013, "end": 11031, "loc": { "start": { "line": 294, "column": 11 }, "end": { "line": 294, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11031, "end": 11032, "loc": { "start": { "line": 294, "column": 29 }, "end": { "line": 294, "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": 11032, "end": 11036, "loc": { "start": { "line": 294, "column": 30 }, "end": { "line": 294, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11036, "end": 11037, "loc": { "start": { "line": 294, "column": 34 }, "end": { "line": 294, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11037, "end": 11042, "loc": { "start": { "line": 294, "column": 35 }, "end": { "line": 294, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11042, "end": 11043, "loc": { "start": { "line": 294, "column": 40 }, "end": { "line": 294, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11043, "end": 11044, "loc": { "start": { "line": 294, "column": 41 }, "end": { "line": 294, "column": 42 } } }, { "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": 11052, "end": 11058, "loc": { "start": { "line": 296, "column": 4 }, "end": { "line": 296, "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": 11059, "end": 11063, "loc": { "start": { "line": 296, "column": 11 }, "end": { "line": 296, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11063, "end": 11064, "loc": { "start": { "line": 296, "column": 15 }, "end": { "line": 296, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11064, "end": 11069, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 21 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11069, "end": 11070, "loc": { "start": { "line": 296, "column": 21 }, "end": { "line": 296, "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": 11070, "end": 11074, "loc": { "start": { "line": 296, "column": 22 }, "end": { "line": 296, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11074, "end": 11075, "loc": { "start": { "line": 296, "column": 26 }, "end": { "line": 296, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11075, "end": 11082, "loc": { "start": { "line": 296, "column": 27 }, "end": { "line": 296, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11082, "end": 11083, "loc": { "start": { "line": 296, "column": 34 }, "end": { "line": 296, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11083, "end": 11092, "loc": { "start": { "line": 296, "column": 35 }, "end": { "line": 296, "column": 44 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11092, "end": 11093, "loc": { "start": { "line": 296, "column": 44 }, "end": { "line": 296, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11093, "end": 11094, "loc": { "start": { "line": 296, "column": 45 }, "end": { "line": 296, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11098, "end": 11099, "loc": { "start": { "line": 297, "column": 2 }, "end": { "line": 297, "column": 3 } } }, { "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": 11105, "end": 11265, "loc": { "start": { "line": 299, "column": 2 }, "end": { "line": 303, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setInput", "start": 11269, "end": 11277, "loc": { "start": { "line": 304, "column": 2 }, "end": { "line": 304, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11277, "end": 11278, "loc": { "start": { "line": 304, "column": 10 }, "end": { "line": 304, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11278, "end": 11283, "loc": { "start": { "line": 304, "column": 11 }, "end": { "line": 304, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11283, "end": 11284, "loc": { "start": { "line": 304, "column": 16 }, "end": { "line": 304, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11285, "end": 11294, "loc": { "start": { "line": 304, "column": 18 }, "end": { "line": 304, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11294, "end": 11295, "loc": { "start": { "line": 304, "column": 27 }, "end": { "line": 304, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11295, "end": 11296, "loc": { "start": { "line": 304, "column": 28 }, "end": { "line": 304, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11302, "end": 11311, "loc": { "start": { "line": 305, "column": 4 }, "end": { "line": 305, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11312, "end": 11313, "loc": { "start": { "line": 305, "column": 14 }, "end": { "line": 305, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11314, "end": 11323, "loc": { "start": { "line": 305, "column": 16 }, "end": { "line": 305, "column": 25 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 11324, "end": 11326, "loc": { "start": { "line": 305, "column": 26 }, "end": { "line": 305, "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": 11327, "end": 11331, "loc": { "start": { "line": 305, "column": 29 }, "end": { "line": 305, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11331, "end": 11332, "loc": { "start": { "line": 305, "column": 33 }, "end": { "line": 305, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11332, "end": 11339, "loc": { "start": { "line": 305, "column": 34 }, "end": { "line": 305, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11339, "end": 11340, "loc": { "start": { "line": 305, "column": 41 }, "end": { "line": 305, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11340, "end": 11349, "loc": { "start": { "line": 305, "column": 42 }, "end": { "line": 305, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11349, "end": 11350, "loc": { "start": { "line": 305, "column": 51 }, "end": { "line": 305, "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": 11356, "end": 11360, "loc": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11360, "end": 11361, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 306, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11361, "end": 11366, "loc": { "start": { "line": 306, "column": 9 }, "end": { "line": 306, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11366, "end": 11367, "loc": { "start": { "line": 306, "column": 14 }, "end": { "line": 306, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11367, "end": 11376, "loc": { "start": { "line": 306, "column": 15 }, "end": { "line": 306, "column": 24 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11376, "end": 11377, "loc": { "start": { "line": 306, "column": 24 }, "end": { "line": 306, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11378, "end": 11379, "loc": { "start": { "line": 306, "column": 26 }, "end": { "line": 306, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11380, "end": 11385, "loc": { "start": { "line": 306, "column": 28 }, "end": { "line": 306, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11385, "end": 11386, "loc": { "start": { "line": 306, "column": 33 }, "end": { "line": 306, "column": 34 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11394, "end": 11449, "loc": { "start": { "line": 308, "column": 4 }, "end": { "line": 310, "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": 11455, "end": 11457, "loc": { "start": { "line": 311, "column": 4 }, "end": { "line": 311, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11457, "end": 11458, "loc": { "start": { "line": 311, "column": 6 }, "end": { "line": 311, "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": 11458, "end": 11462, "loc": { "start": { "line": 311, "column": 7 }, "end": { "line": 311, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11462, "end": 11463, "loc": { "start": { "line": 311, "column": 11 }, "end": { "line": 311, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11463, "end": 11470, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11470, "end": 11471, "loc": { "start": { "line": 311, "column": 19 }, "end": { "line": 311, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 11471, "end": 11489, "loc": { "start": { "line": 311, "column": 20 }, "end": { "line": 311, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11489, "end": 11490, "loc": { "start": { "line": 311, "column": 38 }, "end": { "line": 311, "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": 11498, "end": 11502, "loc": { "start": { "line": 312, "column": 6 }, "end": { "line": 312, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11502, "end": 11503, "loc": { "start": { "line": 312, "column": 10 }, "end": { "line": 312, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 11503, "end": 11521, "loc": { "start": { "line": 312, "column": 11 }, "end": { "line": 312, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11521, "end": 11522, "loc": { "start": { "line": 312, "column": 29 }, "end": { "line": 312, "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": 11522, "end": 11526, "loc": { "start": { "line": 312, "column": 30 }, "end": { "line": 312, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11526, "end": 11527, "loc": { "start": { "line": 312, "column": 34 }, "end": { "line": 312, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11527, "end": 11532, "loc": { "start": { "line": 312, "column": 35 }, "end": { "line": 312, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11532, "end": 11533, "loc": { "start": { "line": 312, "column": 40 }, "end": { "line": 312, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11533, "end": 11534, "loc": { "start": { "line": 312, "column": 41 }, "end": { "line": 312, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11538, "end": 11539, "loc": { "start": { "line": 313, "column": 2 }, "end": { "line": 313, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 11547, "end": 11656, "loc": { "start": { "line": 315, "column": 2 }, "end": { "line": 318, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceInput", "start": 11660, "end": 11672, "loc": { "start": { "line": 319, "column": 2 }, "end": { "line": 319, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11672, "end": 11673, "loc": { "start": { "line": 319, "column": 14 }, "end": { "line": 319, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputObj", "start": 11673, "end": 11681, "loc": { "start": { "line": 319, "column": 15 }, "end": { "line": 319, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11681, "end": 11682, "loc": { "start": { "line": 319, "column": 23 }, "end": { "line": 319, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11682, "end": 11683, "loc": { "start": { "line": 319, "column": 24 }, "end": { "line": 319, "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": 11689, "end": 11693, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11693, "end": 11694, "loc": { "start": { "line": 320, "column": 8 }, "end": { "line": 320, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11694, "end": 11699, "loc": { "start": { "line": 320, "column": 9 }, "end": { "line": 320, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11700, "end": 11701, "loc": { "start": { "line": 320, "column": 15 }, "end": { "line": 320, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputObj", "start": 11702, "end": 11710, "loc": { "start": { "line": 320, "column": 17 }, "end": { "line": 320, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11710, "end": 11711, "loc": { "start": { "line": 320, "column": 25 }, "end": { "line": 320, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11715, "end": 11716, "loc": { "start": { "line": 321, "column": 2 }, "end": { "line": 321, "column": 3 } } }, { "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": 11722, "end": 11848, "loc": { "start": { "line": 323, "column": 2 }, "end": { "line": 326, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setOptions", "start": 11852, "end": 11862, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 327, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11863, "end": 11864, "loc": { "start": { "line": 327, "column": 13 }, "end": { "line": 327, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 11865, "end": 11871, "loc": { "start": { "line": 327, "column": 15 }, "end": { "line": 327, "column": 21 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11872, "end": 11874, "loc": { "start": { "line": 327, "column": 22 }, "end": { "line": 327, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11875, "end": 11876, "loc": { "start": { "line": 327, "column": 25 }, "end": { "line": 327, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 11882, "end": 11888, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 328, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11889, "end": 11890, "loc": { "start": { "line": 328, "column": 11 }, "end": { "line": 328, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 11891, "end": 11897, "loc": { "start": { "line": 328, "column": 13 }, "end": { "line": 328, "column": 19 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 11898, "end": 11900, "loc": { "start": { "line": 328, "column": 20 }, "end": { "line": 328, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11901, "end": 11902, "loc": { "start": { "line": 328, "column": 23 }, "end": { "line": 328, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11902, "end": 11903, "loc": { "start": { "line": 328, "column": 24 }, "end": { "line": 328, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11903, "end": 11904, "loc": { "start": { "line": 328, "column": 25 }, "end": { "line": 328, "column": 26 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11910, "end": 11914, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11914, "end": 11915, "loc": { "start": { "line": 329, "column": 8 }, "end": { "line": 329, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11915, "end": 11922, "loc": { "start": { "line": 329, "column": 9 }, "end": { "line": 329, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11923, "end": 11924, "loc": { "start": { "line": 329, "column": 17 }, "end": { "line": 329, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 11925, "end": 11931, "loc": { "start": { "line": 329, "column": 19 }, "end": { "line": 329, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11931, "end": 11932, "loc": { "start": { "line": 329, "column": 25 }, "end": { "line": 329, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assign", "start": 11932, "end": 11938, "loc": { "start": { "line": 329, "column": 26 }, "end": { "line": 329, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11938, "end": 11939, "loc": { "start": { "line": 329, "column": 32 }, "end": { "line": 329, "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": 11939, "end": 11943, "loc": { "start": { "line": 329, "column": 33 }, "end": { "line": 329, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11943, "end": 11944, "loc": { "start": { "line": 329, "column": 37 }, "end": { "line": 329, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11944, "end": 11951, "loc": { "start": { "line": 329, "column": 38 }, "end": { "line": 329, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11951, "end": 11952, "loc": { "start": { "line": 329, "column": 45 }, "end": { "line": 329, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 11953, "end": 11959, "loc": { "start": { "line": 329, "column": 47 }, "end": { "line": 329, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11959, "end": 11960, "loc": { "start": { "line": 329, "column": 53 }, "end": { "line": 329, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11960, "end": 11961, "loc": { "start": { "line": 329, "column": 54 }, "end": { "line": 329, "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": 11967, "end": 11971, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11971, "end": 11972, "loc": { "start": { "line": 330, "column": 8 }, "end": { "line": 330, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 11972, "end": 11978, "loc": { "start": { "line": 330, "column": 9 }, "end": { "line": 330, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11978, "end": 11979, "loc": { "start": { "line": 330, "column": 15 }, "end": { "line": 330, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11979, "end": 11980, "loc": { "start": { "line": 330, "column": 16 }, "end": { "line": 330, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11980, "end": 11981, "loc": { "start": { "line": 330, "column": 17 }, "end": { "line": 330, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11985, "end": 11986, "loc": { "start": { "line": 331, "column": 2 }, "end": { "line": 331, "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": 11992, "end": 12101, "loc": { "start": { "line": 333, "column": 2 }, "end": { "line": 336, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clear", "start": 12105, "end": 12110, "loc": { "start": { "line": 337, "column": 2 }, "end": { "line": 337, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12110, "end": 12111, "loc": { "start": { "line": 337, "column": 7 }, "end": { "line": 337, "column": 8 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12111, "end": 12112, "loc": { "start": { "line": 337, "column": 8 }, "end": { "line": 337, "column": 9 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12112, "end": 12113, "loc": { "start": { "line": 337, "column": 9 }, "end": { "line": 337, "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": 12119, "end": 12123, "loc": { "start": { "line": 338, "column": 4 }, "end": { "line": 338, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12123, "end": 12124, "loc": { "start": { "line": 338, "column": 8 }, "end": { "line": 338, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 12124, "end": 12135, "loc": { "start": { "line": 338, "column": 9 }, "end": { "line": 338, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12135, "end": 12136, "loc": { "start": { "line": 338, "column": 20 }, "end": { "line": 338, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 12136, "end": 12145, "loc": { "start": { "line": 338, "column": 21 }, "end": { "line": 338, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12146, "end": 12147, "loc": { "start": { "line": 338, "column": 31 }, "end": { "line": 338, "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": 12148, "end": 12150, "loc": { "start": { "line": 338, "column": 33 }, "end": { "line": 338, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12150, "end": 12151, "loc": { "start": { "line": 338, "column": 35 }, "end": { "line": 338, "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": 12157, "end": 12161, "loc": { "start": { "line": 339, "column": 4 }, "end": { "line": 339, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12161, "end": 12162, "loc": { "start": { "line": 339, "column": 8 }, "end": { "line": 339, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 12162, "end": 12173, "loc": { "start": { "line": 339, "column": 9 }, "end": { "line": 339, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12173, "end": 12174, "loc": { "start": { "line": 339, "column": 20 }, "end": { "line": 339, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 12174, "end": 12183, "loc": { "start": { "line": 339, "column": 21 }, "end": { "line": 339, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12184, "end": 12185, "loc": { "start": { "line": 339, "column": 31 }, "end": { "line": 339, "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": 12186, "end": 12190, "loc": { "start": { "line": 339, "column": 33 }, "end": { "line": 339, "column": 37 } } }, { "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": 339, "column": 37 }, "end": { "line": 339, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMClass", "start": 12191, "end": 12207, "loc": { "start": { "line": 339, "column": 38 }, "end": { "line": 339, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12207, "end": 12208, "loc": { "start": { "line": 339, "column": 54 }, "end": { "line": 339, "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": 12214, "end": 12218, "loc": { "start": { "line": 340, "column": 4 }, "end": { "line": 340, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12218, "end": 12219, "loc": { "start": { "line": 340, "column": 8 }, "end": { "line": 340, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 12219, "end": 12233, "loc": { "start": { "line": 340, "column": 9 }, "end": { "line": 340, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12234, "end": 12235, "loc": { "start": { "line": 340, "column": 24 }, "end": { "line": 340, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12236, "end": 12237, "loc": { "start": { "line": 340, "column": 26 }, "end": { "line": 340, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12237, "end": 12238, "loc": { "start": { "line": 340, "column": 27 }, "end": { "line": 340, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12238, "end": 12239, "loc": { "start": { "line": 340, "column": 28 }, "end": { "line": 340, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12243, "end": 12244, "loc": { "start": { "line": 341, "column": 2 }, "end": { "line": 341, "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": 12250, "end": 12455, "loc": { "start": { "line": 343, "column": 2 }, "end": { "line": 346, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 12459, "end": 12467, "loc": { "start": { "line": 347, "column": 2 }, "end": { "line": 347, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12467, "end": 12468, "loc": { "start": { "line": 347, "column": 10 }, "end": { "line": 347, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "callback", "start": 12468, "end": 12476, "loc": { "start": { "line": 347, "column": 11 }, "end": { "line": 347, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12476, "end": 12477, "loc": { "start": { "line": 347, "column": 19 }, "end": { "line": 347, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12477, "end": 12478, "loc": { "start": { "line": 347, "column": 20 }, "end": { "line": 347, "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": 12484, "end": 12486, "loc": { "start": { "line": 348, "column": 4 }, "end": { "line": 348, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12486, "end": 12487, "loc": { "start": { "line": 348, "column": 6 }, "end": { "line": 348, "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": 12487, "end": 12488, "loc": { "start": { "line": 348, "column": 7 }, "end": { "line": 348, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 12488, "end": 12494, "loc": { "start": { "line": 348, "column": 8 }, "end": { "line": 348, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12494, "end": 12495, "loc": { "start": { "line": 348, "column": 14 }, "end": { "line": 348, "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": 12495, "end": 12520, "loc": { "start": { "line": 348, "column": 15 }, "end": { "line": 348, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12520, "end": 12521, "loc": { "start": { "line": 348, "column": 40 }, "end": { "line": 348, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12521, "end": 12522, "loc": { "start": { "line": 348, "column": 41 }, "end": { "line": 348, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12522, "end": 12523, "loc": { "start": { "line": 348, "column": 42 }, "end": { "line": 348, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 12531, "end": 12538, "loc": { "start": { "line": 349, "column": 6 }, "end": { "line": 349, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12538, "end": 12539, "loc": { "start": { "line": 349, "column": 13 }, "end": { "line": 349, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 12539, "end": 12543, "loc": { "start": { "line": 349, "column": 14 }, "end": { "line": 349, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12543, "end": 12544, "loc": { "start": { "line": 349, "column": 18 }, "end": { "line": 349, "column": 19 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12544, "end": 12545, "loc": { "start": { "line": 349, "column": 19 }, "end": { "line": 349, "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": 12545, "end": 12611, "loc": { "start": { "line": 349, "column": 20 }, "end": { "line": 349, "column": 86 } } }, { "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": 349, "column": 86 }, "end": { "line": 349, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12612, "end": 12613, "loc": { "start": { "line": 349, "column": 87 }, "end": { "line": 349, "column": 88 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12613, "end": 12614, "loc": { "start": { "line": 349, "column": 88 }, "end": { "line": 349, "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": 12622, "end": 12627, "loc": { "start": { "line": 350, "column": 6 }, "end": { "line": 350, "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": 12628, "end": 12631, "loc": { "start": { "line": 350, "column": 12 }, "end": { "line": 350, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 12632, "end": 12637, "loc": { "start": { "line": 350, "column": 16 }, "end": { "line": 350, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12637, "end": 12638, "loc": { "start": { "line": 350, "column": 21 }, "end": { "line": 350, "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": 12638, "end": 12659, "loc": { "start": { "line": 350, "column": 22 }, "end": { "line": 350, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12659, "end": 12660, "loc": { "start": { "line": 350, "column": 43 }, "end": { "line": 350, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12660, "end": 12661, "loc": { "start": { "line": 350, "column": 44 }, "end": { "line": 350, "column": 45 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12667, "end": 12668, "loc": { "start": { "line": 351, "column": 4 }, "end": { "line": 351, "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": 12680, "end": 12686, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 353, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 12687, "end": 12693, "loc": { "start": { "line": 353, "column": 11 }, "end": { "line": 353, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12693, "end": 12694, "loc": { "start": { "line": 353, "column": 17 }, "end": { "line": 353, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keys", "start": 12694, "end": 12698, "loc": { "start": { "line": 353, "column": 18 }, "end": { "line": 353, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12698, "end": 12699, "loc": { "start": { "line": 353, "column": 22 }, "end": { "line": 353, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 12699, "end": 12705, "loc": { "start": { "line": 353, "column": 23 }, "end": { "line": 353, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12705, "end": 12706, "loc": { "start": { "line": 353, "column": 29 }, "end": { "line": 353, "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": 12706, "end": 12731, "loc": { "start": { "line": 353, "column": 30 }, "end": { "line": 353, "column": 55 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12731, "end": 12732, "loc": { "start": { "line": 353, "column": 55 }, "end": { "line": 353, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12732, "end": 12733, "loc": { "start": { "line": 353, "column": 56 }, "end": { "line": 353, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12733, "end": 12734, "loc": { "start": { "line": 353, "column": 57 }, "end": { "line": 353, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 12734, "end": 12741, "loc": { "start": { "line": 353, "column": 58 }, "end": { "line": 353, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12741, "end": 12742, "loc": { "start": { "line": 353, "column": 65 }, "end": { "line": 353, "column": 66 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12742, "end": 12743, "loc": { "start": { "line": 353, "column": 66 }, "end": { "line": 353, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 12743, "end": 12746, "loc": { "start": { "line": 353, "column": 67 }, "end": { "line": 353, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12746, "end": 12747, "loc": { "start": { "line": 353, "column": 70 }, "end": { "line": 353, "column": 71 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12748, "end": 12750, "loc": { "start": { "line": 353, "column": 72 }, "end": { "line": 353, "column": 74 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12751, "end": 12752, "loc": { "start": { "line": 353, "column": 75 }, "end": { "line": 353, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "callback", "start": 12760, "end": 12768, "loc": { "start": { "line": 354, "column": 6 }, "end": { "line": 354, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12768, "end": 12769, "loc": { "start": { "line": 354, "column": 14 }, "end": { "line": 354, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 12769, "end": 12775, "loc": { "start": { "line": 354, "column": 15 }, "end": { "line": 354, "column": 21 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12775, "end": 12776, "loc": { "start": { "line": 354, "column": 21 }, "end": { "line": 354, "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": 12776, "end": 12801, "loc": { "start": { "line": 354, "column": 22 }, "end": { "line": 354, "column": 47 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12801, "end": 12802, "loc": { "start": { "line": 354, "column": 47 }, "end": { "line": 354, "column": 48 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12802, "end": 12803, "loc": { "start": { "line": 354, "column": 48 }, "end": { "line": 354, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 12803, "end": 12806, "loc": { "start": { "line": 354, "column": 49 }, "end": { "line": 354, "column": 52 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12806, "end": 12807, "loc": { "start": { "line": 354, "column": 52 }, "end": { "line": 354, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12807, "end": 12808, "loc": { "start": { "line": 354, "column": 53 }, "end": { "line": 354, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 12809, "end": 12812, "loc": { "start": { "line": 354, "column": 55 }, "end": { "line": 354, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12812, "end": 12813, "loc": { "start": { "line": 354, "column": 58 }, "end": { "line": 354, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12813, "end": 12814, "loc": { "start": { "line": 354, "column": 59 }, "end": { "line": 354, "column": 60 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12820, "end": 12821, "loc": { "start": { "line": 355, "column": 4 }, "end": { "line": 355, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12821, "end": 12822, "loc": { "start": { "line": 355, "column": 5 }, "end": { "line": 355, "column": 6 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12826, "end": 12827, "loc": { "start": { "line": 356, "column": 2 }, "end": { "line": 356, "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": 12833, "end": 13114, "loc": { "start": { "line": 358, "column": 2 }, "end": { "line": 362, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addButtonTheme", "start": 13118, "end": 13132, "loc": { "start": { "line": 363, "column": 2 }, "end": { "line": 363, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13132, "end": 13133, "loc": { "start": { "line": 363, "column": 16 }, "end": { "line": 363, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 13133, "end": 13140, "loc": { "start": { "line": 363, "column": 17 }, "end": { "line": 363, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13140, "end": 13141, "loc": { "start": { "line": 363, "column": 24 }, "end": { "line": 363, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 13142, "end": 13151, "loc": { "start": { "line": 363, "column": 26 }, "end": { "line": 363, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13151, "end": 13152, "loc": { "start": { "line": 363, "column": 35 }, "end": { "line": 363, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13152, "end": 13153, "loc": { "start": { "line": 363, "column": 36 }, "end": { "line": 363, "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": 13159, "end": 13161, "loc": { "start": { "line": 364, "column": 4 }, "end": { "line": 364, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13161, "end": 13162, "loc": { "start": { "line": 364, "column": 6 }, "end": { "line": 364, "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": 13162, "end": 13163, "loc": { "start": { "line": 364, "column": 7 }, "end": { "line": 364, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 13163, "end": 13172, "loc": { "start": { "line": 364, "column": 8 }, "end": { "line": 364, "column": 17 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 13173, "end": 13175, "loc": { "start": { "line": 364, "column": 18 }, "end": { "line": 364, "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": 13176, "end": 13177, "loc": { "start": { "line": 364, "column": 21 }, "end": { "line": 364, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 13177, "end": 13184, "loc": { "start": { "line": 364, "column": 22 }, "end": { "line": 364, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13184, "end": 13185, "loc": { "start": { "line": 364, "column": 29 }, "end": { "line": 364, "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": 13193, "end": 13199, "loc": { "start": { "line": 365, "column": 6 }, "end": { "line": 365, "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": 13200, "end": 13205, "loc": { "start": { "line": 365, "column": 13 }, "end": { "line": 365, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13205, "end": 13206, "loc": { "start": { "line": 365, "column": 18 }, "end": { "line": 365, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 13214, "end": 13221, "loc": { "start": { "line": 367, "column": 4 }, "end": { "line": 367, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13221, "end": 13222, "loc": { "start": { "line": 367, "column": 11 }, "end": { "line": 367, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 13222, "end": 13227, "loc": { "start": { "line": 367, "column": 12 }, "end": { "line": 367, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13227, "end": 13228, "loc": { "start": { "line": 367, "column": 17 }, "end": { "line": 367, "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": 13228, "end": 13231, "loc": { "start": { "line": 367, "column": 18 }, "end": { "line": 367, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13231, "end": 13232, "loc": { "start": { "line": 367, "column": 21 }, "end": { "line": 367, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13232, "end": 13233, "loc": { "start": { "line": 367, "column": 22 }, "end": { "line": 367, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 13233, "end": 13240, "loc": { "start": { "line": 367, "column": 23 }, "end": { "line": 367, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13240, "end": 13241, "loc": { "start": { "line": 367, "column": 30 }, "end": { "line": 367, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 13241, "end": 13247, "loc": { "start": { "line": 367, "column": 31 }, "end": { "line": 367, "column": 37 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13248, "end": 13250, "loc": { "start": { "line": 367, "column": 38 }, "end": { "line": 367, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13251, "end": 13252, "loc": { "start": { "line": 367, "column": 41 }, "end": { "line": 367, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 13260, "end": 13269, "loc": { "start": { "line": 368, "column": 6 }, "end": { "line": 368, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13269, "end": 13270, "loc": { "start": { "line": 368, "column": 15 }, "end": { "line": 368, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 13270, "end": 13275, "loc": { "start": { "line": 368, "column": 16 }, "end": { "line": 368, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13275, "end": 13276, "loc": { "start": { "line": 368, "column": 21 }, "end": { "line": 368, "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": 13276, "end": 13279, "loc": { "start": { "line": 368, "column": 22 }, "end": { "line": 368, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13279, "end": 13280, "loc": { "start": { "line": 368, "column": 25 }, "end": { "line": 368, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13280, "end": 13281, "loc": { "start": { "line": 368, "column": 26 }, "end": { "line": 368, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 13281, "end": 13288, "loc": { "start": { "line": 368, "column": 27 }, "end": { "line": 368, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13288, "end": 13289, "loc": { "start": { "line": 368, "column": 34 }, "end": { "line": 368, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameItem", "start": 13289, "end": 13302, "loc": { "start": { "line": 368, "column": 35 }, "end": { "line": 368, "column": 48 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13303, "end": 13305, "loc": { "start": { "line": 368, "column": 49 }, "end": { "line": 368, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13306, "end": 13307, "loc": { "start": { "line": 368, "column": 52 }, "end": { "line": 368, "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": 13317, "end": 13319, "loc": { "start": { "line": 369, "column": 8 }, "end": { "line": 369, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13319, "end": 13320, "loc": { "start": { "line": 369, "column": 10 }, "end": { "line": 369, "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": 13320, "end": 13321, "loc": { "start": { "line": 369, "column": 11 }, "end": { "line": 369, "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": 13321, "end": 13325, "loc": { "start": { "line": 369, "column": 12 }, "end": { "line": 369, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13325, "end": 13326, "loc": { "start": { "line": 369, "column": 16 }, "end": { "line": 369, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 13326, "end": 13333, "loc": { "start": { "line": 369, "column": 17 }, "end": { "line": 369, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13333, "end": 13334, "loc": { "start": { "line": 369, "column": 24 }, "end": { "line": 369, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13334, "end": 13345, "loc": { "start": { "line": 369, "column": 25 }, "end": { "line": 369, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13345, "end": 13346, "loc": { "start": { "line": 369, "column": 36 }, "end": { "line": 369, "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": 13358, "end": 13362, "loc": { "start": { "line": 370, "column": 10 }, "end": { "line": 370, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13362, "end": 13363, "loc": { "start": { "line": 370, "column": 14 }, "end": { "line": 370, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 13363, "end": 13370, "loc": { "start": { "line": 370, "column": 15 }, "end": { "line": 370, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13370, "end": 13371, "loc": { "start": { "line": 370, "column": 22 }, "end": { "line": 370, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13371, "end": 13382, "loc": { "start": { "line": 370, "column": 23 }, "end": { "line": 370, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13383, "end": 13384, "loc": { "start": { "line": 370, "column": 35 }, "end": { "line": 370, "column": 36 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13385, "end": 13386, "loc": { "start": { "line": 370, "column": 37 }, "end": { "line": 370, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13386, "end": 13387, "loc": { "start": { "line": 370, "column": 38 }, "end": { "line": 370, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13387, "end": 13388, "loc": { "start": { "line": 370, "column": 39 }, "end": { "line": 370, "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": 13400, "end": 13403, "loc": { "start": { "line": 372, "column": 8 }, "end": { "line": 372, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 13404, "end": 13418, "loc": { "start": { "line": 372, "column": 12 }, "end": { "line": 372, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13419, "end": 13420, "loc": { "start": { "line": 372, "column": 27 }, "end": { "line": 372, "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": 13421, "end": 13426, "loc": { "start": { "line": 372, "column": 29 }, "end": { "line": 372, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13426, "end": 13427, "loc": { "start": { "line": 372, "column": 34 }, "end": { "line": 372, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 13441, "end": 13532, "loc": { "start": { "line": 374, "column": 8 }, "end": { "line": 376, "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": 13542, "end": 13546, "loc": { "start": { "line": 377, "column": 8 }, "end": { "line": 377, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13546, "end": 13547, "loc": { "start": { "line": 377, "column": 12 }, "end": { "line": 377, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 13547, "end": 13554, "loc": { "start": { "line": 377, "column": 13 }, "end": { "line": 377, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13554, "end": 13555, "loc": { "start": { "line": 377, "column": 20 }, "end": { "line": 377, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13555, "end": 13566, "loc": { "start": { "line": 377, "column": 21 }, "end": { "line": 377, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13566, "end": 13567, "loc": { "start": { "line": 377, "column": 32 }, "end": { "line": 377, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 13567, "end": 13570, "loc": { "start": { "line": 377, "column": 33 }, "end": { "line": 377, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13570, "end": 13571, "loc": { "start": { "line": 377, "column": 36 }, "end": { "line": 377, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13571, "end": 13582, "loc": { "start": { "line": 377, "column": 37 }, "end": { "line": 377, "column": 48 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13583, "end": 13585, "loc": { "start": { "line": 377, "column": 49 }, "end": { "line": 377, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13586, "end": 13587, "loc": { "start": { "line": 377, "column": 52 }, "end": { "line": 377, "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": 13601, "end": 13603, "loc": { "start": { "line": 379, "column": 10 }, "end": { "line": 379, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13603, "end": 13604, "loc": { "start": { "line": 379, "column": 12 }, "end": { "line": 379, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13604, "end": 13615, "loc": { "start": { "line": 379, "column": 13 }, "end": { "line": 379, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13615, "end": 13616, "loc": { "start": { "line": 379, "column": 24 }, "end": { "line": 379, "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": 13616, "end": 13621, "loc": { "start": { "line": 379, "column": 25 }, "end": { "line": 379, "column": 30 } } }, { "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": 379, "column": 30 }, "end": { "line": 379, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 13622, "end": 13627, "loc": { "start": { "line": 379, "column": 31 }, "end": { "line": 379, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13627, "end": 13628, "loc": { "start": { "line": 379, "column": 36 }, "end": { "line": 379, "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": 13628, "end": 13631, "loc": { "start": { "line": 379, "column": 37 }, "end": { "line": 379, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13631, "end": 13632, "loc": { "start": { "line": 379, "column": 40 }, "end": { "line": 379, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13632, "end": 13633, "loc": { "start": { "line": 379, "column": 41 }, "end": { "line": 379, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 13633, "end": 13641, "loc": { "start": { "line": 379, "column": 42 }, "end": { "line": 379, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13641, "end": 13642, "loc": { "start": { "line": 379, "column": 50 }, "end": { "line": 379, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameItem", "start": 13642, "end": 13655, "loc": { "start": { "line": 379, "column": 51 }, "end": { "line": 379, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13655, "end": 13656, "loc": { "start": { "line": 379, "column": 64 }, "end": { "line": 379, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13656, "end": 13657, "loc": { "start": { "line": 379, "column": 65 }, "end": { "line": 379, "column": 66 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13657, "end": 13658, "loc": { "start": { "line": 379, "column": 66 }, "end": { "line": 379, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 13672, "end": 13686, "loc": { "start": { "line": 380, "column": 12 }, "end": { "line": 380, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13687, "end": 13688, "loc": { "start": { "line": 380, "column": 27 }, "end": { "line": 380, "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": 13689, "end": 13693, "loc": { "start": { "line": 380, "column": 29 }, "end": { "line": 380, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13693, "end": 13694, "loc": { "start": { "line": 380, "column": 33 }, "end": { "line": 380, "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": 13722, "end": 13725, "loc": { "start": { "line": 382, "column": 12 }, "end": { "line": 382, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 13726, "end": 13742, "loc": { "start": { "line": 382, "column": 16 }, "end": { "line": 382, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13743, "end": 13744, "loc": { "start": { "line": 382, "column": 33 }, "end": { "line": 382, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13745, "end": 13756, "loc": { "start": { "line": 382, "column": 35 }, "end": { "line": 382, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13756, "end": 13757, "loc": { "start": { "line": 382, "column": 46 }, "end": { "line": 382, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 13757, "end": 13764, "loc": { "start": { "line": 382, "column": 47 }, "end": { "line": 382, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13764, "end": 13765, "loc": { "start": { "line": 382, "column": 54 }, "end": { "line": 382, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 13765, "end": 13770, "loc": { "start": { "line": 382, "column": 55 }, "end": { "line": 382, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13770, "end": 13771, "loc": { "start": { "line": 382, "column": 60 }, "end": { "line": 382, "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": 13771, "end": 13774, "loc": { "start": { "line": 382, "column": 61 }, "end": { "line": 382, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13774, "end": 13775, "loc": { "start": { "line": 382, "column": 64 }, "end": { "line": 382, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13775, "end": 13776, "loc": { "start": { "line": 382, "column": 65 }, "end": { "line": 382, "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": 13790, "end": 13792, "loc": { "start": { "line": 383, "column": 12 }, "end": { "line": 383, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13792, "end": 13793, "loc": { "start": { "line": 383, "column": 14 }, "end": { "line": 383, "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": 13793, "end": 13794, "loc": { "start": { "line": 383, "column": 15 }, "end": { "line": 383, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 13794, "end": 13810, "loc": { "start": { "line": 383, "column": 16 }, "end": { "line": 383, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13810, "end": 13811, "loc": { "start": { "line": 383, "column": 32 }, "end": { "line": 383, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 13811, "end": 13819, "loc": { "start": { "line": 383, "column": 33 }, "end": { "line": 383, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13819, "end": 13820, "loc": { "start": { "line": 383, "column": 41 }, "end": { "line": 383, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 13820, "end": 13826, "loc": { "start": { "line": 383, "column": 42 }, "end": { "line": 383, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13826, "end": 13827, "loc": { "start": { "line": 383, "column": 48 }, "end": { "line": 383, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13827, "end": 13828, "loc": { "start": { "line": 383, "column": 49 }, "end": { "line": 383, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13828, "end": 13829, "loc": { "start": { "line": 383, "column": 50 }, "end": { "line": 383, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 13845, "end": 13859, "loc": { "start": { "line": 384, "column": 14 }, "end": { "line": 384, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13860, "end": 13861, "loc": { "start": { "line": 384, "column": 29 }, "end": { "line": 384, "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": 13862, "end": 13866, "loc": { "start": { "line": 384, "column": 31 }, "end": { "line": 384, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13866, "end": 13867, "loc": { "start": { "line": 384, "column": 35 }, "end": { "line": 384, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 13883, "end": 13899, "loc": { "start": { "line": 385, "column": 14 }, "end": { "line": 385, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13899, "end": 13900, "loc": { "start": { "line": 385, "column": 30 }, "end": { "line": 385, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 13900, "end": 13904, "loc": { "start": { "line": 385, "column": 31 }, "end": { "line": 385, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13904, "end": 13905, "loc": { "start": { "line": 385, "column": 35 }, "end": { "line": 385, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 13905, "end": 13911, "loc": { "start": { "line": 385, "column": 36 }, "end": { "line": 385, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13911, "end": 13912, "loc": { "start": { "line": 385, "column": 42 }, "end": { "line": 385, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13912, "end": 13913, "loc": { "start": { "line": 385, "column": 43 }, "end": { "line": 385, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13929, "end": 13940, "loc": { "start": { "line": 386, "column": 14 }, "end": { "line": 386, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13940, "end": 13941, "loc": { "start": { "line": 386, "column": 25 }, "end": { "line": 386, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 13941, "end": 13948, "loc": { "start": { "line": 386, "column": 26 }, "end": { "line": 386, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13949, "end": 13950, "loc": { "start": { "line": 386, "column": 34 }, "end": { "line": 386, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 13951, "end": 13967, "loc": { "start": { "line": 386, "column": 36 }, "end": { "line": 386, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13967, "end": 13968, "loc": { "start": { "line": 386, "column": 52 }, "end": { "line": 386, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 13968, "end": 13972, "loc": { "start": { "line": 386, "column": 53 }, "end": { "line": 386, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13972, "end": 13973, "loc": { "start": { "line": 386, "column": 57 }, "end": { "line": 386, "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": 13973, "end": 13976, "loc": { "start": { "line": 386, "column": 58 }, "end": { "line": 386, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13976, "end": 13977, "loc": { "start": { "line": 386, "column": 61 }, "end": { "line": 386, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13977, "end": 13978, "loc": { "start": { "line": 386, "column": 62 }, "end": { "line": 386, "column": 63 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13992, "end": 13993, "loc": { "start": { "line": 387, "column": 12 }, "end": { "line": 387, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14005, "end": 14006, "loc": { "start": { "line": 388, "column": 10 }, "end": { "line": 388, "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": 14018, "end": 14024, "loc": { "start": { "line": 389, "column": 10 }, "end": { "line": 389, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14025, "end": 14036, "loc": { "start": { "line": 389, "column": 17 }, "end": { "line": 389, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14036, "end": 14037, "loc": { "start": { "line": 389, "column": 28 }, "end": { "line": 389, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14047, "end": 14048, "loc": { "start": { "line": 390, "column": 8 }, "end": { "line": 390, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14048, "end": 14049, "loc": { "start": { "line": 390, "column": 9 }, "end": { "line": 390, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14049, "end": 14050, "loc": { "start": { "line": 390, "column": 10 }, "end": { "line": 390, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 14062, "end": 14137, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 394, "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": 14147, "end": 14149, "loc": { "start": { "line": 395, "column": 8 }, "end": { "line": 395, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14149, "end": 14150, "loc": { "start": { "line": 395, "column": 10 }, "end": { "line": 395, "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": 14150, "end": 14151, "loc": { "start": { "line": 395, "column": 11 }, "end": { "line": 395, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 14151, "end": 14165, "loc": { "start": { "line": 395, "column": 12 }, "end": { "line": 395, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14165, "end": 14166, "loc": { "start": { "line": 395, "column": 26 }, "end": { "line": 395, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14166, "end": 14167, "loc": { "start": { "line": 395, "column": 27 }, "end": { "line": 395, "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": 14179, "end": 14183, "loc": { "start": { "line": 396, "column": 10 }, "end": { "line": 396, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14183, "end": 14184, "loc": { "start": { "line": 396, "column": 14 }, "end": { "line": 396, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 14184, "end": 14191, "loc": { "start": { "line": 396, "column": 15 }, "end": { "line": 396, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14191, "end": 14192, "loc": { "start": { "line": 396, "column": 22 }, "end": { "line": 396, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14192, "end": 14203, "loc": { "start": { "line": 396, "column": 23 }, "end": { "line": 396, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14203, "end": 14204, "loc": { "start": { "line": 396, "column": 34 }, "end": { "line": 396, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 14204, "end": 14208, "loc": { "start": { "line": 396, "column": 35 }, "end": { "line": 396, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14208, "end": 14209, "loc": { "start": { "line": 396, "column": 39 }, "end": { "line": 396, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14209, "end": 14210, "loc": { "start": { "line": 396, "column": 40 }, "end": { "line": 396, "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": 14224, "end": 14229, "loc": { "start": { "line": 397, "column": 12 }, "end": { "line": 397, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14229, "end": 14230, "loc": { "start": { "line": 397, "column": 17 }, "end": { "line": 397, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameItem", "start": 14231, "end": 14244, "loc": { "start": { "line": 397, "column": 19 }, "end": { "line": 397, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14244, "end": 14245, "loc": { "start": { "line": 397, "column": 32 }, "end": { "line": 397, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 14259, "end": 14266, "loc": { "start": { "line": 398, "column": 12 }, "end": { "line": 398, "column": 19 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14266, "end": 14267, "loc": { "start": { "line": 398, "column": 19 }, "end": { "line": 398, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 14268, "end": 14275, "loc": { "start": { "line": 398, "column": 21 }, "end": { "line": 398, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14287, "end": 14288, "loc": { "start": { "line": 399, "column": 10 }, "end": { "line": 399, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14288, "end": 14289, "loc": { "start": { "line": 399, "column": 11 }, "end": { "line": 399, "column": 12 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14289, "end": 14290, "loc": { "start": { "line": 399, "column": 12 }, "end": { "line": 399, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14300, "end": 14301, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 400, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14311, "end": 14312, "loc": { "start": { "line": 402, "column": 6 }, "end": { "line": 402, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14312, "end": 14313, "loc": { "start": { "line": 402, "column": 7 }, "end": { "line": 402, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14313, "end": 14314, "loc": { "start": { "line": 402, "column": 8 }, "end": { "line": 402, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14320, "end": 14321, "loc": { "start": { "line": 403, "column": 4 }, "end": { "line": 403, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14321, "end": 14322, "loc": { "start": { "line": 403, "column": 5 }, "end": { "line": 403, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14322, "end": 14323, "loc": { "start": { "line": 403, "column": 6 }, "end": { "line": 403, "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": 14331, "end": 14335, "loc": { "start": { "line": 405, "column": 4 }, "end": { "line": 405, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14335, "end": 14336, "loc": { "start": { "line": 405, "column": 8 }, "end": { "line": 405, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 14336, "end": 14342, "loc": { "start": { "line": 405, "column": 9 }, "end": { "line": 405, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14342, "end": 14343, "loc": { "start": { "line": 405, "column": 15 }, "end": { "line": 405, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14343, "end": 14344, "loc": { "start": { "line": 405, "column": 16 }, "end": { "line": 405, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14344, "end": 14345, "loc": { "start": { "line": 405, "column": 17 }, "end": { "line": 405, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14349, "end": 14350, "loc": { "start": { "line": 406, "column": 2 }, "end": { "line": 406, "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": 14356, "end": 14696, "loc": { "start": { "line": 408, "column": 2 }, "end": { "line": 412, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeButtonTheme", "start": 14700, "end": 14717, "loc": { "start": { "line": 413, "column": 2 }, "end": { "line": 413, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14717, "end": 14718, "loc": { "start": { "line": 413, "column": 19 }, "end": { "line": 413, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 14718, "end": 14725, "loc": { "start": { "line": 413, "column": 20 }, "end": { "line": 413, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14725, "end": 14726, "loc": { "start": { "line": 413, "column": 27 }, "end": { "line": 413, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 14727, "end": 14736, "loc": { "start": { "line": 413, "column": 29 }, "end": { "line": 413, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14736, "end": 14737, "loc": { "start": { "line": 413, "column": 38 }, "end": { "line": 413, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14737, "end": 14738, "loc": { "start": { "line": 413, "column": 39 }, "end": { "line": 413, "column": 40 } } }, { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", "start": 14744, "end": 14824, "loc": { "start": { "line": 414, "column": 4 }, "end": { "line": 416, "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": 14830, "end": 14832, "loc": { "start": { "line": 417, "column": 4 }, "end": { "line": 417, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14832, "end": 14833, "loc": { "start": { "line": 417, "column": 6 }, "end": { "line": 417, "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": 14833, "end": 14834, "loc": { "start": { "line": 417, "column": 7 }, "end": { "line": 417, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 14834, "end": 14841, "loc": { "start": { "line": 417, "column": 8 }, "end": { "line": 417, "column": 15 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 14842, "end": 14844, "loc": { "start": { "line": 417, "column": 16 }, "end": { "line": 417, "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": 14845, "end": 14846, "loc": { "start": { "line": 417, "column": 19 }, "end": { "line": 417, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 14846, "end": 14855, "loc": { "start": { "line": 417, "column": 20 }, "end": { "line": 417, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14855, "end": 14856, "loc": { "start": { "line": 417, "column": 29 }, "end": { "line": 417, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14856, "end": 14857, "loc": { "start": { "line": 417, "column": 30 }, "end": { "line": 417, "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": 14865, "end": 14869, "loc": { "start": { "line": 418, "column": 6 }, "end": { "line": 418, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14869, "end": 14870, "loc": { "start": { "line": 418, "column": 10 }, "end": { "line": 418, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 14870, "end": 14877, "loc": { "start": { "line": 418, "column": 11 }, "end": { "line": 418, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14877, "end": 14878, "loc": { "start": { "line": 418, "column": 18 }, "end": { "line": 418, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14878, "end": 14889, "loc": { "start": { "line": 418, "column": 19 }, "end": { "line": 418, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14890, "end": 14891, "loc": { "start": { "line": 418, "column": 31 }, "end": { "line": 418, "column": 32 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14892, "end": 14893, "loc": { "start": { "line": 418, "column": 33 }, "end": { "line": 418, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14893, "end": 14894, "loc": { "start": { "line": 418, "column": 34 }, "end": { "line": 418, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14894, "end": 14895, "loc": { "start": { "line": 418, "column": 35 }, "end": { "line": 418, "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": 14903, "end": 14907, "loc": { "start": { "line": 419, "column": 6 }, "end": { "line": 419, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14907, "end": 14908, "loc": { "start": { "line": 419, "column": 10 }, "end": { "line": 419, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 14908, "end": 14914, "loc": { "start": { "line": 419, "column": 11 }, "end": { "line": 419, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14914, "end": 14915, "loc": { "start": { "line": 419, "column": 17 }, "end": { "line": 419, "column": 18 } } }, { "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": 419, "column": 18 }, "end": { "line": 419, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14916, "end": 14917, "loc": { "start": { "line": 419, "column": 19 }, "end": { "line": 419, "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": 14925, "end": 14931, "loc": { "start": { "line": 420, "column": 6 }, "end": { "line": 420, "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": 14932, "end": 14937, "loc": { "start": { "line": 420, "column": 13 }, "end": { "line": 420, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14937, "end": 14938, "loc": { "start": { "line": 420, "column": 18 }, "end": { "line": 420, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14944, "end": 14945, "loc": { "start": { "line": 421, "column": 4 }, "end": { "line": 421, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 14953, "end": 15021, "loc": { "start": { "line": 423, "column": 4 }, "end": { "line": 425, "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": 15027, "end": 15029, "loc": { "start": { "line": 426, "column": 4 }, "end": { "line": 426, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15029, "end": 15030, "loc": { "start": { "line": 426, "column": 6 }, "end": { "line": 426, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 15030, "end": 15037, "loc": { "start": { "line": 426, "column": 7 }, "end": { "line": 426, "column": 14 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 15038, "end": 15040, "loc": { "start": { "line": 426, "column": 15 }, "end": { "line": 426, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 15041, "end": 15046, "loc": { "start": { "line": 426, "column": 18 }, "end": { "line": 426, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15046, "end": 15047, "loc": { "start": { "line": 426, "column": 23 }, "end": { "line": 426, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isArray", "start": 15047, "end": 15054, "loc": { "start": { "line": 426, "column": 24 }, "end": { "line": 426, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15054, "end": 15055, "loc": { "start": { "line": 426, "column": 31 }, "end": { "line": 426, "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": 15055, "end": 15059, "loc": { "start": { "line": 426, "column": 32 }, "end": { "line": 426, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15059, "end": 15060, "loc": { "start": { "line": 426, "column": 36 }, "end": { "line": 426, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15060, "end": 15067, "loc": { "start": { "line": 426, "column": 37 }, "end": { "line": 426, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15067, "end": 15068, "loc": { "start": { "line": 426, "column": 44 }, "end": { "line": 426, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15068, "end": 15079, "loc": { "start": { "line": 426, "column": 45 }, "end": { "line": 426, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15079, "end": 15080, "loc": { "start": { "line": 426, "column": 56 }, "end": { "line": 426, "column": 57 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 15081, "end": 15083, "loc": { "start": { "line": 426, "column": 58 }, "end": { "line": 426, "column": 60 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 15084, "end": 15088, "loc": { "start": { "line": 426, "column": 61 }, "end": { "line": 426, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15088, "end": 15089, "loc": { "start": { "line": 426, "column": 65 }, "end": { "line": 426, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15089, "end": 15096, "loc": { "start": { "line": 426, "column": 66 }, "end": { "line": 426, "column": 73 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15096, "end": 15097, "loc": { "start": { "line": 426, "column": 73 }, "end": { "line": 426, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15097, "end": 15108, "loc": { "start": { "line": 426, "column": 74 }, "end": { "line": 426, "column": 85 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15108, "end": 15109, "loc": { "start": { "line": 426, "column": 85 }, "end": { "line": 426, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 15109, "end": 15115, "loc": { "start": { "line": 426, "column": 86 }, "end": { "line": 426, "column": 92 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15115, "end": 15116, "loc": { "start": { "line": 426, "column": 92 }, "end": { "line": 426, "column": 93 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15116, "end": 15117, "loc": { "start": { "line": 426, "column": 93 }, "end": { "line": 426, "column": 94 } } }, { "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": 15125, "end": 15128, "loc": { "start": { "line": 427, "column": 6 }, "end": { "line": 427, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArray", "start": 15129, "end": 15140, "loc": { "start": { "line": 427, "column": 10 }, "end": { "line": 427, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15141, "end": 15142, "loc": { "start": { "line": 427, "column": 22 }, "end": { "line": 427, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 15143, "end": 15150, "loc": { "start": { "line": 427, "column": 24 }, "end": { "line": 427, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15150, "end": 15151, "loc": { "start": { "line": 427, "column": 31 }, "end": { "line": 427, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 15151, "end": 15156, "loc": { "start": { "line": 427, "column": 32 }, "end": { "line": 427, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15156, "end": 15157, "loc": { "start": { "line": 427, "column": 37 }, "end": { "line": 427, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 15157, "end": 15160, "loc": { "start": { "line": 427, "column": 38 }, "end": { "line": 427, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15160, "end": 15161, "loc": { "start": { "line": 427, "column": 41 }, "end": { "line": 427, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15161, "end": 15162, "loc": { "start": { "line": 427, "column": 42 }, "end": { "line": 427, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArray", "start": 15170, "end": 15181, "loc": { "start": { "line": 428, "column": 6 }, "end": { "line": 428, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15181, "end": 15182, "loc": { "start": { "line": 428, "column": 17 }, "end": { "line": 428, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 15182, "end": 15189, "loc": { "start": { "line": 428, "column": 18 }, "end": { "line": 428, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15189, "end": 15190, "loc": { "start": { "line": 428, "column": 25 }, "end": { "line": 428, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15190, "end": 15191, "loc": { "start": { "line": 428, "column": 26 }, "end": { "line": 428, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 15191, "end": 15197, "loc": { "start": { "line": 428, "column": 27 }, "end": { "line": 428, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15197, "end": 15198, "loc": { "start": { "line": 428, "column": 33 }, "end": { "line": 428, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 15199, "end": 15202, "loc": { "start": { "line": 428, "column": 35 }, "end": { "line": 428, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15202, "end": 15203, "loc": { "start": { "line": 428, "column": 38 }, "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": 15204, "end": 15206, "loc": { "start": { "line": 428, "column": 40 }, "end": { "line": 428, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15207, "end": 15208, "loc": { "start": { "line": 428, "column": 43 }, "end": { "line": 428, "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": 15218, "end": 15222, "loc": { "start": { "line": 429, "column": 8 }, "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": 15222, "end": 15223, "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": "options", "start": 15223, "end": 15230, "loc": { "start": { "line": 429, "column": 13 }, "end": { "line": 429, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15230, "end": 15231, "loc": { "start": { "line": 429, "column": 20 }, "end": { "line": 429, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15231, "end": 15242, "loc": { "start": { "line": 429, "column": 21 }, "end": { "line": 429, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15242, "end": 15243, "loc": { "start": { "line": 429, "column": 32 }, "end": { "line": 429, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 15243, "end": 15246, "loc": { "start": { "line": 429, "column": 33 }, "end": { "line": 429, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15246, "end": 15247, "loc": { "start": { "line": 429, "column": 36 }, "end": { "line": 429, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15247, "end": 15248, "loc": { "start": { "line": 429, "column": 37 }, "end": { "line": 429, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15248, "end": 15259, "loc": { "start": { "line": 429, "column": 38 }, "end": { "line": 429, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15259, "end": 15260, "loc": { "start": { "line": 429, "column": 49 }, "end": { "line": 429, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 15261, "end": 15266, "loc": { "start": { "line": 429, "column": 51 }, "end": { "line": 429, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15266, "end": 15267, "loc": { "start": { "line": 429, "column": 56 }, "end": { "line": 429, "column": 57 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15268, "end": 15270, "loc": { "start": { "line": 429, "column": 58 }, "end": { "line": 429, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15271, "end": 15272, "loc": { "start": { "line": 429, "column": 61 }, "end": { "line": 429, "column": 62 } } }, { "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": 15286, "end": 15427, "loc": { "start": { "line": 431, "column": 10 }, "end": { "line": 434, "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": 15439, "end": 15441, "loc": { "start": { "line": 435, "column": 10 }, "end": { "line": 435, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15441, "end": 15442, "loc": { "start": { "line": 435, "column": 12 }, "end": { "line": 435, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15456, "end": 15457, "loc": { "start": { "line": 436, "column": 12 }, "end": { "line": 436, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 15457, "end": 15466, "loc": { "start": { "line": 436, "column": 13 }, "end": { "line": 436, "column": 22 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 15467, "end": 15469, "loc": { "start": { "line": 436, "column": 23 }, "end": { "line": 436, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 15470, "end": 15479, "loc": { "start": { "line": 436, "column": 26 }, "end": { "line": 436, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15479, "end": 15480, "loc": { "start": { "line": 436, "column": 35 }, "end": { "line": 436, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 15480, "end": 15488, "loc": { "start": { "line": 436, "column": 36 }, "end": { "line": 436, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15488, "end": 15489, "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": "buttonTheme", "start": 15489, "end": 15500, "loc": { "start": { "line": 436, "column": 45 }, "end": { "line": 436, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15500, "end": 15501, "loc": { "start": { "line": 436, "column": 56 }, "end": { "line": 436, "column": 57 } } }, { "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": 15501, "end": 15506, "loc": { "start": { "line": 436, "column": 57 }, "end": { "line": 436, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15506, "end": 15507, "loc": { "start": { "line": 436, "column": 62 }, "end": { "line": 436, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15507, "end": 15508, "loc": { "start": { "line": 436, "column": 63 }, "end": { "line": 436, "column": 64 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 15509, "end": 15511, "loc": { "start": { "line": 436, "column": 65 }, "end": { "line": 436, "column": 67 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 15525, "end": 15526, "loc": { "start": { "line": 437, "column": 12 }, "end": { "line": 437, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 15526, "end": 15535, "loc": { "start": { "line": 437, "column": 13 }, "end": { "line": 437, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15547, "end": 15548, "loc": { "start": { "line": 438, "column": 10 }, "end": { "line": 438, "column": 11 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15548, "end": 15549, "loc": { "start": { "line": 438, "column": 11 }, "end": { "line": 438, "column": 12 } } }, { "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": 15563, "end": 15566, "loc": { "start": { "line": 439, "column": 12 }, "end": { "line": 439, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filteredButtonArray", "start": 15567, "end": 15586, "loc": { "start": { "line": 439, "column": 16 }, "end": { "line": 439, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15587, "end": 15588, "loc": { "start": { "line": 439, "column": 36 }, "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": "buttonTheme", "start": 15589, "end": 15600, "loc": { "start": { "line": 439, "column": 38 }, "end": { "line": 439, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15600, "end": 15601, "loc": { "start": { "line": 439, "column": 49 }, "end": { "line": 439, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 15601, "end": 15608, "loc": { "start": { "line": 439, "column": 50 }, "end": { "line": 439, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15608, "end": 15609, "loc": { "start": { "line": 439, "column": 57 }, "end": { "line": 439, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 15609, "end": 15614, "loc": { "start": { "line": 439, "column": 58 }, "end": { "line": 439, "column": 63 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15614, "end": 15615, "loc": { "start": { "line": 439, "column": 63 }, "end": { "line": 439, "column": 64 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 15615, "end": 15618, "loc": { "start": { "line": 439, "column": 64 }, "end": { "line": 439, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15618, "end": 15619, "loc": { "start": { "line": 439, "column": 67 }, "end": { "line": 439, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15619, "end": 15620, "loc": { "start": { "line": 439, "column": 68 }, "end": { "line": 439, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filter", "start": 15620, "end": 15626, "loc": { "start": { "line": 439, "column": 69 }, "end": { "line": 439, "column": 75 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15626, "end": 15627, "loc": { "start": { "line": 439, "column": 75 }, "end": { "line": 439, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 15627, "end": 15631, "loc": { "start": { "line": 439, "column": 76 }, "end": { "line": 439, "column": 80 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15632, "end": 15634, "loc": { "start": { "line": 439, "column": 81 }, "end": { "line": 439, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 15635, "end": 15639, "loc": { "start": { "line": 439, "column": 84 }, "end": { "line": 439, "column": 88 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 15640, "end": 15643, "loc": { "start": { "line": 439, "column": 89 }, "end": { "line": 439, "column": 92 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 15644, "end": 15650, "loc": { "start": { "line": 439, "column": 93 }, "end": { "line": 439, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15650, "end": 15651, "loc": { "start": { "line": 439, "column": 99 }, "end": { "line": 439, "column": 100 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15651, "end": 15652, "loc": { "start": { "line": 439, "column": 100 }, "end": { "line": 439, "column": 101 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 15668, "end": 15765, "loc": { "start": { "line": 441, "column": 12 }, "end": { "line": 443, "column": 15 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 15779, "end": 15781, "loc": { "start": { "line": 444, "column": 12 }, "end": { "line": 444, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15781, "end": 15782, "loc": { "start": { "line": 444, "column": 14 }, "end": { "line": 444, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filteredButtonArray", "start": 15782, "end": 15801, "loc": { "start": { "line": 444, "column": 15 }, "end": { "line": 444, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15801, "end": 15802, "loc": { "start": { "line": 444, "column": 34 }, "end": { "line": 444, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 15802, "end": 15808, "loc": { "start": { "line": 444, "column": 35 }, "end": { "line": 444, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15808, "end": 15809, "loc": { "start": { "line": 444, "column": 41 }, "end": { "line": 444, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15809, "end": 15810, "loc": { "start": { "line": 444, "column": 42 }, "end": { "line": 444, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15826, "end": 15837, "loc": { "start": { "line": 445, "column": 14 }, "end": { "line": 445, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15837, "end": 15838, "loc": { "start": { "line": 445, "column": 25 }, "end": { "line": 445, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 15838, "end": 15845, "loc": { "start": { "line": 445, "column": 26 }, "end": { "line": 445, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15846, "end": 15847, "loc": { "start": { "line": 445, "column": 34 }, "end": { "line": 445, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filteredButtonArray", "start": 15848, "end": 15867, "loc": { "start": { "line": 445, "column": 36 }, "end": { "line": 445, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15867, "end": 15868, "loc": { "start": { "line": 445, "column": 55 }, "end": { "line": 445, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 15868, "end": 15872, "loc": { "start": { "line": 445, "column": 56 }, "end": { "line": 445, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15872, "end": 15873, "loc": { "start": { "line": 445, "column": 60 }, "end": { "line": 445, "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": 15873, "end": 15876, "loc": { "start": { "line": 445, "column": 61 }, "end": { "line": 445, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15876, "end": 15877, "loc": { "start": { "line": 445, "column": 64 }, "end": { "line": 445, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15877, "end": 15878, "loc": { "start": { "line": 445, "column": 65 }, "end": { "line": 445, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15892, "end": 15893, "loc": { "start": { "line": 446, "column": 12 }, "end": { "line": 446, "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": 15894, "end": 15898, "loc": { "start": { "line": 446, "column": 14 }, "end": { "line": 446, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15899, "end": 15900, "loc": { "start": { "line": 446, "column": 19 }, "end": { "line": 446, "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": 15916, "end": 15920, "loc": { "start": { "line": 447, "column": 14 }, "end": { "line": 447, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15920, "end": 15921, "loc": { "start": { "line": 447, "column": 18 }, "end": { "line": 447, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15921, "end": 15928, "loc": { "start": { "line": 447, "column": 19 }, "end": { "line": 447, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15928, "end": 15929, "loc": { "start": { "line": 447, "column": 26 }, "end": { "line": 447, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15929, "end": 15940, "loc": { "start": { "line": 447, "column": 27 }, "end": { "line": 447, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15940, "end": 15941, "loc": { "start": { "line": 447, "column": 38 }, "end": { "line": 447, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "splice", "start": 15941, "end": 15947, "loc": { "start": { "line": 447, "column": 39 }, "end": { "line": 447, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15947, "end": 15948, "loc": { "start": { "line": 447, "column": 45 }, "end": { "line": 447, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 15948, "end": 15953, "loc": { "start": { "line": 447, "column": 46 }, "end": { "line": 447, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15953, "end": 15954, "loc": { "start": { "line": 447, "column": 51 }, "end": { "line": 447, "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": 15955, "end": 15956, "loc": { "start": { "line": 447, "column": 53 }, "end": { "line": 447, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15956, "end": 15957, "loc": { "start": { "line": 447, "column": 54 }, "end": { "line": 447, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15957, "end": 15958, "loc": { "start": { "line": 447, "column": 55 }, "end": { "line": 447, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15974, "end": 15985, "loc": { "start": { "line": 448, "column": 14 }, "end": { "line": 448, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15986, "end": 15987, "loc": { "start": { "line": 448, "column": 26 }, "end": { "line": 448, "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": 15988, "end": 15992, "loc": { "start": { "line": 448, "column": 28 }, "end": { "line": 448, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15992, "end": 15993, "loc": { "start": { "line": 448, "column": 32 }, "end": { "line": 448, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16007, "end": 16008, "loc": { "start": { "line": 449, "column": 12 }, "end": { "line": 449, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16023, "end": 16024, "loc": { "start": { "line": 451, "column": 10 }, "end": { "line": 451, "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": 16038, "end": 16044, "loc": { "start": { "line": 453, "column": 10 }, "end": { "line": 453, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16045, "end": 16056, "loc": { "start": { "line": 453, "column": 17 }, "end": { "line": 453, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16056, "end": 16057, "loc": { "start": { "line": 453, "column": 28 }, "end": { "line": 453, "column": 29 } } }, { "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": 454, "column": 8 }, "end": { "line": 454, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16068, "end": 16069, "loc": { "start": { "line": 454, "column": 9 }, "end": { "line": 454, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16069, "end": 16070, "loc": { "start": { "line": 454, "column": 10 }, "end": { "line": 454, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16078, "end": 16079, "loc": { "start": { "line": 455, "column": 6 }, "end": { "line": 455, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16079, "end": 16080, "loc": { "start": { "line": 455, "column": 7 }, "end": { "line": 455, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16080, "end": 16081, "loc": { "start": { "line": 455, "column": 8 }, "end": { "line": 455, "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": 16091, "end": 16095, "loc": { "start": { "line": 457, "column": 6 }, "end": { "line": 457, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16095, "end": 16096, "loc": { "start": { "line": 457, "column": 10 }, "end": { "line": 457, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 16096, "end": 16102, "loc": { "start": { "line": 457, "column": 11 }, "end": { "line": 457, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16102, "end": 16103, "loc": { "start": { "line": 457, "column": 17 }, "end": { "line": 457, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16103, "end": 16104, "loc": { "start": { "line": 457, "column": 18 }, "end": { "line": 457, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16104, "end": 16105, "loc": { "start": { "line": 457, "column": 19 }, "end": { "line": 457, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16111, "end": 16112, "loc": { "start": { "line": 458, "column": 4 }, "end": { "line": 458, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16116, "end": 16117, "loc": { "start": { "line": 459, "column": 2 }, "end": { "line": 459, "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": 16123, "end": 16326, "loc": { "start": { "line": 461, "column": 2 }, "end": { "line": 464, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonElement", "start": 16330, "end": 16346, "loc": { "start": { "line": 465, "column": 2 }, "end": { "line": 465, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16346, "end": 16347, "loc": { "start": { "line": 465, "column": 18 }, "end": { "line": 465, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 16347, "end": 16353, "loc": { "start": { "line": 465, "column": 19 }, "end": { "line": 465, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16353, "end": 16354, "loc": { "start": { "line": 465, "column": 25 }, "end": { "line": 465, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16354, "end": 16355, "loc": { "start": { "line": 465, "column": 26 }, "end": { "line": 465, "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": 16361, "end": 16364, "loc": { "start": { "line": 466, "column": 4 }, "end": { "line": 466, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 16365, "end": 16371, "loc": { "start": { "line": 466, "column": 8 }, "end": { "line": 466, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16371, "end": 16372, "loc": { "start": { "line": 466, "column": 14 }, "end": { "line": 466, "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": 16380, "end": 16383, "loc": { "start": { "line": 468, "column": 4 }, "end": { "line": 468, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 16384, "end": 16393, "loc": { "start": { "line": 468, "column": 8 }, "end": { "line": 468, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16394, "end": 16395, "loc": { "start": { "line": 468, "column": 18 }, "end": { "line": 468, "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": 16396, "end": 16400, "loc": { "start": { "line": 468, "column": 20 }, "end": { "line": 468, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16400, "end": 16401, "loc": { "start": { "line": 468, "column": 24 }, "end": { "line": 468, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 16401, "end": 16415, "loc": { "start": { "line": 468, "column": 25 }, "end": { "line": 468, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16415, "end": 16416, "loc": { "start": { "line": 468, "column": 39 }, "end": { "line": 468, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 16416, "end": 16422, "loc": { "start": { "line": 468, "column": 40 }, "end": { "line": 468, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16422, "end": 16423, "loc": { "start": { "line": 468, "column": 46 }, "end": { "line": 468, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16423, "end": 16424, "loc": { "start": { "line": 468, "column": 47 }, "end": { "line": 468, "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": 16430, "end": 16432, "loc": { "start": { "line": 469, "column": 4 }, "end": { "line": 469, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16432, "end": 16433, "loc": { "start": { "line": 469, "column": 6 }, "end": { "line": 469, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 16433, "end": 16442, "loc": { "start": { "line": 469, "column": 7 }, "end": { "line": 469, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16442, "end": 16443, "loc": { "start": { "line": 469, "column": 16 }, "end": { "line": 469, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16443, "end": 16444, "loc": { "start": { "line": 469, "column": 17 }, "end": { "line": 469, "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": 16452, "end": 16454, "loc": { "start": { "line": 470, "column": 6 }, "end": { "line": 470, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16454, "end": 16455, "loc": { "start": { "line": 470, "column": 8 }, "end": { "line": 470, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 16455, "end": 16464, "loc": { "start": { "line": 470, "column": 9 }, "end": { "line": 470, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16464, "end": 16465, "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": "length", "start": 16465, "end": 16471, "loc": { "start": { "line": 470, "column": 19 }, "end": { "line": 470, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 16472, "end": 16473, "loc": { "start": { "line": 470, "column": 26 }, "end": { "line": 470, "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": 16474, "end": 16475, "loc": { "start": { "line": 470, "column": 28 }, "end": { "line": 470, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16475, "end": 16476, "loc": { "start": { "line": 470, "column": 29 }, "end": { "line": 470, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16476, "end": 16477, "loc": { "start": { "line": 470, "column": 30 }, "end": { "line": 470, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 16487, "end": 16493, "loc": { "start": { "line": 471, "column": 8 }, "end": { "line": 471, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16494, "end": 16495, "loc": { "start": { "line": 471, "column": 15 }, "end": { "line": 471, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 16496, "end": 16505, "loc": { "start": { "line": 471, "column": 17 }, "end": { "line": 471, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16505, "end": 16506, "loc": { "start": { "line": 471, "column": 26 }, "end": { "line": 471, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16514, "end": 16515, "loc": { "start": { "line": 472, "column": 6 }, "end": { "line": 472, "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": 16516, "end": 16520, "loc": { "start": { "line": 472, "column": 8 }, "end": { "line": 472, "column": 12 } } }, { "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": 472, "column": 13 }, "end": { "line": 472, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 16532, "end": 16538, "loc": { "start": { "line": 473, "column": 8 }, "end": { "line": 473, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16539, "end": 16540, "loc": { "start": { "line": 473, "column": 15 }, "end": { "line": 473, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 16541, "end": 16550, "loc": { "start": { "line": 473, "column": 17 }, "end": { "line": 473, "column": 26 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16550, "end": 16551, "loc": { "start": { "line": 473, "column": 26 }, "end": { "line": 473, "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": 16551, "end": 16552, "loc": { "start": { "line": 473, "column": 27 }, "end": { "line": 473, "column": 28 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16552, "end": 16553, "loc": { "start": { "line": 473, "column": 28 }, "end": { "line": 473, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16553, "end": 16554, "loc": { "start": { "line": 473, "column": 29 }, "end": { "line": 473, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16562, "end": 16563, "loc": { "start": { "line": 474, "column": 6 }, "end": { "line": 474, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16569, "end": 16570, "loc": { "start": { "line": 475, "column": 4 }, "end": { "line": 475, "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": 16578, "end": 16584, "loc": { "start": { "line": 477, "column": 4 }, "end": { "line": 477, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 16585, "end": 16591, "loc": { "start": { "line": 477, "column": 11 }, "end": { "line": 477, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16591, "end": 16592, "loc": { "start": { "line": 477, "column": 17 }, "end": { "line": 477, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16596, "end": 16597, "loc": { "start": { "line": 478, "column": 2 }, "end": { "line": 478, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 16603, "end": 16693, "loc": { "start": { "line": 480, "column": 2 }, "end": { "line": 482, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleCaret", "start": 16697, "end": 16708, "loc": { "start": { "line": 483, "column": 2 }, "end": { "line": 483, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16708, "end": 16709, "loc": { "start": { "line": 483, "column": 13 }, "end": { "line": 483, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16709, "end": 16710, "loc": { "start": { "line": 483, "column": 14 }, "end": { "line": 483, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16710, "end": 16711, "loc": { "start": { "line": 483, "column": 15 }, "end": { "line": 483, "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": 16717, "end": 16719, "loc": { "start": { "line": 484, "column": 4 }, "end": { "line": 484, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16719, "end": 16720, "loc": { "start": { "line": 484, "column": 6 }, "end": { "line": 484, "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": 16720, "end": 16724, "loc": { "start": { "line": 484, "column": 7 }, "end": { "line": 484, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16724, "end": 16725, "loc": { "start": { "line": 484, "column": 11 }, "end": { "line": 484, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 16725, "end": 16732, "loc": { "start": { "line": 484, "column": 12 }, "end": { "line": 484, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16732, "end": 16733, "loc": { "start": { "line": 484, "column": 19 }, "end": { "line": 484, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 16733, "end": 16738, "loc": { "start": { "line": 484, "column": 20 }, "end": { "line": 484, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16738, "end": 16739, "loc": { "start": { "line": 484, "column": 25 }, "end": { "line": 484, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16739, "end": 16740, "loc": { "start": { "line": 484, "column": 26 }, "end": { "line": 484, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 16748, "end": 16755, "loc": { "start": { "line": 485, "column": 6 }, "end": { "line": 485, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16755, "end": 16756, "loc": { "start": { "line": 485, "column": 13 }, "end": { "line": 485, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 16756, "end": 16759, "loc": { "start": { "line": 485, "column": 14 }, "end": { "line": 485, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16759, "end": 16760, "loc": { "start": { "line": 485, "column": 17 }, "end": { "line": 485, "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": 16760, "end": 16784, "loc": { "start": { "line": 485, "column": 18 }, "end": { "line": 485, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16784, "end": 16785, "loc": { "start": { "line": 485, "column": 42 }, "end": { "line": 485, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16785, "end": 16786, "loc": { "start": { "line": 485, "column": 43 }, "end": { "line": 485, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16792, "end": 16793, "loc": { "start": { "line": 486, "column": 4 }, "end": { "line": 486, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 16801, "end": 16809, "loc": { "start": { "line": 488, "column": 4 }, "end": { "line": 488, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16809, "end": 16810, "loc": { "start": { "line": 488, "column": 12 }, "end": { "line": 488, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 16810, "end": 16826, "loc": { "start": { "line": 488, "column": 13 }, "end": { "line": 488, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16826, "end": 16827, "loc": { "start": { "line": 488, "column": 29 }, "end": { "line": 488, "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": 16827, "end": 16834, "loc": { "start": { "line": 488, "column": 30 }, "end": { "line": 488, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16834, "end": 16835, "loc": { "start": { "line": 488, "column": 37 }, "end": { "line": 488, "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": 16836, "end": 16840, "loc": { "start": { "line": 488, "column": 39 }, "end": { "line": 488, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16840, "end": 16841, "loc": { "start": { "line": 488, "column": 43 }, "end": { "line": 488, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 16841, "end": 16858, "loc": { "start": { "line": 488, "column": 44 }, "end": { "line": 488, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16858, "end": 16859, "loc": { "start": { "line": 488, "column": 61 }, "end": { "line": 488, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16859, "end": 16860, "loc": { "start": { "line": 488, "column": 62 }, "end": { "line": 488, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 16866, "end": 16874, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 489, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16874, "end": 16875, "loc": { "start": { "line": 489, "column": 12 }, "end": { "line": 489, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 16875, "end": 16891, "loc": { "start": { "line": 489, "column": 13 }, "end": { "line": 489, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16891, "end": 16892, "loc": { "start": { "line": 489, "column": 29 }, "end": { "line": 489, "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": 16892, "end": 16901, "loc": { "start": { "line": 489, "column": 30 }, "end": { "line": 489, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16901, "end": 16902, "loc": { "start": { "line": 489, "column": 39 }, "end": { "line": 489, "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": 16903, "end": 16907, "loc": { "start": { "line": 489, "column": 41 }, "end": { "line": 489, "column": 45 } } }, { "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": 489, "column": 45 }, "end": { "line": 489, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 16908, "end": 16925, "loc": { "start": { "line": 489, "column": 46 }, "end": { "line": 489, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16925, "end": 16926, "loc": { "start": { "line": 489, "column": 63 }, "end": { "line": 489, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16926, "end": 16927, "loc": { "start": { "line": 489, "column": 64 }, "end": { "line": 489, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 16933, "end": 16941, "loc": { "start": { "line": 490, "column": 4 }, "end": { "line": 490, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16941, "end": 16942, "loc": { "start": { "line": 490, "column": 12 }, "end": { "line": 490, "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": 490, "column": 13 }, "end": { "line": 490, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16958, "end": 16959, "loc": { "start": { "line": 490, "column": 29 }, "end": { "line": 490, "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": 16959, "end": 16969, "loc": { "start": { "line": 490, "column": 30 }, "end": { "line": 490, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16969, "end": 16970, "loc": { "start": { "line": 490, "column": 40 }, "end": { "line": 490, "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": 16971, "end": 16975, "loc": { "start": { "line": 490, "column": 42 }, "end": { "line": 490, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16975, "end": 16976, "loc": { "start": { "line": 490, "column": 46 }, "end": { "line": 490, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 16976, "end": 16993, "loc": { "start": { "line": 490, "column": 47 }, "end": { "line": 490, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16993, "end": 16994, "loc": { "start": { "line": 490, "column": 64 }, "end": { "line": 490, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16994, "end": 16995, "loc": { "start": { "line": 490, "column": 65 }, "end": { "line": 490, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16999, "end": 17000, "loc": { "start": { "line": 491, "column": 2 }, "end": { "line": 491, "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": 17006, "end": 17118, "loc": { "start": { "line": 493, "column": 2 }, "end": { "line": 495, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 17122, "end": 17139, "loc": { "start": { "line": 496, "column": 2 }, "end": { "line": 496, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17139, "end": 17140, "loc": { "start": { "line": 496, "column": 19 }, "end": { "line": 496, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17140, "end": 17145, "loc": { "start": { "line": 496, "column": 20 }, "end": { "line": 496, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17145, "end": 17146, "loc": { "start": { "line": 496, "column": 25 }, "end": { "line": 496, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17146, "end": 17147, "loc": { "start": { "line": 496, "column": 26 }, "end": { "line": 496, "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": 17153, "end": 17156, "loc": { "start": { "line": 497, "column": 4 }, "end": { "line": 497, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 17157, "end": 17170, "loc": { "start": { "line": 497, "column": 8 }, "end": { "line": 497, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17171, "end": 17172, "loc": { "start": { "line": 497, "column": 22 }, "end": { "line": 497, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17173, "end": 17178, "loc": { "start": { "line": 497, "column": 24 }, "end": { "line": 497, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17178, "end": 17179, "loc": { "start": { "line": 497, "column": 29 }, "end": { "line": 497, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 17179, "end": 17185, "loc": { "start": { "line": 497, "column": 30 }, "end": { "line": 497, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17185, "end": 17186, "loc": { "start": { "line": 497, "column": 36 }, "end": { "line": 497, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tagName", "start": 17186, "end": 17193, "loc": { "start": { "line": 497, "column": 37 }, "end": { "line": 497, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17193, "end": 17194, "loc": { "start": { "line": 497, "column": 44 }, "end": { "line": 497, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toLowerCase", "start": 17194, "end": 17205, "loc": { "start": { "line": 497, "column": 45 }, "end": { "line": 497, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17205, "end": 17206, "loc": { "start": { "line": 497, "column": 56 }, "end": { "line": 497, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17206, "end": 17207, "loc": { "start": { "line": 497, "column": 57 }, "end": { "line": 497, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17207, "end": 17208, "loc": { "start": { "line": 497, "column": 58 }, "end": { "line": 497, "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": 17216, "end": 17218, "loc": { "start": { "line": 499, "column": 4 }, "end": { "line": 499, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17218, "end": 17219, "loc": { "start": { "line": 499, "column": 6 }, "end": { "line": 499, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 17227, "end": 17240, "loc": { "start": { "line": 500, "column": 6 }, "end": { "line": 500, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 17241, "end": 17244, "loc": { "start": { "line": 500, "column": 20 }, "end": { "line": 500, "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": 17245, "end": 17255, "loc": { "start": { "line": 500, "column": 24 }, "end": { "line": 500, "column": 34 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 17256, "end": 17258, "loc": { "start": { "line": 500, "column": 35 }, "end": { "line": 500, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 17266, "end": 17279, "loc": { "start": { "line": 501, "column": 6 }, "end": { "line": 501, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 17280, "end": 17283, "loc": { "start": { "line": 501, "column": 20 }, "end": { "line": 501, "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": 17284, "end": 17291, "loc": { "start": { "line": 501, "column": 24 }, "end": { "line": 501, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17297, "end": 17298, "loc": { "start": { "line": 502, "column": 4 }, "end": { "line": 502, "column": 5 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17298, "end": 17299, "loc": { "start": { "line": 502, "column": 5 }, "end": { "line": 502, "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": 17307, "end": 17455, "loc": { "start": { "line": 503, "column": 6 }, "end": { "line": 506, "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": 17463, "end": 17467, "loc": { "start": { "line": 507, "column": 6 }, "end": { "line": 507, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17467, "end": 17468, "loc": { "start": { "line": 507, "column": 10 }, "end": { "line": 507, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPosition", "start": 17468, "end": 17481, "loc": { "start": { "line": 507, "column": 11 }, "end": { "line": 507, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17482, "end": 17483, "loc": { "start": { "line": 507, "column": 25 }, "end": { "line": 507, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17484, "end": 17489, "loc": { "start": { "line": 507, "column": 27 }, "end": { "line": 507, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17489, "end": 17490, "loc": { "start": { "line": 507, "column": 32 }, "end": { "line": 507, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 17490, "end": 17496, "loc": { "start": { "line": 507, "column": 33 }, "end": { "line": 507, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17496, "end": 17497, "loc": { "start": { "line": 507, "column": 39 }, "end": { "line": 507, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "selectionStart", "start": 17497, "end": 17511, "loc": { "start": { "line": 507, "column": 40 }, "end": { "line": 507, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17511, "end": 17512, "loc": { "start": { "line": 507, "column": 54 }, "end": { "line": 507, "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": 17522, "end": 17524, "loc": { "start": { "line": 509, "column": 6 }, "end": { "line": 509, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17524, "end": 17525, "loc": { "start": { "line": 509, "column": 8 }, "end": { "line": 509, "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": 17525, "end": 17529, "loc": { "start": { "line": 509, "column": 9 }, "end": { "line": 509, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17529, "end": 17530, "loc": { "start": { "line": 509, "column": 13 }, "end": { "line": 509, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 17530, "end": 17537, "loc": { "start": { "line": 509, "column": 14 }, "end": { "line": 509, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17537, "end": 17538, "loc": { "start": { "line": 509, "column": 21 }, "end": { "line": 509, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 17538, "end": 17543, "loc": { "start": { "line": 509, "column": 22 }, "end": { "line": 509, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17543, "end": 17544, "loc": { "start": { "line": 509, "column": 27 }, "end": { "line": 509, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17544, "end": 17545, "loc": { "start": { "line": 509, "column": 28 }, "end": { "line": 509, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 17555, "end": 17562, "loc": { "start": { "line": 510, "column": 8 }, "end": { "line": 510, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17562, "end": 17563, "loc": { "start": { "line": 510, "column": 15 }, "end": { "line": 510, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 17563, "end": 17566, "loc": { "start": { "line": 510, "column": 16 }, "end": { "line": 510, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17566, "end": 17567, "loc": { "start": { "line": 510, "column": 19 }, "end": { "line": 510, "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": 17567, "end": 17579, "loc": { "start": { "line": 510, "column": 20 }, "end": { "line": 510, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17579, "end": 17580, "loc": { "start": { "line": 510, "column": 32 }, "end": { "line": 510, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17581, "end": 17586, "loc": { "start": { "line": 510, "column": 34 }, "end": { "line": 510, "column": 39 } } }, { "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": 510, "column": 39 }, "end": { "line": 510, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 17587, "end": 17593, "loc": { "start": { "line": 510, "column": 40 }, "end": { "line": 510, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17593, "end": 17594, "loc": { "start": { "line": 510, "column": 46 }, "end": { "line": 510, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "selectionStart", "start": 17594, "end": 17608, "loc": { "start": { "line": 510, "column": 47 }, "end": { "line": 510, "column": 61 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17608, "end": 17609, "loc": { "start": { "line": 510, "column": 61 }, "end": { "line": 510, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17610, "end": 17615, "loc": { "start": { "line": 510, "column": 63 }, "end": { "line": 510, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17615, "end": 17616, "loc": { "start": { "line": 510, "column": 68 }, "end": { "line": 510, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 17616, "end": 17622, "loc": { "start": { "line": 510, "column": 69 }, "end": { "line": 510, "column": 75 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17622, "end": 17623, "loc": { "start": { "line": 510, "column": 75 }, "end": { "line": 510, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tagName", "start": 17623, "end": 17630, "loc": { "start": { "line": 510, "column": 76 }, "end": { "line": 510, "column": 83 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17630, "end": 17631, "loc": { "start": { "line": 510, "column": 83 }, "end": { "line": 510, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toLowerCase", "start": 17631, "end": 17642, "loc": { "start": { "line": 510, "column": 84 }, "end": { "line": 510, "column": 95 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17642, "end": 17643, "loc": { "start": { "line": 510, "column": 95 }, "end": { "line": 510, "column": 96 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17643, "end": 17644, "loc": { "start": { "line": 510, "column": 96 }, "end": { "line": 510, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17644, "end": 17645, "loc": { "start": { "line": 510, "column": 97 }, "end": { "line": 510, "column": 98 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17645, "end": 17646, "loc": { "start": { "line": 510, "column": 98 }, "end": { "line": 510, "column": 99 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17654, "end": 17655, "loc": { "start": { "line": 511, "column": 6 }, "end": { "line": 511, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17666, "end": 17667, "loc": { "start": { "line": 512, "column": 4 }, "end": { "line": 512, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17671, "end": 17672, "loc": { "start": { "line": 513, "column": 2 }, "end": { "line": 513, "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": 17678, "end": 17798, "loc": { "start": { "line": 515, "column": 2 }, "end": { "line": 517, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 17802, "end": 17808, "loc": { "start": { "line": 518, "column": 2 }, "end": { "line": 518, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17808, "end": 17809, "loc": { "start": { "line": 518, "column": 8 }, "end": { "line": 518, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17809, "end": 17810, "loc": { "start": { "line": 518, "column": 9 }, "end": { "line": 518, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17810, "end": 17811, "loc": { "start": { "line": 518, "column": 10 }, "end": { "line": 518, "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": 17817, "end": 17819, "loc": { "start": { "line": 519, "column": 4 }, "end": { "line": 519, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17819, "end": 17820, "loc": { "start": { "line": 519, "column": 6 }, "end": { "line": 519, "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": 17820, "end": 17824, "loc": { "start": { "line": 519, "column": 7 }, "end": { "line": 519, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17824, "end": 17825, "loc": { "start": { "line": 519, "column": 11 }, "end": { "line": 519, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 17825, "end": 17832, "loc": { "start": { "line": 519, "column": 12 }, "end": { "line": 519, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17832, "end": 17833, "loc": { "start": { "line": 519, "column": 19 }, "end": { "line": 519, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 17833, "end": 17838, "loc": { "start": { "line": 519, "column": 20 }, "end": { "line": 519, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17838, "end": 17839, "loc": { "start": { "line": 519, "column": 25 }, "end": { "line": 519, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17839, "end": 17840, "loc": { "start": { "line": 519, "column": 26 }, "end": { "line": 519, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 17848, "end": 17855, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 520, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17855, "end": 17856, "loc": { "start": { "line": 520, "column": 13 }, "end": { "line": 520, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 17856, "end": 17859, "loc": { "start": { "line": 520, "column": 14 }, "end": { "line": 520, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17859, "end": 17860, "loc": { "start": { "line": 520, "column": 17 }, "end": { "line": 520, "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": 17860, "end": 17873, "loc": { "start": { "line": 520, "column": 18 }, "end": { "line": 520, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17873, "end": 17874, "loc": { "start": { "line": 520, "column": 31 }, "end": { "line": 520, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17874, "end": 17875, "loc": { "start": { "line": 520, "column": 32 }, "end": { "line": 520, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17881, "end": 17882, "loc": { "start": { "line": 521, "column": 4 }, "end": { "line": 521, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 17890, "end": 17925, "loc": { "start": { "line": 523, "column": 4 }, "end": { "line": 525, "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": 17931, "end": 17935, "loc": { "start": { "line": 526, "column": 4 }, "end": { "line": 526, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17935, "end": 17936, "loc": { "start": { "line": 526, "column": 8 }, "end": { "line": 526, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleCaret", "start": 17936, "end": 17947, "loc": { "start": { "line": 526, "column": 9 }, "end": { "line": 526, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17947, "end": 17948, "loc": { "start": { "line": 526, "column": 20 }, "end": { "line": 526, "column": 21 } } }, { "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": 21 }, "end": { "line": 526, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17949, "end": 17950, "loc": { "start": { "line": 526, "column": 22 }, "end": { "line": 526, "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": 17958, "end": 17960, "loc": { "start": { "line": 528, "column": 4 }, "end": { "line": 528, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17960, "end": 17961, "loc": { "start": { "line": 528, "column": 6 }, "end": { "line": 528, "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": 17961, "end": 17967, "loc": { "start": { "line": 528, "column": 7 }, "end": { "line": 528, "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": 17968, "end": 17972, "loc": { "start": { "line": 528, "column": 14 }, "end": { "line": 528, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17972, "end": 17973, "loc": { "start": { "line": 528, "column": 18 }, "end": { "line": 528, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 17973, "end": 17980, "loc": { "start": { "line": 528, "column": 19 }, "end": { "line": 528, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17980, "end": 17981, "loc": { "start": { "line": 528, "column": 26 }, "end": { "line": 528, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 17981, "end": 17987, "loc": { "start": { "line": 528, "column": 27 }, "end": { "line": 528, "column": 33 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 17988, "end": 17991, "loc": { "start": { "line": 528, "column": 34 }, "end": { "line": 528, "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": 17992, "end": 18002, "loc": { "start": { "line": 528, "column": 38 }, "end": { "line": 528, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18002, "end": 18003, "loc": { "start": { "line": 528, "column": 48 }, "end": { "line": 528, "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": 18011, "end": 18015, "loc": { "start": { "line": 529, "column": 6 }, "end": { "line": 529, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18015, "end": 18016, "loc": { "start": { "line": 529, "column": 10 }, "end": { "line": 529, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18016, "end": 18023, "loc": { "start": { "line": 529, "column": 11 }, "end": { "line": 529, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18023, "end": 18024, "loc": { "start": { "line": 529, "column": 18 }, "end": { "line": 529, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 18024, "end": 18030, "loc": { "start": { "line": 529, "column": 19 }, "end": { "line": 529, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18030, "end": 18031, "loc": { "start": { "line": 529, "column": 25 }, "end": { "line": 529, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18031, "end": 18032, "loc": { "start": { "line": 529, "column": 26 }, "end": { "line": 529, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18032, "end": 18033, "loc": { "start": { "line": 529, "column": 27 }, "end": { "line": 529, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18037, "end": 18038, "loc": { "start": { "line": 530, "column": 2 }, "end": { "line": 530, "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": 18044, "end": 18162, "loc": { "start": { "line": 532, "column": 2 }, "end": { "line": 534, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 18166, "end": 18174, "loc": { "start": { "line": 535, "column": 2 }, "end": { "line": 535, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18174, "end": 18175, "loc": { "start": { "line": 535, "column": 10 }, "end": { "line": 535, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18175, "end": 18176, "loc": { "start": { "line": 535, "column": 11 }, "end": { "line": 535, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18176, "end": 18177, "loc": { "start": { "line": 535, "column": 12 }, "end": { "line": 535, "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": 18183, "end": 18185, "loc": { "start": { "line": 536, "column": 4 }, "end": { "line": 536, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18185, "end": 18186, "loc": { "start": { "line": 536, "column": 6 }, "end": { "line": 536, "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": 18186, "end": 18192, "loc": { "start": { "line": 536, "column": 7 }, "end": { "line": 536, "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": 18193, "end": 18197, "loc": { "start": { "line": 536, "column": 14 }, "end": { "line": 536, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18197, "end": 18198, "loc": { "start": { "line": 536, "column": 18 }, "end": { "line": 536, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18198, "end": 18205, "loc": { "start": { "line": 536, "column": 19 }, "end": { "line": 536, "column": 26 } } }, { "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": 536, "column": 26 }, "end": { "line": 536, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 18206, "end": 18214, "loc": { "start": { "line": 536, "column": 27 }, "end": { "line": 536, "column": 35 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 18215, "end": 18218, "loc": { "start": { "line": 536, "column": 36 }, "end": { "line": 536, "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": 18219, "end": 18229, "loc": { "start": { "line": 536, "column": 40 }, "end": { "line": 536, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18229, "end": 18230, "loc": { "start": { "line": 536, "column": 50 }, "end": { "line": 536, "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": 18238, "end": 18242, "loc": { "start": { "line": 537, "column": 6 }, "end": { "line": 537, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18242, "end": 18243, "loc": { "start": { "line": 537, "column": 10 }, "end": { "line": 537, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18243, "end": 18250, "loc": { "start": { "line": 537, "column": 11 }, "end": { "line": 537, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18250, "end": 18251, "loc": { "start": { "line": 537, "column": 18 }, "end": { "line": 537, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 18251, "end": 18259, "loc": { "start": { "line": 537, "column": 19 }, "end": { "line": 537, "column": 27 } } }, { "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": 27 }, "end": { "line": 537, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18260, "end": 18261, "loc": { "start": { "line": 537, "column": 28 }, "end": { "line": 537, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18261, "end": 18262, "loc": { "start": { "line": 537, "column": 29 }, "end": { "line": 537, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18266, "end": 18267, "loc": { "start": { "line": 538, "column": 2 }, "end": { "line": 538, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 18273, "end": 18305, "loc": { "start": { "line": 540, "column": 2 }, "end": { "line": 542, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerModule", "start": 18309, "end": 18323, "loc": { "start": { "line": 543, "column": 2 }, "end": { "line": 543, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18324, "end": 18325, "loc": { "start": { "line": 543, "column": 17 }, "end": { "line": 543, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18326, "end": 18327, "loc": { "start": { "line": 543, "column": 19 }, "end": { "line": 543, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 18327, "end": 18331, "loc": { "start": { "line": 543, "column": 20 }, "end": { "line": 543, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18331, "end": 18332, "loc": { "start": { "line": 543, "column": 24 }, "end": { "line": 543, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initCallback", "start": 18333, "end": 18345, "loc": { "start": { "line": 543, "column": 26 }, "end": { "line": 543, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18345, "end": 18346, "loc": { "start": { "line": 543, "column": 38 }, "end": { "line": 543, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18347, "end": 18349, "loc": { "start": { "line": 543, "column": 40 }, "end": { "line": 543, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18350, "end": 18351, "loc": { "start": { "line": 543, "column": 43 }, "end": { "line": 543, "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": 18357, "end": 18359, "loc": { "start": { "line": 544, "column": 4 }, "end": { "line": 544, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18359, "end": 18360, "loc": { "start": { "line": 544, "column": 6 }, "end": { "line": 544, "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": 18360, "end": 18361, "loc": { "start": { "line": 544, "column": 7 }, "end": { "line": 544, "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": 18361, "end": 18365, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 544, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18365, "end": 18366, "loc": { "start": { "line": 544, "column": 12 }, "end": { "line": 544, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 18366, "end": 18373, "loc": { "start": { "line": 544, "column": 13 }, "end": { "line": 544, "column": 20 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18373, "end": 18374, "loc": { "start": { "line": 544, "column": 20 }, "end": { "line": 544, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 18374, "end": 18378, "loc": { "start": { "line": 544, "column": 21 }, "end": { "line": 544, "column": 25 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18378, "end": 18379, "loc": { "start": { "line": 544, "column": 25 }, "end": { "line": 544, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18379, "end": 18380, "loc": { "start": { "line": 544, "column": 26 }, "end": { "line": 544, "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": 18388, "end": 18392, "loc": { "start": { "line": 545, "column": 6 }, "end": { "line": 545, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18392, "end": 18393, "loc": { "start": { "line": 545, "column": 10 }, "end": { "line": 545, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 18393, "end": 18400, "loc": { "start": { "line": 545, "column": 11 }, "end": { "line": 545, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18400, "end": 18401, "loc": { "start": { "line": 545, "column": 18 }, "end": { "line": 545, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 18401, "end": 18405, "loc": { "start": { "line": 545, "column": 19 }, "end": { "line": 545, "column": 23 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18405, "end": 18406, "loc": { "start": { "line": 545, "column": 23 }, "end": { "line": 545, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18407, "end": 18408, "loc": { "start": { "line": 545, "column": 25 }, "end": { "line": 545, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18409, "end": 18410, "loc": { "start": { "line": 545, "column": 27 }, "end": { "line": 545, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18410, "end": 18411, "loc": { "start": { "line": 545, "column": 28 }, "end": { "line": 545, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18411, "end": 18412, "loc": { "start": { "line": 545, "column": 29 }, "end": { "line": 545, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initCallback", "start": 18420, "end": 18432, "loc": { "start": { "line": 547, "column": 4 }, "end": { "line": 547, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18432, "end": 18433, "loc": { "start": { "line": 547, "column": 16 }, "end": { "line": 547, "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": 18433, "end": 18437, "loc": { "start": { "line": 547, "column": 17 }, "end": { "line": 547, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18437, "end": 18438, "loc": { "start": { "line": 547, "column": 21 }, "end": { "line": 547, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 18438, "end": 18445, "loc": { "start": { "line": 547, "column": 22 }, "end": { "line": 547, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18445, "end": 18446, "loc": { "start": { "line": 547, "column": 29 }, "end": { "line": 547, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 18446, "end": 18450, "loc": { "start": { "line": 547, "column": 30 }, "end": { "line": 547, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18450, "end": 18451, "loc": { "start": { "line": 547, "column": 34 }, "end": { "line": 547, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18451, "end": 18452, "loc": { "start": { "line": 547, "column": 35 }, "end": { "line": 547, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18452, "end": 18453, "loc": { "start": { "line": 547, "column": 36 }, "end": { "line": 547, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18457, "end": 18458, "loc": { "start": { "line": 548, "column": 2 }, "end": { "line": 548, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 18464, "end": 18493, "loc": { "start": { "line": 550, "column": 2 }, "end": { "line": 552, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loadModules", "start": 18497, "end": 18508, "loc": { "start": { "line": 553, "column": 2 }, "end": { "line": 553, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18508, "end": 18509, "loc": { "start": { "line": 553, "column": 13 }, "end": { "line": 553, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18509, "end": 18510, "loc": { "start": { "line": 553, "column": 14 }, "end": { "line": 553, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18510, "end": 18511, "loc": { "start": { "line": 553, "column": 15 }, "end": { "line": 553, "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": 18517, "end": 18519, "loc": { "start": { "line": 554, "column": 4 }, "end": { "line": 554, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18519, "end": 18520, "loc": { "start": { "line": 554, "column": 6 }, "end": { "line": 554, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 18520, "end": 18525, "loc": { "start": { "line": 554, "column": 7 }, "end": { "line": 554, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18525, "end": 18526, "loc": { "start": { "line": 554, "column": 12 }, "end": { "line": 554, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isArray", "start": 18526, "end": 18533, "loc": { "start": { "line": 554, "column": 13 }, "end": { "line": 554, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18533, "end": 18534, "loc": { "start": { "line": 554, "column": 20 }, "end": { "line": 554, "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": 18534, "end": 18538, "loc": { "start": { "line": 554, "column": 21 }, "end": { "line": 554, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18538, "end": 18539, "loc": { "start": { "line": 554, "column": 25 }, "end": { "line": 554, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18539, "end": 18546, "loc": { "start": { "line": 554, "column": 26 }, "end": { "line": 554, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18546, "end": 18547, "loc": { "start": { "line": 554, "column": 33 }, "end": { "line": 554, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 18547, "end": 18554, "loc": { "start": { "line": 554, "column": 34 }, "end": { "line": 554, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18554, "end": 18555, "loc": { "start": { "line": 554, "column": 41 }, "end": { "line": 554, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18555, "end": 18556, "loc": { "start": { "line": 554, "column": 42 }, "end": { "line": 554, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18556, "end": 18557, "loc": { "start": { "line": 554, "column": 43 }, "end": { "line": 554, "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": 18565, "end": 18569, "loc": { "start": { "line": 555, "column": 6 }, "end": { "line": 555, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18569, "end": 18570, "loc": { "start": { "line": 555, "column": 10 }, "end": { "line": 555, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18570, "end": 18577, "loc": { "start": { "line": 555, "column": 11 }, "end": { "line": 555, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18577, "end": 18578, "loc": { "start": { "line": 555, "column": 18 }, "end": { "line": 555, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 18578, "end": 18585, "loc": { "start": { "line": 555, "column": 19 }, "end": { "line": 555, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18585, "end": 18586, "loc": { "start": { "line": 555, "column": 26 }, "end": { "line": 555, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 18586, "end": 18593, "loc": { "start": { "line": 555, "column": 27 }, "end": { "line": 555, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18593, "end": 18594, "loc": { "start": { "line": 555, "column": 34 }, "end": { "line": 555, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Module", "start": 18594, "end": 18600, "loc": { "start": { "line": 555, "column": 35 }, "end": { "line": 555, "column": 41 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18601, "end": 18603, "loc": { "start": { "line": 555, "column": 42 }, "end": { "line": 555, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18604, "end": 18605, "loc": { "start": { "line": 555, "column": 45 }, "end": { "line": 555, "column": 46 } } }, { "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": 18615, "end": 18618, "loc": { "start": { "line": 556, "column": 8 }, "end": { "line": 556, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 18619, "end": 18625, "loc": { "start": { "line": 556, "column": 12 }, "end": { "line": 556, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18626, "end": 18627, "loc": { "start": { "line": 556, "column": 19 }, "end": { "line": 556, "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": 18628, "end": 18631, "loc": { "start": { "line": 556, "column": 21 }, "end": { "line": 556, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Module", "start": 18632, "end": 18638, "loc": { "start": { "line": 556, "column": 25 }, "end": { "line": 556, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18638, "end": 18639, "loc": { "start": { "line": 556, "column": 31 }, "end": { "line": 556, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18639, "end": 18640, "loc": { "start": { "line": 556, "column": 32 }, "end": { "line": 556, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18640, "end": 18641, "loc": { "start": { "line": 556, "column": 33 }, "end": { "line": 556, "column": 34 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 18653, "end": 18679, "loc": { "start": { "line": 558, "column": 8 }, "end": { "line": 558, "column": 34 } } }, { "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": 18689, "end": 18691, "loc": { "start": { "line": 559, "column": 8 }, "end": { "line": 559, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18691, "end": 18692, "loc": { "start": { "line": 559, "column": 10 }, "end": { "line": 559, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 18692, "end": 18698, "loc": { "start": { "line": 559, "column": 11 }, "end": { "line": 559, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18698, "end": 18699, "loc": { "start": { "line": 559, "column": 17 }, "end": { "line": 559, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 18699, "end": 18710, "loc": { "start": { "line": 559, "column": 18 }, "end": { "line": 559, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18710, "end": 18711, "loc": { "start": { "line": 559, "column": 29 }, "end": { "line": 559, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 18711, "end": 18715, "loc": { "start": { "line": 559, "column": 30 }, "end": { "line": 559, "column": 34 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 18716, "end": 18718, "loc": { "start": { "line": 559, "column": 35 }, "end": { "line": 559, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 18719, "end": 18725, "loc": { "start": { "line": 559, "column": 38 }, "end": { "line": 559, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18725, "end": 18726, "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": "constructor", "start": 18726, "end": 18737, "loc": { "start": { "line": 559, "column": 45 }, "end": { "line": 559, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18737, "end": 18738, "loc": { "start": { "line": 559, "column": 56 }, "end": { "line": 559, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 18738, "end": 18742, "loc": { "start": { "line": 559, "column": 57 }, "end": { "line": 559, "column": 61 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 18743, "end": 18746, "loc": { "start": { "line": 559, "column": 62 }, "end": { "line": 559, "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": 18747, "end": 18757, "loc": { "start": { "line": 559, "column": 66 }, "end": { "line": 559, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18757, "end": 18758, "loc": { "start": { "line": 559, "column": 76 }, "end": { "line": 559, "column": 77 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18758, "end": 18759, "loc": { "start": { "line": 559, "column": 77 }, "end": { "line": 559, "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": 18771, "end": 18775, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18775, "end": 18776, "loc": { "start": { "line": 560, "column": 14 }, "end": { "line": 560, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 18776, "end": 18787, "loc": { "start": { "line": 560, "column": 15 }, "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": 18787, "end": 18788, "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": "classList", "start": 18788, "end": 18797, "loc": { "start": { "line": 560, "column": 27 }, "end": { "line": 560, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18797, "end": 18798, "loc": { "start": { "line": 560, "column": 36 }, "end": { "line": 560, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 18798, "end": 18801, "loc": { "start": { "line": 560, "column": 37 }, "end": { "line": 560, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18801, "end": 18802, "loc": { "start": { "line": 560, "column": 40 }, "end": { "line": 560, "column": 41 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18816, "end": 18817, "loc": { "start": { "line": 561, "column": 12 }, "end": { "line": 561, "column": 13 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "module-", "start": 18817, "end": 18824, "loc": { "start": { "line": 561, "column": 13 }, "end": { "line": 561, "column": 20 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18824, "end": 18826, "loc": { "start": { "line": 561, "column": 20 }, "end": { "line": 561, "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": 18826, "end": 18830, "loc": { "start": { "line": 561, "column": 22 }, "end": { "line": 561, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18830, "end": 18831, "loc": { "start": { "line": 561, "column": 26 }, "end": { "line": 561, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 18831, "end": 18840, "loc": { "start": { "line": 561, "column": 27 }, "end": { "line": 561, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18840, "end": 18841, "loc": { "start": { "line": 561, "column": 36 }, "end": { "line": 561, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camelCase", "start": 18841, "end": 18850, "loc": { "start": { "line": 561, "column": 37 }, "end": { "line": 561, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18850, "end": 18851, "loc": { "start": { "line": 561, "column": 46 }, "end": { "line": 561, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 18851, "end": 18857, "loc": { "start": { "line": 561, "column": 47 }, "end": { "line": 561, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18857, "end": 18858, "loc": { "start": { "line": 561, "column": 53 }, "end": { "line": 561, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 18858, "end": 18869, "loc": { "start": { "line": 561, "column": 54 }, "end": { "line": 561, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18869, "end": 18870, "loc": { "start": { "line": 561, "column": 65 }, "end": { "line": 561, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 18870, "end": 18874, "loc": { "start": { "line": 561, "column": 66 }, "end": { "line": 561, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18874, "end": 18875, "loc": { "start": { "line": 561, "column": 70 }, "end": { "line": 561, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18875, "end": 18876, "loc": { "start": { "line": 561, "column": 71 }, "end": { "line": 561, "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": 18876, "end": 18876, "loc": { "start": { "line": 561, "column": 72 }, "end": { "line": 561, "column": 72 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18876, "end": 18877, "loc": { "start": { "line": 561, "column": 72 }, "end": { "line": 561, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18889, "end": 18890, "loc": { "start": { "line": 562, "column": 10 }, "end": { "line": 562, "column": 11 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18890, "end": 18891, "loc": { "start": { "line": 562, "column": 11 }, "end": { "line": 562, "column": 12 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18901, "end": 18902, "loc": { "start": { "line": 563, "column": 8 }, "end": { "line": 563, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 18914, "end": 18920, "loc": { "start": { "line": 565, "column": 8 }, "end": { "line": 565, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18920, "end": 18921, "loc": { "start": { "line": 565, "column": 14 }, "end": { "line": 565, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "init", "start": 18921, "end": 18925, "loc": { "start": { "line": 565, "column": 15 }, "end": { "line": 565, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18925, "end": 18926, "loc": { "start": { "line": 565, "column": 19 }, "end": { "line": 565, "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": 18926, "end": 18930, "loc": { "start": { "line": 565, "column": 20 }, "end": { "line": 565, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18930, "end": 18931, "loc": { "start": { "line": 565, "column": 24 }, "end": { "line": 565, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18931, "end": 18932, "loc": { "start": { "line": 565, "column": 25 }, "end": { "line": 565, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18940, "end": 18941, "loc": { "start": { "line": 566, "column": 6 }, "end": { "line": 566, "column": 7 } } }, { "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": 7 }, "end": { "line": 566, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18942, "end": 18943, "loc": { "start": { "line": 566, "column": 8 }, "end": { "line": 566, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18949, "end": 18950, "loc": { "start": { "line": 567, "column": 4 }, "end": { "line": 567, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18954, "end": 18955, "loc": { "start": { "line": 568, "column": 2 }, "end": { "line": 568, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 18961, "end": 18993, "loc": { "start": { "line": 570, "column": 2 }, "end": { "line": 572, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getModuleProp", "start": 18997, "end": 19010, "loc": { "start": { "line": 573, "column": 2 }, "end": { "line": 573, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19011, "end": 19012, "loc": { "start": { "line": 573, "column": 16 }, "end": { "line": 573, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19013, "end": 19014, "loc": { "start": { "line": 573, "column": 18 }, "end": { "line": 573, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 19014, "end": 19018, "loc": { "start": { "line": 573, "column": 19 }, "end": { "line": 573, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19018, "end": 19019, "loc": { "start": { "line": 573, "column": 23 }, "end": { "line": 573, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prop", "start": 19020, "end": 19024, "loc": { "start": { "line": 573, "column": 25 }, "end": { "line": 573, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19024, "end": 19025, "loc": { "start": { "line": 573, "column": 29 }, "end": { "line": 573, "column": 30 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19026, "end": 19028, "loc": { "start": { "line": 573, "column": 31 }, "end": { "line": 573, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19029, "end": 19030, "loc": { "start": { "line": 573, "column": 34 }, "end": { "line": 573, "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": 19036, "end": 19038, "loc": { "start": { "line": 574, "column": 4 }, "end": { "line": 574, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19038, "end": 19039, "loc": { "start": { "line": 574, "column": 6 }, "end": { "line": 574, "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": 19039, "end": 19040, "loc": { "start": { "line": 574, "column": 7 }, "end": { "line": 574, "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": 19040, "end": 19044, "loc": { "start": { "line": 574, "column": 8 }, "end": { "line": 574, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19044, "end": 19045, "loc": { "start": { "line": 574, "column": 12 }, "end": { "line": 574, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 19045, "end": 19052, "loc": { "start": { "line": 574, "column": 13 }, "end": { "line": 574, "column": 20 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19052, "end": 19053, "loc": { "start": { "line": 574, "column": 20 }, "end": { "line": 574, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 19053, "end": 19057, "loc": { "start": { "line": 574, "column": 21 }, "end": { "line": 574, "column": 25 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19057, "end": 19058, "loc": { "start": { "line": 574, "column": 25 }, "end": { "line": 574, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19058, "end": 19059, "loc": { "start": { "line": 574, "column": 26 }, "end": { "line": 574, "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": 19067, "end": 19073, "loc": { "start": { "line": 575, "column": 6 }, "end": { "line": 575, "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": 19074, "end": 19079, "loc": { "start": { "line": 575, "column": 13 }, "end": { "line": 575, "column": 18 } } }, { "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": 575, "column": 18 }, "end": { "line": 575, "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": 19092, "end": 19098, "loc": { "start": { "line": 577, "column": 4 }, "end": { "line": 577, "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": 19099, "end": 19103, "loc": { "start": { "line": 577, "column": 11 }, "end": { "line": 577, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19103, "end": 19104, "loc": { "start": { "line": 577, "column": 15 }, "end": { "line": 577, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 19104, "end": 19111, "loc": { "start": { "line": 577, "column": 16 }, "end": { "line": 577, "column": 23 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19111, "end": 19112, "loc": { "start": { "line": 577, "column": 23 }, "end": { "line": 577, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 19112, "end": 19116, "loc": { "start": { "line": 577, "column": 24 }, "end": { "line": 577, "column": 28 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19116, "end": 19117, "loc": { "start": { "line": 577, "column": 28 }, "end": { "line": 577, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19117, "end": 19118, "loc": { "start": { "line": 577, "column": 29 }, "end": { "line": 577, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prop", "start": 19118, "end": 19122, "loc": { "start": { "line": 577, "column": 30 }, "end": { "line": 577, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19122, "end": 19123, "loc": { "start": { "line": 577, "column": 34 }, "end": { "line": 577, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19123, "end": 19124, "loc": { "start": { "line": 577, "column": 35 }, "end": { "line": 577, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19128, "end": 19129, "loc": { "start": { "line": 578, "column": 2 }, "end": { "line": 578, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 19135, "end": 19166, "loc": { "start": { "line": 580, "column": 2 }, "end": { "line": 582, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getModulesList", "start": 19170, "end": 19184, "loc": { "start": { "line": 583, "column": 2 }, "end": { "line": 583, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19185, "end": 19186, "loc": { "start": { "line": 583, "column": 17 }, "end": { "line": 583, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19187, "end": 19188, "loc": { "start": { "line": 583, "column": 19 }, "end": { "line": 583, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19188, "end": 19189, "loc": { "start": { "line": 583, "column": 20 }, "end": { "line": 583, "column": 21 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19190, "end": 19192, "loc": { "start": { "line": 583, "column": 22 }, "end": { "line": 583, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19193, "end": 19194, "loc": { "start": { "line": 583, "column": 25 }, "end": { "line": 583, "column": 26 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 19200, "end": 19206, "loc": { "start": { "line": 584, "column": 4 }, "end": { "line": 584, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 19207, "end": 19213, "loc": { "start": { "line": 584, "column": 11 }, "end": { "line": 584, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19213, "end": 19214, "loc": { "start": { "line": 584, "column": 17 }, "end": { "line": 584, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keys", "start": 19214, "end": 19218, "loc": { "start": { "line": 584, "column": 18 }, "end": { "line": 584, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19218, "end": 19219, "loc": { "start": { "line": 584, "column": 22 }, "end": { "line": 584, "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": 19219, "end": 19223, "loc": { "start": { "line": 584, "column": 23 }, "end": { "line": 584, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19223, "end": 19224, "loc": { "start": { "line": 584, "column": 27 }, "end": { "line": 584, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 19224, "end": 19231, "loc": { "start": { "line": 584, "column": 28 }, "end": { "line": 584, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19231, "end": 19232, "loc": { "start": { "line": 584, "column": 35 }, "end": { "line": 584, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19232, "end": 19233, "loc": { "start": { "line": 584, "column": 36 }, "end": { "line": 584, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19237, "end": 19238, "loc": { "start": { "line": 585, "column": 2 }, "end": { "line": 585, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 19244, "end": 19300, "loc": { "start": { "line": 587, "column": 2 }, "end": { "line": 589, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 19304, "end": 19310, "loc": { "start": { "line": 590, "column": 2 }, "end": { "line": 590, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19310, "end": 19311, "loc": { "start": { "line": 590, "column": 8 }, "end": { "line": 590, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19311, "end": 19312, "loc": { "start": { "line": 590, "column": 9 }, "end": { "line": 590, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19312, "end": 19313, "loc": { "start": { "line": 590, "column": 10 }, "end": { "line": 590, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 19319, "end": 19354, "loc": { "start": { "line": 591, "column": 4 }, "end": { "line": 593, "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": 19360, "end": 19364, "loc": { "start": { "line": 594, "column": 4 }, "end": { "line": 594, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19364, "end": 19365, "loc": { "start": { "line": 594, "column": 8 }, "end": { "line": 594, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clear", "start": 19365, "end": 19370, "loc": { "start": { "line": 594, "column": 9 }, "end": { "line": 594, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19370, "end": 19371, "loc": { "start": { "line": 594, "column": 14 }, "end": { "line": 594, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19371, "end": 19372, "loc": { "start": { "line": 594, "column": 15 }, "end": { "line": 594, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19372, "end": 19373, "loc": { "start": { "line": 594, "column": 16 }, "end": { "line": 594, "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": 19381, "end": 19384, "loc": { "start": { "line": 596, "column": 4 }, "end": { "line": 596, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutClass", "start": 19385, "end": 19396, "loc": { "start": { "line": 596, "column": 8 }, "end": { "line": 596, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19397, "end": 19398, "loc": { "start": { "line": 596, "column": 20 }, "end": { "line": 596, "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": 19399, "end": 19403, "loc": { "start": { "line": 596, "column": 22 }, "end": { "line": 596, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19403, "end": 19404, "loc": { "start": { "line": 596, "column": 26 }, "end": { "line": 596, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19404, "end": 19411, "loc": { "start": { "line": 596, "column": 27 }, "end": { "line": 596, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19411, "end": 19412, "loc": { "start": { "line": 596, "column": 34 }, "end": { "line": 596, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 19412, "end": 19418, "loc": { "start": { "line": 596, "column": 35 }, "end": { "line": 596, "column": 41 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19419, "end": 19420, "loc": { "start": { "line": 596, "column": 42 }, "end": { "line": 596, "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": 19421, "end": 19439, "loc": { "start": { "line": 596, "column": 44 }, "end": { "line": 596, "column": 62 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19440, "end": 19441, "loc": { "start": { "line": 596, "column": 63 }, "end": { "line": 596, "column": 64 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19442, "end": 19443, "loc": { "start": { "line": 596, "column": 65 }, "end": { "line": 596, "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": 19443, "end": 19453, "loc": { "start": { "line": 596, "column": 66 }, "end": { "line": 596, "column": 76 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19453, "end": 19455, "loc": { "start": { "line": 596, "column": 76 }, "end": { "line": 596, "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": 19455, "end": 19459, "loc": { "start": { "line": 596, "column": 78 }, "end": { "line": 596, "column": 82 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19459, "end": 19460, "loc": { "start": { "line": 596, "column": 82 }, "end": { "line": 596, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19460, "end": 19467, "loc": { "start": { "line": 596, "column": 83 }, "end": { "line": 596, "column": 90 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19467, "end": 19468, "loc": { "start": { "line": 596, "column": 90 }, "end": { "line": 596, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 19468, "end": 19478, "loc": { "start": { "line": 596, "column": 91 }, "end": { "line": 596, "column": 101 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19478, "end": 19479, "loc": { "start": { "line": 596, "column": 101 }, "end": { "line": 596, "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": 19479, "end": 19479, "loc": { "start": { "line": 596, "column": 102 }, "end": { "line": 596, "column": 102 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19479, "end": 19480, "loc": { "start": { "line": 596, "column": 102 }, "end": { "line": 596, "column": 103 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19480, "end": 19481, "loc": { "start": { "line": 596, "column": 103 }, "end": { "line": 596, "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": 19487, "end": 19490, "loc": { "start": { "line": 597, "column": 4 }, "end": { "line": 597, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 19491, "end": 19497, "loc": { "start": { "line": 597, "column": 8 }, "end": { "line": 597, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19498, "end": 19499, "loc": { "start": { "line": 597, "column": 15 }, "end": { "line": 597, "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": 19500, "end": 19504, "loc": { "start": { "line": 597, "column": 17 }, "end": { "line": 597, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19504, "end": 19505, "loc": { "start": { "line": 597, "column": 21 }, "end": { "line": 597, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19505, "end": 19512, "loc": { "start": { "line": 597, "column": 22 }, "end": { "line": 597, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19512, "end": 19513, "loc": { "start": { "line": 597, "column": 29 }, "end": { "line": 597, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 19513, "end": 19519, "loc": { "start": { "line": 597, "column": 30 }, "end": { "line": 597, "column": 36 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 19520, "end": 19522, "loc": { "start": { "line": 597, "column": 37 }, "end": { "line": 597, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KeyboardLayout", "start": 19523, "end": 19537, "loc": { "start": { "line": 597, "column": 40 }, "end": { "line": 597, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19537, "end": 19538, "loc": { "start": { "line": 597, "column": 54 }, "end": { "line": 597, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getDefaultLayout", "start": 19538, "end": 19554, "loc": { "start": { "line": 597, "column": 55 }, "end": { "line": 597, "column": 71 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19554, "end": 19555, "loc": { "start": { "line": 597, "column": 71 }, "end": { "line": 597, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19555, "end": 19556, "loc": { "start": { "line": 597, "column": 72 }, "end": { "line": 597, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19556, "end": 19557, "loc": { "start": { "line": 597, "column": 73 }, "end": { "line": 597, "column": 74 } } }, { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 19565, "end": 19617, "loc": { "start": { "line": 599, "column": 4 }, "end": { "line": 601, "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": 19623, "end": 19626, "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": "buttonThemesParsed", "start": 19627, "end": 19645, "loc": { "start": { "line": 602, "column": 8 }, "end": { "line": 602, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19646, "end": 19647, "loc": { "start": { "line": 602, "column": 27 }, "end": { "line": 602, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19648, "end": 19649, "loc": { "start": { "line": 602, "column": 29 }, "end": { "line": 602, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19649, "end": 19650, "loc": { "start": { "line": 602, "column": 30 }, "end": { "line": 602, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19650, "end": 19651, "loc": { "start": { "line": 602, "column": 31 }, "end": { "line": 602, "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": 19657, "end": 19659, "loc": { "start": { "line": 603, "column": 4 }, "end": { "line": 603, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19659, "end": 19660, "loc": { "start": { "line": 603, "column": 6 }, "end": { "line": 603, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 19660, "end": 19665, "loc": { "start": { "line": 603, "column": 7 }, "end": { "line": 603, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19665, "end": 19666, "loc": { "start": { "line": 603, "column": 12 }, "end": { "line": 603, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isArray", "start": 19666, "end": 19673, "loc": { "start": { "line": 603, "column": 13 }, "end": { "line": 603, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19673, "end": 19674, "loc": { "start": { "line": 603, "column": 20 }, "end": { "line": 603, "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": 19674, "end": 19678, "loc": { "start": { "line": 603, "column": 21 }, "end": { "line": 603, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19678, "end": 19679, "loc": { "start": { "line": 603, "column": 25 }, "end": { "line": 603, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19679, "end": 19686, "loc": { "start": { "line": 603, "column": 26 }, "end": { "line": 603, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19686, "end": 19687, "loc": { "start": { "line": 603, "column": 33 }, "end": { "line": 603, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 19687, "end": 19698, "loc": { "start": { "line": 603, "column": 34 }, "end": { "line": 603, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19698, "end": 19699, "loc": { "start": { "line": 603, "column": 45 }, "end": { "line": 603, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19699, "end": 19700, "loc": { "start": { "line": 603, "column": 46 }, "end": { "line": 603, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19700, "end": 19701, "loc": { "start": { "line": 603, "column": 47 }, "end": { "line": 603, "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": 19709, "end": 19713, "loc": { "start": { "line": 604, "column": 6 }, "end": { "line": 604, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19713, "end": 19714, "loc": { "start": { "line": 604, "column": 10 }, "end": { "line": 604, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19714, "end": 19721, "loc": { "start": { "line": 604, "column": 11 }, "end": { "line": 604, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19721, "end": 19722, "loc": { "start": { "line": 604, "column": 18 }, "end": { "line": 604, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 19722, "end": 19733, "loc": { "start": { "line": 604, "column": 19 }, "end": { "line": 604, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19733, "end": 19734, "loc": { "start": { "line": 604, "column": 30 }, "end": { "line": 604, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 19734, "end": 19741, "loc": { "start": { "line": 604, "column": 31 }, "end": { "line": 604, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19741, "end": 19742, "loc": { "start": { "line": 604, "column": 38 }, "end": { "line": 604, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 19742, "end": 19750, "loc": { "start": { "line": 604, "column": 39 }, "end": { "line": 604, "column": 47 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19751, "end": 19753, "loc": { "start": { "line": 604, "column": 48 }, "end": { "line": 604, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19754, "end": 19755, "loc": { "start": { "line": 604, "column": 51 }, "end": { "line": 604, "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": 19765, "end": 19767, "loc": { "start": { "line": 605, "column": 8 }, "end": { "line": 605, "column": 10 } } }, { "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": 605, "column": 10 }, "end": { "line": 605, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 19768, "end": 19776, "loc": { "start": { "line": 605, "column": 11 }, "end": { "line": 605, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19776, "end": 19777, "loc": { "start": { "line": 605, "column": 19 }, "end": { "line": 605, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 19777, "end": 19784, "loc": { "start": { "line": 605, "column": 20 }, "end": { "line": 605, "column": 27 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 19785, "end": 19787, "loc": { "start": { "line": 605, "column": 28 }, "end": { "line": 605, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 19788, "end": 19796, "loc": { "start": { "line": 605, "column": 31 }, "end": { "line": 605, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19796, "end": 19797, "loc": { "start": { "line": 605, "column": 39 }, "end": { "line": 605, "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": 19797, "end": 19802, "loc": { "start": { "line": 605, "column": 40 }, "end": { "line": 605, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19802, "end": 19803, "loc": { "start": { "line": 605, "column": 45 }, "end": { "line": 605, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19803, "end": 19804, "loc": { "start": { "line": 605, "column": 46 }, "end": { "line": 605, "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": 19816, "end": 19819, "loc": { "start": { "line": 606, "column": 10 }, "end": { "line": 606, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 19820, "end": 19832, "loc": { "start": { "line": 606, "column": 14 }, "end": { "line": 606, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19832, "end": 19833, "loc": { "start": { "line": 606, "column": 26 }, "end": { "line": 606, "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": 19847, "end": 19849, "loc": { "start": { "line": 608, "column": 10 }, "end": { "line": 608, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19849, "end": 19850, "loc": { "start": { "line": 608, "column": 12 }, "end": { "line": 608, "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": 19850, "end": 19856, "loc": { "start": { "line": 608, "column": 13 }, "end": { "line": 608, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 19857, "end": 19865, "loc": { "start": { "line": 608, "column": 20 }, "end": { "line": 608, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19865, "end": 19866, "loc": { "start": { "line": 608, "column": 28 }, "end": { "line": 608, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 19866, "end": 19873, "loc": { "start": { "line": 608, "column": 29 }, "end": { "line": 608, "column": 36 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 19874, "end": 19877, "loc": { "start": { "line": 608, "column": 37 }, "end": { "line": 608, "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": 19878, "end": 19886, "loc": { "start": { "line": 608, "column": 41 }, "end": { "line": 608, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19886, "end": 19887, "loc": { "start": { "line": 608, "column": 49 }, "end": { "line": 608, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19887, "end": 19888, "loc": { "start": { "line": 608, "column": 50 }, "end": { "line": 608, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 19902, "end": 19914, "loc": { "start": { "line": 609, "column": 12 }, "end": { "line": 609, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19915, "end": 19916, "loc": { "start": { "line": 609, "column": 25 }, "end": { "line": 609, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 19917, "end": 19925, "loc": { "start": { "line": 609, "column": 27 }, "end": { "line": 609, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19925, "end": 19926, "loc": { "start": { "line": 609, "column": 35 }, "end": { "line": 609, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 19926, "end": 19933, "loc": { "start": { "line": 609, "column": 36 }, "end": { "line": 609, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19933, "end": 19934, "loc": { "start": { "line": 609, "column": 43 }, "end": { "line": 609, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 19934, "end": 19939, "loc": { "start": { "line": 609, "column": 44 }, "end": { "line": 609, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19939, "end": 19940, "loc": { "start": { "line": 609, "column": 49 }, "end": { "line": 609, "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": 19940, "end": 19943, "loc": { "start": { "line": 609, "column": 50 }, "end": { "line": 609, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19943, "end": 19944, "loc": { "start": { "line": 609, "column": 53 }, "end": { "line": 609, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19944, "end": 19945, "loc": { "start": { "line": 609, "column": 54 }, "end": { "line": 609, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19957, "end": 19958, "loc": { "start": { "line": 610, "column": 10 }, "end": { "line": 610, "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": 19972, "end": 19974, "loc": { "start": { "line": 612, "column": 10 }, "end": { "line": 612, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19974, "end": 19975, "loc": { "start": { "line": 612, "column": 12 }, "end": { "line": 612, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 19975, "end": 19987, "loc": { "start": { "line": 612, "column": 13 }, "end": { "line": 612, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19987, "end": 19988, "loc": { "start": { "line": 612, "column": 25 }, "end": { "line": 612, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19988, "end": 19989, "loc": { "start": { "line": 612, "column": 26 }, "end": { "line": 612, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 20003, "end": 20015, "loc": { "start": { "line": 613, "column": 12 }, "end": { "line": 613, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20015, "end": 20016, "loc": { "start": { "line": 613, "column": 24 }, "end": { "line": 613, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 20016, "end": 20023, "loc": { "start": { "line": 613, "column": 25 }, "end": { "line": 613, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20023, "end": 20024, "loc": { "start": { "line": 613, "column": 32 }, "end": { "line": 613, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 20024, "end": 20035, "loc": { "start": { "line": 613, "column": 33 }, "end": { "line": 613, "column": 44 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20036, "end": 20038, "loc": { "start": { "line": 613, "column": 45 }, "end": { "line": 613, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20039, "end": 20040, "loc": { "start": { "line": 613, "column": 48 }, "end": { "line": 613, "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": 20056, "end": 20059, "loc": { "start": { "line": 614, "column": 14 }, "end": { "line": 614, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 20060, "end": 20071, "loc": { "start": { "line": 614, "column": 18 }, "end": { "line": 614, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20072, "end": 20073, "loc": { "start": { "line": 614, "column": 30 }, "end": { "line": 614, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 20074, "end": 20092, "loc": { "start": { "line": 614, "column": 32 }, "end": { "line": 614, "column": 50 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20092, "end": 20093, "loc": { "start": { "line": 614, "column": 50 }, "end": { "line": 614, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 20093, "end": 20104, "loc": { "start": { "line": 614, "column": 51 }, "end": { "line": 614, "column": 62 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20104, "end": 20105, "loc": { "start": { "line": 614, "column": 62 }, "end": { "line": 614, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20105, "end": 20106, "loc": { "start": { "line": 614, "column": 63 }, "end": { "line": 614, "column": 64 } } }, { "type": "CommentLine", "value": " If the button has already been added", "start": 20124, "end": 20163, "loc": { "start": { "line": 616, "column": 14 }, "end": { "line": 616, "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": 20179, "end": 20181, "loc": { "start": { "line": 617, "column": 14 }, "end": { "line": 617, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20181, "end": 20182, "loc": { "start": { "line": 617, "column": 16 }, "end": { "line": 617, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 20182, "end": 20193, "loc": { "start": { "line": 617, "column": 17 }, "end": { "line": 617, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20193, "end": 20194, "loc": { "start": { "line": 617, "column": 28 }, "end": { "line": 617, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20194, "end": 20195, "loc": { "start": { "line": 617, "column": 29 }, "end": { "line": 617, "column": 30 } } }, { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", "start": 20213, "end": 20296, "loc": { "start": { "line": 618, "column": 16 }, "end": { "line": 618, "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": 20314, "end": 20316, "loc": { "start": { "line": 619, "column": 16 }, "end": { "line": 619, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20316, "end": 20317, "loc": { "start": { "line": 619, "column": 18 }, "end": { "line": 619, "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": 20317, "end": 20318, "loc": { "start": { "line": 619, "column": 19 }, "end": { "line": 619, "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": 20318, "end": 20322, "loc": { "start": { "line": 619, "column": 20 }, "end": { "line": 619, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20322, "end": 20323, "loc": { "start": { "line": 619, "column": 24 }, "end": { "line": 619, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 20323, "end": 20332, "loc": { "start": { "line": 619, "column": 25 }, "end": { "line": 619, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20332, "end": 20333, "loc": { "start": { "line": 619, "column": 34 }, "end": { "line": 619, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "countInArray", "start": 20333, "end": 20345, "loc": { "start": { "line": 619, "column": 35 }, "end": { "line": 619, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20345, "end": 20346, "loc": { "start": { "line": 619, "column": 47 }, "end": { "line": 619, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 20346, "end": 20357, "loc": { "start": { "line": 619, "column": 48 }, "end": { "line": 619, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20357, "end": 20358, "loc": { "start": { "line": 619, "column": 59 }, "end": { "line": 619, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 20358, "end": 20363, "loc": { "start": { "line": 619, "column": 60 }, "end": { "line": 619, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20363, "end": 20364, "loc": { "start": { "line": 619, "column": 65 }, "end": { "line": 619, "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": 20364, "end": 20367, "loc": { "start": { "line": 619, "column": 66 }, "end": { "line": 619, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20367, "end": 20368, "loc": { "start": { "line": 619, "column": 69 }, "end": { "line": 619, "column": 70 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20368, "end": 20369, "loc": { "start": { "line": 619, "column": 70 }, "end": { "line": 619, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 20370, "end": 20378, "loc": { "start": { "line": 619, "column": 72 }, "end": { "line": 619, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20378, "end": 20379, "loc": { "start": { "line": 619, "column": 80 }, "end": { "line": 619, "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": 20379, "end": 20384, "loc": { "start": { "line": 619, "column": 81 }, "end": { "line": 619, "column": 86 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20384, "end": 20385, "loc": { "start": { "line": 619, "column": 86 }, "end": { "line": 619, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20385, "end": 20386, "loc": { "start": { "line": 619, "column": 87 }, "end": { "line": 619, "column": 88 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20386, "end": 20387, "loc": { "start": { "line": 619, "column": 88 }, "end": { "line": 619, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 20407, "end": 20425, "loc": { "start": { "line": 620, "column": 18 }, "end": { "line": 620, "column": 36 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20425, "end": 20426, "loc": { "start": { "line": 620, "column": 36 }, "end": { "line": 620, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 20426, "end": 20437, "loc": { "start": { "line": 620, "column": 37 }, "end": { "line": 620, "column": 48 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20437, "end": 20438, "loc": { "start": { "line": 620, "column": 48 }, "end": { "line": 620, "column": 49 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20439, "end": 20440, "loc": { "start": { "line": 620, "column": 50 }, "end": { "line": 620, "column": 51 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20441, "end": 20442, "loc": { "start": { "line": 620, "column": 52 }, "end": { "line": 620, "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": 20442, "end": 20442, "loc": { "start": { "line": 620, "column": 53 }, "end": { "line": 620, "column": 53 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20442, "end": 20444, "loc": { "start": { "line": 620, "column": 53 }, "end": { "line": 620, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 20444, "end": 20455, "loc": { "start": { "line": 620, "column": 55 }, "end": { "line": 620, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20455, "end": 20456, "loc": { "start": { "line": 620, "column": 66 }, "end": { "line": 620, "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": 20456, "end": 20457, "loc": { "start": { "line": 620, "column": 67 }, "end": { "line": 620, "column": 68 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20457, "end": 20459, "loc": { "start": { "line": 620, "column": 68 }, "end": { "line": 620, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 20459, "end": 20467, "loc": { "start": { "line": 620, "column": 70 }, "end": { "line": 620, "column": 78 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20467, "end": 20468, "loc": { "start": { "line": 620, "column": 78 }, "end": { "line": 620, "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": 20468, "end": 20473, "loc": { "start": { "line": 620, "column": 79 }, "end": { "line": 620, "column": 84 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20473, "end": 20474, "loc": { "start": { "line": 620, "column": 84 }, "end": { "line": 620, "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": 20474, "end": 20474, "loc": { "start": { "line": 620, "column": 85 }, "end": { "line": 620, "column": 85 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20474, "end": 20475, "loc": { "start": { "line": 620, "column": 85 }, "end": { "line": 620, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20475, "end": 20476, "loc": { "start": { "line": 620, "column": 86 }, "end": { "line": 620, "column": 87 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20494, "end": 20495, "loc": { "start": { "line": 621, "column": 16 }, "end": { "line": 621, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20511, "end": 20512, "loc": { "start": { "line": 622, "column": 14 }, "end": { "line": 622, "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": 20513, "end": 20517, "loc": { "start": { "line": 622, "column": 16 }, "end": { "line": 622, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20518, "end": 20519, "loc": { "start": { "line": 622, "column": 21 }, "end": { "line": 622, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 20537, "end": 20555, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 34 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20555, "end": 20556, "loc": { "start": { "line": 623, "column": 34 }, "end": { "line": 623, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 20556, "end": 20567, "loc": { "start": { "line": 623, "column": 35 }, "end": { "line": 623, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20567, "end": 20568, "loc": { "start": { "line": 623, "column": 46 }, "end": { "line": 623, "column": 47 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20569, "end": 20570, "loc": { "start": { "line": 623, "column": 48 }, "end": { "line": 623, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 20571, "end": 20579, "loc": { "start": { "line": 623, "column": 50 }, "end": { "line": 623, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20579, "end": 20580, "loc": { "start": { "line": 623, "column": 58 }, "end": { "line": 623, "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": 20580, "end": 20585, "loc": { "start": { "line": 623, "column": 59 }, "end": { "line": 623, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20585, "end": 20586, "loc": { "start": { "line": 623, "column": 64 }, "end": { "line": 623, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20602, "end": 20603, "loc": { "start": { "line": 624, "column": 14 }, "end": { "line": 624, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20617, "end": 20618, "loc": { "start": { "line": 625, "column": 12 }, "end": { "line": 625, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20618, "end": 20619, "loc": { "start": { "line": 625, "column": 13 }, "end": { "line": 625, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20619, "end": 20620, "loc": { "start": { "line": 625, "column": 14 }, "end": { "line": 625, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20632, "end": 20633, "loc": { "start": { "line": 626, "column": 10 }, "end": { "line": 626, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20643, "end": 20644, "loc": { "start": { "line": 627, "column": 8 }, "end": { "line": 627, "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": 20645, "end": 20649, "loc": { "start": { "line": 627, "column": 10 }, "end": { "line": 627, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20650, "end": 20651, "loc": { "start": { "line": 627, "column": 15 }, "end": { "line": 627, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 20663, "end": 20670, "loc": { "start": { "line": 628, "column": 10 }, "end": { "line": 628, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20670, "end": 20671, "loc": { "start": { "line": 628, "column": 17 }, "end": { "line": 628, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 20671, "end": 20675, "loc": { "start": { "line": 628, "column": 18 }, "end": { "line": 628, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20675, "end": 20676, "loc": { "start": { "line": 628, "column": 22 }, "end": { "line": 628, "column": 23 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20676, "end": 20677, "loc": { "start": { "line": 628, "column": 23 }, "end": { "line": 628, "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": 20677, "end": 20765, "loc": { "start": { "line": 628, "column": 24 }, "end": { "line": 628, "column": 112 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20765, "end": 20766, "loc": { "start": { "line": 628, "column": 112 }, "end": { "line": 628, "column": 113 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20766, "end": 20767, "loc": { "start": { "line": 628, "column": 113 }, "end": { "line": 628, "column": 114 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20777, "end": 20778, "loc": { "start": { "line": 629, "column": 8 }, "end": { "line": 629, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20786, "end": 20787, "loc": { "start": { "line": 630, "column": 6 }, "end": { "line": 630, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20787, "end": 20788, "loc": { "start": { "line": 630, "column": 7 }, "end": { "line": 630, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20788, "end": 20789, "loc": { "start": { "line": 630, "column": 8 }, "end": { "line": 630, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20795, "end": 20796, "loc": { "start": { "line": 631, "column": 4 }, "end": { "line": 631, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 20804, "end": 20870, "loc": { "start": { "line": 633, "column": 4 }, "end": { "line": 635, "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": 20876, "end": 20880, "loc": { "start": { "line": 636, "column": 4 }, "end": { "line": 636, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20880, "end": 20881, "loc": { "start": { "line": 636, "column": 8 }, "end": { "line": 636, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 20881, "end": 20892, "loc": { "start": { "line": 636, "column": 9 }, "end": { "line": 636, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20892, "end": 20893, "loc": { "start": { "line": 636, "column": 20 }, "end": { "line": 636, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 20893, "end": 20902, "loc": { "start": { "line": 636, "column": 21 }, "end": { "line": 636, "column": 30 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 20903, "end": 20905, "loc": { "start": { "line": 636, "column": 31 }, "end": { "line": 636, "column": 33 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20906, "end": 20907, "loc": { "start": { "line": 636, "column": 34 }, "end": { "line": 636, "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": 20907, "end": 20908, "loc": { "start": { "line": 636, "column": 35 }, "end": { "line": 636, "column": 36 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20908, "end": 20910, "loc": { "start": { "line": 636, "column": 36 }, "end": { "line": 636, "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": 20910, "end": 20914, "loc": { "start": { "line": 636, "column": 38 }, "end": { "line": 636, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20914, "end": 20915, "loc": { "start": { "line": 636, "column": 42 }, "end": { "line": 636, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 20915, "end": 20922, "loc": { "start": { "line": 636, "column": 43 }, "end": { "line": 636, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20922, "end": 20923, "loc": { "start": { "line": 636, "column": 50 }, "end": { "line": 636, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "theme", "start": 20923, "end": 20928, "loc": { "start": { "line": 636, "column": 51 }, "end": { "line": 636, "column": 56 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20928, "end": 20929, "loc": { "start": { "line": 636, "column": 56 }, "end": { "line": 636, "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": 20929, "end": 20930, "loc": { "start": { "line": 636, "column": 57 }, "end": { "line": 636, "column": 58 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20930, "end": 20932, "loc": { "start": { "line": 636, "column": 58 }, "end": { "line": 636, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutClass", "start": 20932, "end": 20943, "loc": { "start": { "line": 636, "column": 60 }, "end": { "line": 636, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20943, "end": 20944, "loc": { "start": { "line": 636, "column": 71 }, "end": { "line": 636, "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": 20944, "end": 20944, "loc": { "start": { "line": 636, "column": 72 }, "end": { "line": 636, "column": 72 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20944, "end": 20945, "loc": { "start": { "line": 636, "column": 72 }, "end": { "line": 636, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20945, "end": 20946, "loc": { "start": { "line": 636, "column": 73 }, "end": { "line": 636, "column": 74 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 20954, "end": 21001, "loc": { "start": { "line": 638, "column": 4 }, "end": { "line": 640, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 21007, "end": 21013, "loc": { "start": { "line": 641, "column": 4 }, "end": { "line": 641, "column": 10 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21013, "end": 21014, "loc": { "start": { "line": 641, "column": 10 }, "end": { "line": 641, "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": 21014, "end": 21018, "loc": { "start": { "line": 641, "column": 11 }, "end": { "line": 641, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21018, "end": 21019, "loc": { "start": { "line": 641, "column": 15 }, "end": { "line": 641, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 21019, "end": 21026, "loc": { "start": { "line": 641, "column": 16 }, "end": { "line": 641, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21026, "end": 21027, "loc": { "start": { "line": 641, "column": 23 }, "end": { "line": 641, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 21027, "end": 21037, "loc": { "start": { "line": 641, "column": 24 }, "end": { "line": 641, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21037, "end": 21038, "loc": { "start": { "line": 641, "column": 34 }, "end": { "line": 641, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21038, "end": 21039, "loc": { "start": { "line": 641, "column": 35 }, "end": { "line": 641, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 21039, "end": 21046, "loc": { "start": { "line": 641, "column": 36 }, "end": { "line": 641, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21046, "end": 21047, "loc": { "start": { "line": 641, "column": 43 }, "end": { "line": 641, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21047, "end": 21048, "loc": { "start": { "line": 641, "column": 44 }, "end": { "line": 641, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "row", "start": 21048, "end": 21051, "loc": { "start": { "line": 641, "column": 45 }, "end": { "line": 641, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21051, "end": 21052, "loc": { "start": { "line": 641, "column": 48 }, "end": { "line": 641, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rIndex", "start": 21053, "end": 21059, "loc": { "start": { "line": 641, "column": 50 }, "end": { "line": 641, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21059, "end": 21060, "loc": { "start": { "line": 641, "column": 56 }, "end": { "line": 641, "column": 57 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21061, "end": 21063, "loc": { "start": { "line": 641, "column": 58 }, "end": { "line": 641, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21064, "end": 21065, "loc": { "start": { "line": 641, "column": 61 }, "end": { "line": 641, "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": 21073, "end": 21076, "loc": { "start": { "line": 642, "column": 6 }, "end": { "line": 642, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowArray", "start": 21077, "end": 21085, "loc": { "start": { "line": 642, "column": 10 }, "end": { "line": 642, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21086, "end": 21087, "loc": { "start": { "line": 642, "column": 19 }, "end": { "line": 642, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "row", "start": 21088, "end": 21091, "loc": { "start": { "line": 642, "column": 21 }, "end": { "line": 642, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21091, "end": 21092, "loc": { "start": { "line": 642, "column": 24 }, "end": { "line": 642, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 21092, "end": 21097, "loc": { "start": { "line": 642, "column": 25 }, "end": { "line": 642, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21097, "end": 21098, "loc": { "start": { "line": 642, "column": 30 }, "end": { "line": 642, "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": 21098, "end": 21101, "loc": { "start": { "line": 642, "column": 31 }, "end": { "line": 642, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21101, "end": 21102, "loc": { "start": { "line": 642, "column": 34 }, "end": { "line": 642, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21102, "end": 21103, "loc": { "start": { "line": 642, "column": 35 }, "end": { "line": 642, "column": 36 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 21113, "end": 21156, "loc": { "start": { "line": 644, "column": 6 }, "end": { "line": 646, "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": 21164, "end": 21167, "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": "rowDOM", "start": 21168, "end": 21174, "loc": { "start": { "line": 647, "column": 10 }, "end": { "line": 647, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21175, "end": 21176, "loc": { "start": { "line": 647, "column": 17 }, "end": { "line": 647, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 21177, "end": 21185, "loc": { "start": { "line": 647, "column": 19 }, "end": { "line": 647, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21185, "end": 21186, "loc": { "start": { "line": 647, "column": 27 }, "end": { "line": 647, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 21186, "end": 21199, "loc": { "start": { "line": 647, "column": 28 }, "end": { "line": 647, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21199, "end": 21200, "loc": { "start": { "line": 647, "column": 41 }, "end": { "line": 647, "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": 21200, "end": 21205, "loc": { "start": { "line": 647, "column": 42 }, "end": { "line": 647, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21205, "end": 21206, "loc": { "start": { "line": 647, "column": 47 }, "end": { "line": 647, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21206, "end": 21207, "loc": { "start": { "line": 647, "column": 48 }, "end": { "line": 647, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 21215, "end": 21221, "loc": { "start": { "line": 648, "column": 6 }, "end": { "line": 648, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21221, "end": 21222, "loc": { "start": { "line": 648, "column": 12 }, "end": { "line": 648, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 21222, "end": 21231, "loc": { "start": { "line": 648, "column": 13 }, "end": { "line": 648, "column": 22 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 21232, "end": 21234, "loc": { "start": { "line": 648, "column": 23 }, "end": { "line": 648, "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": 21235, "end": 21243, "loc": { "start": { "line": 648, "column": 26 }, "end": { "line": 648, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21243, "end": 21244, "loc": { "start": { "line": 648, "column": 34 }, "end": { "line": 648, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 21254, "end": 21315, "loc": { "start": { "line": 650, "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": "rowArray", "start": 21323, "end": 21331, "loc": { "start": { "line": 653, "column": 6 }, "end": { "line": 653, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21331, "end": 21332, "loc": { "start": { "line": 653, "column": 14 }, "end": { "line": 653, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 21332, "end": 21339, "loc": { "start": { "line": 653, "column": 15 }, "end": { "line": 653, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21339, "end": 21340, "loc": { "start": { "line": 653, "column": 22 }, "end": { "line": 653, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21340, "end": 21341, "loc": { "start": { "line": 653, "column": 23 }, "end": { "line": 653, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 21341, "end": 21347, "loc": { "start": { "line": 653, "column": 24 }, "end": { "line": 653, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21347, "end": 21348, "loc": { "start": { "line": 653, "column": 30 }, "end": { "line": 653, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bIndex", "start": 21349, "end": 21355, "loc": { "start": { "line": 653, "column": 32 }, "end": { "line": 653, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21355, "end": 21356, "loc": { "start": { "line": 653, "column": 38 }, "end": { "line": 653, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21357, "end": 21359, "loc": { "start": { "line": 653, "column": 40 }, "end": { "line": 653, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21360, "end": 21361, "loc": { "start": { "line": 653, "column": 43 }, "end": { "line": 653, "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": 21371, "end": 21374, "loc": { "start": { "line": 654, "column": 8 }, "end": { "line": 654, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fctBtnClass", "start": 21375, "end": 21386, "loc": { "start": { "line": 654, "column": 12 }, "end": { "line": 654, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21387, "end": 21388, "loc": { "start": { "line": 654, "column": 24 }, "end": { "line": 654, "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": 21389, "end": 21393, "loc": { "start": { "line": 654, "column": 26 }, "end": { "line": 654, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21393, "end": 21394, "loc": { "start": { "line": 654, "column": 30 }, "end": { "line": 654, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 21394, "end": 21403, "loc": { "start": { "line": 654, "column": 31 }, "end": { "line": 654, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21403, "end": 21404, "loc": { "start": { "line": 654, "column": 40 }, "end": { "line": 654, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonClass", "start": 21404, "end": 21418, "loc": { "start": { "line": 654, "column": 41 }, "end": { "line": 654, "column": 55 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21418, "end": 21419, "loc": { "start": { "line": 654, "column": 55 }, "end": { "line": 654, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 21419, "end": 21425, "loc": { "start": { "line": 654, "column": 56 }, "end": { "line": 654, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21425, "end": 21426, "loc": { "start": { "line": 654, "column": 62 }, "end": { "line": 654, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21426, "end": 21427, "loc": { "start": { "line": 654, "column": 63 }, "end": { "line": 654, "column": 64 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 21437, "end": 21440, "loc": { "start": { "line": 655, "column": 8 }, "end": { "line": 655, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeClass", "start": 21441, "end": 21457, "loc": { "start": { "line": 655, "column": 12 }, "end": { "line": 655, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21458, "end": 21459, "loc": { "start": { "line": 655, "column": 29 }, "end": { "line": 655, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 21460, "end": 21478, "loc": { "start": { "line": 655, "column": 31 }, "end": { "line": 655, "column": 49 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21478, "end": 21479, "loc": { "start": { "line": 655, "column": 49 }, "end": { "line": 655, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 21479, "end": 21485, "loc": { "start": { "line": 655, "column": 50 }, "end": { "line": 655, "column": 56 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21485, "end": 21486, "loc": { "start": { "line": 655, "column": 56 }, "end": { "line": 655, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21486, "end": 21487, "loc": { "start": { "line": 655, "column": 57 }, "end": { "line": 655, "column": 58 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 21497, "end": 21500, "loc": { "start": { "line": 656, "column": 8 }, "end": { "line": 656, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDisplayName", "start": 21501, "end": 21518, "loc": { "start": { "line": 656, "column": 12 }, "end": { "line": 656, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21519, "end": 21520, "loc": { "start": { "line": 656, "column": 30 }, "end": { "line": 656, "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": 21521, "end": 21525, "loc": { "start": { "line": 656, "column": 32 }, "end": { "line": 656, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21525, "end": 21526, "loc": { "start": { "line": 656, "column": 36 }, "end": { "line": 656, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 21526, "end": 21535, "loc": { "start": { "line": 656, "column": 37 }, "end": { "line": 656, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21535, "end": 21536, "loc": { "start": { "line": 656, "column": 46 }, "end": { "line": 656, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonDisplayName", "start": 21536, "end": 21556, "loc": { "start": { "line": 656, "column": 47 }, "end": { "line": 656, "column": 67 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21556, "end": 21557, "loc": { "start": { "line": 656, "column": 67 }, "end": { "line": 656, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 21557, "end": 21563, "loc": { "start": { "line": 656, "column": 68 }, "end": { "line": 656, "column": 74 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21563, "end": 21564, "loc": { "start": { "line": 656, "column": 74 }, "end": { "line": 656, "column": 75 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 21565, "end": 21569, "loc": { "start": { "line": 656, "column": 76 }, "end": { "line": 656, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21569, "end": 21570, "loc": { "start": { "line": 656, "column": 80 }, "end": { "line": 656, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 21570, "end": 21577, "loc": { "start": { "line": 656, "column": 81 }, "end": { "line": 656, "column": 88 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21577, "end": 21578, "loc": { "start": { "line": 656, "column": 88 }, "end": { "line": 656, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "display", "start": 21578, "end": 21585, "loc": { "start": { "line": 656, "column": 89 }, "end": { "line": 656, "column": 96 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21585, "end": 21586, "loc": { "start": { "line": 656, "column": 96 }, "end": { "line": 656, "column": 97 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 21587, "end": 21591, "loc": { "start": { "line": 656, "column": 98 }, "end": { "line": 656, "column": 102 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21591, "end": 21592, "loc": { "start": { "line": 656, "column": 102 }, "end": { "line": 656, "column": 103 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 21592, "end": 21599, "loc": { "start": { "line": 656, "column": 103 }, "end": { "line": 656, "column": 110 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21599, "end": 21600, "loc": { "start": { "line": 656, "column": 110 }, "end": { "line": 656, "column": 111 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mergeDisplay", "start": 21600, "end": 21612, "loc": { "start": { "line": 656, "column": 111 }, "end": { "line": 656, "column": 123 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21612, "end": 21613, "loc": { "start": { "line": 656, "column": 123 }, "end": { "line": 656, "column": 124 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21613, "end": 21614, "loc": { "start": { "line": 656, "column": 124 }, "end": { "line": 656, "column": 125 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 21626, "end": 21670, "loc": { "start": { "line": 658, "column": 8 }, "end": { "line": 660, "column": 11 } } }, { "type": { "label": "var", "keyword": "var", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "var", "start": 21680, "end": 21683, "loc": { "start": { "line": 661, "column": 8 }, "end": { "line": 661, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 21684, "end": 21693, "loc": { "start": { "line": 661, "column": 12 }, "end": { "line": 661, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21694, "end": 21695, "loc": { "start": { "line": 661, "column": 22 }, "end": { "line": 661, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 21696, "end": 21704, "loc": { "start": { "line": 661, "column": 24 }, "end": { "line": 661, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21704, "end": 21705, "loc": { "start": { "line": 661, "column": 32 }, "end": { "line": 661, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 21705, "end": 21718, "loc": { "start": { "line": 661, "column": 33 }, "end": { "line": 661, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21718, "end": 21719, "loc": { "start": { "line": 661, "column": 46 }, "end": { "line": 661, "column": 47 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "div", "start": 21719, "end": 21724, "loc": { "start": { "line": 661, "column": 47 }, "end": { "line": 661, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21724, "end": 21725, "loc": { "start": { "line": 661, "column": 52 }, "end": { "line": 661, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21725, "end": 21726, "loc": { "start": { "line": 661, "column": 53 }, "end": { "line": 661, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 21736, "end": 21745, "loc": { "start": { "line": 662, "column": 8 }, "end": { "line": 662, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21745, "end": 21746, "loc": { "start": { "line": 662, "column": 17 }, "end": { "line": 662, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 21746, "end": 21755, "loc": { "start": { "line": 662, "column": 18 }, "end": { "line": 662, "column": 27 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 21756, "end": 21758, "loc": { "start": { "line": 662, "column": 28 }, "end": { "line": 662, "column": 30 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21759, "end": 21760, "loc": { "start": { "line": 662, "column": 31 }, "end": { "line": 662, "column": 32 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "hg-button ", "start": 21760, "end": 21770, "loc": { "start": { "line": 662, "column": 32 }, "end": { "line": 662, "column": 42 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21770, "end": 21772, "loc": { "start": { "line": 662, "column": 42 }, "end": { "line": 662, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fctBtnClass", "start": 21772, "end": 21783, "loc": { "start": { "line": 662, "column": 44 }, "end": { "line": 662, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21783, "end": 21784, "loc": { "start": { "line": 662, "column": 55 }, "end": { "line": 662, "column": 56 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 21784, "end": 21784, "loc": { "start": { "line": 662, "column": 56 }, "end": { "line": 662, "column": 56 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21784, "end": 21786, "loc": { "start": { "line": 662, "column": 56 }, "end": { "line": 662, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeClass", "start": 21786, "end": 21802, "loc": { "start": { "line": 662, "column": 58 }, "end": { "line": 662, "column": 74 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21803, "end": 21804, "loc": { "start": { "line": 662, "column": 75 }, "end": { "line": 662, "column": 76 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 21805, "end": 21808, "loc": { "start": { "line": 662, "column": 77 }, "end": { "line": 662, "column": 80 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 21808, "end": 21809, "loc": { "start": { "line": 662, "column": 80 }, "end": { "line": 662, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeClass", "start": 21809, "end": 21825, "loc": { "start": { "line": 662, "column": 81 }, "end": { "line": 662, "column": 97 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21826, "end": 21827, "loc": { "start": { "line": 662, "column": 98 }, "end": { "line": 662, "column": 99 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 21828, "end": 21830, "loc": { "start": { "line": 662, "column": 100 }, "end": { "line": 662, "column": 102 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21830, "end": 21831, "loc": { "start": { "line": 662, "column": 102 }, "end": { "line": 662, "column": 103 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 21831, "end": 21831, "loc": { "start": { "line": 662, "column": 103 }, "end": { "line": 662, "column": 103 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21831, "end": 21832, "loc": { "start": { "line": 662, "column": 103 }, "end": { "line": 662, "column": 104 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21832, "end": 21833, "loc": { "start": { "line": 662, "column": 104 }, "end": { "line": 662, "column": 105 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 21843, "end": 21852, "loc": { "start": { "line": 663, "column": 8 }, "end": { "line": 663, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21852, "end": 21853, "loc": { "start": { "line": 663, "column": 17 }, "end": { "line": 663, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onclick", "start": 21853, "end": 21860, "loc": { "start": { "line": 663, "column": 18 }, "end": { "line": 663, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21861, "end": 21862, "loc": { "start": { "line": 663, "column": 26 }, "end": { "line": 663, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21863, "end": 21864, "loc": { "start": { "line": 663, "column": 28 }, "end": { "line": 663, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21864, "end": 21865, "loc": { "start": { "line": 663, "column": 29 }, "end": { "line": 663, "column": 30 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21866, "end": 21868, "loc": { "start": { "line": 663, "column": 31 }, "end": { "line": 663, "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": 21869, "end": 21873, "loc": { "start": { "line": 663, "column": 34 }, "end": { "line": 663, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21873, "end": 21874, "loc": { "start": { "line": 663, "column": 38 }, "end": { "line": 663, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 21874, "end": 21893, "loc": { "start": { "line": 663, "column": 39 }, "end": { "line": 663, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21893, "end": 21894, "loc": { "start": { "line": 663, "column": 58 }, "end": { "line": 663, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 21894, "end": 21900, "loc": { "start": { "line": 663, "column": 59 }, "end": { "line": 663, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21900, "end": 21901, "loc": { "start": { "line": 663, "column": 65 }, "end": { "line": 663, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21901, "end": 21902, "loc": { "start": { "line": 663, "column": 66 }, "end": { "line": 663, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 21912, "end": 21921, "loc": { "start": { "line": 664, "column": 8 }, "end": { "line": 664, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21921, "end": 21922, "loc": { "start": { "line": 664, "column": 17 }, "end": { "line": 664, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onmousedown", "start": 21922, "end": 21933, "loc": { "start": { "line": 664, "column": 18 }, "end": { "line": 664, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21934, "end": 21935, "loc": { "start": { "line": 664, "column": 30 }, "end": { "line": 664, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21936, "end": 21937, "loc": { "start": { "line": 664, "column": 32 }, "end": { "line": 664, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 21937, "end": 21938, "loc": { "start": { "line": 664, "column": 33 }, "end": { "line": 664, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21938, "end": 21939, "loc": { "start": { "line": 664, "column": 34 }, "end": { "line": 664, "column": 35 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21940, "end": 21942, "loc": { "start": { "line": 664, "column": 36 }, "end": { "line": 664, "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": 21943, "end": 21947, "loc": { "start": { "line": 664, "column": 39 }, "end": { "line": 664, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21947, "end": 21948, "loc": { "start": { "line": 664, "column": 43 }, "end": { "line": 664, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseDown", "start": 21948, "end": 21969, "loc": { "start": { "line": 664, "column": 44 }, "end": { "line": 664, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21969, "end": 21970, "loc": { "start": { "line": 664, "column": 65 }, "end": { "line": 664, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 21970, "end": 21976, "loc": { "start": { "line": 664, "column": 66 }, "end": { "line": 664, "column": 72 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21976, "end": 21977, "loc": { "start": { "line": 664, "column": 72 }, "end": { "line": 664, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 21978, "end": 21979, "loc": { "start": { "line": 664, "column": 74 }, "end": { "line": 664, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21979, "end": 21980, "loc": { "start": { "line": 664, "column": 75 }, "end": { "line": 664, "column": 76 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21980, "end": 21981, "loc": { "start": { "line": 664, "column": 76 }, "end": { "line": 664, "column": 77 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 21993, "end": 22039, "loc": { "start": { "line": 666, "column": 8 }, "end": { "line": 668, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 22049, "end": 22058, "loc": { "start": { "line": 669, "column": 8 }, "end": { "line": 669, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22058, "end": 22059, "loc": { "start": { "line": 669, "column": 17 }, "end": { "line": 669, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 22059, "end": 22071, "loc": { "start": { "line": 669, "column": 18 }, "end": { "line": 669, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22071, "end": 22072, "loc": { "start": { "line": 669, "column": 30 }, "end": { "line": 669, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "data-skBtn", "start": 22072, "end": 22084, "loc": { "start": { "line": 669, "column": 31 }, "end": { "line": 669, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22084, "end": 22085, "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": "button", "start": 22086, "end": 22092, "loc": { "start": { "line": 669, "column": 45 }, "end": { "line": 669, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22092, "end": 22093, "loc": { "start": { "line": 669, "column": 51 }, "end": { "line": 669, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22093, "end": 22094, "loc": { "start": { "line": 669, "column": 52 }, "end": { "line": 669, "column": 53 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", "start": 22106, "end": 22261, "loc": { "start": { "line": 671, "column": 8 }, "end": { "line": 674, "column": 11 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 22271, "end": 22274, "loc": { "start": { "line": 675, "column": 8 }, "end": { "line": 675, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonUID", "start": 22275, "end": 22284, "loc": { "start": { "line": 675, "column": 12 }, "end": { "line": 675, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22285, "end": 22286, "loc": { "start": { "line": 675, "column": 22 }, "end": { "line": 675, "column": 23 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22287, "end": 22288, "loc": { "start": { "line": 675, "column": 24 }, "end": { "line": 675, "column": 25 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 22288, "end": 22288, "loc": { "start": { "line": 675, "column": 25 }, "end": { "line": 675, "column": 25 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22288, "end": 22290, "loc": { "start": { "line": 675, "column": 25 }, "end": { "line": 675, "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": 22290, "end": 22294, "loc": { "start": { "line": 675, "column": 27 }, "end": { "line": 675, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22294, "end": 22295, "loc": { "start": { "line": 675, "column": 31 }, "end": { "line": 675, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 22295, "end": 22302, "loc": { "start": { "line": 675, "column": 32 }, "end": { "line": 675, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22302, "end": 22303, "loc": { "start": { "line": 675, "column": 39 }, "end": { "line": 675, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 22303, "end": 22313, "loc": { "start": { "line": 675, "column": 40 }, "end": { "line": 675, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22313, "end": 22314, "loc": { "start": { "line": 675, "column": 50 }, "end": { "line": 675, "column": 51 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-r", "start": 22314, "end": 22316, "loc": { "start": { "line": 675, "column": 51 }, "end": { "line": 675, "column": 53 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22316, "end": 22318, "loc": { "start": { "line": 675, "column": 53 }, "end": { "line": 675, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rIndex", "start": 22318, "end": 22324, "loc": { "start": { "line": 675, "column": 55 }, "end": { "line": 675, "column": 61 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22324, "end": 22325, "loc": { "start": { "line": 675, "column": 61 }, "end": { "line": 675, "column": 62 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "b", "start": 22325, "end": 22326, "loc": { "start": { "line": 675, "column": 62 }, "end": { "line": 675, "column": 63 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22326, "end": 22328, "loc": { "start": { "line": 675, "column": 63 }, "end": { "line": 675, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bIndex", "start": 22328, "end": 22334, "loc": { "start": { "line": 675, "column": 65 }, "end": { "line": 675, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22334, "end": 22335, "loc": { "start": { "line": 675, "column": 71 }, "end": { "line": 675, "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": 22335, "end": 22335, "loc": { "start": { "line": 675, "column": 72 }, "end": { "line": 675, "column": 72 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22335, "end": 22336, "loc": { "start": { "line": 675, "column": 72 }, "end": { "line": 675, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22336, "end": 22337, "loc": { "start": { "line": 675, "column": 73 }, "end": { "line": 675, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 22347, "end": 22356, "loc": { "start": { "line": 676, "column": 8 }, "end": { "line": 676, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22356, "end": 22357, "loc": { "start": { "line": 676, "column": 17 }, "end": { "line": 676, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 22357, "end": 22369, "loc": { "start": { "line": 676, "column": 18 }, "end": { "line": 676, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22369, "end": 22370, "loc": { "start": { "line": 676, "column": 30 }, "end": { "line": 676, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "data-skBtnUID", "start": 22370, "end": 22385, "loc": { "start": { "line": 676, "column": 31 }, "end": { "line": 676, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22385, "end": 22386, "loc": { "start": { "line": 676, "column": 46 }, "end": { "line": 676, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonUID", "start": 22387, "end": 22396, "loc": { "start": { "line": 676, "column": 48 }, "end": { "line": 676, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22396, "end": 22397, "loc": { "start": { "line": 676, "column": 57 }, "end": { "line": 676, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22397, "end": 22398, "loc": { "start": { "line": 676, "column": 58 }, "end": { "line": 676, "column": 59 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 22410, "end": 22459, "loc": { "start": { "line": 678, "column": 8 }, "end": { "line": 680, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 22469, "end": 22478, "loc": { "start": { "line": 681, "column": 8 }, "end": { "line": 681, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22478, "end": 22479, "loc": { "start": { "line": 681, "column": 17 }, "end": { "line": 681, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 22479, "end": 22491, "loc": { "start": { "line": 681, "column": 18 }, "end": { "line": 681, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22491, "end": 22492, "loc": { "start": { "line": 681, "column": 30 }, "end": { "line": 681, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "data-displayLabel", "start": 22492, "end": 22511, "loc": { "start": { "line": 681, "column": 31 }, "end": { "line": 681, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22511, "end": 22512, "loc": { "start": { "line": 681, "column": 50 }, "end": { "line": 681, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDisplayName", "start": 22513, "end": 22530, "loc": { "start": { "line": 681, "column": 52 }, "end": { "line": 681, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22530, "end": 22531, "loc": { "start": { "line": 681, "column": 69 }, "end": { "line": 681, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22531, "end": 22532, "loc": { "start": { "line": 681, "column": 70 }, "end": { "line": 681, "column": 71 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 22544, "end": 22602, "loc": { "start": { "line": 683, "column": 8 }, "end": { "line": 685, "column": 11 } } }, { "type": { "label": "var", "keyword": "var", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "var", "start": 22612, "end": 22615, "loc": { "start": { "line": 686, "column": 8 }, "end": { "line": 686, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSpanDOM", "start": 22616, "end": 22629, "loc": { "start": { "line": 686, "column": 12 }, "end": { "line": 686, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22630, "end": 22631, "loc": { "start": { "line": 686, "column": 26 }, "end": { "line": 686, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 22632, "end": 22640, "loc": { "start": { "line": 686, "column": 28 }, "end": { "line": 686, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22640, "end": 22641, "loc": { "start": { "line": 686, "column": 36 }, "end": { "line": 686, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 22641, "end": 22654, "loc": { "start": { "line": 686, "column": 37 }, "end": { "line": 686, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22654, "end": 22655, "loc": { "start": { "line": 686, "column": 50 }, "end": { "line": 686, "column": 51 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "span", "start": 22655, "end": 22661, "loc": { "start": { "line": 686, "column": 51 }, "end": { "line": 686, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22661, "end": 22662, "loc": { "start": { "line": 686, "column": 57 }, "end": { "line": 686, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22662, "end": 22663, "loc": { "start": { "line": 686, "column": 58 }, "end": { "line": 686, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSpanDOM", "start": 22673, "end": 22686, "loc": { "start": { "line": 687, "column": 8 }, "end": { "line": 687, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22686, "end": 22687, "loc": { "start": { "line": 687, "column": 21 }, "end": { "line": 687, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 22687, "end": 22696, "loc": { "start": { "line": 687, "column": 22 }, "end": { "line": 687, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22697, "end": 22698, "loc": { "start": { "line": 687, "column": 32 }, "end": { "line": 687, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDisplayName", "start": 22699, "end": 22716, "loc": { "start": { "line": 687, "column": 34 }, "end": { "line": 687, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22716, "end": 22717, "loc": { "start": { "line": 687, "column": 51 }, "end": { "line": 687, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 22727, "end": 22736, "loc": { "start": { "line": 688, "column": 8 }, "end": { "line": 688, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22736, "end": 22737, "loc": { "start": { "line": 688, "column": 17 }, "end": { "line": 688, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 22737, "end": 22748, "loc": { "start": { "line": 688, "column": 18 }, "end": { "line": 688, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22748, "end": 22749, "loc": { "start": { "line": 688, "column": 29 }, "end": { "line": 688, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSpanDOM", "start": 22749, "end": 22762, "loc": { "start": { "line": 688, "column": 30 }, "end": { "line": 688, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22762, "end": 22763, "loc": { "start": { "line": 688, "column": 43 }, "end": { "line": 688, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22763, "end": 22764, "loc": { "start": { "line": 688, "column": 44 }, "end": { "line": 688, "column": 45 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 22776, "end": 22829, "loc": { "start": { "line": 690, "column": 8 }, "end": { "line": 692, "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": 22839, "end": 22841, "loc": { "start": { "line": 693, "column": 8 }, "end": { "line": 693, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22841, "end": 22842, "loc": { "start": { "line": 693, "column": 10 }, "end": { "line": 693, "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": 22842, "end": 22843, "loc": { "start": { "line": 693, "column": 11 }, "end": { "line": 693, "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": 22843, "end": 22847, "loc": { "start": { "line": 693, "column": 12 }, "end": { "line": 693, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22847, "end": 22848, "loc": { "start": { "line": 693, "column": 16 }, "end": { "line": 693, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 22848, "end": 22862, "loc": { "start": { "line": 693, "column": 17 }, "end": { "line": 693, "column": 31 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22862, "end": 22863, "loc": { "start": { "line": 693, "column": 31 }, "end": { "line": 693, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 22863, "end": 22869, "loc": { "start": { "line": 693, "column": 32 }, "end": { "line": 693, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22869, "end": 22870, "loc": { "start": { "line": 693, "column": 38 }, "end": { "line": 693, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22870, "end": 22871, "loc": { "start": { "line": 693, "column": 39 }, "end": { "line": 693, "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": 22883, "end": 22887, "loc": { "start": { "line": 694, "column": 10 }, "end": { "line": 694, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22887, "end": 22888, "loc": { "start": { "line": 694, "column": 14 }, "end": { "line": 694, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 22888, "end": 22902, "loc": { "start": { "line": 694, "column": 15 }, "end": { "line": 694, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22902, "end": 22903, "loc": { "start": { "line": 694, "column": 29 }, "end": { "line": 694, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 22903, "end": 22909, "loc": { "start": { "line": 694, "column": 30 }, "end": { "line": 694, "column": 36 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22909, "end": 22910, "loc": { "start": { "line": 694, "column": 36 }, "end": { "line": 694, "column": 37 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22911, "end": 22912, "loc": { "start": { "line": 694, "column": 38 }, "end": { "line": 694, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22913, "end": 22914, "loc": { "start": { "line": 694, "column": 40 }, "end": { "line": 694, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22914, "end": 22915, "loc": { "start": { "line": 694, "column": 41 }, "end": { "line": 694, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22915, "end": 22916, "loc": { "start": { "line": 694, "column": 42 }, "end": { "line": 694, "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": 22928, "end": 22932, "loc": { "start": { "line": 696, "column": 8 }, "end": { "line": 696, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22932, "end": 22933, "loc": { "start": { "line": 696, "column": 12 }, "end": { "line": 696, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 22933, "end": 22947, "loc": { "start": { "line": 696, "column": 13 }, "end": { "line": 696, "column": 27 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22947, "end": 22948, "loc": { "start": { "line": 696, "column": 27 }, "end": { "line": 696, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 22948, "end": 22954, "loc": { "start": { "line": 696, "column": 28 }, "end": { "line": 696, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22954, "end": 22955, "loc": { "start": { "line": 696, "column": 34 }, "end": { "line": 696, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22955, "end": 22956, "loc": { "start": { "line": 696, "column": 35 }, "end": { "line": 696, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 22956, "end": 22960, "loc": { "start": { "line": 696, "column": 36 }, "end": { "line": 696, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22960, "end": 22961, "loc": { "start": { "line": 696, "column": 40 }, "end": { "line": 696, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 22961, "end": 22970, "loc": { "start": { "line": 696, "column": 41 }, "end": { "line": 696, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22970, "end": 22971, "loc": { "start": { "line": 696, "column": 50 }, "end": { "line": 696, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22971, "end": 22972, "loc": { "start": { "line": 696, "column": 51 }, "end": { "line": 696, "column": 52 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 22984, "end": 23036, "loc": { "start": { "line": 698, "column": 8 }, "end": { "line": 700, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 23046, "end": 23052, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23052, "end": 23053, "loc": { "start": { "line": 701, "column": 14 }, "end": { "line": 701, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 23053, "end": 23064, "loc": { "start": { "line": 701, "column": 15 }, "end": { "line": 701, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23064, "end": 23065, "loc": { "start": { "line": 701, "column": 26 }, "end": { "line": 701, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 23065, "end": 23074, "loc": { "start": { "line": 701, "column": 27 }, "end": { "line": 701, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23074, "end": 23075, "loc": { "start": { "line": 701, "column": 36 }, "end": { "line": 701, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23075, "end": 23076, "loc": { "start": { "line": 701, "column": 37 }, "end": { "line": 701, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23086, "end": 23087, "loc": { "start": { "line": 703, "column": 6 }, "end": { "line": 703, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23087, "end": 23088, "loc": { "start": { "line": 703, "column": 7 }, "end": { "line": 703, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23088, "end": 23089, "loc": { "start": { "line": 703, "column": 8 }, "end": { "line": 703, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 23099, "end": 23149, "loc": { "start": { "line": 705, "column": 6 }, "end": { "line": 707, "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": 23157, "end": 23161, "loc": { "start": { "line": 708, "column": 6 }, "end": { "line": 708, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23161, "end": 23162, "loc": { "start": { "line": 708, "column": 10 }, "end": { "line": 708, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 23162, "end": 23173, "loc": { "start": { "line": 708, "column": 11 }, "end": { "line": 708, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23173, "end": 23174, "loc": { "start": { "line": 708, "column": 22 }, "end": { "line": 708, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 23174, "end": 23185, "loc": { "start": { "line": 708, "column": 23 }, "end": { "line": 708, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23185, "end": 23186, "loc": { "start": { "line": 708, "column": 34 }, "end": { "line": 708, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 23186, "end": 23192, "loc": { "start": { "line": 708, "column": 35 }, "end": { "line": 708, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23192, "end": 23193, "loc": { "start": { "line": 708, "column": 41 }, "end": { "line": 708, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23193, "end": 23194, "loc": { "start": { "line": 708, "column": 42 }, "end": { "line": 708, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23200, "end": 23201, "loc": { "start": { "line": 709, "column": 4 }, "end": { "line": 709, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23201, "end": 23202, "loc": { "start": { "line": 709, "column": 5 }, "end": { "line": 709, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23202, "end": 23203, "loc": { "start": { "line": 709, "column": 6 }, "end": { "line": 709, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 23211, "end": 23248, "loc": { "start": { "line": 711, "column": 4 }, "end": { "line": 713, "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": 23254, "end": 23258, "loc": { "start": { "line": 714, "column": 4 }, "end": { "line": 714, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23258, "end": 23259, "loc": { "start": { "line": 714, "column": 8 }, "end": { "line": 714, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 23259, "end": 23267, "loc": { "start": { "line": 714, "column": 9 }, "end": { "line": 714, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23267, "end": 23268, "loc": { "start": { "line": 714, "column": 17 }, "end": { "line": 714, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23268, "end": 23269, "loc": { "start": { "line": 714, "column": 18 }, "end": { "line": 714, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23269, "end": 23270, "loc": { "start": { "line": 714, "column": 19 }, "end": { "line": 714, "column": 20 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 23278, "end": 23280, "loc": { "start": { "line": 716, "column": 4 }, "end": { "line": 716, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23280, "end": 23281, "loc": { "start": { "line": 716, "column": 6 }, "end": { "line": 716, "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": 23281, "end": 23282, "loc": { "start": { "line": 716, "column": 7 }, "end": { "line": 716, "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": 23282, "end": 23286, "loc": { "start": { "line": 716, "column": 8 }, "end": { "line": 716, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23286, "end": 23287, "loc": { "start": { "line": 716, "column": 12 }, "end": { "line": 716, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialized", "start": 23287, "end": 23298, "loc": { "start": { "line": 716, "column": 13 }, "end": { "line": 716, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23298, "end": 23299, "loc": { "start": { "line": 716, "column": 24 }, "end": { "line": 716, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23299, "end": 23300, "loc": { "start": { "line": 716, "column": 25 }, "end": { "line": 716, "column": 26 } } }, { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 23308, "end": 23390, "loc": { "start": { "line": 717, "column": 6 }, "end": { "line": 719, "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": 23398, "end": 23402, "loc": { "start": { "line": 720, "column": 6 }, "end": { "line": 720, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23402, "end": 23403, "loc": { "start": { "line": 720, "column": 10 }, "end": { "line": 720, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialized", "start": 23403, "end": 23414, "loc": { "start": { "line": 720, "column": 11 }, "end": { "line": 720, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23415, "end": 23416, "loc": { "start": { "line": 720, "column": 23 }, "end": { "line": 720, "column": 24 } } }, { "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": 23417, "end": 23421, "loc": { "start": { "line": 720, "column": 25 }, "end": { "line": 720, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23421, "end": 23422, "loc": { "start": { "line": 720, "column": 29 }, "end": { "line": 720, "column": 30 } } }, { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 23432, "end": 23473, "loc": { "start": { "line": 722, "column": 6 }, "end": { "line": 724, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 23481, "end": 23489, "loc": { "start": { "line": 725, "column": 6 }, "end": { "line": 725, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23489, "end": 23490, "loc": { "start": { "line": 725, "column": 14 }, "end": { "line": 725, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onmouseup", "start": 23490, "end": 23499, "loc": { "start": { "line": 725, "column": 15 }, "end": { "line": 725, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23500, "end": 23501, "loc": { "start": { "line": 725, "column": 25 }, "end": { "line": 725, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23502, "end": 23503, "loc": { "start": { "line": 725, "column": 27 }, "end": { "line": 725, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23503, "end": 23504, "loc": { "start": { "line": 725, "column": 28 }, "end": { "line": 725, "column": 29 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23505, "end": 23507, "loc": { "start": { "line": 725, "column": 30 }, "end": { "line": 725, "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": 23508, "end": 23512, "loc": { "start": { "line": 725, "column": 33 }, "end": { "line": 725, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23512, "end": 23513, "loc": { "start": { "line": 725, "column": 37 }, "end": { "line": 725, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseUp", "start": 23513, "end": 23532, "loc": { "start": { "line": 725, "column": 38 }, "end": { "line": 725, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23532, "end": 23533, "loc": { "start": { "line": 725, "column": 57 }, "end": { "line": 725, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23533, "end": 23534, "loc": { "start": { "line": 725, "column": 58 }, "end": { "line": 725, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23534, "end": 23535, "loc": { "start": { "line": 725, "column": 59 }, "end": { "line": 725, "column": 60 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 23545, "end": 23584, "loc": { "start": { "line": 727, "column": 6 }, "end": { "line": 729, "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": 23592, "end": 23596, "loc": { "start": { "line": 730, "column": 6 }, "end": { "line": 730, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23596, "end": 23597, "loc": { "start": { "line": 730, "column": 10 }, "end": { "line": 730, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 23597, "end": 23603, "loc": { "start": { "line": 730, "column": 11 }, "end": { "line": 730, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23603, "end": 23604, "loc": { "start": { "line": 730, "column": 17 }, "end": { "line": 730, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23604, "end": 23605, "loc": { "start": { "line": 730, "column": 18 }, "end": { "line": 730, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23605, "end": 23606, "loc": { "start": { "line": 730, "column": 19 }, "end": { "line": 730, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23612, "end": 23613, "loc": { "start": { "line": 731, "column": 4 }, "end": { "line": 731, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23617, "end": 23618, "loc": { "start": { "line": 732, "column": 2 }, "end": { "line": 732, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23620, "end": 23621, "loc": { "start": { "line": 733, "column": 0 }, "end": { "line": 733, "column": 1 } } }, { "type": { "label": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 23625, "end": 23631, "loc": { "start": { "line": 735, "column": 0 }, "end": { "line": 735, "column": 6 } } }, { "type": { "label": "default", "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "default", "start": 23632, "end": 23639, "loc": { "start": { "line": 735, "column": 7 }, "end": { "line": 735, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SimpleKeyboard", "start": 23640, "end": 23654, "loc": { "start": { "line": 735, "column": 15 }, "end": { "line": 735, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23654, "end": 23655, "loc": { "start": { "line": 735, "column": 29 }, "end": { "line": 735, "column": 30 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23657, "end": 23657, "loc": { "start": { "line": 736, "column": 0 }, "end": { "line": 736, "column": 0 } } } ] }