{ "type": "File", "start": 0, "end": 24413, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 760, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 24413, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 760, "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": 24377, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 757, "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": 24377, "loc": { "start": { "line": 15, "column": 21 }, "end": { "line": 757, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 679, "end": 7371, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 152, "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": 7371, "loc": { "start": { "line": 20, "column": 24 }, "end": { "line": 152, "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 * @type {object} Classes identifying loaded plugins\r\n ", "start": 4184, "end": 4254, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 68, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4260, "end": 4292, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 4260, "end": 4291, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4260, "end": 4286, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 30 } }, "object": { "type": "ThisExpression", "start": 4260, "end": 4264, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4265, "end": 4286, "loc": { "start": { "line": 69, "column": 9 }, "end": { "line": 69, "column": 30 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false, "leadingComments": null }, "right": { "type": "StringLiteral", "start": 4289, "end": 4291, "loc": { "start": { "line": 69, "column": 33 }, "end": { "line": 69, "column": 35 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Classes identifying loaded plugins\r\n ", "start": 4184, "end": 4254, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 68, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4300, "end": 4329, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 73, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4335, "end": 4398, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 4335, "end": 4397, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4335, "end": 4359, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 28 } }, "object": { "type": "ThisExpression", "start": 4335, "end": 4339, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4340, "end": 4359, "loc": { "start": { "line": 74, "column": 9 }, "end": { "line": 74, "column": 28 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 4362, "end": 4397, "loc": { "start": { "line": 74, "column": 31 }, "end": { "line": 74, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 4362, "end": 4391, "loc": { "start": { "line": 74, "column": 31 }, "end": { "line": 74, "column": 60 } }, "object": { "type": "MemberExpression", "start": 4362, "end": 4386, "loc": { "start": { "line": 74, "column": 31 }, "end": { "line": 74, "column": 55 } }, "object": { "type": "ThisExpression", "start": 4362, "end": 4366, "loc": { "start": { "line": 74, "column": 31 }, "end": { "line": 74, "column": 35 } } }, "property": { "type": "Identifier", "start": 4367, "end": 4386, "loc": { "start": { "line": 74, "column": 36 }, "end": { "line": 74, "column": 55 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "property": { "type": "Identifier", "start": 4387, "end": 4391, "loc": { "start": { "line": 74, "column": 56 }, "end": { "line": 74, "column": 60 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4392, "end": 4396, "loc": { "start": { "line": 74, "column": 61 }, "end": { "line": 74, "column": 65 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4300, "end": 4329, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 73, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4404, "end": 4465, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 4404, "end": 4464, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4404, "end": 4427, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4404, "end": 4408, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 8 } } }, "property": { "type": "Identifier", "start": 4409, "end": 4427, "loc": { "start": { "line": 75, "column": 9 }, "end": { "line": 75, "column": 27 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "right": { "type": "CallExpression", "start": 4430, "end": 4464, "loc": { "start": { "line": 75, "column": 30 }, "end": { "line": 75, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 4430, "end": 4458, "loc": { "start": { "line": 75, "column": 30 }, "end": { "line": 75, "column": 58 } }, "object": { "type": "MemberExpression", "start": 4430, "end": 4453, "loc": { "start": { "line": 75, "column": 30 }, "end": { "line": 75, "column": 53 } }, "object": { "type": "ThisExpression", "start": 4430, "end": 4434, "loc": { "start": { "line": 75, "column": 30 }, "end": { "line": 75, "column": 34 } } }, "property": { "type": "Identifier", "start": 4435, "end": 4453, "loc": { "start": { "line": 75, "column": 35 }, "end": { "line": 75, "column": 53 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "property": { "type": "Identifier", "start": 4454, "end": 4458, "loc": { "start": { "line": 75, "column": 54 }, "end": { "line": 75, "column": 58 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4459, "end": 4463, "loc": { "start": { "line": 75, "column": 59 }, "end": { "line": 75, "column": 63 } } } ] } } }, { "type": "ExpressionStatement", "start": 4471, "end": 4516, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 4471, "end": 4515, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4471, "end": 4486, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 19 } }, "object": { "type": "ThisExpression", "start": 4471, "end": 4475, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 8 } } }, "property": { "type": "Identifier", "start": 4476, "end": 4486, "loc": { "start": { "line": 76, "column": 9 }, "end": { "line": 76, "column": 19 }, "identifierName": "clearInput" }, "name": "clearInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4489, "end": 4515, "loc": { "start": { "line": 76, "column": 22 }, "end": { "line": 76, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 4489, "end": 4509, "loc": { "start": { "line": 76, "column": 22 }, "end": { "line": 76, "column": 42 } }, "object": { "type": "MemberExpression", "start": 4489, "end": 4504, "loc": { "start": { "line": 76, "column": 22 }, "end": { "line": 76, "column": 37 } }, "object": { "type": "ThisExpression", "start": 4489, "end": 4493, "loc": { "start": { "line": 76, "column": 22 }, "end": { "line": 76, "column": 26 } } }, "property": { "type": "Identifier", "start": 4494, "end": 4504, "loc": { "start": { "line": 76, "column": 27 }, "end": { "line": 76, "column": 37 }, "identifierName": "clearInput" }, "name": "clearInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4505, "end": 4509, "loc": { "start": { "line": 76, "column": 38 }, "end": { "line": 76, "column": 42 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4510, "end": 4514, "loc": { "start": { "line": 76, "column": 43 }, "end": { "line": 76, "column": 47 } } } ] } } }, { "type": "ExpressionStatement", "start": 4522, "end": 4563, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4522, "end": 4562, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4522, "end": 4535, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4522, "end": 4526, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 8 } } }, "property": { "type": "Identifier", "start": 4527, "end": 4535, "loc": { "start": { "line": 77, "column": 9 }, "end": { "line": 77, "column": 17 }, "identifierName": "getInput" }, "name": "getInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4538, "end": 4562, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4538, "end": 4556, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4538, "end": 4551, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4538, "end": 4542, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 24 } } }, "property": { "type": "Identifier", "start": 4543, "end": 4551, "loc": { "start": { "line": 77, "column": 25 }, "end": { "line": 77, "column": 33 }, "identifierName": "getInput" }, "name": "getInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4552, "end": 4556, "loc": { "start": { "line": 77, "column": 34 }, "end": { "line": 77, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4557, "end": 4561, "loc": { "start": { "line": 77, "column": 39 }, "end": { "line": 77, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4569, "end": 4610, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4569, "end": 4609, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4569, "end": 4582, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4569, "end": 4573, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 8 } } }, "property": { "type": "Identifier", "start": 4574, "end": 4582, "loc": { "start": { "line": 78, "column": 9 }, "end": { "line": 78, "column": 17 }, "identifierName": "setInput" }, "name": "setInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4585, "end": 4609, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4585, "end": 4603, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4585, "end": 4598, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4585, "end": 4589, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 24 } } }, "property": { "type": "Identifier", "start": 4590, "end": 4598, "loc": { "start": { "line": 78, "column": 25 }, "end": { "line": 78, "column": 33 }, "identifierName": "setInput" }, "name": "setInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4599, "end": 4603, "loc": { "start": { "line": 78, "column": 34 }, "end": { "line": 78, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4604, "end": 4608, "loc": { "start": { "line": 78, "column": 39 }, "end": { "line": 78, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4616, "end": 4665, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 53 } }, "expression": { "type": "AssignmentExpression", "start": 4616, "end": 4664, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4616, "end": 4633, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 21 } }, "object": { "type": "ThisExpression", "start": 4616, "end": 4620, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 8 } } }, "property": { "type": "Identifier", "start": 4621, "end": 4633, "loc": { "start": { "line": 79, "column": 9 }, "end": { "line": 79, "column": 21 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4636, "end": 4664, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 4636, "end": 4658, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 46 } }, "object": { "type": "MemberExpression", "start": 4636, "end": 4653, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 41 } }, "object": { "type": "ThisExpression", "start": 4636, "end": 4640, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 28 } } }, "property": { "type": "Identifier", "start": 4641, "end": 4653, "loc": { "start": { "line": 79, "column": 29 }, "end": { "line": 79, "column": 41 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4654, "end": 4658, "loc": { "start": { "line": 79, "column": 42 }, "end": { "line": 79, "column": 46 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4659, "end": 4663, "loc": { "start": { "line": 79, "column": 47 }, "end": { "line": 79, "column": 51 } } } ] } } }, { "type": "ExpressionStatement", "start": 4671, "end": 4706, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 4671, "end": 4705, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4671, "end": 4681, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 14 } }, "object": { "type": "ThisExpression", "start": 4671, "end": 4675, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 8 } } }, "property": { "type": "Identifier", "start": 4676, "end": 4681, "loc": { "start": { "line": 80, "column": 9 }, "end": { "line": 80, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false }, "right": { "type": "CallExpression", "start": 4684, "end": 4705, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 4684, "end": 4699, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 32 } }, "object": { "type": "MemberExpression", "start": 4684, "end": 4694, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4684, "end": 4688, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 21 } } }, "property": { "type": "Identifier", "start": 4689, "end": 4694, "loc": { "start": { "line": 80, "column": 22 }, "end": { "line": 80, "column": 27 }, "identifierName": "clear" }, "name": "clear" }, "computed": false }, "property": { "type": "Identifier", "start": 4695, "end": 4699, "loc": { "start": { "line": 80, "column": 28 }, "end": { "line": 80, "column": 32 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4700, "end": 4704, "loc": { "start": { "line": 80, "column": 33 }, "end": { "line": 80, "column": 37 } } } ] } } }, { "type": "ExpressionStatement", "start": 4712, "end": 4753, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4712, "end": 4752, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4712, "end": 4725, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4712, "end": 4716, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 8 } } }, "property": { "type": "Identifier", "start": 4717, "end": 4725, "loc": { "start": { "line": 81, "column": 9 }, "end": { "line": 81, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "right": { "type": "CallExpression", "start": 4728, "end": 4752, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4728, "end": 4746, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4728, "end": 4741, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4728, "end": 4732, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 24 } } }, "property": { "type": "Identifier", "start": 4733, "end": 4741, "loc": { "start": { "line": 81, "column": 25 }, "end": { "line": 81, "column": 33 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "property": { "type": "Identifier", "start": 4742, "end": 4746, "loc": { "start": { "line": 81, "column": 34 }, "end": { "line": 81, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4747, "end": 4751, "loc": { "start": { "line": 81, "column": 39 }, "end": { "line": 81, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4759, "end": 4812, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 4759, "end": 4811, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 56 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4759, "end": 4778, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 23 } }, "object": { "type": "ThisExpression", "start": 4759, "end": 4763, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 8 } } }, "property": { "type": "Identifier", "start": 4764, "end": 4778, "loc": { "start": { "line": 82, "column": 9 }, "end": { "line": 82, "column": 23 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme" }, "computed": false }, "right": { "type": "CallExpression", "start": 4781, "end": 4811, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 4781, "end": 4805, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 50 } }, "object": { "type": "MemberExpression", "start": 4781, "end": 4800, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 45 } }, "object": { "type": "ThisExpression", "start": 4781, "end": 4785, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 30 } } }, "property": { "type": "Identifier", "start": 4786, "end": 4800, "loc": { "start": { "line": 82, "column": 31 }, "end": { "line": 82, "column": 45 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 4801, "end": 4805, "loc": { "start": { "line": 82, "column": 46 }, "end": { "line": 82, "column": 50 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4806, "end": 4810, "loc": { "start": { "line": 82, "column": 51 }, "end": { "line": 82, "column": 55 } } } ] } } }, { "type": "ExpressionStatement", "start": 4818, "end": 4877, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 4818, "end": 4876, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4818, "end": 4840, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 26 } }, "object": { "type": "ThisExpression", "start": 4818, "end": 4822, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 8 } } }, "property": { "type": "Identifier", "start": 4823, "end": 4840, "loc": { "start": { "line": 83, "column": 9 }, "end": { "line": 83, "column": 26 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme" }, "computed": false }, "right": { "type": "CallExpression", "start": 4843, "end": 4876, "loc": { "start": { "line": 83, "column": 29 }, "end": { "line": 83, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 4843, "end": 4870, "loc": { "start": { "line": 83, "column": 29 }, "end": { "line": 83, "column": 56 } }, "object": { "type": "MemberExpression", "start": 4843, "end": 4865, "loc": { "start": { "line": 83, "column": 29 }, "end": { "line": 83, "column": 51 } }, "object": { "type": "ThisExpression", "start": 4843, "end": 4847, "loc": { "start": { "line": 83, "column": 29 }, "end": { "line": 83, "column": 33 } } }, "property": { "type": "Identifier", "start": 4848, "end": 4865, "loc": { "start": { "line": 83, "column": 34 }, "end": { "line": 83, "column": 51 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 4866, "end": 4870, "loc": { "start": { "line": 83, "column": 52 }, "end": { "line": 83, "column": 56 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4871, "end": 4875, "loc": { "start": { "line": 83, "column": 57 }, "end": { "line": 83, "column": 61 } } } ] } } }, { "type": "ExpressionStatement", "start": 4883, "end": 4940, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 4883, "end": 4939, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4883, "end": 4904, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 25 } }, "object": { "type": "ThisExpression", "start": 4883, "end": 4887, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 8 } } }, "property": { "type": "Identifier", "start": 4888, "end": 4904, "loc": { "start": { "line": 84, "column": 9 }, "end": { "line": 84, "column": 25 }, "identifierName": "getButtonElement" }, "name": "getButtonElement" }, "computed": false }, "right": { "type": "CallExpression", "start": 4907, "end": 4939, "loc": { "start": { "line": 84, "column": 28 }, "end": { "line": 84, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 4907, "end": 4933, "loc": { "start": { "line": 84, "column": 28 }, "end": { "line": 84, "column": 54 } }, "object": { "type": "MemberExpression", "start": 4907, "end": 4928, "loc": { "start": { "line": 84, "column": 28 }, "end": { "line": 84, "column": 49 } }, "object": { "type": "ThisExpression", "start": 4907, "end": 4911, "loc": { "start": { "line": 84, "column": 28 }, "end": { "line": 84, "column": 32 } } }, "property": { "type": "Identifier", "start": 4912, "end": 4928, "loc": { "start": { "line": 84, "column": 33 }, "end": { "line": 84, "column": 49 }, "identifierName": "getButtonElement" }, "name": "getButtonElement" }, "computed": false }, "property": { "type": "Identifier", "start": 4929, "end": 4933, "loc": { "start": { "line": 84, "column": 50 }, "end": { "line": 84, "column": 54 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4934, "end": 4938, "loc": { "start": { "line": 84, "column": 55 }, "end": { "line": 84, "column": 59 } } } ] } } }, { "type": "ExpressionStatement", "start": 4946, "end": 4993, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 4946, "end": 4992, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4946, "end": 4962, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 20 } }, "object": { "type": "ThisExpression", "start": 4946, "end": 4950, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 8 } } }, "property": { "type": "Identifier", "start": 4951, "end": 4962, "loc": { "start": { "line": 85, "column": 9 }, "end": { "line": 85, "column": 20 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false }, "right": { "type": "CallExpression", "start": 4965, "end": 4992, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 4965, "end": 4986, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 44 } }, "object": { "type": "MemberExpression", "start": 4965, "end": 4981, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 39 } }, "object": { "type": "ThisExpression", "start": 4965, "end": 4969, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 27 } } }, "property": { "type": "Identifier", "start": 4970, "end": 4981, "loc": { "start": { "line": 85, "column": 28 }, "end": { "line": 85, "column": 39 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false }, "property": { "type": "Identifier", "start": 4982, "end": 4986, "loc": { "start": { "line": 85, "column": 40 }, "end": { "line": 85, "column": 44 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4987, "end": 4991, "loc": { "start": { "line": 85, "column": 45 }, "end": { "line": 85, "column": 49 } } } ] } } }, { "type": "ExpressionStatement", "start": 4999, "end": 5058, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 4999, "end": 5057, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4999, "end": 5021, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 26 } }, "object": { "type": "ThisExpression", "start": 4999, "end": 5003, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 8 } } }, "property": { "type": "Identifier", "start": 5004, "end": 5021, "loc": { "start": { "line": 86, "column": 9 }, "end": { "line": 86, "column": 26 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false }, "right": { "type": "CallExpression", "start": 5024, "end": 5057, "loc": { "start": { "line": 86, "column": 29 }, "end": { "line": 86, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 5024, "end": 5051, "loc": { "start": { "line": 86, "column": 29 }, "end": { "line": 86, "column": 56 } }, "object": { "type": "MemberExpression", "start": 5024, "end": 5046, "loc": { "start": { "line": 86, "column": 29 }, "end": { "line": 86, "column": 51 } }, "object": { "type": "ThisExpression", "start": 5024, "end": 5028, "loc": { "start": { "line": 86, "column": 29 }, "end": { "line": 86, "column": 33 } } }, "property": { "type": "Identifier", "start": 5029, "end": 5046, "loc": { "start": { "line": 86, "column": 34 }, "end": { "line": 86, "column": 51 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false }, "property": { "type": "Identifier", "start": 5047, "end": 5051, "loc": { "start": { "line": 86, "column": 52 }, "end": { "line": 86, "column": 56 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5052, "end": 5056, "loc": { "start": { "line": 86, "column": 57 }, "end": { "line": 86, "column": 61 } } } ] } } }, { "type": "ExpressionStatement", "start": 5064, "end": 5101, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 5064, "end": 5100, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5064, "end": 5075, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 15 } }, "object": { "type": "ThisExpression", "start": 5064, "end": 5068, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 8 } } }, "property": { "type": "Identifier", "start": 5069, "end": 5075, "loc": { "start": { "line": 87, "column": 9 }, "end": { "line": 87, "column": 15 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "right": { "type": "CallExpression", "start": 5078, "end": 5100, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 5078, "end": 5094, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 34 } }, "object": { "type": "MemberExpression", "start": 5078, "end": 5089, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 29 } }, "object": { "type": "ThisExpression", "start": 5078, "end": 5082, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 22 } } }, "property": { "type": "Identifier", "start": 5083, "end": 5089, "loc": { "start": { "line": 87, "column": 23 }, "end": { "line": 87, "column": 29 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "property": { "type": "Identifier", "start": 5090, "end": 5094, "loc": { "start": { "line": 87, "column": 30 }, "end": { "line": 87, "column": 34 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5095, "end": 5099, "loc": { "start": { "line": 87, "column": 35 }, "end": { "line": 87, "column": 39 } } } ] } } }, { "type": "ExpressionStatement", "start": 5107, "end": 5148, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 5107, "end": 5147, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5107, "end": 5120, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 17 } }, "object": { "type": "ThisExpression", "start": 5107, "end": 5111, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 8 } } }, "property": { "type": "Identifier", "start": 5112, "end": 5120, "loc": { "start": { "line": 88, "column": 9 }, "end": { "line": 88, "column": 17 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "right": { "type": "CallExpression", "start": 5123, "end": 5147, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 88, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 5123, "end": 5141, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 88, "column": 38 } }, "object": { "type": "MemberExpression", "start": 5123, "end": 5136, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 88, "column": 33 } }, "object": { "type": "ThisExpression", "start": 5123, "end": 5127, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 88, "column": 24 } } }, "property": { "type": "Identifier", "start": 5128, "end": 5136, "loc": { "start": { "line": 88, "column": 25 }, "end": { "line": 88, "column": 33 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "property": { "type": "Identifier", "start": 5137, "end": 5141, "loc": { "start": { "line": 88, "column": 34 }, "end": { "line": 88, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5142, "end": 5146, "loc": { "start": { "line": 88, "column": 39 }, "end": { "line": 88, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 5154, "end": 5191, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 5154, "end": 5190, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5154, "end": 5165, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 15 } }, "object": { "type": "ThisExpression", "start": 5154, "end": 5158, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 8 } } }, "property": { "type": "Identifier", "start": 5159, "end": 5165, "loc": { "start": { "line": 89, "column": 9 }, "end": { "line": 89, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "right": { "type": "CallExpression", "start": 5168, "end": 5190, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 5168, "end": 5184, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 34 } }, "object": { "type": "MemberExpression", "start": 5168, "end": 5179, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 29 } }, "object": { "type": "ThisExpression", "start": 5168, "end": 5172, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 22 } } }, "property": { "type": "Identifier", "start": 5173, "end": 5179, "loc": { "start": { "line": 89, "column": 23 }, "end": { "line": 89, "column": 29 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "property": { "type": "Identifier", "start": 5180, "end": 5184, "loc": { "start": { "line": 89, "column": 30 }, "end": { "line": 89, "column": 34 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5185, "end": 5189, "loc": { "start": { "line": 89, "column": 35 }, "end": { "line": 89, "column": 39 } } } ] } } }, { "type": "ExpressionStatement", "start": 5197, "end": 5244, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 5197, "end": 5243, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5197, "end": 5213, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 20 } }, "object": { "type": "ThisExpression", "start": 5197, "end": 5201, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 8 } } }, "property": { "type": "Identifier", "start": 5202, "end": 5213, "loc": { "start": { "line": 90, "column": 9 }, "end": { "line": 90, "column": 20 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false }, "right": { "type": "CallExpression", "start": 5216, "end": 5243, "loc": { "start": { "line": 90, "column": 23 }, "end": { "line": 90, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 5216, "end": 5237, "loc": { "start": { "line": 90, "column": 23 }, "end": { "line": 90, "column": 44 } }, "object": { "type": "MemberExpression", "start": 5216, "end": 5232, "loc": { "start": { "line": 90, "column": 23 }, "end": { "line": 90, "column": 39 } }, "object": { "type": "ThisExpression", "start": 5216, "end": 5220, "loc": { "start": { "line": 90, "column": 23 }, "end": { "line": 90, "column": 27 } } }, "property": { "type": "Identifier", "start": 5221, "end": 5232, "loc": { "start": { "line": 90, "column": 28 }, "end": { "line": 90, "column": 39 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false }, "property": { "type": "Identifier", "start": 5233, "end": 5237, "loc": { "start": { "line": 90, "column": 40 }, "end": { "line": 90, "column": 44 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5238, "end": 5242, "loc": { "start": { "line": 90, "column": 45 }, "end": { "line": 90, "column": 49 } } } ] } } }, { "type": "ExpressionStatement", "start": 5250, "end": 5313, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 5250, "end": 5312, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5250, "end": 5274, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 28 } }, "object": { "type": "ThisExpression", "start": 5250, "end": 5254, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 8 } } }, "property": { "type": "Identifier", "start": 5255, "end": 5274, "loc": { "start": { "line": 91, "column": 9 }, "end": { "line": 91, "column": 28 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "right": { "type": "CallExpression", "start": 5277, "end": 5312, "loc": { "start": { "line": 91, "column": 31 }, "end": { "line": 91, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 5277, "end": 5306, "loc": { "start": { "line": 91, "column": 31 }, "end": { "line": 91, "column": 60 } }, "object": { "type": "MemberExpression", "start": 5277, "end": 5301, "loc": { "start": { "line": 91, "column": 31 }, "end": { "line": 91, "column": 55 } }, "object": { "type": "ThisExpression", "start": 5277, "end": 5281, "loc": { "start": { "line": 91, "column": 31 }, "end": { "line": 91, "column": 35 } } }, "property": { "type": "Identifier", "start": 5282, "end": 5301, "loc": { "start": { "line": 91, "column": 36 }, "end": { "line": 91, "column": 55 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "property": { "type": "Identifier", "start": 5302, "end": 5306, "loc": { "start": { "line": 91, "column": 56 }, "end": { "line": 91, "column": 60 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5307, "end": 5311, "loc": { "start": { "line": 91, "column": 61 }, "end": { "line": 91, "column": 65 } } } ] } } }, { "type": "ExpressionStatement", "start": 5319, "end": 5386, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 71 } }, "expression": { "type": "AssignmentExpression", "start": 5319, "end": 5385, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5319, "end": 5345, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 30 } }, "object": { "type": "ThisExpression", "start": 5319, "end": 5323, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 8 } } }, "property": { "type": "Identifier", "start": 5324, "end": 5345, "loc": { "start": { "line": 92, "column": 9 }, "end": { "line": 92, "column": 30 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "right": { "type": "CallExpression", "start": 5348, "end": 5385, "loc": { "start": { "line": 92, "column": 33 }, "end": { "line": 92, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 5348, "end": 5379, "loc": { "start": { "line": 92, "column": 33 }, "end": { "line": 92, "column": 64 } }, "object": { "type": "MemberExpression", "start": 5348, "end": 5374, "loc": { "start": { "line": 92, "column": 33 }, "end": { "line": 92, "column": 59 } }, "object": { "type": "ThisExpression", "start": 5348, "end": 5352, "loc": { "start": { "line": 92, "column": 33 }, "end": { "line": 92, "column": 37 } } }, "property": { "type": "Identifier", "start": 5353, "end": 5374, "loc": { "start": { "line": 92, "column": 38 }, "end": { "line": 92, "column": 59 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "property": { "type": "Identifier", "start": 5375, "end": 5379, "loc": { "start": { "line": 92, "column": 60 }, "end": { "line": 92, "column": 64 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5380, "end": 5384, "loc": { "start": { "line": 92, "column": 65 }, "end": { "line": 92, "column": 69 } } } ] } } }, { "type": "ExpressionStatement", "start": 5392, "end": 5449, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 5392, "end": 5448, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5392, "end": 5413, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 25 } }, "object": { "type": "ThisExpression", "start": 5392, "end": 5396, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 8 } } }, "property": { "type": "Identifier", "start": 5397, "end": 5413, "loc": { "start": { "line": 93, "column": 9 }, "end": { "line": 93, "column": 25 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "right": { "type": "CallExpression", "start": 5416, "end": 5448, "loc": { "start": { "line": 93, "column": 28 }, "end": { "line": 93, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 5416, "end": 5442, "loc": { "start": { "line": 93, "column": 28 }, "end": { "line": 93, "column": 54 } }, "object": { "type": "MemberExpression", "start": 5416, "end": 5437, "loc": { "start": { "line": 93, "column": 28 }, "end": { "line": 93, "column": 49 } }, "object": { "type": "ThisExpression", "start": 5416, "end": 5420, "loc": { "start": { "line": 93, "column": 28 }, "end": { "line": 93, "column": 32 } } }, "property": { "type": "Identifier", "start": 5421, "end": 5437, "loc": { "start": { "line": 93, "column": 33 }, "end": { "line": 93, "column": 49 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "property": { "type": "Identifier", "start": 5438, "end": 5442, "loc": { "start": { "line": 93, "column": 50 }, "end": { "line": 93, "column": 54 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5443, "end": 5447, "loc": { "start": { "line": 93, "column": 55 }, "end": { "line": 93, "column": 59 } } } ] } } }, { "type": "ExpressionStatement", "start": 5455, "end": 5510, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 59 } }, "expression": { "type": "AssignmentExpression", "start": 5455, "end": 5509, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 58 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5455, "end": 5475, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 24 } }, "object": { "type": "ThisExpression", "start": 5455, "end": 5459, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 8 } } }, "property": { "type": "Identifier", "start": 5460, "end": 5475, "loc": { "start": { "line": 94, "column": 9 }, "end": { "line": 94, "column": 24 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "right": { "type": "CallExpression", "start": 5478, "end": 5509, "loc": { "start": { "line": 94, "column": 27 }, "end": { "line": 94, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 5478, "end": 5503, "loc": { "start": { "line": 94, "column": 27 }, "end": { "line": 94, "column": 52 } }, "object": { "type": "MemberExpression", "start": 5478, "end": 5498, "loc": { "start": { "line": 94, "column": 27 }, "end": { "line": 94, "column": 47 } }, "object": { "type": "ThisExpression", "start": 5478, "end": 5482, "loc": { "start": { "line": 94, "column": 27 }, "end": { "line": 94, "column": 31 } } }, "property": { "type": "Identifier", "start": 5483, "end": 5498, "loc": { "start": { "line": 94, "column": 32 }, "end": { "line": 94, "column": 47 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "property": { "type": "Identifier", "start": 5499, "end": 5503, "loc": { "start": { "line": 94, "column": 48 }, "end": { "line": 94, "column": 52 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5504, "end": 5508, "loc": { "start": { "line": 94, "column": 53 }, "end": { "line": 94, "column": 57 } } } ] } }, "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": 5518, "end": 6177, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 109, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6183, "end": 6199, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 20 } }, "expression": { "type": "AssignmentExpression", "start": 6183, "end": 6198, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 19 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6183, "end": 6193, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 14 } }, "object": { "type": "ThisExpression", "start": 6183, "end": 6187, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6188, "end": 6193, "loc": { "start": { "line": 110, "column": 9 }, "end": { "line": 110, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 6196, "end": 6198, "loc": { "start": { "line": 110, "column": 17 }, "end": { "line": 110, "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": 5518, "end": 6177, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 109, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6205, "end": 6245, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 111, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 6205, "end": 6244, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 111, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6205, "end": 6239, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 111, "column": 38 } }, "object": { "type": "MemberExpression", "start": 6205, "end": 6215, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 111, "column": 14 } }, "object": { "type": "ThisExpression", "start": 6205, "end": 6209, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 111, "column": 8 } } }, "property": { "type": "Identifier", "start": 6210, "end": 6215, "loc": { "start": { "line": 111, "column": 9 }, "end": { "line": 111, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6216, "end": 6238, "loc": { "start": { "line": 111, "column": 15 }, "end": { "line": 111, "column": 37 } }, "object": { "type": "MemberExpression", "start": 6216, "end": 6228, "loc": { "start": { "line": 111, "column": 15 }, "end": { "line": 111, "column": 27 } }, "object": { "type": "ThisExpression", "start": 6216, "end": 6220, "loc": { "start": { "line": 111, "column": 15 }, "end": { "line": 111, "column": 19 } } }, "property": { "type": "Identifier", "start": 6221, "end": 6228, "loc": { "start": { "line": 111, "column": 20 }, "end": { "line": 111, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6229, "end": 6238, "loc": { "start": { "line": 111, "column": 28 }, "end": { "line": 111, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 6242, "end": 6244, "loc": { "start": { "line": 111, "column": 41 }, "end": { "line": 111, "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": 6253, "end": 6362, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 115, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6368, "end": 6429, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 6368, "end": 6428, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6368, "end": 6389, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 25 } }, "object": { "type": "ThisExpression", "start": 6368, "end": 6372, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6373, "end": 6389, "loc": { "start": { "line": 116, "column": 9 }, "end": { "line": 116, "column": 25 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 6392, "end": 6428, "loc": { "start": { "line": 116, "column": 28 }, "end": { "line": 116, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 6392, "end": 6424, "loc": { "start": { "line": 116, "column": 28 }, "end": { "line": 116, "column": 60 } }, "object": { "type": "CallExpression", "start": 6392, "end": 6419, "loc": { "start": { "line": 116, "column": 28 }, "end": { "line": 116, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 6392, "end": 6414, "loc": { "start": { "line": 116, "column": 28 }, "end": { "line": 116, "column": 50 } }, "object": { "type": "Identifier", "start": 6392, "end": 6408, "loc": { "start": { "line": 116, "column": 28 }, "end": { "line": 116, "column": 44 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" }, "property": { "type": "Identifier", "start": 6409, "end": 6414, "loc": { "start": { "line": 116, "column": 45 }, "end": { "line": 116, "column": 50 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6415, "end": 6418, "loc": { "start": { "line": 116, "column": 51 }, "end": { "line": 116, "column": 54 } }, "extra": { "rawValue": ".", "raw": "'.'" }, "value": "." } ] }, "property": { "type": "Identifier", "start": 6420, "end": 6424, "loc": { "start": { "line": 116, "column": 56 }, "end": { "line": 116, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6425, "end": 6427, "loc": { "start": { "line": 116, "column": 61 }, "end": { "line": 116, "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": 6253, "end": 6362, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 115, "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": 6437, "end": 6582, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 120, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6588, "end": 6613, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 6588, "end": 6612, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6588, "end": 6607, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 23 } }, "object": { "type": "ThisExpression", "start": 6588, "end": 6592, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6593, "end": 6607, "loc": { "start": { "line": 121, "column": 9 }, "end": { "line": 121, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 6610, "end": 6612, "loc": { "start": { "line": 121, "column": 26 }, "end": { "line": 121, "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": 6437, "end": 6582, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 120, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 6621, "end": 6660, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 125, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6666, "end": 6845, "loc": { "start": { "line": 126, "column": 4 }, "end": { "line": 131, "column": 5 } }, "test": { "type": "MemberExpression", "start": 6669, "end": 6685, "loc": { "start": { "line": 126, "column": 7 }, "end": { "line": 126, "column": 23 } }, "object": { "type": "ThisExpression", "start": 6669, "end": 6673, "loc": { "start": { "line": 126, "column": 7 }, "end": { "line": 126, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6674, "end": 6685, "loc": { "start": { "line": 126, "column": 12 }, "end": { "line": 126, "column": 23 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 6694, "end": 6708, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 20 } }, "expression": { "type": "CallExpression", "start": 6694, "end": 6707, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 6694, "end": 6705, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 17 } }, "object": { "type": "ThisExpression", "start": 6694, "end": 6698, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 10 } } }, "property": { "type": "Identifier", "start": 6699, "end": 6705, "loc": { "start": { "line": 127, "column": 11 }, "end": { "line": 127, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, "alternate": { "type": "BlockStatement", "start": 6719, "end": 6845, "loc": { "start": { "line": 128, "column": 9 }, "end": { "line": 131, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6728, "end": 6792, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 70 } }, "expression": { "type": "CallExpression", "start": 6728, "end": 6791, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 6728, "end": 6740, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 18 } }, "object": { "type": "Identifier", "start": 6728, "end": 6735, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 6736, "end": 6740, "loc": { "start": { "line": 129, "column": 14 }, "end": { "line": 129, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 6741, "end": 6790, "loc": { "start": { "line": 129, "column": 19 }, "end": { "line": 129, "column": 68 } }, "expressions": [ { "type": "Identifier", "start": 6745, "end": 6761, "loc": { "start": { "line": 129, "column": 23 }, "end": { "line": 129, "column": 39 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" } ], "quasis": [ { "type": "TemplateElement", "start": 6742, "end": 6743, "loc": { "start": { "line": 129, "column": 20 }, "end": { "line": 129, "column": 21 } }, "value": { "raw": "\"", "cooked": "\"" }, "tail": false }, { "type": "TemplateElement", "start": 6762, "end": 6789, "loc": { "start": { "line": 129, "column": 40 }, "end": { "line": 129, "column": 67 } }, "value": { "raw": "\" was not found in the DOM.", "cooked": "\" was not found in the DOM." }, "tail": true } ] } ] } }, { "type": "ThrowStatement", "start": 6800, "end": 6838, "loc": { "start": { "line": 130, "column": 6 }, "end": { "line": 130, "column": 44 } }, "argument": { "type": "NewExpression", "start": 6806, "end": 6837, "loc": { "start": { "line": 130, "column": 12 }, "end": { "line": 130, "column": 43 } }, "callee": { "type": "Identifier", "start": 6810, "end": 6815, "loc": { "start": { "line": 130, "column": 16 }, "end": { "line": 130, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 6816, "end": 6836, "loc": { "start": { "line": 130, "column": 22 }, "end": { "line": 130, "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": 6621, "end": 6660, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 125, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 6853, "end": 6966, "loc": { "start": { "line": 133, "column": 4 }, "end": { "line": 136, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6972, "end": 7057, "loc": { "start": { "line": 137, "column": 4 }, "end": { "line": 138, "column": 45 } }, "test": { "type": "UnaryExpression", "start": 6975, "end": 7009, "loc": { "start": { "line": 137, "column": 7 }, "end": { "line": 137, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 6976, "end": 7009, "loc": { "start": { "line": 137, "column": 8 }, "end": { "line": 137, "column": 41 } }, "object": { "type": "Identifier", "start": 6976, "end": 6982, "loc": { "start": { "line": 137, "column": 8 }, "end": { "line": 137, "column": 14 }, "identifierName": "window" }, "name": "window", "leadingComments": null }, "property": { "type": "StringLiteral", "start": 6983, "end": 7008, "loc": { "start": { "line": 137, "column": 15 }, "end": { "line": 137, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 7018, "end": 7057, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 7018, "end": 7056, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7018, "end": 7051, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 39 } }, "object": { "type": "Identifier", "start": 7018, "end": 7024, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 12 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 7025, "end": 7050, "loc": { "start": { "line": 138, "column": 13 }, "end": { "line": 138, "column": 38 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 7054, "end": 7056, "loc": { "start": { "line": 138, "column": 42 }, "end": { "line": 138, "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": 6853, "end": 6966, "loc": { "start": { "line": 133, "column": 4 }, "end": { "line": 136, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7071, "end": 7161, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 94 } }, "expression": { "type": "AssignmentExpression", "start": 7071, "end": 7160, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 93 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7071, "end": 7153, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 86 } }, "object": { "type": "MemberExpression", "start": 7071, "end": 7104, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 37 } }, "object": { "type": "Identifier", "start": 7071, "end": 7077, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 10 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 7078, "end": 7103, "loc": { "start": { "line": 140, "column": 11 }, "end": { "line": 140, "column": 36 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "CallExpression", "start": 7105, "end": 7152, "loc": { "start": { "line": 140, "column": 38 }, "end": { "line": 140, "column": 85 } }, "callee": { "type": "MemberExpression", "start": 7105, "end": 7129, "loc": { "start": { "line": 140, "column": 38 }, "end": { "line": 140, "column": 62 } }, "object": { "type": "MemberExpression", "start": 7105, "end": 7119, "loc": { "start": { "line": 140, "column": 38 }, "end": { "line": 140, "column": 52 } }, "object": { "type": "ThisExpression", "start": 7105, "end": 7109, "loc": { "start": { "line": 140, "column": 38 }, "end": { "line": 140, "column": 42 } } }, "property": { "type": "Identifier", "start": 7110, "end": 7119, "loc": { "start": { "line": 140, "column": 43 }, "end": { "line": 140, "column": 52 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 7120, "end": 7129, "loc": { "start": { "line": 140, "column": 53 }, "end": { "line": 140, "column": 62 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 7130, "end": 7151, "loc": { "start": { "line": 140, "column": 63 }, "end": { "line": 140, "column": 84 } }, "object": { "type": "ThisExpression", "start": 7130, "end": 7134, "loc": { "start": { "line": 140, "column": 63 }, "end": { "line": 140, "column": 67 } } }, "property": { "type": "Identifier", "start": 7135, "end": 7151, "loc": { "start": { "line": 140, "column": 68 }, "end": { "line": 140, "column": 84 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } ] }, "computed": true }, "right": { "type": "ThisExpression", "start": 7156, "end": 7160, "loc": { "start": { "line": 140, "column": 89 }, "end": { "line": 140, "column": 93 } } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 7169, "end": 7215, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 144, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7221, "end": 7281, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 64 } }, "expression": { "type": "AssignmentExpression", "start": 7221, "end": 7280, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7221, "end": 7251, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 34 } }, "object": { "type": "ThisExpression", "start": 7221, "end": 7225, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7226, "end": 7251, "loc": { "start": { "line": 145, "column": 9 }, "end": { "line": 145, "column": 34 }, "identifierName": "physicalKeyboardInterface" }, "name": "physicalKeyboardInterface" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 7254, "end": 7280, "loc": { "start": { "line": 145, "column": 37 }, "end": { "line": 145, "column": 63 } }, "callee": { "type": "Identifier", "start": 7258, "end": 7274, "loc": { "start": { "line": 145, "column": 41 }, "end": { "line": 145, "column": 57 }, "identifierName": "PhysicalKeyboard" }, "name": "PhysicalKeyboard" }, "arguments": [ { "type": "ThisExpression", "start": 7275, "end": 7279, "loc": { "start": { "line": 145, "column": 58 }, "end": { "line": 145, "column": 62 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 7169, "end": 7215, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 144, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Modules\r\n ", "start": 7289, "end": 7317, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 149, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7323, "end": 7341, "loc": { "start": { "line": 150, "column": 4 }, "end": { "line": 150, "column": 22 } }, "expression": { "type": "AssignmentExpression", "start": 7323, "end": 7340, "loc": { "start": { "line": 150, "column": 4 }, "end": { "line": 150, "column": 21 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7323, "end": 7335, "loc": { "start": { "line": 150, "column": 4 }, "end": { "line": 150, "column": 16 } }, "object": { "type": "ThisExpression", "start": 7323, "end": 7327, "loc": { "start": { "line": 150, "column": 4 }, "end": { "line": 150, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7328, "end": 7335, "loc": { "start": { "line": 150, "column": 9 }, "end": { "line": 150, "column": 16 }, "identifierName": "modules" }, "name": "modules" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 7338, "end": 7340, "loc": { "start": { "line": 150, "column": 19 }, "end": { "line": 150, "column": 21 } }, "properties": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Modules\r\n ", "start": 7289, "end": 7317, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 149, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7347, "end": 7366, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 151, "column": 23 } }, "expression": { "type": "CallExpression", "start": 7347, "end": 7365, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 151, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 7347, "end": 7363, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 151, "column": 20 } }, "object": { "type": "ThisExpression", "start": 7347, "end": 7351, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 151, "column": 8 } } }, "property": { "type": "Identifier", "start": 7352, "end": 7363, "loc": { "start": { "line": 151, "column": 9 }, "end": { "line": 151, "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": 7377, "end": 7489, "loc": { "start": { "line": 154, "column": 2 }, "end": { "line": 157, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 7493, "end": 8880, "loc": { "start": { "line": 158, "column": 2 }, "end": { "line": 208, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7493, "end": 7512, "loc": { "start": { "line": 158, "column": 2 }, "end": { "line": 158, "column": 21 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7513, "end": 7519, "loc": { "start": { "line": 158, "column": 22 }, "end": { "line": 158, "column": 28 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 7520, "end": 8880, "loc": { "start": { "line": 158, "column": 29 }, "end": { "line": 208, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 7527, "end": 7558, "loc": { "start": { "line": 159, "column": 4 }, "end": { "line": 159, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7531, "end": 7557, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 34 } }, "id": { "type": "Identifier", "start": 7531, "end": 7536, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 13 }, "identifierName": "debug" }, "name": "debug" }, "init": { "type": "MemberExpression", "start": 7539, "end": 7557, "loc": { "start": { "line": 159, "column": 16 }, "end": { "line": 159, "column": 34 } }, "object": { "type": "MemberExpression", "start": 7539, "end": 7551, "loc": { "start": { "line": 159, "column": 16 }, "end": { "line": 159, "column": 28 } }, "object": { "type": "ThisExpression", "start": 7539, "end": 7543, "loc": { "start": { "line": 159, "column": 16 }, "end": { "line": 159, "column": 20 } } }, "property": { "type": "Identifier", "start": 7544, "end": 7551, "loc": { "start": { "line": 159, "column": 21 }, "end": { "line": 159, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7552, "end": 7557, "loc": { "start": { "line": 159, "column": 29 }, "end": { "line": 159, "column": 34 }, "identifierName": "debug" }, "name": "debug" }, "computed": false } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 7566, "end": 7615, "loc": { "start": { "line": 161, "column": 4 }, "end": { "line": 163, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7621, "end": 7663, "loc": { "start": { "line": 164, "column": 4 }, "end": { "line": 165, "column": 19 } }, "test": { "type": "BinaryExpression", "start": 7624, "end": 7641, "loc": { "start": { "line": 164, "column": 7 }, "end": { "line": 164, "column": 24 } }, "left": { "type": "Identifier", "start": 7624, "end": 7630, "loc": { "start": { "line": 164, "column": 7 }, "end": { "line": 164, "column": 13 }, "identifierName": "button" }, "name": "button", "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 7635, "end": 7641, "loc": { "start": { "line": 164, "column": 18 }, "end": { "line": 164, "column": 24 } }, "extra": { "rawValue": "{//}", "raw": "'{//}'" }, "value": "{//}" }, "leadingComments": null }, "consequent": { "type": "ReturnStatement", "start": 7650, "end": 7663, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 7657, "end": 7662, "loc": { "start": { "line": 165, "column": 13 }, "end": { "line": 165, "column": 18 } }, "value": false }, "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 7566, "end": 7615, "loc": { "start": { "line": 161, "column": 4 }, "end": { "line": 163, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 7671, "end": 7710, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 169, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7716, "end": 7805, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 171, "column": 38 } }, "test": { "type": "BinaryExpression", "start": 7719, "end": 7764, "loc": { "start": { "line": 170, "column": 7 }, "end": { "line": 170, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 7719, "end": 7749, "loc": { "start": { "line": 170, "column": 7 }, "end": { "line": 170, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 7726, "end": 7749, "loc": { "start": { "line": 170, "column": 14 }, "end": { "line": 170, "column": 37 } }, "object": { "type": "MemberExpression", "start": 7726, "end": 7738, "loc": { "start": { "line": 170, "column": 14 }, "end": { "line": 170, "column": 26 } }, "object": { "type": "ThisExpression", "start": 7726, "end": 7730, "loc": { "start": { "line": 170, "column": 14 }, "end": { "line": 170, "column": 18 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7731, "end": 7738, "loc": { "start": { "line": 170, "column": 19 }, "end": { "line": 170, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 7739, "end": 7749, "loc": { "start": { "line": 170, "column": 27 }, "end": { "line": 170, "column": 37 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 7754, "end": 7764, "loc": { "start": { "line": 170, "column": 42 }, "end": { "line": 170, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 7773, "end": 7805, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 38 } }, "expression": { "type": "CallExpression", "start": 7773, "end": 7804, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 7773, "end": 7796, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 29 } }, "object": { "type": "MemberExpression", "start": 7773, "end": 7785, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 18 } }, "object": { "type": "ThisExpression", "start": 7773, "end": 7777, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 10 } } }, "property": { "type": "Identifier", "start": 7778, "end": 7785, "loc": { "start": { "line": 171, "column": 11 }, "end": { "line": 171, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7786, "end": 7796, "loc": { "start": { "line": 171, "column": 19 }, "end": { "line": 171, "column": 29 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7797, "end": 7803, "loc": { "start": { "line": 171, "column": 30 }, "end": { "line": 171, "column": 36 }, "identifierName": "button" }, "name": "button" } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 7671, "end": 7710, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 169, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7817, "end": 7904, "loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 174, "column": 46 } }, "test": { "type": "UnaryExpression", "start": 7820, "end": 7855, "loc": { "start": { "line": 173, "column": 7 }, "end": { "line": 173, "column": 42 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 7821, "end": 7855, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 42 } }, "object": { "type": "MemberExpression", "start": 7821, "end": 7831, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 18 } }, "object": { "type": "ThisExpression", "start": 7821, "end": 7825, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 12 } } }, "property": { "type": "Identifier", "start": 7826, "end": 7831, "loc": { "start": { "line": 173, "column": 13 }, "end": { "line": 173, "column": 18 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7832, "end": 7854, "loc": { "start": { "line": 173, "column": 19 }, "end": { "line": 173, "column": 41 } }, "object": { "type": "MemberExpression", "start": 7832, "end": 7844, "loc": { "start": { "line": 173, "column": 19 }, "end": { "line": 173, "column": 31 } }, "object": { "type": "ThisExpression", "start": 7832, "end": 7836, "loc": { "start": { "line": 173, "column": 19 }, "end": { "line": 173, "column": 23 } } }, "property": { "type": "Identifier", "start": 7837, "end": 7844, "loc": { "start": { "line": 173, "column": 24 }, "end": { "line": 173, "column": 31 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7845, "end": 7854, "loc": { "start": { "line": 173, "column": 32 }, "end": { "line": 173, "column": 41 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 7864, "end": 7904, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 174, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 7864, "end": 7903, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 174, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7864, "end": 7898, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 174, "column": 40 } }, "object": { "type": "MemberExpression", "start": 7864, "end": 7874, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 174, "column": 16 } }, "object": { "type": "ThisExpression", "start": 7864, "end": 7868, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 174, "column": 10 } } }, "property": { "type": "Identifier", "start": 7869, "end": 7874, "loc": { "start": { "line": 174, "column": 11 }, "end": { "line": 174, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7875, "end": 7897, "loc": { "start": { "line": 174, "column": 17 }, "end": { "line": 174, "column": 39 } }, "object": { "type": "MemberExpression", "start": 7875, "end": 7887, "loc": { "start": { "line": 174, "column": 17 }, "end": { "line": 174, "column": 29 } }, "object": { "type": "ThisExpression", "start": 7875, "end": 7879, "loc": { "start": { "line": 174, "column": 17 }, "end": { "line": 174, "column": 21 } } }, "property": { "type": "Identifier", "start": 7880, "end": 7887, "loc": { "start": { "line": 174, "column": 22 }, "end": { "line": 174, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7888, "end": 7897, "loc": { "start": { "line": 174, "column": 30 }, "end": { "line": 174, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 7901, "end": 7903, "loc": { "start": { "line": 174, "column": 43 }, "end": { "line": 174, "column": 45 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 7912, "end": 8040, "loc": { "start": { "line": 176, "column": 4 }, "end": { "line": 176, "column": 132 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7916, "end": 8039, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 131 } }, "id": { "type": "Identifier", "start": 7916, "end": 7928, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 20 }, "identifierName": "updatedInput" }, "name": "updatedInput" }, "init": { "type": "CallExpression", "start": 7931, "end": 8039, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 176, "column": 131 } }, "callee": { "type": "MemberExpression", "start": 7931, "end": 7961, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 176, "column": 53 } }, "object": { "type": "MemberExpression", "start": 7931, "end": 7945, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 176, "column": 37 } }, "object": { "type": "ThisExpression", "start": 7931, "end": 7935, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 176, "column": 27 } } }, "property": { "type": "Identifier", "start": 7936, "end": 7945, "loc": { "start": { "line": 176, "column": 28 }, "end": { "line": 176, "column": 37 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 7946, "end": 7961, "loc": { "start": { "line": 176, "column": 38 }, "end": { "line": 176, "column": 53 }, "identifierName": "getUpdatedInput" }, "name": "getUpdatedInput" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7962, "end": 7968, "loc": { "start": { "line": 176, "column": 54 }, "end": { "line": 176, "column": 60 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 7970, "end": 8004, "loc": { "start": { "line": 176, "column": 62 }, "end": { "line": 176, "column": 96 } }, "object": { "type": "MemberExpression", "start": 7970, "end": 7980, "loc": { "start": { "line": 176, "column": 62 }, "end": { "line": 176, "column": 72 } }, "object": { "type": "ThisExpression", "start": 7970, "end": 7974, "loc": { "start": { "line": 176, "column": 62 }, "end": { "line": 176, "column": 66 } } }, "property": { "type": "Identifier", "start": 7975, "end": 7980, "loc": { "start": { "line": 176, "column": 67 }, "end": { "line": 176, "column": 72 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7981, "end": 8003, "loc": { "start": { "line": 176, "column": 73 }, "end": { "line": 176, "column": 95 } }, "object": { "type": "MemberExpression", "start": 7981, "end": 7993, "loc": { "start": { "line": 176, "column": 73 }, "end": { "line": 176, "column": 85 } }, "object": { "type": "ThisExpression", "start": 7981, "end": 7985, "loc": { "start": { "line": 176, "column": 73 }, "end": { "line": 176, "column": 77 } } }, "property": { "type": "Identifier", "start": 7986, "end": 7993, "loc": { "start": { "line": 176, "column": 78 }, "end": { "line": 176, "column": 85 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7994, "end": 8003, "loc": { "start": { "line": 176, "column": 86 }, "end": { "line": 176, "column": 95 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, { "type": "MemberExpression", "start": 8006, "end": 8018, "loc": { "start": { "line": 176, "column": 98 }, "end": { "line": 176, "column": 110 } }, "object": { "type": "ThisExpression", "start": 8006, "end": 8010, "loc": { "start": { "line": 176, "column": 98 }, "end": { "line": 176, "column": 102 } } }, "property": { "type": "Identifier", "start": 8011, "end": 8018, "loc": { "start": { "line": 176, "column": 103 }, "end": { "line": 176, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "MemberExpression", "start": 8020, "end": 8038, "loc": { "start": { "line": 176, "column": 112 }, "end": { "line": 176, "column": 130 } }, "object": { "type": "ThisExpression", "start": 8020, "end": 8024, "loc": { "start": { "line": 176, "column": 112 }, "end": { "line": 176, "column": 116 } } }, "property": { "type": "Identifier", "start": 8025, "end": 8038, "loc": { "start": { "line": 176, "column": 117 }, "end": { "line": 176, "column": 130 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 8048, "end": 8802, "loc": { "start": { "line": 178, "column": 4 }, "end": { "line": 203, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 8051, "end": 8102, "loc": { "start": { "line": 178, "column": 7 }, "end": { "line": 178, "column": 58 } }, "left": { "type": "MemberExpression", "start": 8051, "end": 8085, "loc": { "start": { "line": 178, "column": 7 }, "end": { "line": 178, "column": 41 } }, "object": { "type": "MemberExpression", "start": 8051, "end": 8061, "loc": { "start": { "line": 178, "column": 7 }, "end": { "line": 178, "column": 17 } }, "object": { "type": "ThisExpression", "start": 8051, "end": 8055, "loc": { "start": { "line": 178, "column": 7 }, "end": { "line": 178, "column": 11 } } }, "property": { "type": "Identifier", "start": 8056, "end": 8061, "loc": { "start": { "line": 178, "column": 12 }, "end": { "line": 178, "column": 17 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8062, "end": 8084, "loc": { "start": { "line": 178, "column": 18 }, "end": { "line": 178, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8062, "end": 8074, "loc": { "start": { "line": 178, "column": 18 }, "end": { "line": 178, "column": 30 } }, "object": { "type": "ThisExpression", "start": 8062, "end": 8066, "loc": { "start": { "line": 178, "column": 18 }, "end": { "line": 178, "column": 22 } } }, "property": { "type": "Identifier", "start": 8067, "end": 8074, "loc": { "start": { "line": 178, "column": 23 }, "end": { "line": 178, "column": 30 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8075, "end": 8084, "loc": { "start": { "line": 178, "column": 31 }, "end": { "line": 178, "column": 40 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "operator": "!==", "right": { "type": "Identifier", "start": 8090, "end": 8102, "loc": { "start": { "line": 178, "column": 46 }, "end": { "line": 178, "column": 58 }, "identifierName": "updatedInput" }, "name": "updatedInput" } }, "consequent": { "type": "BlockStatement", "start": 8103, "end": 8802, "loc": { "start": { "line": 178, "column": 59 }, "end": { "line": 203, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 8199, "end": 8332, "loc": { "start": { "line": 183, "column": 6 }, "end": { "line": 185, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 8202, "end": 8298, "loc": { "start": { "line": 183, "column": 9 }, "end": { "line": 183, "column": 105 } }, "left": { "type": "MemberExpression", "start": 8202, "end": 8224, "loc": { "start": { "line": 183, "column": 9 }, "end": { "line": 183, "column": 31 } }, "object": { "type": "MemberExpression", "start": 8202, "end": 8214, "loc": { "start": { "line": 183, "column": 9 }, "end": { "line": 183, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8202, "end": 8206, "loc": { "start": { "line": 183, "column": 9 }, "end": { "line": 183, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8207, "end": 8214, "loc": { "start": { "line": 183, "column": 14 }, "end": { "line": 183, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8215, "end": 8224, "loc": { "start": { "line": 183, "column": 22 }, "end": { "line": 183, "column": 31 }, "identifierName": "maxLength" }, "name": "maxLength" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 8228, "end": 8298, "loc": { "start": { "line": 183, "column": 35 }, "end": { "line": 183, "column": 105 } }, "callee": { "type": "MemberExpression", "start": 8228, "end": 8258, "loc": { "start": { "line": 183, "column": 35 }, "end": { "line": 183, "column": 65 } }, "object": { "type": "MemberExpression", "start": 8228, "end": 8242, "loc": { "start": { "line": 183, "column": 35 }, "end": { "line": 183, "column": 49 } }, "object": { "type": "ThisExpression", "start": 8228, "end": 8232, "loc": { "start": { "line": 183, "column": 35 }, "end": { "line": 183, "column": 39 } } }, "property": { "type": "Identifier", "start": 8233, "end": 8242, "loc": { "start": { "line": 183, "column": 40 }, "end": { "line": 183, "column": 49 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 8243, "end": 8258, "loc": { "start": { "line": 183, "column": 50 }, "end": { "line": 183, "column": 65 }, "identifierName": "handleMaxLength" }, "name": "handleMaxLength" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8259, "end": 8269, "loc": { "start": { "line": 183, "column": 66 }, "end": { "line": 183, "column": 76 } }, "object": { "type": "ThisExpression", "start": 8259, "end": 8263, "loc": { "start": { "line": 183, "column": 66 }, "end": { "line": 183, "column": 70 } } }, "property": { "type": "Identifier", "start": 8264, "end": 8269, "loc": { "start": { "line": 183, "column": 71 }, "end": { "line": 183, "column": 76 }, "identifierName": "input" }, "name": "input" }, "computed": false }, { "type": "MemberExpression", "start": 8271, "end": 8283, "loc": { "start": { "line": 183, "column": 78 }, "end": { "line": 183, "column": 90 } }, "object": { "type": "ThisExpression", "start": 8271, "end": 8275, "loc": { "start": { "line": 183, "column": 78 }, "end": { "line": 183, "column": 82 } } }, "property": { "type": "Identifier", "start": 8276, "end": 8283, "loc": { "start": { "line": 183, "column": 83 }, "end": { "line": 183, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 8285, "end": 8297, "loc": { "start": { "line": 183, "column": 92 }, "end": { "line": 183, "column": 104 }, "identifierName": "updatedInput" }, "name": "updatedInput" } ] }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 8299, "end": 8332, "loc": { "start": { "line": 183, "column": 106 }, "end": { "line": 185, "column": 7 } }, "body": [ { "type": "ReturnStatement", "start": 8310, "end": 8323, "loc": { "start": { "line": 184, "column": 8 }, "end": { "line": 184, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 8317, "end": 8322, "loc": { "start": { "line": 184, "column": 15 }, "end": { "line": 184, "column": 20 } }, "value": false } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", "start": 8114, "end": 8191, "loc": { "start": { "line": 180, "column": 6 }, "end": { "line": 182, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 8342, "end": 8392, "loc": { "start": { "line": 187, "column": 6 }, "end": { "line": 187, "column": 56 } }, "expression": { "type": "AssignmentExpression", "start": 8342, "end": 8391, "loc": { "start": { "line": 187, "column": 6 }, "end": { "line": 187, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8342, "end": 8376, "loc": { "start": { "line": 187, "column": 6 }, "end": { "line": 187, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8342, "end": 8352, "loc": { "start": { "line": 187, "column": 6 }, "end": { "line": 187, "column": 16 } }, "object": { "type": "ThisExpression", "start": 8342, "end": 8346, "loc": { "start": { "line": 187, "column": 6 }, "end": { "line": 187, "column": 10 } } }, "property": { "type": "Identifier", "start": 8347, "end": 8352, "loc": { "start": { "line": 187, "column": 11 }, "end": { "line": 187, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8353, "end": 8375, "loc": { "start": { "line": 187, "column": 17 }, "end": { "line": 187, "column": 39 } }, "object": { "type": "MemberExpression", "start": 8353, "end": 8365, "loc": { "start": { "line": 187, "column": 17 }, "end": { "line": 187, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8353, "end": 8357, "loc": { "start": { "line": 187, "column": 17 }, "end": { "line": 187, "column": 21 } } }, "property": { "type": "Identifier", "start": 8358, "end": 8365, "loc": { "start": { "line": 187, "column": 22 }, "end": { "line": 187, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8366, "end": 8375, "loc": { "start": { "line": 187, "column": 30 }, "end": { "line": 187, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "Identifier", "start": 8379, "end": 8391, "loc": { "start": { "line": 187, "column": 43 }, "end": { "line": 187, "column": 55 }, "identifierName": "updatedInput" }, "name": "updatedInput" } } }, { "type": "IfStatement", "start": 8402, "end": 8463, "loc": { "start": { "line": 189, "column": 6 }, "end": { "line": 190, "column": 50 } }, "test": { "type": "Identifier", "start": 8405, "end": 8410, "loc": { "start": { "line": 189, "column": 9 }, "end": { "line": 189, "column": 14 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "ExpressionStatement", "start": 8421, "end": 8463, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 50 } }, "expression": { "type": "CallExpression", "start": 8421, "end": 8462, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 8421, "end": 8432, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 19 } }, "object": { "type": "Identifier", "start": 8421, "end": 8428, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 8429, "end": 8432, "loc": { "start": { "line": 190, "column": 16 }, "end": { "line": 190, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 8433, "end": 8449, "loc": { "start": { "line": 190, "column": 20 }, "end": { "line": 190, "column": 36 } }, "extra": { "rawValue": "Input changed:", "raw": "'Input changed:'" }, "value": "Input changed:" }, { "type": "MemberExpression", "start": 8451, "end": 8461, "loc": { "start": { "line": 190, "column": 38 }, "end": { "line": 190, "column": 48 } }, "object": { "type": "ThisExpression", "start": 8451, "end": 8455, "loc": { "start": { "line": 190, "column": 38 }, "end": { "line": 190, "column": 42 } } }, "property": { "type": "Identifier", "start": 8456, "end": 8461, "loc": { "start": { "line": 190, "column": 43 }, "end": { "line": 190, "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": 8473, "end": 8532, "loc": { "start": { "line": 192, "column": 6 }, "end": { "line": 194, "column": 9 } } } ] }, { "type": "IfStatement", "start": 8540, "end": 8621, "loc": { "start": { "line": 195, "column": 6 }, "end": { "line": 196, "column": 44 } }, "test": { "type": "MemberExpression", "start": 8543, "end": 8574, "loc": { "start": { "line": 195, "column": 9 }, "end": { "line": 195, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8543, "end": 8555, "loc": { "start": { "line": 195, "column": 9 }, "end": { "line": 195, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8543, "end": 8547, "loc": { "start": { "line": 195, "column": 9 }, "end": { "line": 195, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8548, "end": 8555, "loc": { "start": { "line": 195, "column": 14 }, "end": { "line": 195, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8556, "end": 8574, "loc": { "start": { "line": 195, "column": 22 }, "end": { "line": 195, "column": 40 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8585, "end": 8621, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 44 } }, "expression": { "type": "CallExpression", "start": 8585, "end": 8620, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 8585, "end": 8608, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 31 } }, "object": { "type": "ThisExpression", "start": 8585, "end": 8589, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 12 } } }, "property": { "type": "Identifier", "start": 8590, "end": 8608, "loc": { "start": { "line": 196, "column": 13 }, "end": { "line": 196, "column": 31 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8609, "end": 8619, "loc": { "start": { "line": 196, "column": 32 }, "end": { "line": 196, "column": 42 } }, "object": { "type": "ThisExpression", "start": 8609, "end": 8613, "loc": { "start": { "line": 196, "column": 32 }, "end": { "line": 196, "column": 36 } } }, "property": { "type": "Identifier", "start": 8614, "end": 8619, "loc": { "start": { "line": 196, "column": 37 }, "end": { "line": 196, "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": 8473, "end": 8532, "loc": { "start": { "line": 192, "column": 6 }, "end": { "line": 194, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 8631, "end": 8672, "loc": { "start": { "line": 198, "column": 6 }, "end": { "line": 200, "column": 9 } } } ] }, { "type": "IfStatement", "start": 8680, "end": 8795, "loc": { "start": { "line": 201, "column": 6 }, "end": { "line": 202, "column": 66 } }, "test": { "type": "BinaryExpression", "start": 8683, "end": 8726, "loc": { "start": { "line": 201, "column": 9 }, "end": { "line": 201, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 8683, "end": 8711, "loc": { "start": { "line": 201, "column": 9 }, "end": { "line": 201, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 8690, "end": 8711, "loc": { "start": { "line": 201, "column": 16 }, "end": { "line": 201, "column": 37 } }, "object": { "type": "MemberExpression", "start": 8690, "end": 8702, "loc": { "start": { "line": 201, "column": 16 }, "end": { "line": 201, "column": 28 } }, "object": { "type": "ThisExpression", "start": 8690, "end": 8694, "loc": { "start": { "line": 201, "column": 16 }, "end": { "line": 201, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8695, "end": 8702, "loc": { "start": { "line": 201, "column": 21 }, "end": { "line": 201, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8703, "end": 8711, "loc": { "start": { "line": 201, "column": 29 }, "end": { "line": 201, "column": 37 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 8716, "end": 8726, "loc": { "start": { "line": 201, "column": 42 }, "end": { "line": 201, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8737, "end": 8795, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 66 } }, "expression": { "type": "CallExpression", "start": 8737, "end": 8794, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 8737, "end": 8758, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 29 } }, "object": { "type": "MemberExpression", "start": 8737, "end": 8749, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 20 } }, "object": { "type": "ThisExpression", "start": 8737, "end": 8741, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 12 } } }, "property": { "type": "Identifier", "start": 8742, "end": 8749, "loc": { "start": { "line": 202, "column": 13 }, "end": { "line": 202, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8750, "end": 8758, "loc": { "start": { "line": 202, "column": 21 }, "end": { "line": 202, "column": 29 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8759, "end": 8793, "loc": { "start": { "line": 202, "column": 30 }, "end": { "line": 202, "column": 64 } }, "object": { "type": "MemberExpression", "start": 8759, "end": 8769, "loc": { "start": { "line": 202, "column": 30 }, "end": { "line": 202, "column": 40 } }, "object": { "type": "ThisExpression", "start": 8759, "end": 8763, "loc": { "start": { "line": 202, "column": 30 }, "end": { "line": 202, "column": 34 } } }, "property": { "type": "Identifier", "start": 8764, "end": 8769, "loc": { "start": { "line": 202, "column": 35 }, "end": { "line": 202, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8770, "end": 8792, "loc": { "start": { "line": 202, "column": 41 }, "end": { "line": 202, "column": 63 } }, "object": { "type": "MemberExpression", "start": 8770, "end": 8782, "loc": { "start": { "line": 202, "column": 41 }, "end": { "line": 202, "column": 53 } }, "object": { "type": "ThisExpression", "start": 8770, "end": 8774, "loc": { "start": { "line": 202, "column": 41 }, "end": { "line": 202, "column": 45 } } }, "property": { "type": "Identifier", "start": 8775, "end": 8782, "loc": { "start": { "line": 202, "column": 46 }, "end": { "line": 202, "column": 53 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8783, "end": 8792, "loc": { "start": { "line": 202, "column": 54 }, "end": { "line": 202, "column": 63 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 8631, "end": 8672, "loc": { "start": { "line": 198, "column": 6 }, "end": { "line": 200, "column": 9 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 8814, "end": 8875, "loc": { "start": { "line": 205, "column": 4 }, "end": { "line": 207, "column": 5 } }, "test": { "type": "Identifier", "start": 8817, "end": 8822, "loc": { "start": { "line": 205, "column": 7 }, "end": { "line": 205, "column": 12 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "BlockStatement", "start": 8823, "end": 8875, "loc": { "start": { "line": 205, "column": 13 }, "end": { "line": 207, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 8832, "end": 8868, "loc": { "start": { "line": 206, "column": 6 }, "end": { "line": 206, "column": 42 } }, "expression": { "type": "CallExpression", "start": 8832, "end": 8867, "loc": { "start": { "line": 206, "column": 6 }, "end": { "line": 206, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 8832, "end": 8843, "loc": { "start": { "line": 206, "column": 6 }, "end": { "line": 206, "column": 17 } }, "object": { "type": "Identifier", "start": 8832, "end": 8839, "loc": { "start": { "line": 206, "column": 6 }, "end": { "line": 206, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 8840, "end": 8843, "loc": { "start": { "line": 206, "column": 14 }, "end": { "line": 206, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 8844, "end": 8858, "loc": { "start": { "line": 206, "column": 18 }, "end": { "line": 206, "column": 32 } }, "extra": { "rawValue": "Key pressed:", "raw": "\"Key pressed:\"" }, "value": "Key pressed:" }, { "type": "Identifier", "start": 8860, "end": 8866, "loc": { "start": { "line": 206, "column": 34 }, "end": { "line": 206, "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": 7377, "end": 7489, "loc": { "start": { "line": 154, "column": 2 }, "end": { "line": 157, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", "start": 8886, "end": 8927, "loc": { "start": { "line": 210, "column": 2 }, "end": { "line": 212, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 8931, "end": 8957, "loc": { "start": { "line": 213, "column": 2 }, "end": { "line": 213, "column": 28 } } } ] }, { "type": "ClassMethod", "start": 8961, "end": 9820, "loc": { "start": { "line": 214, "column": 2 }, "end": { "line": 246, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8961, "end": 8982, "loc": { "start": { "line": 214, "column": 2 }, "end": { "line": 214, "column": 23 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8983, "end": 8989, "loc": { "start": { "line": 214, "column": 24 }, "end": { "line": 214, "column": 30 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 8991, "end": 8992, "loc": { "start": { "line": 214, "column": 32 }, "end": { "line": 214, "column": 33 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "BlockStatement", "start": 8993, "end": 9820, "loc": { "start": { "line": 214, "column": 34 }, "end": { "line": 246, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9085, "end": 9109, "loc": { "start": { "line": 218, "column": 4 }, "end": { "line": 218, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 9085, "end": 9108, "loc": { "start": { "line": 218, "column": 4 }, "end": { "line": 218, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9085, "end": 9101, "loc": { "start": { "line": 218, "column": 4 }, "end": { "line": 218, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9085, "end": 9089, "loc": { "start": { "line": 218, "column": 4 }, "end": { "line": 218, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 9090, "end": 9101, "loc": { "start": { "line": 218, "column": 9 }, "end": { "line": 218, "column": 20 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 9104, "end": 9108, "loc": { "start": { "line": 218, "column": 23 }, "end": { "line": 218, "column": 27 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n ", "start": 9000, "end": 9079, "loc": { "start": { "line": 215, "column": 4 }, "end": { "line": 217, "column": 7 } } } ] }, { "type": "IfStatement", "start": 9117, "end": 9198, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 221, "column": 48 } }, "test": { "type": "MemberExpression", "start": 9120, "end": 9147, "loc": { "start": { "line": 220, "column": 7 }, "end": { "line": 220, "column": 34 } }, "object": { "type": "ThisExpression", "start": 9120, "end": 9124, "loc": { "start": { "line": 220, "column": 7 }, "end": { "line": 220, "column": 11 } } }, "property": { "type": "Identifier", "start": 9125, "end": 9147, "loc": { "start": { "line": 220, "column": 12 }, "end": { "line": 220, "column": 34 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 9156, "end": 9198, "loc": { "start": { "line": 221, "column": 6 }, "end": { "line": 221, "column": 48 } }, "expression": { "type": "CallExpression", "start": 9156, "end": 9197, "loc": { "start": { "line": 221, "column": 6 }, "end": { "line": 221, "column": 47 } }, "callee": { "type": "Identifier", "start": 9156, "end": 9168, "loc": { "start": { "line": 221, "column": 6 }, "end": { "line": 221, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 9169, "end": 9196, "loc": { "start": { "line": 221, "column": 19 }, "end": { "line": 221, "column": 46 } }, "object": { "type": "ThisExpression", "start": 9169, "end": 9173, "loc": { "start": { "line": 221, "column": 19 }, "end": { "line": 221, "column": 23 } } }, "property": { "type": "Identifier", "start": 9174, "end": 9196, "loc": { "start": { "line": 221, "column": 24 }, "end": { "line": 221, "column": 46 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false } ] } }, "alternate": null }, { "type": "IfStatement", "start": 9206, "end": 9265, "loc": { "start": { "line": 223, "column": 4 }, "end": { "line": 224, "column": 37 } }, "test": { "type": "MemberExpression", "start": 9209, "end": 9225, "loc": { "start": { "line": 223, "column": 7 }, "end": { "line": 223, "column": 23 } }, "object": { "type": "ThisExpression", "start": 9209, "end": 9213, "loc": { "start": { "line": 223, "column": 7 }, "end": { "line": 223, "column": 11 } } }, "property": { "type": "Identifier", "start": 9214, "end": 9225, "loc": { "start": { "line": 223, "column": 12 }, "end": { "line": 223, "column": 23 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 9234, "end": 9265, "loc": { "start": { "line": 224, "column": 6 }, "end": { "line": 224, "column": 37 } }, "expression": { "type": "CallExpression", "start": 9234, "end": 9264, "loc": { "start": { "line": 224, "column": 6 }, "end": { "line": 224, "column": 36 } }, "callee": { "type": "Identifier", "start": 9234, "end": 9246, "loc": { "start": { "line": 224, "column": 6 }, "end": { "line": 224, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 9247, "end": 9263, "loc": { "start": { "line": 224, "column": 19 }, "end": { "line": 224, "column": 35 } }, "object": { "type": "ThisExpression", "start": 9247, "end": 9251, "loc": { "start": { "line": 224, "column": 19 }, "end": { "line": 224, "column": 23 } } }, "property": { "type": "Identifier", "start": 9252, "end": 9263, "loc": { "start": { "line": 224, "column": 24 }, "end": { "line": 224, "column": 35 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false } ] }, "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", "start": 9273, "end": 9350, "loc": { "start": { "line": 226, "column": 4 }, "end": { "line": 228, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 9356, "end": 9815, "loc": { "start": { "line": 229, "column": 4 }, "end": { "line": 245, "column": 12 } }, "expression": { "type": "AssignmentExpression", "start": 9356, "end": 9814, "loc": { "start": { "line": 229, "column": 4 }, "end": { "line": 245, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9356, "end": 9372, "loc": { "start": { "line": 229, "column": 4 }, "end": { "line": 229, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9356, "end": 9360, "loc": { "start": { "line": 229, "column": 4 }, "end": { "line": 229, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 9361, "end": 9372, "loc": { "start": { "line": 229, "column": 9 }, "end": { "line": 229, "column": 20 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 9375, "end": 9814, "loc": { "start": { "line": 229, "column": 23 }, "end": { "line": 245, "column": 11 } }, "callee": { "type": "Identifier", "start": 9375, "end": 9385, "loc": { "start": { "line": 229, "column": 23 }, "end": { "line": 229, "column": 33 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 9386, "end": 9808, "loc": { "start": { "line": 229, "column": 34 }, "end": { "line": 245, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 9392, "end": 9808, "loc": { "start": { "line": 229, "column": 40 }, "end": { "line": 245, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 9401, "end": 9762, "loc": { "start": { "line": 230, "column": 6 }, "end": { "line": 243, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 9414, "end": 9618, "loc": { "start": { "line": 231, "column": 8 }, "end": { "line": 237, "column": 9 } }, "left": { "type": "MemberExpression", "start": 9414, "end": 9430, "loc": { "start": { "line": 231, "column": 8 }, "end": { "line": 231, "column": 24 } }, "object": { "type": "ThisExpression", "start": 9414, "end": 9418, "loc": { "start": { "line": 231, "column": 8 }, "end": { "line": 231, "column": 12 } } }, "property": { "type": "Identifier", "start": 9419, "end": 9430, "loc": { "start": { "line": 231, "column": 13 }, "end": { "line": 231, "column": 24 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "operator": "&&", "right": { "type": "LogicalExpression", "start": 9457, "end": 9607, "loc": { "start": { "line": 233, "column": 10 }, "end": { "line": 236, "column": 28 } }, "left": { "type": "LogicalExpression", "start": 9457, "end": 9574, "loc": { "start": { "line": 233, "column": 10 }, "end": { "line": 235, "column": 30 } }, "left": { "type": "LogicalExpression", "start": 9457, "end": 9539, "loc": { "start": { "line": 233, "column": 10 }, "end": { "line": 234, "column": 29 } }, "left": { "type": "LogicalExpression", "start": 9458, "end": 9504, "loc": { "start": { "line": 233, "column": 11 }, "end": { "line": 233, "column": 57 } }, "left": { "type": "UnaryExpression", "start": 9458, "end": 9479, "loc": { "start": { "line": 233, "column": 11 }, "end": { "line": 233, "column": 32 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 9459, "end": 9479, "loc": { "start": { "line": 233, "column": 12 }, "end": { "line": 233, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 9459, "end": 9474, "loc": { "start": { "line": 233, "column": 12 }, "end": { "line": 233, "column": 27 } }, "object": { "type": "Identifier", "start": 9459, "end": 9465, "loc": { "start": { "line": 233, "column": 12 }, "end": { "line": 233, "column": 18 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 9466, "end": 9474, "loc": { "start": { "line": 233, "column": 19 }, "end": { "line": 233, "column": 27 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9475, "end": 9478, "loc": { "start": { "line": 233, "column": 28 }, "end": { "line": 233, "column": 31 } }, "extra": { "rawValue": "{", "raw": "\"{\"" }, "value": "{" } ] }, "extra": { "parenthesizedArgument": false } }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 9483, "end": 9504, "loc": { "start": { "line": 233, "column": 36 }, "end": { "line": 233, "column": 57 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 9484, "end": 9504, "loc": { "start": { "line": 233, "column": 37 }, "end": { "line": 233, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 9484, "end": 9499, "loc": { "start": { "line": 233, "column": 37 }, "end": { "line": 233, "column": 52 } }, "object": { "type": "Identifier", "start": 9484, "end": 9490, "loc": { "start": { "line": 233, "column": 37 }, "end": { "line": 233, "column": 43 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 9491, "end": 9499, "loc": { "start": { "line": 233, "column": 44 }, "end": { "line": 233, "column": 52 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9500, "end": 9503, "loc": { "start": { "line": 233, "column": 53 }, "end": { "line": 233, "column": 56 } }, "extra": { "rawValue": "}", "raw": "\"}\"" }, "value": "}" } ] }, "extra": { "parenthesizedArgument": false } }, "extra": { "parenthesized": true, "parenStart": 9457 } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9520, "end": 9539, "loc": { "start": { "line": 234, "column": 10 }, "end": { "line": 234, "column": 29 } }, "left": { "type": "Identifier", "start": 9520, "end": 9526, "loc": { "start": { "line": 234, "column": 10 }, "end": { "line": 234, "column": 16 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9531, "end": 9539, "loc": { "start": { "line": 234, "column": 21 }, "end": { "line": 234, "column": 29 } }, "extra": { "rawValue": "{bksp}", "raw": "\"{bksp}\"" }, "value": "{bksp}" } } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9554, "end": 9574, "loc": { "start": { "line": 235, "column": 10 }, "end": { "line": 235, "column": 30 } }, "left": { "type": "Identifier", "start": 9554, "end": 9560, "loc": { "start": { "line": 235, "column": 10 }, "end": { "line": 235, "column": 16 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9565, "end": 9574, "loc": { "start": { "line": 235, "column": 21 }, "end": { "line": 235, "column": 30 } }, "extra": { "rawValue": "{space}", "raw": "\"{space}\"" }, "value": "{space}" } } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9589, "end": 9607, "loc": { "start": { "line": 236, "column": 10 }, "end": { "line": 236, "column": 28 } }, "left": { "type": "Identifier", "start": 9589, "end": 9595, "loc": { "start": { "line": 236, "column": 10 }, "end": { "line": 236, "column": 16 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9600, "end": 9607, "loc": { "start": { "line": 236, "column": 21 }, "end": { "line": 236, "column": 28 } }, "extra": { "rawValue": "{tab}", "raw": "\"{tab}\"" }, "value": "{tab}" } }, "extra": { "parenthesized": true, "parenStart": 9444 } } }, "consequent": { "type": "BlockStatement", "start": 9627, "end": 9762, "loc": { "start": { "line": 238, "column": 7 }, "end": { "line": 243, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 9638, "end": 9708, "loc": { "start": { "line": 239, "column": 8 }, "end": { "line": 240, "column": 46 } }, "test": { "type": "MemberExpression", "start": 9641, "end": 9659, "loc": { "start": { "line": 239, "column": 11 }, "end": { "line": 239, "column": 29 } }, "object": { "type": "MemberExpression", "start": 9641, "end": 9653, "loc": { "start": { "line": 239, "column": 11 }, "end": { "line": 239, "column": 23 } }, "object": { "type": "ThisExpression", "start": 9641, "end": 9645, "loc": { "start": { "line": 239, "column": 11 }, "end": { "line": 239, "column": 15 } } }, "property": { "type": "Identifier", "start": 9646, "end": 9653, "loc": { "start": { "line": 239, "column": 16 }, "end": { "line": 239, "column": 23 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 9654, "end": 9659, "loc": { "start": { "line": 239, "column": 24 }, "end": { "line": 239, "column": 29 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 9672, "end": 9708, "loc": { "start": { "line": 240, "column": 10 }, "end": { "line": 240, "column": 46 } }, "expression": { "type": "CallExpression", "start": 9672, "end": 9707, "loc": { "start": { "line": 240, "column": 10 }, "end": { "line": 240, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 9672, "end": 9683, "loc": { "start": { "line": 240, "column": 10 }, "end": { "line": 240, "column": 21 } }, "object": { "type": "Identifier", "start": 9672, "end": 9679, "loc": { "start": { "line": 240, "column": 10 }, "end": { "line": 240, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 9680, "end": 9683, "loc": { "start": { "line": 240, "column": 18 }, "end": { "line": 240, "column": 21 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9684, "end": 9698, "loc": { "start": { "line": 240, "column": 22 }, "end": { "line": 240, "column": 36 } }, "extra": { "rawValue": "Button held:", "raw": "\"Button held:\"" }, "value": "Button held:" }, { "type": "Identifier", "start": 9700, "end": 9706, "loc": { "start": { "line": 240, "column": 38 }, "end": { "line": 240, "column": 44 }, "identifierName": "button" }, "name": "button" } ] } }, "alternate": null }, { "type": "ExpressionStatement", "start": 9720, "end": 9753, "loc": { "start": { "line": 242, "column": 8 }, "end": { "line": 242, "column": 41 } }, "expression": { "type": "CallExpression", "start": 9720, "end": 9752, "loc": { "start": { "line": 242, "column": 8 }, "end": { "line": 242, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 9720, "end": 9741, "loc": { "start": { "line": 242, "column": 8 }, "end": { "line": 242, "column": 29 } }, "object": { "type": "ThisExpression", "start": 9720, "end": 9724, "loc": { "start": { "line": 242, "column": 8 }, "end": { "line": 242, "column": 12 } } }, "property": { "type": "Identifier", "start": 9725, "end": 9741, "loc": { "start": { "line": 242, "column": 13 }, "end": { "line": 242, "column": 29 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 9742, "end": 9748, "loc": { "start": { "line": 242, "column": 30 }, "end": { "line": 242, "column": 36 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 9750, "end": 9751, "loc": { "start": { "line": 242, "column": 38 }, "end": { "line": 242, "column": 39 }, "identifierName": "e" }, "name": "e" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 9770, "end": 9801, "loc": { "start": { "line": 244, "column": 6 }, "end": { "line": 244, "column": 37 } }, "expression": { "type": "CallExpression", "start": 9770, "end": 9800, "loc": { "start": { "line": 244, "column": 6 }, "end": { "line": 244, "column": 36 } }, "callee": { "type": "Identifier", "start": 9770, "end": 9782, "loc": { "start": { "line": 244, "column": 6 }, "end": { "line": 244, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 9783, "end": 9799, "loc": { "start": { "line": 244, "column": 19 }, "end": { "line": 244, "column": 35 } }, "object": { "type": "ThisExpression", "start": 9783, "end": 9787, "loc": { "start": { "line": 244, "column": 19 }, "end": { "line": 244, "column": 23 } } }, "property": { "type": "Identifier", "start": 9788, "end": 9799, "loc": { "start": { "line": 244, "column": 24 }, "end": { "line": 244, "column": 35 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false } ] } } ], "directives": [] } }, { "type": "NumericLiteral", "start": 9810, "end": 9813, "loc": { "start": { "line": 245, "column": 7 }, "end": { "line": 245, "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": 9273, "end": 9350, "loc": { "start": { "line": 226, "column": 4 }, "end": { "line": 228, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", "start": 8886, "end": 8927, "loc": { "start": { "line": 210, "column": 2 }, "end": { "line": 212, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 8931, "end": 8957, "loc": { "start": { "line": 213, "column": 2 }, "end": { "line": 213, "column": 28 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", "start": 9826, "end": 9865, "loc": { "start": { "line": 248, "column": 2 }, "end": { "line": 250, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 9869, "end": 10014, "loc": { "start": { "line": 251, "column": 2 }, "end": { "line": 255, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9869, "end": 9888, "loc": { "start": { "line": 251, "column": 2 }, "end": { "line": 251, "column": 21 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 9890, "end": 10014, "loc": { "start": { "line": 251, "column": 23 }, "end": { "line": 255, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9897, "end": 9922, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 9897, "end": 9921, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9897, "end": 9913, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9897, "end": 9901, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 8 } } }, "property": { "type": "Identifier", "start": 9902, "end": 9913, "loc": { "start": { "line": 252, "column": 9 }, "end": { "line": 252, "column": 20 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 9916, "end": 9921, "loc": { "start": { "line": 252, "column": 23 }, "end": { "line": 252, "column": 28 } }, "value": false } } }, { "type": "IfStatement", "start": 9928, "end": 10009, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 254, "column": 48 } }, "test": { "type": "MemberExpression", "start": 9931, "end": 9958, "loc": { "start": { "line": 253, "column": 7 }, "end": { "line": 253, "column": 34 } }, "object": { "type": "ThisExpression", "start": 9931, "end": 9935, "loc": { "start": { "line": 253, "column": 7 }, "end": { "line": 253, "column": 11 } } }, "property": { "type": "Identifier", "start": 9936, "end": 9958, "loc": { "start": { "line": 253, "column": 12 }, "end": { "line": 253, "column": 34 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 9967, "end": 10009, "loc": { "start": { "line": 254, "column": 6 }, "end": { "line": 254, "column": 48 } }, "expression": { "type": "CallExpression", "start": 9967, "end": 10008, "loc": { "start": { "line": 254, "column": 6 }, "end": { "line": 254, "column": 47 } }, "callee": { "type": "Identifier", "start": 9967, "end": 9979, "loc": { "start": { "line": 254, "column": 6 }, "end": { "line": 254, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 9980, "end": 10007, "loc": { "start": { "line": 254, "column": 19 }, "end": { "line": 254, "column": 46 } }, "object": { "type": "ThisExpression", "start": 9980, "end": 9984, "loc": { "start": { "line": 254, "column": 19 }, "end": { "line": 254, "column": 23 } } }, "property": { "type": "Identifier", "start": 9985, "end": 10007, "loc": { "start": { "line": 254, "column": 24 }, "end": { "line": 254, "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": 9826, "end": 9865, "loc": { "start": { "line": 248, "column": 2 }, "end": { "line": 250, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", "start": 10020, "end": 10056, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 259, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 10060, "end": 10086, "loc": { "start": { "line": 260, "column": 2 }, "end": { "line": 260, "column": 28 } } } ] }, { "type": "ClassMethod", "start": 10090, "end": 10359, "loc": { "start": { "line": 261, "column": 2 }, "end": { "line": 269, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10090, "end": 10106, "loc": { "start": { "line": 261, "column": 2 }, "end": { "line": 261, "column": 18 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10107, "end": 10113, "loc": { "start": { "line": 261, "column": 19 }, "end": { "line": 261, "column": 25 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 10114, "end": 10359, "loc": { "start": { "line": 261, "column": 26 }, "end": { "line": 269, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10213, "end": 10354, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 268, "column": 12 } }, "expression": { "type": "AssignmentExpression", "start": 10213, "end": 10353, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 268, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10213, "end": 10240, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 265, "column": 31 } }, "object": { "type": "ThisExpression", "start": 10213, "end": 10217, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 265, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 10218, "end": 10240, "loc": { "start": { "line": 265, "column": 9 }, "end": { "line": 265, "column": 31 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 10243, "end": 10353, "loc": { "start": { "line": 265, "column": 34 }, "end": { "line": 268, "column": 11 } }, "callee": { "type": "Identifier", "start": 10243, "end": 10253, "loc": { "start": { "line": 265, "column": 34 }, "end": { "line": 265, "column": 44 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10254, "end": 10347, "loc": { "start": { "line": 265, "column": 45 }, "end": { "line": 268, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 10260, "end": 10347, "loc": { "start": { "line": 265, "column": 51 }, "end": { "line": 268, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10269, "end": 10302, "loc": { "start": { "line": 266, "column": 6 }, "end": { "line": 266, "column": 39 } }, "expression": { "type": "CallExpression", "start": 10269, "end": 10301, "loc": { "start": { "line": 266, "column": 6 }, "end": { "line": 266, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 10269, "end": 10293, "loc": { "start": { "line": 266, "column": 6 }, "end": { "line": 266, "column": 30 } }, "object": { "type": "ThisExpression", "start": 10269, "end": 10273, "loc": { "start": { "line": 266, "column": 6 }, "end": { "line": 266, "column": 10 } } }, "property": { "type": "Identifier", "start": 10274, "end": 10293, "loc": { "start": { "line": 266, "column": 11 }, "end": { "line": 266, "column": 30 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 10294, "end": 10300, "loc": { "start": { "line": 266, "column": 31 }, "end": { "line": 266, "column": 37 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 10310, "end": 10340, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 36 } }, "expression": { "type": "CallExpression", "start": 10310, "end": 10339, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 10310, "end": 10331, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 27 } }, "object": { "type": "ThisExpression", "start": 10310, "end": 10314, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 10 } } }, "property": { "type": "Identifier", "start": 10315, "end": 10331, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 267, "column": 27 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 10332, "end": 10338, "loc": { "start": { "line": 267, "column": 28 }, "end": { "line": 267, "column": 34 }, "identifierName": "button" }, "name": "button" } ] } } ], "directives": [] } }, { "type": "NumericLiteral", "start": 10349, "end": 10352, "loc": { "start": { "line": 268, "column": 7 }, "end": { "line": 268, "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": 10121, "end": 10207, "loc": { "start": { "line": 262, "column": 4 }, "end": { "line": 264, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", "start": 10020, "end": 10056, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 259, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 10060, "end": 10086, "loc": { "start": { "line": 260, "column": 2 }, "end": { "line": 260, "column": 28 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 10365, "end": 10462, "loc": { "start": { "line": 271, "column": 2 }, "end": { "line": 273, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10466, "end": 10578, "loc": { "start": { "line": 274, "column": 2 }, "end": { "line": 278, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10466, "end": 10484, "loc": { "start": { "line": 274, "column": 2 }, "end": { "line": 274, "column": 20 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 10486, "end": 10578, "loc": { "start": { "line": 274, "column": 22 }, "end": { "line": 278, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10493, "end": 10573, "loc": { "start": { "line": 275, "column": 4 }, "end": { "line": 277, "column": 7 } }, "expression": { "type": "CallExpression", "start": 10493, "end": 10572, "loc": { "start": { "line": 275, "column": 4 }, "end": { "line": 277, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 10493, "end": 10506, "loc": { "start": { "line": 275, "column": 4 }, "end": { "line": 275, "column": 17 } }, "object": { "type": "ThisExpression", "start": 10493, "end": 10497, "loc": { "start": { "line": 275, "column": 4 }, "end": { "line": 275, "column": 8 } } }, "property": { "type": "Identifier", "start": 10498, "end": 10506, "loc": { "start": { "line": 275, "column": 9 }, "end": { "line": 275, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10507, "end": 10571, "loc": { "start": { "line": 275, "column": 18 }, "end": { "line": 277, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10508, "end": 10516, "loc": { "start": { "line": 275, "column": 19 }, "end": { "line": 275, "column": 27 }, "identifierName": "instance" }, "name": "instance" } ], "body": { "type": "BlockStatement", "start": 10521, "end": 10571, "loc": { "start": { "line": 275, "column": 32 }, "end": { "line": 277, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10530, "end": 10564, "loc": { "start": { "line": 276, "column": 6 }, "end": { "line": 276, "column": 40 } }, "expression": { "type": "CallExpression", "start": 10530, "end": 10563, "loc": { "start": { "line": 276, "column": 6 }, "end": { "line": 276, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 10530, "end": 10551, "loc": { "start": { "line": 276, "column": 6 }, "end": { "line": 276, "column": 27 } }, "object": { "type": "Identifier", "start": 10530, "end": 10538, "loc": { "start": { "line": 276, "column": 6 }, "end": { "line": 276, "column": 14 }, "identifierName": "instance" }, "name": "instance" }, "property": { "type": "Identifier", "start": 10539, "end": 10551, "loc": { "start": { "line": 276, "column": 15 }, "end": { "line": 276, "column": 27 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 10552, "end": 10562, "loc": { "start": { "line": 276, "column": 28 }, "end": { "line": 276, "column": 38 } }, "object": { "type": "ThisExpression", "start": 10552, "end": 10556, "loc": { "start": { "line": 276, "column": 28 }, "end": { "line": 276, "column": 32 } } }, "property": { "type": "Identifier", "start": 10557, "end": 10562, "loc": { "start": { "line": 276, "column": 33 }, "end": { "line": 276, "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": 10365, "end": 10462, "loc": { "start": { "line": 271, "column": 2 }, "end": { "line": 273, "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": 10586, "end": 10704, "loc": { "start": { "line": 280, "column": 2 }, "end": { "line": 283, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10708, "end": 10983, "loc": { "start": { "line": 284, "column": 2 }, "end": { "line": 293, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10708, "end": 10718, "loc": { "start": { "line": 284, "column": 2 }, "end": { "line": 284, "column": 12 }, "identifierName": "clearInput" }, "name": "clearInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10719, "end": 10728, "loc": { "start": { "line": 284, "column": 13 }, "end": { "line": 284, "column": 22 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 10729, "end": 10983, "loc": { "start": { "line": 284, "column": 23 }, "end": { "line": 293, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10736, "end": 10784, "loc": { "start": { "line": 285, "column": 4 }, "end": { "line": 285, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 10736, "end": 10783, "loc": { "start": { "line": 285, "column": 4 }, "end": { "line": 285, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 10736, "end": 10745, "loc": { "start": { "line": 285, "column": 4 }, "end": { "line": 285, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 10748, "end": 10783, "loc": { "start": { "line": 285, "column": 16 }, "end": { "line": 285, "column": 51 } }, "left": { "type": "Identifier", "start": 10748, "end": 10757, "loc": { "start": { "line": 285, "column": 16 }, "end": { "line": 285, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 10761, "end": 10783, "loc": { "start": { "line": 285, "column": 29 }, "end": { "line": 285, "column": 51 } }, "object": { "type": "MemberExpression", "start": 10761, "end": 10773, "loc": { "start": { "line": 285, "column": 29 }, "end": { "line": 285, "column": 41 } }, "object": { "type": "ThisExpression", "start": 10761, "end": 10765, "loc": { "start": { "line": 285, "column": 29 }, "end": { "line": 285, "column": 33 } } }, "property": { "type": "Identifier", "start": 10766, "end": 10773, "loc": { "start": { "line": 285, "column": 34 }, "end": { "line": 285, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10774, "end": 10783, "loc": { "start": { "line": 285, "column": 42 }, "end": { "line": 285, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 10790, "end": 10830, "loc": { "start": { "line": 286, "column": 4 }, "end": { "line": 286, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 10790, "end": 10829, "loc": { "start": { "line": 286, "column": 4 }, "end": { "line": 286, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10790, "end": 10824, "loc": { "start": { "line": 286, "column": 4 }, "end": { "line": 286, "column": 38 } }, "object": { "type": "MemberExpression", "start": 10790, "end": 10800, "loc": { "start": { "line": 286, "column": 4 }, "end": { "line": 286, "column": 14 } }, "object": { "type": "ThisExpression", "start": 10790, "end": 10794, "loc": { "start": { "line": 286, "column": 4 }, "end": { "line": 286, "column": 8 } } }, "property": { "type": "Identifier", "start": 10795, "end": 10800, "loc": { "start": { "line": 286, "column": 9 }, "end": { "line": 286, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 10801, "end": 10823, "loc": { "start": { "line": 286, "column": 15 }, "end": { "line": 286, "column": 37 } }, "object": { "type": "MemberExpression", "start": 10801, "end": 10813, "loc": { "start": { "line": 286, "column": 15 }, "end": { "line": 286, "column": 27 } }, "object": { "type": "ThisExpression", "start": 10801, "end": 10805, "loc": { "start": { "line": 286, "column": 15 }, "end": { "line": 286, "column": 19 } } }, "property": { "type": "Identifier", "start": 10806, "end": 10813, "loc": { "start": { "line": 286, "column": 20 }, "end": { "line": 286, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10814, "end": 10823, "loc": { "start": { "line": 286, "column": 28 }, "end": { "line": 286, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 10827, "end": 10829, "loc": { "start": { "line": 286, "column": 41 }, "end": { "line": 286, "column": 43 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10838, "end": 10893, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 290, "column": 7 } } } ] }, { "type": "IfStatement", "start": 10899, "end": 10978, "loc": { "start": { "line": 291, "column": 4 }, "end": { "line": 292, "column": 42 } }, "test": { "type": "MemberExpression", "start": 10902, "end": 10933, "loc": { "start": { "line": 291, "column": 7 }, "end": { "line": 291, "column": 38 } }, "object": { "type": "MemberExpression", "start": 10902, "end": 10914, "loc": { "start": { "line": 291, "column": 7 }, "end": { "line": 291, "column": 19 } }, "object": { "type": "ThisExpression", "start": 10902, "end": 10906, "loc": { "start": { "line": 291, "column": 7 }, "end": { "line": 291, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 10907, "end": 10914, "loc": { "start": { "line": 291, "column": 12 }, "end": { "line": 291, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 10915, "end": 10933, "loc": { "start": { "line": 291, "column": 20 }, "end": { "line": 291, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 10942, "end": 10978, "loc": { "start": { "line": 292, "column": 6 }, "end": { "line": 292, "column": 42 } }, "expression": { "type": "CallExpression", "start": 10942, "end": 10977, "loc": { "start": { "line": 292, "column": 6 }, "end": { "line": 292, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 10942, "end": 10965, "loc": { "start": { "line": 292, "column": 6 }, "end": { "line": 292, "column": 29 } }, "object": { "type": "ThisExpression", "start": 10942, "end": 10946, "loc": { "start": { "line": 292, "column": 6 }, "end": { "line": 292, "column": 10 } } }, "property": { "type": "Identifier", "start": 10947, "end": 10965, "loc": { "start": { "line": 292, "column": 11 }, "end": { "line": 292, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 10966, "end": 10976, "loc": { "start": { "line": 292, "column": 30 }, "end": { "line": 292, "column": 40 } }, "object": { "type": "ThisExpression", "start": 10966, "end": 10970, "loc": { "start": { "line": 292, "column": 30 }, "end": { "line": 292, "column": 34 } } }, "property": { "type": "Identifier", "start": 10971, "end": 10976, "loc": { "start": { "line": 292, "column": 35 }, "end": { "line": 292, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10838, "end": 10893, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 290, "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": 10586, "end": 10704, "loc": { "start": { "line": 280, "column": 2 }, "end": { "line": 283, "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": 10989, "end": 11151, "loc": { "start": { "line": 295, "column": 2 }, "end": { "line": 298, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11155, "end": 11432, "loc": { "start": { "line": 299, "column": 2 }, "end": { "line": 309, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11155, "end": 11163, "loc": { "start": { "line": 299, "column": 2 }, "end": { "line": 299, "column": 10 }, "identifierName": "getInput" }, "name": "getInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11164, "end": 11173, "loc": { "start": { "line": 299, "column": 11 }, "end": { "line": 299, "column": 20 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 11174, "end": 11432, "loc": { "start": { "line": 299, "column": 21 }, "end": { "line": 309, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11181, "end": 11229, "loc": { "start": { "line": 300, "column": 4 }, "end": { "line": 300, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 11181, "end": 11228, "loc": { "start": { "line": 300, "column": 4 }, "end": { "line": 300, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 11181, "end": 11190, "loc": { "start": { "line": 300, "column": 4 }, "end": { "line": 300, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 11193, "end": 11228, "loc": { "start": { "line": 300, "column": 16 }, "end": { "line": 300, "column": 51 } }, "left": { "type": "Identifier", "start": 11193, "end": 11202, "loc": { "start": { "line": 300, "column": 16 }, "end": { "line": 300, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 11206, "end": 11228, "loc": { "start": { "line": 300, "column": 29 }, "end": { "line": 300, "column": 51 } }, "object": { "type": "MemberExpression", "start": 11206, "end": 11218, "loc": { "start": { "line": 300, "column": 29 }, "end": { "line": 300, "column": 41 } }, "object": { "type": "ThisExpression", "start": 11206, "end": 11210, "loc": { "start": { "line": 300, "column": 29 }, "end": { "line": 300, "column": 33 } } }, "property": { "type": "Identifier", "start": 11211, "end": 11218, "loc": { "start": { "line": 300, "column": 34 }, "end": { "line": 300, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11219, "end": 11228, "loc": { "start": { "line": 300, "column": 42 }, "end": { "line": 300, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11237, "end": 11292, "loc": { "start": { "line": 302, "column": 4 }, "end": { "line": 304, "column": 7 } } } ] }, { "type": "IfStatement", "start": 11298, "end": 11377, "loc": { "start": { "line": 305, "column": 4 }, "end": { "line": 306, "column": 42 } }, "test": { "type": "MemberExpression", "start": 11301, "end": 11332, "loc": { "start": { "line": 305, "column": 7 }, "end": { "line": 305, "column": 38 } }, "object": { "type": "MemberExpression", "start": 11301, "end": 11313, "loc": { "start": { "line": 305, "column": 7 }, "end": { "line": 305, "column": 19 } }, "object": { "type": "ThisExpression", "start": 11301, "end": 11305, "loc": { "start": { "line": 305, "column": 7 }, "end": { "line": 305, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11306, "end": 11313, "loc": { "start": { "line": 305, "column": 12 }, "end": { "line": 305, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11314, "end": 11332, "loc": { "start": { "line": 305, "column": 20 }, "end": { "line": 305, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 11341, "end": 11377, "loc": { "start": { "line": 306, "column": 6 }, "end": { "line": 306, "column": 42 } }, "expression": { "type": "CallExpression", "start": 11341, "end": 11376, "loc": { "start": { "line": 306, "column": 6 }, "end": { "line": 306, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 11341, "end": 11364, "loc": { "start": { "line": 306, "column": 6 }, "end": { "line": 306, "column": 29 } }, "object": { "type": "ThisExpression", "start": 11341, "end": 11345, "loc": { "start": { "line": 306, "column": 6 }, "end": { "line": 306, "column": 10 } } }, "property": { "type": "Identifier", "start": 11346, "end": 11364, "loc": { "start": { "line": 306, "column": 11 }, "end": { "line": 306, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11365, "end": 11375, "loc": { "start": { "line": 306, "column": 30 }, "end": { "line": 306, "column": 40 } }, "object": { "type": "ThisExpression", "start": 11365, "end": 11369, "loc": { "start": { "line": 306, "column": 30 }, "end": { "line": 306, "column": 34 } } }, "property": { "type": "Identifier", "start": 11370, "end": 11375, "loc": { "start": { "line": 306, "column": 35 }, "end": { "line": 306, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11237, "end": 11292, "loc": { "start": { "line": 302, "column": 4 }, "end": { "line": 304, "column": 7 } } } ] }, { "type": "ReturnStatement", "start": 11385, "end": 11427, "loc": { "start": { "line": 308, "column": 4 }, "end": { "line": 308, "column": 46 } }, "argument": { "type": "MemberExpression", "start": 11392, "end": 11426, "loc": { "start": { "line": 308, "column": 11 }, "end": { "line": 308, "column": 45 } }, "object": { "type": "MemberExpression", "start": 11392, "end": 11402, "loc": { "start": { "line": 308, "column": 11 }, "end": { "line": 308, "column": 21 } }, "object": { "type": "ThisExpression", "start": 11392, "end": 11396, "loc": { "start": { "line": 308, "column": 11 }, "end": { "line": 308, "column": 15 } } }, "property": { "type": "Identifier", "start": 11397, "end": 11402, "loc": { "start": { "line": 308, "column": 16 }, "end": { "line": 308, "column": 21 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 11403, "end": 11425, "loc": { "start": { "line": 308, "column": 22 }, "end": { "line": 308, "column": 44 } }, "object": { "type": "MemberExpression", "start": 11403, "end": 11415, "loc": { "start": { "line": 308, "column": 22 }, "end": { "line": 308, "column": 34 } }, "object": { "type": "ThisExpression", "start": 11403, "end": 11407, "loc": { "start": { "line": 308, "column": 22 }, "end": { "line": 308, "column": 26 } } }, "property": { "type": "Identifier", "start": 11408, "end": 11415, "loc": { "start": { "line": 308, "column": 27 }, "end": { "line": 308, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11416, "end": 11425, "loc": { "start": { "line": 308, "column": 35 }, "end": { "line": 308, "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": 10989, "end": 11151, "loc": { "start": { "line": 295, "column": 2 }, "end": { "line": 298, "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": 11438, "end": 11598, "loc": { "start": { "line": 311, "column": 2 }, "end": { "line": 315, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11602, "end": 11872, "loc": { "start": { "line": 316, "column": 2 }, "end": { "line": 325, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11602, "end": 11610, "loc": { "start": { "line": 316, "column": 2 }, "end": { "line": 316, "column": 10 }, "identifierName": "setInput" }, "name": "setInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11611, "end": 11616, "loc": { "start": { "line": 316, "column": 11 }, "end": { "line": 316, "column": 16 }, "identifierName": "input" }, "name": "input" }, { "type": "Identifier", "start": 11618, "end": 11627, "loc": { "start": { "line": 316, "column": 18 }, "end": { "line": 316, "column": 27 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 11628, "end": 11872, "loc": { "start": { "line": 316, "column": 28 }, "end": { "line": 325, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11635, "end": 11683, "loc": { "start": { "line": 317, "column": 4 }, "end": { "line": 317, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 11635, "end": 11682, "loc": { "start": { "line": 317, "column": 4 }, "end": { "line": 317, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 11635, "end": 11644, "loc": { "start": { "line": 317, "column": 4 }, "end": { "line": 317, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 11647, "end": 11682, "loc": { "start": { "line": 317, "column": 16 }, "end": { "line": 317, "column": 51 } }, "left": { "type": "Identifier", "start": 11647, "end": 11656, "loc": { "start": { "line": 317, "column": 16 }, "end": { "line": 317, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 11660, "end": 11682, "loc": { "start": { "line": 317, "column": 29 }, "end": { "line": 317, "column": 51 } }, "object": { "type": "MemberExpression", "start": 11660, "end": 11672, "loc": { "start": { "line": 317, "column": 29 }, "end": { "line": 317, "column": 41 } }, "object": { "type": "ThisExpression", "start": 11660, "end": 11664, "loc": { "start": { "line": 317, "column": 29 }, "end": { "line": 317, "column": 33 } } }, "property": { "type": "Identifier", "start": 11665, "end": 11672, "loc": { "start": { "line": 317, "column": 34 }, "end": { "line": 317, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11673, "end": 11682, "loc": { "start": { "line": 317, "column": 42 }, "end": { "line": 317, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 11689, "end": 11719, "loc": { "start": { "line": 318, "column": 4 }, "end": { "line": 318, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 11689, "end": 11718, "loc": { "start": { "line": 318, "column": 4 }, "end": { "line": 318, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11689, "end": 11710, "loc": { "start": { "line": 318, "column": 4 }, "end": { "line": 318, "column": 25 } }, "object": { "type": "MemberExpression", "start": 11689, "end": 11699, "loc": { "start": { "line": 318, "column": 4 }, "end": { "line": 318, "column": 14 } }, "object": { "type": "ThisExpression", "start": 11689, "end": 11693, "loc": { "start": { "line": 318, "column": 4 }, "end": { "line": 318, "column": 8 } } }, "property": { "type": "Identifier", "start": 11694, "end": 11699, "loc": { "start": { "line": 318, "column": 9 }, "end": { "line": 318, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "Identifier", "start": 11700, "end": 11709, "loc": { "start": { "line": 318, "column": 15 }, "end": { "line": 318, "column": 24 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": true }, "right": { "type": "Identifier", "start": 11713, "end": 11718, "loc": { "start": { "line": 318, "column": 28 }, "end": { "line": 318, "column": 33 }, "identifierName": "input" }, "name": "input" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11727, "end": 11782, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 322, "column": 7 } } } ] }, { "type": "IfStatement", "start": 11788, "end": 11867, "loc": { "start": { "line": 323, "column": 4 }, "end": { "line": 324, "column": 42 } }, "test": { "type": "MemberExpression", "start": 11791, "end": 11822, "loc": { "start": { "line": 323, "column": 7 }, "end": { "line": 323, "column": 38 } }, "object": { "type": "MemberExpression", "start": 11791, "end": 11803, "loc": { "start": { "line": 323, "column": 7 }, "end": { "line": 323, "column": 19 } }, "object": { "type": "ThisExpression", "start": 11791, "end": 11795, "loc": { "start": { "line": 323, "column": 7 }, "end": { "line": 323, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11796, "end": 11803, "loc": { "start": { "line": 323, "column": 12 }, "end": { "line": 323, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11804, "end": 11822, "loc": { "start": { "line": 323, "column": 20 }, "end": { "line": 323, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 11831, "end": 11867, "loc": { "start": { "line": 324, "column": 6 }, "end": { "line": 324, "column": 42 } }, "expression": { "type": "CallExpression", "start": 11831, "end": 11866, "loc": { "start": { "line": 324, "column": 6 }, "end": { "line": 324, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 11831, "end": 11854, "loc": { "start": { "line": 324, "column": 6 }, "end": { "line": 324, "column": 29 } }, "object": { "type": "ThisExpression", "start": 11831, "end": 11835, "loc": { "start": { "line": 324, "column": 6 }, "end": { "line": 324, "column": 10 } } }, "property": { "type": "Identifier", "start": 11836, "end": 11854, "loc": { "start": { "line": 324, "column": 11 }, "end": { "line": 324, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11855, "end": 11865, "loc": { "start": { "line": 324, "column": 30 }, "end": { "line": 324, "column": 40 } }, "object": { "type": "ThisExpression", "start": 11855, "end": 11859, "loc": { "start": { "line": 324, "column": 30 }, "end": { "line": 324, "column": 34 } } }, "property": { "type": "Identifier", "start": 11860, "end": 11865, "loc": { "start": { "line": 324, "column": 35 }, "end": { "line": 324, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11727, "end": 11782, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 322, "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": 11438, "end": 11598, "loc": { "start": { "line": 311, "column": 2 }, "end": { "line": 315, "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": 11880, "end": 11989, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 330, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11993, "end": 12049, "loc": { "start": { "line": 331, "column": 2 }, "end": { "line": 333, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11993, "end": 12005, "loc": { "start": { "line": 331, "column": 2 }, "end": { "line": 331, "column": 14 }, "identifierName": "replaceInput" }, "name": "replaceInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12006, "end": 12014, "loc": { "start": { "line": 331, "column": 15 }, "end": { "line": 331, "column": 23 }, "identifierName": "inputObj" }, "name": "inputObj" } ], "body": { "type": "BlockStatement", "start": 12015, "end": 12049, "loc": { "start": { "line": 331, "column": 24 }, "end": { "line": 333, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 12022, "end": 12044, "loc": { "start": { "line": 332, "column": 4 }, "end": { "line": 332, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 12022, "end": 12043, "loc": { "start": { "line": 332, "column": 4 }, "end": { "line": 332, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12022, "end": 12032, "loc": { "start": { "line": 332, "column": 4 }, "end": { "line": 332, "column": 14 } }, "object": { "type": "ThisExpression", "start": 12022, "end": 12026, "loc": { "start": { "line": 332, "column": 4 }, "end": { "line": 332, "column": 8 } } }, "property": { "type": "Identifier", "start": 12027, "end": 12032, "loc": { "start": { "line": 332, "column": 9 }, "end": { "line": 332, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "right": { "type": "Identifier", "start": 12035, "end": 12043, "loc": { "start": { "line": 332, "column": 17 }, "end": { "line": 332, "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": 11880, "end": 11989, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 330, "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": 12055, "end": 12181, "loc": { "start": { "line": 335, "column": 2 }, "end": { "line": 338, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 12185, "end": 12319, "loc": { "start": { "line": 339, "column": 2 }, "end": { "line": 343, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12185, "end": 12195, "loc": { "start": { "line": 339, "column": 2 }, "end": { "line": 339, "column": 12 }, "identifierName": "setOptions" }, "name": "setOptions", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 12198, "end": 12319, "loc": { "start": { "line": 339, "column": 15 }, "end": { "line": 343, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12198, "end": 12204, "loc": { "start": { "line": 339, "column": 15 }, "end": { "line": 339, "column": 21 }, "identifierName": "option" }, "name": "option" } ], "body": { "type": "BlockStatement", "start": 12208, "end": 12319, "loc": { "start": { "line": 339, "column": 25 }, "end": { "line": 343, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 12215, "end": 12237, "loc": { "start": { "line": 340, "column": 4 }, "end": { "line": 340, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 12215, "end": 12236, "loc": { "start": { "line": 340, "column": 4 }, "end": { "line": 340, "column": 25 } }, "operator": "=", "left": { "type": "Identifier", "start": 12215, "end": 12221, "loc": { "start": { "line": 340, "column": 4 }, "end": { "line": 340, "column": 10 }, "identifierName": "option" }, "name": "option" }, "right": { "type": "LogicalExpression", "start": 12224, "end": 12236, "loc": { "start": { "line": 340, "column": 13 }, "end": { "line": 340, "column": 25 } }, "left": { "type": "Identifier", "start": 12224, "end": 12230, "loc": { "start": { "line": 340, "column": 13 }, "end": { "line": 340, "column": 19 }, "identifierName": "option" }, "name": "option" }, "operator": "||", "right": { "type": "ObjectExpression", "start": 12234, "end": 12236, "loc": { "start": { "line": 340, "column": 23 }, "end": { "line": 340, "column": 25 } }, "properties": [] } } } }, { "type": "ExpressionStatement", "start": 12243, "end": 12294, "loc": { "start": { "line": 341, "column": 4 }, "end": { "line": 341, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 12243, "end": 12293, "loc": { "start": { "line": 341, "column": 4 }, "end": { "line": 341, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12243, "end": 12255, "loc": { "start": { "line": 341, "column": 4 }, "end": { "line": 341, "column": 16 } }, "object": { "type": "ThisExpression", "start": 12243, "end": 12247, "loc": { "start": { "line": 341, "column": 4 }, "end": { "line": 341, "column": 8 } } }, "property": { "type": "Identifier", "start": 12248, "end": 12255, "loc": { "start": { "line": 341, "column": 9 }, "end": { "line": 341, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "right": { "type": "CallExpression", "start": 12258, "end": 12293, "loc": { "start": { "line": 341, "column": 19 }, "end": { "line": 341, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 12258, "end": 12271, "loc": { "start": { "line": 341, "column": 19 }, "end": { "line": 341, "column": 32 } }, "object": { "type": "Identifier", "start": 12258, "end": 12264, "loc": { "start": { "line": 341, "column": 19 }, "end": { "line": 341, "column": 25 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 12265, "end": 12271, "loc": { "start": { "line": 341, "column": 26 }, "end": { "line": 341, "column": 32 }, "identifierName": "assign" }, "name": "assign" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12272, "end": 12284, "loc": { "start": { "line": 341, "column": 33 }, "end": { "line": 341, "column": 45 } }, "object": { "type": "ThisExpression", "start": 12272, "end": 12276, "loc": { "start": { "line": 341, "column": 33 }, "end": { "line": 341, "column": 37 } } }, "property": { "type": "Identifier", "start": 12277, "end": 12284, "loc": { "start": { "line": 341, "column": 38 }, "end": { "line": 341, "column": 45 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 12286, "end": 12292, "loc": { "start": { "line": 341, "column": 47 }, "end": { "line": 341, "column": 53 }, "identifierName": "option" }, "name": "option" } ] } } }, { "type": "ExpressionStatement", "start": 12300, "end": 12314, "loc": { "start": { "line": 342, "column": 4 }, "end": { "line": 342, "column": 18 } }, "expression": { "type": "CallExpression", "start": 12300, "end": 12313, "loc": { "start": { "line": 342, "column": 4 }, "end": { "line": 342, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 12300, "end": 12311, "loc": { "start": { "line": 342, "column": 4 }, "end": { "line": 342, "column": 15 } }, "object": { "type": "ThisExpression", "start": 12300, "end": 12304, "loc": { "start": { "line": 342, "column": 4 }, "end": { "line": 342, "column": 8 } } }, "property": { "type": "Identifier", "start": 12305, "end": 12311, "loc": { "start": { "line": 342, "column": 9 }, "end": { "line": 342, "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": 12055, "end": 12181, "loc": { "start": { "line": 335, "column": 2 }, "end": { "line": 338, "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": 12325, "end": 12434, "loc": { "start": { "line": 345, "column": 2 }, "end": { "line": 348, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12438, "end": 12577, "loc": { "start": { "line": 349, "column": 2 }, "end": { "line": 353, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12438, "end": 12443, "loc": { "start": { "line": 349, "column": 2 }, "end": { "line": 349, "column": 7 }, "identifierName": "clear" }, "name": "clear", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 12445, "end": 12577, "loc": { "start": { "line": 349, "column": 9 }, "end": { "line": 353, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 12452, "end": 12484, "loc": { "start": { "line": 350, "column": 4 }, "end": { "line": 350, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 12452, "end": 12483, "loc": { "start": { "line": 350, "column": 4 }, "end": { "line": 350, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12452, "end": 12478, "loc": { "start": { "line": 350, "column": 4 }, "end": { "line": 350, "column": 30 } }, "object": { "type": "MemberExpression", "start": 12452, "end": 12468, "loc": { "start": { "line": 350, "column": 4 }, "end": { "line": 350, "column": 20 } }, "object": { "type": "ThisExpression", "start": 12452, "end": 12456, "loc": { "start": { "line": 350, "column": 4 }, "end": { "line": 350, "column": 8 } } }, "property": { "type": "Identifier", "start": 12457, "end": 12468, "loc": { "start": { "line": 350, "column": 9 }, "end": { "line": 350, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 12469, "end": 12478, "loc": { "start": { "line": 350, "column": 21 }, "end": { "line": 350, "column": 30 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "StringLiteral", "start": 12481, "end": 12483, "loc": { "start": { "line": 350, "column": 33 }, "end": { "line": 350, "column": 35 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, { "type": "ExpressionStatement", "start": 12490, "end": 12541, "loc": { "start": { "line": 351, "column": 4 }, "end": { "line": 351, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 12490, "end": 12540, "loc": { "start": { "line": 351, "column": 4 }, "end": { "line": 351, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12490, "end": 12516, "loc": { "start": { "line": 351, "column": 4 }, "end": { "line": 351, "column": 30 } }, "object": { "type": "MemberExpression", "start": 12490, "end": 12506, "loc": { "start": { "line": 351, "column": 4 }, "end": { "line": 351, "column": 20 } }, "object": { "type": "ThisExpression", "start": 12490, "end": 12494, "loc": { "start": { "line": 351, "column": 4 }, "end": { "line": 351, "column": 8 } } }, "property": { "type": "Identifier", "start": 12495, "end": 12506, "loc": { "start": { "line": 351, "column": 9 }, "end": { "line": 351, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 12507, "end": 12516, "loc": { "start": { "line": 351, "column": 21 }, "end": { "line": 351, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "MemberExpression", "start": 12519, "end": 12540, "loc": { "start": { "line": 351, "column": 33 }, "end": { "line": 351, "column": 54 } }, "object": { "type": "ThisExpression", "start": 12519, "end": 12523, "loc": { "start": { "line": 351, "column": 33 }, "end": { "line": 351, "column": 37 } } }, "property": { "type": "Identifier", "start": 12524, "end": 12540, "loc": { "start": { "line": 351, "column": 38 }, "end": { "line": 351, "column": 54 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 12547, "end": 12572, "loc": { "start": { "line": 352, "column": 4 }, "end": { "line": 352, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 12547, "end": 12571, "loc": { "start": { "line": 352, "column": 4 }, "end": { "line": 352, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12547, "end": 12566, "loc": { "start": { "line": 352, "column": 4 }, "end": { "line": 352, "column": 23 } }, "object": { "type": "ThisExpression", "start": 12547, "end": 12551, "loc": { "start": { "line": 352, "column": 4 }, "end": { "line": 352, "column": 8 } } }, "property": { "type": "Identifier", "start": 12552, "end": 12566, "loc": { "start": { "line": 352, "column": 9 }, "end": { "line": 352, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 12569, "end": 12571, "loc": { "start": { "line": 352, "column": 26 }, "end": { "line": 352, "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": 12325, "end": 12434, "loc": { "start": { "line": 345, "column": 2 }, "end": { "line": 348, "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": 12583, "end": 12788, "loc": { "start": { "line": 355, "column": 2 }, "end": { "line": 358, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12792, "end": 13160, "loc": { "start": { "line": 359, "column": 2 }, "end": { "line": 368, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12792, "end": 12800, "loc": { "start": { "line": 359, "column": 2 }, "end": { "line": 359, "column": 10 }, "identifierName": "dispatch" }, "name": "dispatch", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12801, "end": 12809, "loc": { "start": { "line": 359, "column": 11 }, "end": { "line": 359, "column": 19 }, "identifierName": "callback" }, "name": "callback" } ], "body": { "type": "BlockStatement", "start": 12810, "end": 13160, "loc": { "start": { "line": 359, "column": 20 }, "end": { "line": 368, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 12817, "end": 13001, "loc": { "start": { "line": 360, "column": 4 }, "end": { "line": 363, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 12820, "end": 12854, "loc": { "start": { "line": 360, "column": 7 }, "end": { "line": 360, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 12821, "end": 12854, "loc": { "start": { "line": 360, "column": 8 }, "end": { "line": 360, "column": 41 } }, "object": { "type": "Identifier", "start": 12821, "end": 12827, "loc": { "start": { "line": 360, "column": 8 }, "end": { "line": 360, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 12828, "end": 12853, "loc": { "start": { "line": 360, "column": 15 }, "end": { "line": 360, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 12855, "end": 13001, "loc": { "start": { "line": 360, "column": 42 }, "end": { "line": 363, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 12864, "end": 12947, "loc": { "start": { "line": 361, "column": 6 }, "end": { "line": 361, "column": 89 } }, "expression": { "type": "CallExpression", "start": 12864, "end": 12946, "loc": { "start": { "line": 361, "column": 6 }, "end": { "line": 361, "column": 88 } }, "callee": { "type": "MemberExpression", "start": 12864, "end": 12876, "loc": { "start": { "line": 361, "column": 6 }, "end": { "line": 361, "column": 18 } }, "object": { "type": "Identifier", "start": 12864, "end": 12871, "loc": { "start": { "line": 361, "column": 6 }, "end": { "line": 361, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 12872, "end": 12876, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 12877, "end": 12945, "loc": { "start": { "line": 361, "column": 19 }, "end": { "line": 361, "column": 87 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 12878, "end": 12944, "loc": { "start": { "line": 361, "column": 20 }, "end": { "line": 361, "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": 12955, "end": 12994, "loc": { "start": { "line": 362, "column": 6 }, "end": { "line": 362, "column": 45 } }, "argument": { "type": "NewExpression", "start": 12961, "end": 12993, "loc": { "start": { "line": 362, "column": 12 }, "end": { "line": 362, "column": 44 } }, "callee": { "type": "Identifier", "start": 12965, "end": 12970, "loc": { "start": { "line": 362, "column": 16 }, "end": { "line": 362, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 12971, "end": 12992, "loc": { "start": { "line": 362, "column": 22 }, "end": { "line": 362, "column": 43 } }, "extra": { "rawValue": "INSTANCES_VAR_ERROR", "raw": "\"INSTANCES_VAR_ERROR\"" }, "value": "INSTANCES_VAR_ERROR" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 13013, "end": 13155, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 367, "column": 6 } }, "argument": { "type": "CallExpression", "start": 13020, "end": 13155, "loc": { "start": { "line": 365, "column": 11 }, "end": { "line": 367, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 13020, "end": 13074, "loc": { "start": { "line": 365, "column": 11 }, "end": { "line": 365, "column": 65 } }, "object": { "type": "CallExpression", "start": 13020, "end": 13066, "loc": { "start": { "line": 365, "column": 11 }, "end": { "line": 365, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 13020, "end": 13031, "loc": { "start": { "line": 365, "column": 11 }, "end": { "line": 365, "column": 22 } }, "object": { "type": "Identifier", "start": 13020, "end": 13026, "loc": { "start": { "line": 365, "column": 11 }, "end": { "line": 365, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 13027, "end": 13031, "loc": { "start": { "line": 365, "column": 18 }, "end": { "line": 365, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 13032, "end": 13065, "loc": { "start": { "line": 365, "column": 23 }, "end": { "line": 365, "column": 56 } }, "object": { "type": "Identifier", "start": 13032, "end": 13038, "loc": { "start": { "line": 365, "column": 23 }, "end": { "line": 365, "column": 29 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 13039, "end": 13064, "loc": { "start": { "line": 365, "column": 30 }, "end": { "line": 365, "column": 55 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true } ] }, "property": { "type": "Identifier", "start": 13067, "end": 13074, "loc": { "start": { "line": 365, "column": 58 }, "end": { "line": 365, "column": 65 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13075, "end": 13154, "loc": { "start": { "line": 365, "column": 66 }, "end": { "line": 367, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13076, "end": 13079, "loc": { "start": { "line": 365, "column": 67 }, "end": { "line": 365, "column": 70 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 13084, "end": 13154, "loc": { "start": { "line": 365, "column": 75 }, "end": { "line": 367, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 13093, "end": 13147, "loc": { "start": { "line": 366, "column": 6 }, "end": { "line": 366, "column": 60 } }, "expression": { "type": "CallExpression", "start": 13093, "end": 13146, "loc": { "start": { "line": 366, "column": 6 }, "end": { "line": 366, "column": 59 } }, "callee": { "type": "Identifier", "start": 13093, "end": 13101, "loc": { "start": { "line": 366, "column": 6 }, "end": { "line": 366, "column": 14 }, "identifierName": "callback" }, "name": "callback" }, "arguments": [ { "type": "MemberExpression", "start": 13102, "end": 13140, "loc": { "start": { "line": 366, "column": 15 }, "end": { "line": 366, "column": 53 } }, "object": { "type": "MemberExpression", "start": 13102, "end": 13135, "loc": { "start": { "line": 366, "column": 15 }, "end": { "line": 366, "column": 48 } }, "object": { "type": "Identifier", "start": 13102, "end": 13108, "loc": { "start": { "line": 366, "column": 15 }, "end": { "line": 366, "column": 21 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 13109, "end": 13134, "loc": { "start": { "line": 366, "column": 22 }, "end": { "line": 366, "column": 47 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "Identifier", "start": 13136, "end": 13139, "loc": { "start": { "line": 366, "column": 49 }, "end": { "line": 366, "column": 52 }, "identifierName": "key" }, "name": "key" }, "computed": true }, { "type": "Identifier", "start": 13142, "end": 13145, "loc": { "start": { "line": 366, "column": 55 }, "end": { "line": 366, "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": 12583, "end": 12788, "loc": { "start": { "line": 355, "column": 2 }, "end": { "line": 358, "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": 13166, "end": 13447, "loc": { "start": { "line": 370, "column": 2 }, "end": { "line": 374, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 13451, "end": 14683, "loc": { "start": { "line": 375, "column": 2 }, "end": { "line": 418, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13451, "end": 13465, "loc": { "start": { "line": 375, "column": 2 }, "end": { "line": 375, "column": 16 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13466, "end": 13473, "loc": { "start": { "line": 375, "column": 17 }, "end": { "line": 375, "column": 24 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 13475, "end": 13484, "loc": { "start": { "line": 375, "column": 26 }, "end": { "line": 375, "column": 35 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 13485, "end": 14683, "loc": { "start": { "line": 375, "column": 36 }, "end": { "line": 418, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 13492, "end": 13539, "loc": { "start": { "line": 376, "column": 4 }, "end": { "line": 377, "column": 19 } }, "test": { "type": "LogicalExpression", "start": 13495, "end": 13517, "loc": { "start": { "line": 376, "column": 7 }, "end": { "line": 376, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 13495, "end": 13505, "loc": { "start": { "line": 376, "column": 7 }, "end": { "line": 376, "column": 17 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 13496, "end": 13505, "loc": { "start": { "line": 376, "column": 8 }, "end": { "line": 376, "column": 17 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 13509, "end": 13517, "loc": { "start": { "line": 376, "column": 21 }, "end": { "line": 376, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 13510, "end": 13517, "loc": { "start": { "line": 376, "column": 22 }, "end": { "line": 376, "column": 29 }, "identifierName": "buttons" }, "name": "buttons" }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "ReturnStatement", "start": 13526, "end": 13539, "loc": { "start": { "line": 377, "column": 6 }, "end": { "line": 377, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 13533, "end": 13538, "loc": { "start": { "line": 377, "column": 13 }, "end": { "line": 377, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ExpressionStatement", "start": 13547, "end": 14656, "loc": { "start": { "line": 379, "column": 4 }, "end": { "line": 415, "column": 7 } }, "expression": { "type": "CallExpression", "start": 13547, "end": 14655, "loc": { "start": { "line": 379, "column": 4 }, "end": { "line": 415, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 13547, "end": 13573, "loc": { "start": { "line": 379, "column": 4 }, "end": { "line": 379, "column": 30 } }, "object": { "type": "CallExpression", "start": 13547, "end": 13565, "loc": { "start": { "line": 379, "column": 4 }, "end": { "line": 379, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 13547, "end": 13560, "loc": { "start": { "line": 379, "column": 4 }, "end": { "line": 379, "column": 17 } }, "object": { "type": "Identifier", "start": 13547, "end": 13554, "loc": { "start": { "line": 379, "column": 4 }, "end": { "line": 379, "column": 11 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 13555, "end": 13560, "loc": { "start": { "line": 379, "column": 12 }, "end": { "line": 379, "column": 17 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13561, "end": 13564, "loc": { "start": { "line": 379, "column": 18 }, "end": { "line": 379, "column": 21 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13566, "end": 13573, "loc": { "start": { "line": 379, "column": 23 }, "end": { "line": 379, "column": 30 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13574, "end": 14654, "loc": { "start": { "line": 379, "column": 31 }, "end": { "line": 415, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13574, "end": 13580, "loc": { "start": { "line": 379, "column": 31 }, "end": { "line": 379, "column": 37 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 13584, "end": 14654, "loc": { "start": { "line": 379, "column": 41 }, "end": { "line": 415, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 13593, "end": 14647, "loc": { "start": { "line": 380, "column": 6 }, "end": { "line": 414, "column": 9 } }, "expression": { "type": "CallExpression", "start": 13593, "end": 14646, "loc": { "start": { "line": 380, "column": 6 }, "end": { "line": 414, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 13593, "end": 13621, "loc": { "start": { "line": 380, "column": 6 }, "end": { "line": 380, "column": 34 } }, "object": { "type": "CallExpression", "start": 13593, "end": 13613, "loc": { "start": { "line": 380, "column": 6 }, "end": { "line": 380, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 13593, "end": 13608, "loc": { "start": { "line": 380, "column": 6 }, "end": { "line": 380, "column": 21 } }, "object": { "type": "Identifier", "start": 13593, "end": 13602, "loc": { "start": { "line": 380, "column": 6 }, "end": { "line": 380, "column": 15 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 13603, "end": 13608, "loc": { "start": { "line": 380, "column": 16 }, "end": { "line": 380, "column": 21 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13609, "end": 13612, "loc": { "start": { "line": 380, "column": 22 }, "end": { "line": 380, "column": 25 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13614, "end": 13621, "loc": { "start": { "line": 380, "column": 27 }, "end": { "line": 380, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13622, "end": 14645, "loc": { "start": { "line": 380, "column": 35 }, "end": { "line": 414, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13622, "end": 13635, "loc": { "start": { "line": 380, "column": 35 }, "end": { "line": 380, "column": 48 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ], "body": { "type": "BlockStatement", "start": 13639, "end": 14645, "loc": { "start": { "line": 380, "column": 52 }, "end": { "line": 414, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 13650, "end": 13721, "loc": { "start": { "line": 381, "column": 8 }, "end": { "line": 382, "column": 40 } }, "test": { "type": "UnaryExpression", "start": 13653, "end": 13678, "loc": { "start": { "line": 381, "column": 11 }, "end": { "line": 381, "column": 36 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 13654, "end": 13678, "loc": { "start": { "line": 381, "column": 12 }, "end": { "line": 381, "column": 36 } }, "object": { "type": "MemberExpression", "start": 13654, "end": 13666, "loc": { "start": { "line": 381, "column": 12 }, "end": { "line": 381, "column": 24 } }, "object": { "type": "ThisExpression", "start": 13654, "end": 13658, "loc": { "start": { "line": 381, "column": 12 }, "end": { "line": 381, "column": 16 } } }, "property": { "type": "Identifier", "start": 13659, "end": 13666, "loc": { "start": { "line": 381, "column": 17 }, "end": { "line": 381, "column": 24 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 13667, "end": 13678, "loc": { "start": { "line": 381, "column": 25 }, "end": { "line": 381, "column": 36 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 13691, "end": 13721, "loc": { "start": { "line": 382, "column": 10 }, "end": { "line": 382, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 13691, "end": 13720, "loc": { "start": { "line": 382, "column": 10 }, "end": { "line": 382, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13691, "end": 13715, "loc": { "start": { "line": 382, "column": 10 }, "end": { "line": 382, "column": 34 } }, "object": { "type": "MemberExpression", "start": 13691, "end": 13703, "loc": { "start": { "line": 382, "column": 10 }, "end": { "line": 382, "column": 22 } }, "object": { "type": "ThisExpression", "start": 13691, "end": 13695, "loc": { "start": { "line": 382, "column": 10 }, "end": { "line": 382, "column": 14 } } }, "property": { "type": "Identifier", "start": 13696, "end": 13703, "loc": { "start": { "line": 382, "column": 15 }, "end": { "line": 382, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 13704, "end": 13715, "loc": { "start": { "line": 382, "column": 23 }, "end": { "line": 382, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 13718, "end": 13720, "loc": { "start": { "line": 382, "column": 37 }, "end": { "line": 382, "column": 39 } }, "elements": [] } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 13733, "end": 13760, "loc": { "start": { "line": 384, "column": 8 }, "end": { "line": 384, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13737, "end": 13759, "loc": { "start": { "line": 384, "column": 12 }, "end": { "line": 384, "column": 34 } }, "id": { "type": "Identifier", "start": 13737, "end": 13751, "loc": { "start": { "line": 384, "column": 12 }, "end": { "line": 384, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "init": { "type": "BooleanLiteral", "start": 13754, "end": 13759, "loc": { "start": { "line": 384, "column": 29 }, "end": { "line": 384, "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": 13774, "end": 13865, "loc": { "start": { "line": 386, "column": 8 }, "end": { "line": 388, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 13875, "end": 14383, "loc": { "start": { "line": 389, "column": 8 }, "end": { "line": 402, "column": 11 } }, "expression": { "type": "CallExpression", "start": 13875, "end": 14382, "loc": { "start": { "line": 389, "column": 8 }, "end": { "line": 402, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 13875, "end": 13903, "loc": { "start": { "line": 389, "column": 8 }, "end": { "line": 389, "column": 36 } }, "object": { "type": "MemberExpression", "start": 13875, "end": 13899, "loc": { "start": { "line": 389, "column": 8 }, "end": { "line": 389, "column": 32 } }, "object": { "type": "MemberExpression", "start": 13875, "end": 13887, "loc": { "start": { "line": 389, "column": 8 }, "end": { "line": 389, "column": 20 } }, "object": { "type": "ThisExpression", "start": 13875, "end": 13879, "loc": { "start": { "line": 389, "column": 8 }, "end": { "line": 389, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 13880, "end": 13887, "loc": { "start": { "line": 389, "column": 13 }, "end": { "line": 389, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 13888, "end": 13899, "loc": { "start": { "line": 389, "column": 21 }, "end": { "line": 389, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 13900, "end": 13903, "loc": { "start": { "line": 389, "column": 33 }, "end": { "line": 389, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13904, "end": 14381, "loc": { "start": { "line": 389, "column": 37 }, "end": { "line": 402, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13904, "end": 13915, "loc": { "start": { "line": 389, "column": 37 }, "end": { "line": 389, "column": 48 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } ], "body": { "type": "BlockStatement", "start": 13919, "end": 14381, "loc": { "start": { "line": 389, "column": 52 }, "end": { "line": 402, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 13934, "end": 14339, "loc": { "start": { "line": 391, "column": 10 }, "end": { "line": 400, "column": 11 } }, "test": { "type": "CallExpression", "start": 13937, "end": 13989, "loc": { "start": { "line": 391, "column": 13 }, "end": { "line": 391, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 13937, "end": 13974, "loc": { "start": { "line": 391, "column": 13 }, "end": { "line": 391, "column": 50 } }, "object": { "type": "CallExpression", "start": 13937, "end": 13965, "loc": { "start": { "line": 391, "column": 13 }, "end": { "line": 391, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 13937, "end": 13960, "loc": { "start": { "line": 391, "column": 13 }, "end": { "line": 391, "column": 36 } }, "object": { "type": "MemberExpression", "start": 13937, "end": 13954, "loc": { "start": { "line": 391, "column": 13 }, "end": { "line": 391, "column": 30 } }, "object": { "type": "Identifier", "start": 13937, "end": 13948, "loc": { "start": { "line": 391, "column": 13 }, "end": { "line": 391, "column": 24 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 13949, "end": 13954, "loc": { "start": { "line": 391, "column": 25 }, "end": { "line": 391, "column": 30 }, "identifierName": "class" }, "name": "class" }, "computed": false }, "property": { "type": "Identifier", "start": 13955, "end": 13960, "loc": { "start": { "line": 391, "column": 31 }, "end": { "line": 391, "column": 36 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13961, "end": 13964, "loc": { "start": { "line": 391, "column": 37 }, "end": { "line": 391, "column": 40 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13966, "end": 13974, "loc": { "start": { "line": 391, "column": 42 }, "end": { "line": 391, "column": 50 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13975, "end": 13988, "loc": { "start": { "line": 391, "column": 51 }, "end": { "line": 391, "column": 64 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ] }, "consequent": { "type": "BlockStatement", "start": 13990, "end": 14339, "loc": { "start": { "line": 391, "column": 66 }, "end": { "line": 400, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 14005, "end": 14027, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 14005, "end": 14026, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", "start": 14005, "end": 14019, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 14022, "end": 14026, "loc": { "start": { "line": 392, "column": 29 }, "end": { "line": 392, "column": 33 } }, "value": true } } }, { "type": "VariableDeclaration", "start": 14055, "end": 14109, "loc": { "start": { "line": 394, "column": 12 }, "end": { "line": 394, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14059, "end": 14108, "loc": { "start": { "line": 394, "column": 16 }, "end": { "line": 394, "column": 65 } }, "id": { "type": "Identifier", "start": 14059, "end": 14075, "loc": { "start": { "line": 394, "column": 16 }, "end": { "line": 394, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "init": { "type": "CallExpression", "start": 14078, "end": 14108, "loc": { "start": { "line": 394, "column": 35 }, "end": { "line": 394, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 14078, "end": 14103, "loc": { "start": { "line": 394, "column": 35 }, "end": { "line": 394, "column": 60 } }, "object": { "type": "MemberExpression", "start": 14078, "end": 14097, "loc": { "start": { "line": 394, "column": 35 }, "end": { "line": 394, "column": 54 } }, "object": { "type": "Identifier", "start": 14078, "end": 14089, "loc": { "start": { "line": 394, "column": 35 }, "end": { "line": 394, "column": 46 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 14090, "end": 14097, "loc": { "start": { "line": 394, "column": 47 }, "end": { "line": 394, "column": 54 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 14098, "end": 14103, "loc": { "start": { "line": 394, "column": 55 }, "end": { "line": 394, "column": 60 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14104, "end": 14107, "loc": { "start": { "line": 394, "column": 61 }, "end": { "line": 394, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 14123, "end": 14326, "loc": { "start": { "line": 395, "column": 12 }, "end": { "line": 399, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 14126, "end": 14160, "loc": { "start": { "line": 395, "column": 15 }, "end": { "line": 395, "column": 49 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 14127, "end": 14160, "loc": { "start": { "line": 395, "column": 16 }, "end": { "line": 395, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 14127, "end": 14152, "loc": { "start": { "line": 395, "column": 16 }, "end": { "line": 395, "column": 41 } }, "object": { "type": "Identifier", "start": 14127, "end": 14143, "loc": { "start": { "line": 395, "column": 16 }, "end": { "line": 395, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 14144, "end": 14152, "loc": { "start": { "line": 395, "column": 33 }, "end": { "line": 395, "column": 41 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 14153, "end": 14159, "loc": { "start": { "line": 395, "column": 42 }, "end": { "line": 395, "column": 48 }, "identifierName": "button" }, "name": "button" } ] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 14161, "end": 14326, "loc": { "start": { "line": 395, "column": 50 }, "end": { "line": 399, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 14178, "end": 14200, "loc": { "start": { "line": 396, "column": 14 }, "end": { "line": 396, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 14178, "end": 14199, "loc": { "start": { "line": 396, "column": 14 }, "end": { "line": 396, "column": 35 } }, "operator": "=", "left": { "type": "Identifier", "start": 14178, "end": 14192, "loc": { "start": { "line": 396, "column": 14 }, "end": { "line": 396, "column": 28 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 14195, "end": 14199, "loc": { "start": { "line": 396, "column": 31 }, "end": { "line": 396, "column": 35 } }, "value": true } } }, { "type": "ExpressionStatement", "start": 14216, "end": 14246, "loc": { "start": { "line": 397, "column": 14 }, "end": { "line": 397, "column": 44 } }, "expression": { "type": "CallExpression", "start": 14216, "end": 14245, "loc": { "start": { "line": 397, "column": 14 }, "end": { "line": 397, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 14216, "end": 14237, "loc": { "start": { "line": 397, "column": 14 }, "end": { "line": 397, "column": 35 } }, "object": { "type": "Identifier", "start": 14216, "end": 14232, "loc": { "start": { "line": 397, "column": 14 }, "end": { "line": 397, "column": 30 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 14233, "end": 14237, "loc": { "start": { "line": 397, "column": 31 }, "end": { "line": 397, "column": 35 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 14238, "end": 14244, "loc": { "start": { "line": 397, "column": 36 }, "end": { "line": 397, "column": 42 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 14262, "end": 14311, "loc": { "start": { "line": 398, "column": 14 }, "end": { "line": 398, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 14262, "end": 14310, "loc": { "start": { "line": 398, "column": 14 }, "end": { "line": 398, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 14262, "end": 14281, "loc": { "start": { "line": 398, "column": 14 }, "end": { "line": 398, "column": 33 } }, "object": { "type": "Identifier", "start": 14262, "end": 14273, "loc": { "start": { "line": 398, "column": 14 }, "end": { "line": 398, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 14274, "end": 14281, "loc": { "start": { "line": 398, "column": 26 }, "end": { "line": 398, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 14284, "end": 14310, "loc": { "start": { "line": 398, "column": 36 }, "end": { "line": 398, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 14284, "end": 14305, "loc": { "start": { "line": 398, "column": 36 }, "end": { "line": 398, "column": 57 } }, "object": { "type": "Identifier", "start": 14284, "end": 14300, "loc": { "start": { "line": 398, "column": 36 }, "end": { "line": 398, "column": 52 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 14301, "end": 14305, "loc": { "start": { "line": 398, "column": 53 }, "end": { "line": 398, "column": 57 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14306, "end": 14309, "loc": { "start": { "line": 398, "column": 58 }, "end": { "line": 398, "column": 61 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 14351, "end": 14370, "loc": { "start": { "line": 401, "column": 10 }, "end": { "line": 401, "column": 29 } }, "argument": { "type": "Identifier", "start": 14358, "end": 14369, "loc": { "start": { "line": 401, "column": 17 }, "end": { "line": 401, "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": 13774, "end": 13865, "loc": { "start": { "line": 386, "column": 8 }, "end": { "line": 388, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 14395, "end": 14470, "loc": { "start": { "line": 404, "column": 8 }, "end": { "line": 406, "column": 11 } } } ] }, { "type": "IfStatement", "start": 14480, "end": 14634, "loc": { "start": { "line": 407, "column": 8 }, "end": { "line": 412, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 14483, "end": 14498, "loc": { "start": { "line": 407, "column": 11 }, "end": { "line": 407, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 14484, "end": 14498, "loc": { "start": { "line": 407, "column": 12 }, "end": { "line": 407, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 14499, "end": 14634, "loc": { "start": { "line": 407, "column": 27 }, "end": { "line": 412, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 14512, "end": 14623, "loc": { "start": { "line": 408, "column": 10 }, "end": { "line": 411, "column": 13 } }, "expression": { "type": "CallExpression", "start": 14512, "end": 14622, "loc": { "start": { "line": 408, "column": 10 }, "end": { "line": 411, "column": 12 } }, "callee": { "type": "MemberExpression", "start": 14512, "end": 14541, "loc": { "start": { "line": 408, "column": 10 }, "end": { "line": 408, "column": 39 } }, "object": { "type": "MemberExpression", "start": 14512, "end": 14536, "loc": { "start": { "line": 408, "column": 10 }, "end": { "line": 408, "column": 34 } }, "object": { "type": "MemberExpression", "start": 14512, "end": 14524, "loc": { "start": { "line": 408, "column": 10 }, "end": { "line": 408, "column": 22 } }, "object": { "type": "ThisExpression", "start": 14512, "end": 14516, "loc": { "start": { "line": 408, "column": 10 }, "end": { "line": 408, "column": 14 } } }, "property": { "type": "Identifier", "start": 14517, "end": 14524, "loc": { "start": { "line": 408, "column": 15 }, "end": { "line": 408, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 14525, "end": 14536, "loc": { "start": { "line": 408, "column": 23 }, "end": { "line": 408, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 14537, "end": 14541, "loc": { "start": { "line": 408, "column": 35 }, "end": { "line": 408, "column": 39 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 14542, "end": 14621, "loc": { "start": { "line": 408, "column": 40 }, "end": { "line": 411, "column": 11 } }, "properties": [ { "type": "ObjectProperty", "start": 14557, "end": 14577, "loc": { "start": { "line": 409, "column": 12 }, "end": { "line": 409, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 14557, "end": 14562, "loc": { "start": { "line": 409, "column": 12 }, "end": { "line": 409, "column": 17 }, "identifierName": "class" }, "name": "class" }, "value": { "type": "Identifier", "start": 14564, "end": 14577, "loc": { "start": { "line": 409, "column": 19 }, "end": { "line": 409, "column": 32 }, "identifierName": "classNameItem" }, "name": "classNameItem" } }, { "type": "ObjectProperty", "start": 14592, "end": 14608, "loc": { "start": { "line": 410, "column": 12 }, "end": { "line": 410, "column": 28 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 14592, "end": 14599, "loc": { "start": { "line": 410, "column": 12 }, "end": { "line": 410, "column": 19 }, "identifierName": "buttons" }, "name": "buttons" }, "value": { "type": "Identifier", "start": 14601, "end": 14608, "loc": { "start": { "line": 410, "column": 21 }, "end": { "line": 410, "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": 14395, "end": 14470, "loc": { "start": { "line": 404, "column": 8 }, "end": { "line": 406, "column": 11 } } } ] } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 14664, "end": 14678, "loc": { "start": { "line": 417, "column": 4 }, "end": { "line": 417, "column": 18 } }, "expression": { "type": "CallExpression", "start": 14664, "end": 14677, "loc": { "start": { "line": 417, "column": 4 }, "end": { "line": 417, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 14664, "end": 14675, "loc": { "start": { "line": 417, "column": 4 }, "end": { "line": 417, "column": 15 } }, "object": { "type": "ThisExpression", "start": 14664, "end": 14668, "loc": { "start": { "line": 417, "column": 4 }, "end": { "line": 417, "column": 8 } } }, "property": { "type": "Identifier", "start": 14669, "end": 14675, "loc": { "start": { "line": 417, "column": 9 }, "end": { "line": 417, "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": 13166, "end": 13447, "loc": { "start": { "line": 370, "column": 2 }, "end": { "line": 374, "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": 14689, "end": 15029, "loc": { "start": { "line": 420, "column": 2 }, "end": { "line": 424, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 15033, "end": 16450, "loc": { "start": { "line": 425, "column": 2 }, "end": { "line": 471, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 15033, "end": 15050, "loc": { "start": { "line": 425, "column": 2 }, "end": { "line": 425, "column": 19 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15051, "end": 15058, "loc": { "start": { "line": 425, "column": 20 }, "end": { "line": 425, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 15060, "end": 15069, "loc": { "start": { "line": 425, "column": 29 }, "end": { "line": 425, "column": 38 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 15070, "end": 16450, "loc": { "start": { "line": 425, "column": 39 }, "end": { "line": 471, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 15163, "end": 15278, "loc": { "start": { "line": 429, "column": 4 }, "end": { "line": 433, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 15166, "end": 15188, "loc": { "start": { "line": 429, "column": 7 }, "end": { "line": 429, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 15166, "end": 15174, "loc": { "start": { "line": 429, "column": 7 }, "end": { "line": 429, "column": 15 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 15167, "end": 15174, "loc": { "start": { "line": 429, "column": 8 }, "end": { "line": 429, "column": 15 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 15178, "end": 15188, "loc": { "start": { "line": 429, "column": 19 }, "end": { "line": 429, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 15179, "end": 15188, "loc": { "start": { "line": 429, "column": 20 }, "end": { "line": 429, "column": 29 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15189, "end": 15278, "loc": { "start": { "line": 429, "column": 30 }, "end": { "line": 433, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 15198, "end": 15228, "loc": { "start": { "line": 430, "column": 6 }, "end": { "line": 430, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 15198, "end": 15227, "loc": { "start": { "line": 430, "column": 6 }, "end": { "line": 430, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 15198, "end": 15222, "loc": { "start": { "line": 430, "column": 6 }, "end": { "line": 430, "column": 30 } }, "object": { "type": "MemberExpression", "start": 15198, "end": 15210, "loc": { "start": { "line": 430, "column": 6 }, "end": { "line": 430, "column": 18 } }, "object": { "type": "ThisExpression", "start": 15198, "end": 15202, "loc": { "start": { "line": 430, "column": 6 }, "end": { "line": 430, "column": 10 } } }, "property": { "type": "Identifier", "start": 15203, "end": 15210, "loc": { "start": { "line": 430, "column": 11 }, "end": { "line": 430, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15211, "end": 15222, "loc": { "start": { "line": 430, "column": 19 }, "end": { "line": 430, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 15225, "end": 15227, "loc": { "start": { "line": 430, "column": 33 }, "end": { "line": 430, "column": 35 } }, "elements": [] } } }, { "type": "ExpressionStatement", "start": 15236, "end": 15250, "loc": { "start": { "line": 431, "column": 6 }, "end": { "line": 431, "column": 20 } }, "expression": { "type": "CallExpression", "start": 15236, "end": 15249, "loc": { "start": { "line": 431, "column": 6 }, "end": { "line": 431, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 15236, "end": 15247, "loc": { "start": { "line": 431, "column": 6 }, "end": { "line": 431, "column": 17 } }, "object": { "type": "ThisExpression", "start": 15236, "end": 15240, "loc": { "start": { "line": 431, "column": 6 }, "end": { "line": 431, "column": 10 } } }, "property": { "type": "Identifier", "start": 15241, "end": 15247, "loc": { "start": { "line": 431, "column": 11 }, "end": { "line": 431, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, { "type": "ReturnStatement", "start": 15258, "end": 15271, "loc": { "start": { "line": 432, "column": 6 }, "end": { "line": 432, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 15265, "end": 15270, "loc": { "start": { "line": 432, "column": 13 }, "end": { "line": 432, "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": 15077, "end": 15157, "loc": { "start": { "line": 426, "column": 4 }, "end": { "line": 428, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 15286, "end": 15354, "loc": { "start": { "line": 435, "column": 4 }, "end": { "line": 437, "column": 7 } } } ] }, { "type": "IfStatement", "start": 15360, "end": 16445, "loc": { "start": { "line": 438, "column": 4 }, "end": { "line": 470, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 15363, "end": 15448, "loc": { "start": { "line": 438, "column": 7 }, "end": { "line": 438, "column": 92 } }, "left": { "type": "LogicalExpression", "start": 15363, "end": 15413, "loc": { "start": { "line": 438, "column": 7 }, "end": { "line": 438, "column": 57 } }, "left": { "type": "Identifier", "start": 15363, "end": 15370, "loc": { "start": { "line": 438, "column": 7 }, "end": { "line": 438, "column": 14 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 15374, "end": 15413, "loc": { "start": { "line": 438, "column": 18 }, "end": { "line": 438, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 15374, "end": 15387, "loc": { "start": { "line": 438, "column": 18 }, "end": { "line": 438, "column": 31 } }, "object": { "type": "Identifier", "start": 15374, "end": 15379, "loc": { "start": { "line": 438, "column": 18 }, "end": { "line": 438, "column": 23 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 15380, "end": 15387, "loc": { "start": { "line": 438, "column": 24 }, "end": { "line": 438, "column": 31 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 15388, "end": 15412, "loc": { "start": { "line": 438, "column": 32 }, "end": { "line": 438, "column": 56 } }, "object": { "type": "MemberExpression", "start": 15388, "end": 15400, "loc": { "start": { "line": 438, "column": 32 }, "end": { "line": 438, "column": 44 } }, "object": { "type": "ThisExpression", "start": 15388, "end": 15392, "loc": { "start": { "line": 438, "column": 32 }, "end": { "line": 438, "column": 36 } } }, "property": { "type": "Identifier", "start": 15393, "end": 15400, "loc": { "start": { "line": 438, "column": 37 }, "end": { "line": 438, "column": 44 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15401, "end": 15412, "loc": { "start": { "line": 438, "column": 45 }, "end": { "line": 438, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "leadingComments": null }, "operator": "&&", "right": { "type": "MemberExpression", "start": 15417, "end": 15448, "loc": { "start": { "line": 438, "column": 61 }, "end": { "line": 438, "column": 92 } }, "object": { "type": "MemberExpression", "start": 15417, "end": 15441, "loc": { "start": { "line": 438, "column": 61 }, "end": { "line": 438, "column": 85 } }, "object": { "type": "MemberExpression", "start": 15417, "end": 15429, "loc": { "start": { "line": 438, "column": 61 }, "end": { "line": 438, "column": 73 } }, "object": { "type": "ThisExpression", "start": 15417, "end": 15421, "loc": { "start": { "line": 438, "column": 61 }, "end": { "line": 438, "column": 65 } } }, "property": { "type": "Identifier", "start": 15422, "end": 15429, "loc": { "start": { "line": 438, "column": 66 }, "end": { "line": 438, "column": 73 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15430, "end": 15441, "loc": { "start": { "line": 438, "column": 74 }, "end": { "line": 438, "column": 85 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 15442, "end": 15448, "loc": { "start": { "line": 438, "column": 86 }, "end": { "line": 438, "column": 92 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15449, "end": 16445, "loc": { "start": { "line": 438, "column": 93 }, "end": { "line": 470, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 15458, "end": 15495, "loc": { "start": { "line": 439, "column": 6 }, "end": { "line": 439, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15462, "end": 15494, "loc": { "start": { "line": 439, "column": 10 }, "end": { "line": 439, "column": 42 } }, "id": { "type": "Identifier", "start": 15462, "end": 15473, "loc": { "start": { "line": 439, "column": 10 }, "end": { "line": 439, "column": 21 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "init": { "type": "CallExpression", "start": 15476, "end": 15494, "loc": { "start": { "line": 439, "column": 24 }, "end": { "line": 439, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 15476, "end": 15489, "loc": { "start": { "line": 439, "column": 24 }, "end": { "line": 439, "column": 37 } }, "object": { "type": "Identifier", "start": 15476, "end": 15483, "loc": { "start": { "line": 439, "column": 24 }, "end": { "line": 439, "column": 31 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 15484, "end": 15489, "loc": { "start": { "line": 439, "column": 32 }, "end": { "line": 439, "column": 37 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15490, "end": 15493, "loc": { "start": { "line": 439, "column": 38 }, "end": { "line": 439, "column": 41 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 15503, "end": 16414, "loc": { "start": { "line": 440, "column": 6 }, "end": { "line": 467, "column": 9 } }, "expression": { "type": "CallExpression", "start": 15503, "end": 16413, "loc": { "start": { "line": 440, "column": 6 }, "end": { "line": 467, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 15503, "end": 15522, "loc": { "start": { "line": 440, "column": 6 }, "end": { "line": 440, "column": 25 } }, "object": { "type": "Identifier", "start": 15503, "end": 15514, "loc": { "start": { "line": 440, "column": 6 }, "end": { "line": 440, "column": 17 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "property": { "type": "Identifier", "start": 15515, "end": 15522, "loc": { "start": { "line": 440, "column": 18 }, "end": { "line": 440, "column": 25 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 15523, "end": 16412, "loc": { "start": { "line": 440, "column": 26 }, "end": { "line": 467, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15524, "end": 15530, "loc": { "start": { "line": 440, "column": 27 }, "end": { "line": 440, "column": 33 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 15532, "end": 15535, "loc": { "start": { "line": 440, "column": 35 }, "end": { "line": 440, "column": 38 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 15540, "end": 16412, "loc": { "start": { "line": 440, "column": 43 }, "end": { "line": 467, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 15551, "end": 16403, "loc": { "start": { "line": 441, "column": 8 }, "end": { "line": 466, "column": 11 } }, "expression": { "type": "CallExpression", "start": 15551, "end": 16402, "loc": { "start": { "line": 441, "column": 8 }, "end": { "line": 466, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 15551, "end": 15579, "loc": { "start": { "line": 441, "column": 8 }, "end": { "line": 441, "column": 36 } }, "object": { "type": "MemberExpression", "start": 15551, "end": 15575, "loc": { "start": { "line": 441, "column": 8 }, "end": { "line": 441, "column": 32 } }, "object": { "type": "MemberExpression", "start": 15551, "end": 15563, "loc": { "start": { "line": 441, "column": 8 }, "end": { "line": 441, "column": 20 } }, "object": { "type": "ThisExpression", "start": 15551, "end": 15555, "loc": { "start": { "line": 441, "column": 8 }, "end": { "line": 441, "column": 12 } } }, "property": { "type": "Identifier", "start": 15556, "end": 15563, "loc": { "start": { "line": 441, "column": 13 }, "end": { "line": 441, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15564, "end": 15575, "loc": { "start": { "line": 441, "column": 21 }, "end": { "line": 441, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 15576, "end": 15579, "loc": { "start": { "line": 441, "column": 33 }, "end": { "line": 441, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 15580, "end": 16401, "loc": { "start": { "line": 441, "column": 37 }, "end": { "line": 466, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15581, "end": 15592, "loc": { "start": { "line": 441, "column": 38 }, "end": { "line": 441, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, { "type": "Identifier", "start": 15594, "end": 15599, "loc": { "start": { "line": 441, "column": 51 }, "end": { "line": 441, "column": 56 }, "identifierName": "index" }, "name": "index" } ], "body": { "type": "BlockStatement", "start": 15604, "end": 16401, "loc": { "start": { "line": 441, "column": 61 }, "end": { "line": 466, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 15772, "end": 16357, "loc": { "start": { "line": 447, "column": 10 }, "end": { "line": 463, "column": 11 } }, "test": { "type": "LogicalExpression", "start": 15789, "end": 15868, "loc": { "start": { "line": 448, "column": 12 }, "end": { "line": 449, "column": 22 } }, "left": { "type": "LogicalExpression", "start": 15790, "end": 15840, "loc": { "start": { "line": 448, "column": 13 }, "end": { "line": 448, "column": 63 } }, "left": { "type": "Identifier", "start": 15790, "end": 15799, "loc": { "start": { "line": 448, "column": 13 }, "end": { "line": 448, "column": 22 }, "identifierName": "className" }, "name": "className", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 15803, "end": 15840, "loc": { "start": { "line": 448, "column": 26 }, "end": { "line": 448, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 15803, "end": 15821, "loc": { "start": { "line": 448, "column": 26 }, "end": { "line": 448, "column": 44 } }, "object": { "type": "Identifier", "start": 15803, "end": 15812, "loc": { "start": { "line": 448, "column": 26 }, "end": { "line": 448, "column": 35 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 15813, "end": 15821, "loc": { "start": { "line": 448, "column": 36 }, "end": { "line": 448, "column": 44 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 15822, "end": 15839, "loc": { "start": { "line": 448, "column": 45 }, "end": { "line": 448, "column": 62 } }, "object": { "type": "Identifier", "start": 15822, "end": 15833, "loc": { "start": { "line": 448, "column": 45 }, "end": { "line": 448, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 15834, "end": 15839, "loc": { "start": { "line": 448, "column": 57 }, "end": { "line": 448, "column": 62 }, "identifierName": "class" }, "name": "class" }, "computed": false } ] }, "leadingComments": null, "extra": { "parenthesized": true, "parenStart": 15789 } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 15858, "end": 15868, "loc": { "start": { "line": 449, "column": 12 }, "end": { "line": 449, "column": 22 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 15859, "end": 15868, "loc": { "start": { "line": 449, "column": 13 }, "end": { "line": 449, "column": 22 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15881, "end": 16357, "loc": { "start": { "line": 450, "column": 11 }, "end": { "line": 463, "column": 11 } }, "body": [ { "type": "VariableDeclaration", "start": 15896, "end": 15985, "loc": { "start": { "line": 451, "column": 12 }, "end": { "line": 451, "column": 101 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15900, "end": 15984, "loc": { "start": { "line": 451, "column": 16 }, "end": { "line": 451, "column": 100 } }, "id": { "type": "Identifier", "start": 15900, "end": 15919, "loc": { "start": { "line": 451, "column": 16 }, "end": { "line": 451, "column": 35 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "init": { "type": "CallExpression", "start": 15922, "end": 15984, "loc": { "start": { "line": 451, "column": 38 }, "end": { "line": 451, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 15922, "end": 15959, "loc": { "start": { "line": 451, "column": 38 }, "end": { "line": 451, "column": 75 } }, "object": { "type": "CallExpression", "start": 15922, "end": 15952, "loc": { "start": { "line": 451, "column": 38 }, "end": { "line": 451, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 15922, "end": 15947, "loc": { "start": { "line": 451, "column": 38 }, "end": { "line": 451, "column": 63 } }, "object": { "type": "MemberExpression", "start": 15922, "end": 15941, "loc": { "start": { "line": 451, "column": 38 }, "end": { "line": 451, "column": 57 } }, "object": { "type": "Identifier", "start": 15922, "end": 15933, "loc": { "start": { "line": 451, "column": 38 }, "end": { "line": 451, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 15934, "end": 15941, "loc": { "start": { "line": 451, "column": 50 }, "end": { "line": 451, "column": 57 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 15942, "end": 15947, "loc": { "start": { "line": 451, "column": 58 }, "end": { "line": 451, "column": 63 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15948, "end": 15951, "loc": { "start": { "line": 451, "column": 64 }, "end": { "line": 451, "column": 67 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 15953, "end": 15959, "loc": { "start": { "line": 451, "column": 69 }, "end": { "line": 451, "column": 75 }, "identifierName": "filter" }, "name": "filter" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 15960, "end": 15983, "loc": { "start": { "line": 451, "column": 76 }, "end": { "line": 451, "column": 99 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 15960, "end": 15964, "loc": { "start": { "line": 451, "column": 76 }, "end": { "line": 451, "column": 80 }, "identifierName": "item" }, "name": "item" } ], "body": { "type": "BinaryExpression", "start": 15968, "end": 15983, "loc": { "start": { "line": 451, "column": 84 }, "end": { "line": 451, "column": 99 } }, "left": { "type": "Identifier", "start": 15968, "end": 15972, "loc": { "start": { "line": 451, "column": 84 }, "end": { "line": 451, "column": 88 }, "identifierName": "item" }, "name": "item" }, "operator": "!==", "right": { "type": "Identifier", "start": 15977, "end": 15983, "loc": { "start": { "line": 451, "column": 93 }, "end": { "line": 451, "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": 16001, "end": 16098, "loc": { "start": { "line": 453, "column": 12 }, "end": { "line": 455, "column": 15 } } } ] }, { "type": "IfStatement", "start": 16112, "end": 16341, "loc": { "start": { "line": 456, "column": 12 }, "end": { "line": 461, "column": 13 } }, "test": { "type": "MemberExpression", "start": 16115, "end": 16141, "loc": { "start": { "line": 456, "column": 15 }, "end": { "line": 456, "column": 41 } }, "object": { "type": "Identifier", "start": 16115, "end": 16134, "loc": { "start": { "line": 456, "column": 15 }, "end": { "line": 456, "column": 34 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 16135, "end": 16141, "loc": { "start": { "line": 456, "column": 35 }, "end": { "line": 456, "column": 41 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 16142, "end": 16226, "loc": { "start": { "line": 456, "column": 42 }, "end": { "line": 458, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 16159, "end": 16211, "loc": { "start": { "line": 457, "column": 14 }, "end": { "line": 457, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 16159, "end": 16210, "loc": { "start": { "line": 457, "column": 14 }, "end": { "line": 457, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 16159, "end": 16178, "loc": { "start": { "line": 457, "column": 14 }, "end": { "line": 457, "column": 33 } }, "object": { "type": "Identifier", "start": 16159, "end": 16170, "loc": { "start": { "line": 457, "column": 14 }, "end": { "line": 457, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 16171, "end": 16178, "loc": { "start": { "line": 457, "column": 26 }, "end": { "line": 457, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 16181, "end": 16210, "loc": { "start": { "line": 457, "column": 36 }, "end": { "line": 457, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 16181, "end": 16205, "loc": { "start": { "line": 457, "column": 36 }, "end": { "line": 457, "column": 60 } }, "object": { "type": "Identifier", "start": 16181, "end": 16200, "loc": { "start": { "line": 457, "column": 36 }, "end": { "line": 457, "column": 55 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "property": { "type": "Identifier", "start": 16201, "end": 16205, "loc": { "start": { "line": 457, "column": 56 }, "end": { "line": 457, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16206, "end": 16209, "loc": { "start": { "line": 457, "column": 61 }, "end": { "line": 457, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 16232, "end": 16341, "loc": { "start": { "line": 458, "column": 19 }, "end": { "line": 461, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 16249, "end": 16291, "loc": { "start": { "line": 459, "column": 14 }, "end": { "line": 459, "column": 56 } }, "expression": { "type": "CallExpression", "start": 16249, "end": 16290, "loc": { "start": { "line": 459, "column": 14 }, "end": { "line": 459, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 16249, "end": 16280, "loc": { "start": { "line": 459, "column": 14 }, "end": { "line": 459, "column": 45 } }, "object": { "type": "MemberExpression", "start": 16249, "end": 16273, "loc": { "start": { "line": 459, "column": 14 }, "end": { "line": 459, "column": 38 } }, "object": { "type": "MemberExpression", "start": 16249, "end": 16261, "loc": { "start": { "line": 459, "column": 14 }, "end": { "line": 459, "column": 26 } }, "object": { "type": "ThisExpression", "start": 16249, "end": 16253, "loc": { "start": { "line": 459, "column": 14 }, "end": { "line": 459, "column": 18 } } }, "property": { "type": "Identifier", "start": 16254, "end": 16261, "loc": { "start": { "line": 459, "column": 19 }, "end": { "line": 459, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16262, "end": 16273, "loc": { "start": { "line": 459, "column": 27 }, "end": { "line": 459, "column": 38 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 16274, "end": 16280, "loc": { "start": { "line": 459, "column": 39 }, "end": { "line": 459, "column": 45 }, "identifierName": "splice" }, "name": "splice" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 16281, "end": 16286, "loc": { "start": { "line": 459, "column": 46 }, "end": { "line": 459, "column": 51 }, "identifierName": "index" }, "name": "index" }, { "type": "NumericLiteral", "start": 16288, "end": 16289, "loc": { "start": { "line": 459, "column": 53 }, "end": { "line": 459, "column": 54 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } }, { "type": "ExpressionStatement", "start": 16307, "end": 16326, "loc": { "start": { "line": 460, "column": 14 }, "end": { "line": 460, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 16307, "end": 16325, "loc": { "start": { "line": 460, "column": 14 }, "end": { "line": 460, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", "start": 16307, "end": 16318, "loc": { "start": { "line": 460, "column": 14 }, "end": { "line": 460, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "right": { "type": "NullLiteral", "start": 16321, "end": 16325, "loc": { "start": { "line": 460, "column": 28 }, "end": { "line": 460, "column": 32 } } } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 16001, "end": 16098, "loc": { "start": { "line": 453, "column": 12 }, "end": { "line": 455, "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": 15619, "end": 15760, "loc": { "start": { "line": 443, "column": 10 }, "end": { "line": 446, "column": 13 } } } ] }, { "type": "ReturnStatement", "start": 16371, "end": 16390, "loc": { "start": { "line": 465, "column": 10 }, "end": { "line": 465, "column": 29 } }, "argument": { "type": "Identifier", "start": 16378, "end": 16389, "loc": { "start": { "line": 465, "column": 17 }, "end": { "line": 465, "column": 28 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 16424, "end": 16438, "loc": { "start": { "line": 469, "column": 6 }, "end": { "line": 469, "column": 20 } }, "expression": { "type": "CallExpression", "start": 16424, "end": 16437, "loc": { "start": { "line": 469, "column": 6 }, "end": { "line": 469, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 16424, "end": 16435, "loc": { "start": { "line": 469, "column": 6 }, "end": { "line": 469, "column": 17 } }, "object": { "type": "ThisExpression", "start": 16424, "end": 16428, "loc": { "start": { "line": 469, "column": 6 }, "end": { "line": 469, "column": 10 } } }, "property": { "type": "Identifier", "start": 16429, "end": 16435, "loc": { "start": { "line": 469, "column": 11 }, "end": { "line": 469, "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": 15286, "end": 15354, "loc": { "start": { "line": 435, "column": 4 }, "end": { "line": 437, "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": 14689, "end": 15029, "loc": { "start": { "line": 420, "column": 2 }, "end": { "line": 424, "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": 16456, "end": 16659, "loc": { "start": { "line": 473, "column": 2 }, "end": { "line": 476, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 16663, "end": 16930, "loc": { "start": { "line": 477, "column": 2 }, "end": { "line": 490, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 16663, "end": 16679, "loc": { "start": { "line": 477, "column": 2 }, "end": { "line": 477, "column": 18 }, "identifierName": "getButtonElement" }, "name": "getButtonElement", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16680, "end": 16686, "loc": { "start": { "line": 477, "column": 19 }, "end": { "line": 477, "column": 25 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 16687, "end": 16930, "loc": { "start": { "line": 477, "column": 26 }, "end": { "line": 490, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 16694, "end": 16705, "loc": { "start": { "line": 478, "column": 4 }, "end": { "line": 478, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16698, "end": 16704, "loc": { "start": { "line": 478, "column": 8 }, "end": { "line": 478, "column": 14 } }, "id": { "type": "Identifier", "start": 16698, "end": 16704, "loc": { "start": { "line": 478, "column": 8 }, "end": { "line": 478, "column": 14 }, "identifierName": "output" }, "name": "output" }, "init": null } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 16713, "end": 16757, "loc": { "start": { "line": 480, "column": 4 }, "end": { "line": 480, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16717, "end": 16756, "loc": { "start": { "line": 480, "column": 8 }, "end": { "line": 480, "column": 47 } }, "id": { "type": "Identifier", "start": 16717, "end": 16726, "loc": { "start": { "line": 480, "column": 8 }, "end": { "line": 480, "column": 17 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "init": { "type": "MemberExpression", "start": 16729, "end": 16756, "loc": { "start": { "line": 480, "column": 20 }, "end": { "line": 480, "column": 47 } }, "object": { "type": "MemberExpression", "start": 16729, "end": 16748, "loc": { "start": { "line": 480, "column": 20 }, "end": { "line": 480, "column": 39 } }, "object": { "type": "ThisExpression", "start": 16729, "end": 16733, "loc": { "start": { "line": 480, "column": 20 }, "end": { "line": 480, "column": 24 } } }, "property": { "type": "Identifier", "start": 16734, "end": 16748, "loc": { "start": { "line": 480, "column": 25 }, "end": { "line": 480, "column": 39 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 16749, "end": 16755, "loc": { "start": { "line": 480, "column": 40 }, "end": { "line": 480, "column": 46 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "IfStatement", "start": 16763, "end": 16903, "loc": { "start": { "line": 481, "column": 4 }, "end": { "line": 487, "column": 5 } }, "test": { "type": "Identifier", "start": 16766, "end": 16775, "loc": { "start": { "line": 481, "column": 7 }, "end": { "line": 481, "column": 16 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "consequent": { "type": "BlockStatement", "start": 16776, "end": 16903, "loc": { "start": { "line": 481, "column": 17 }, "end": { "line": 487, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 16785, "end": 16896, "loc": { "start": { "line": 482, "column": 6 }, "end": { "line": 486, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 16788, "end": 16808, "loc": { "start": { "line": 482, "column": 9 }, "end": { "line": 482, "column": 29 } }, "left": { "type": "MemberExpression", "start": 16788, "end": 16804, "loc": { "start": { "line": 482, "column": 9 }, "end": { "line": 482, "column": 25 } }, "object": { "type": "Identifier", "start": 16788, "end": 16797, "loc": { "start": { "line": 482, "column": 9 }, "end": { "line": 482, "column": 18 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "Identifier", "start": 16798, "end": 16804, "loc": { "start": { "line": 482, "column": 19 }, "end": { "line": 482, "column": 25 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 16807, "end": 16808, "loc": { "start": { "line": 482, "column": 28 }, "end": { "line": 482, "column": 29 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "consequent": { "type": "BlockStatement", "start": 16809, "end": 16848, "loc": { "start": { "line": 482, "column": 30 }, "end": { "line": 484, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 16820, "end": 16839, "loc": { "start": { "line": 483, "column": 8 }, "end": { "line": 483, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 16820, "end": 16838, "loc": { "start": { "line": 483, "column": 8 }, "end": { "line": 483, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", "start": 16820, "end": 16826, "loc": { "start": { "line": 483, "column": 8 }, "end": { "line": 483, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "Identifier", "start": 16829, "end": 16838, "loc": { "start": { "line": 483, "column": 17 }, "end": { "line": 483, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 16854, "end": 16896, "loc": { "start": { "line": 484, "column": 13 }, "end": { "line": 486, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 16865, "end": 16887, "loc": { "start": { "line": 485, "column": 8 }, "end": { "line": 485, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 16865, "end": 16886, "loc": { "start": { "line": 485, "column": 8 }, "end": { "line": 485, "column": 29 } }, "operator": "=", "left": { "type": "Identifier", "start": 16865, "end": 16871, "loc": { "start": { "line": 485, "column": 8 }, "end": { "line": 485, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "MemberExpression", "start": 16874, "end": 16886, "loc": { "start": { "line": 485, "column": 17 }, "end": { "line": 485, "column": 29 } }, "object": { "type": "Identifier", "start": 16874, "end": 16883, "loc": { "start": { "line": 485, "column": 17 }, "end": { "line": 485, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "NumericLiteral", "start": 16884, "end": 16885, "loc": { "start": { "line": 485, "column": 27 }, "end": { "line": 485, "column": 28 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } } } ], "directives": [] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 16911, "end": 16925, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 489, "column": 18 } }, "argument": { "type": "Identifier", "start": 16918, "end": 16924, "loc": { "start": { "line": 489, "column": 11 }, "end": { "line": 489, "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": 16456, "end": 16659, "loc": { "start": { "line": 473, "column": 2 }, "end": { "line": 476, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 16936, "end": 17026, "loc": { "start": { "line": 492, "column": 2 }, "end": { "line": 494, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 17030, "end": 17333, "loc": { "start": { "line": 495, "column": 2 }, "end": { "line": 503, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17030, "end": 17041, "loc": { "start": { "line": 495, "column": 2 }, "end": { "line": 495, "column": 13 }, "identifierName": "handleCaret" }, "name": "handleCaret", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 17043, "end": 17333, "loc": { "start": { "line": 495, "column": 15 }, "end": { "line": 503, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 17050, "end": 17126, "loc": { "start": { "line": 496, "column": 4 }, "end": { "line": 498, "column": 5 } }, "test": { "type": "MemberExpression", "start": 17053, "end": 17071, "loc": { "start": { "line": 496, "column": 7 }, "end": { "line": 496, "column": 25 } }, "object": { "type": "MemberExpression", "start": 17053, "end": 17065, "loc": { "start": { "line": 496, "column": 7 }, "end": { "line": 496, "column": 19 } }, "object": { "type": "ThisExpression", "start": 17053, "end": 17057, "loc": { "start": { "line": 496, "column": 7 }, "end": { "line": 496, "column": 11 } } }, "property": { "type": "Identifier", "start": 17058, "end": 17065, "loc": { "start": { "line": 496, "column": 12 }, "end": { "line": 496, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17066, "end": 17071, "loc": { "start": { "line": 496, "column": 20 }, "end": { "line": 496, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 17072, "end": 17126, "loc": { "start": { "line": 496, "column": 26 }, "end": { "line": 498, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 17081, "end": 17119, "loc": { "start": { "line": 497, "column": 6 }, "end": { "line": 497, "column": 44 } }, "expression": { "type": "CallExpression", "start": 17081, "end": 17118, "loc": { "start": { "line": 497, "column": 6 }, "end": { "line": 497, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 17081, "end": 17092, "loc": { "start": { "line": 497, "column": 6 }, "end": { "line": 497, "column": 17 } }, "object": { "type": "Identifier", "start": 17081, "end": 17088, "loc": { "start": { "line": 497, "column": 6 }, "end": { "line": 497, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 17089, "end": 17092, "loc": { "start": { "line": 497, "column": 14 }, "end": { "line": 497, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17093, "end": 17117, "loc": { "start": { "line": 497, "column": 18 }, "end": { "line": 497, "column": 42 } }, "extra": { "rawValue": "Caret handling started", "raw": "\"Caret handling started\"" }, "value": "Caret handling started" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 17134, "end": 17193, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 500, "column": 63 } }, "expression": { "type": "CallExpression", "start": 17134, "end": 17192, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 500, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 17134, "end": 17159, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 500, "column": 29 } }, "object": { "type": "Identifier", "start": 17134, "end": 17142, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 500, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 17143, "end": 17159, "loc": { "start": { "line": 500, "column": 13 }, "end": { "line": 500, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17160, "end": 17167, "loc": { "start": { "line": 500, "column": 30 }, "end": { "line": 500, "column": 37 } }, "extra": { "rawValue": "keyup", "raw": "\"keyup\"" }, "value": "keyup" }, { "type": "MemberExpression", "start": 17169, "end": 17191, "loc": { "start": { "line": 500, "column": 39 }, "end": { "line": 500, "column": 61 } }, "object": { "type": "ThisExpression", "start": 17169, "end": 17173, "loc": { "start": { "line": 500, "column": 39 }, "end": { "line": 500, "column": 43 } } }, "property": { "type": "Identifier", "start": 17174, "end": 17191, "loc": { "start": { "line": 500, "column": 44 }, "end": { "line": 500, "column": 61 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 17199, "end": 17260, "loc": { "start": { "line": 501, "column": 4 }, "end": { "line": 501, "column": 65 } }, "expression": { "type": "CallExpression", "start": 17199, "end": 17259, "loc": { "start": { "line": 501, "column": 4 }, "end": { "line": 501, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 17199, "end": 17224, "loc": { "start": { "line": 501, "column": 4 }, "end": { "line": 501, "column": 29 } }, "object": { "type": "Identifier", "start": 17199, "end": 17207, "loc": { "start": { "line": 501, "column": 4 }, "end": { "line": 501, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 17208, "end": 17224, "loc": { "start": { "line": 501, "column": 13 }, "end": { "line": 501, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17225, "end": 17234, "loc": { "start": { "line": 501, "column": 30 }, "end": { "line": 501, "column": 39 } }, "extra": { "rawValue": "mouseup", "raw": "\"mouseup\"" }, "value": "mouseup" }, { "type": "MemberExpression", "start": 17236, "end": 17258, "loc": { "start": { "line": 501, "column": 41 }, "end": { "line": 501, "column": 63 } }, "object": { "type": "ThisExpression", "start": 17236, "end": 17240, "loc": { "start": { "line": 501, "column": 41 }, "end": { "line": 501, "column": 45 } } }, "property": { "type": "Identifier", "start": 17241, "end": 17258, "loc": { "start": { "line": 501, "column": 46 }, "end": { "line": 501, "column": 63 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 17266, "end": 17328, "loc": { "start": { "line": 502, "column": 4 }, "end": { "line": 502, "column": 66 } }, "expression": { "type": "CallExpression", "start": 17266, "end": 17327, "loc": { "start": { "line": 502, "column": 4 }, "end": { "line": 502, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 17266, "end": 17291, "loc": { "start": { "line": 502, "column": 4 }, "end": { "line": 502, "column": 29 } }, "object": { "type": "Identifier", "start": 17266, "end": 17274, "loc": { "start": { "line": 502, "column": 4 }, "end": { "line": 502, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 17275, "end": 17291, "loc": { "start": { "line": 502, "column": 13 }, "end": { "line": 502, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17292, "end": 17302, "loc": { "start": { "line": 502, "column": 30 }, "end": { "line": 502, "column": 40 } }, "extra": { "rawValue": "touchend", "raw": "\"touchend\"" }, "value": "touchend" }, { "type": "MemberExpression", "start": 17304, "end": 17326, "loc": { "start": { "line": 502, "column": 42 }, "end": { "line": 502, "column": 64 } }, "object": { "type": "ThisExpression", "start": 17304, "end": 17308, "loc": { "start": { "line": 502, "column": 42 }, "end": { "line": 502, "column": 46 } } }, "property": { "type": "Identifier", "start": 17309, "end": 17326, "loc": { "start": { "line": 502, "column": 47 }, "end": { "line": 502, "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": 16936, "end": 17026, "loc": { "start": { "line": 492, "column": 2 }, "end": { "line": 494, "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": 17339, "end": 17451, "loc": { "start": { "line": 505, "column": 2 }, "end": { "line": 507, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 17455, "end": 18005, "loc": { "start": { "line": 508, "column": 2 }, "end": { "line": 525, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17455, "end": 17472, "loc": { "start": { "line": 508, "column": 2 }, "end": { "line": 508, "column": 19 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17473, "end": 17478, "loc": { "start": { "line": 508, "column": 20 }, "end": { "line": 508, "column": 25 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 17479, "end": 18005, "loc": { "start": { "line": 508, "column": 26 }, "end": { "line": 525, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 17486, "end": 17541, "loc": { "start": { "line": 509, "column": 4 }, "end": { "line": 509, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17490, "end": 17540, "loc": { "start": { "line": 509, "column": 8 }, "end": { "line": 509, "column": 58 } }, "id": { "type": "Identifier", "start": 17490, "end": 17503, "loc": { "start": { "line": 509, "column": 8 }, "end": { "line": 509, "column": 21 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "init": { "type": "CallExpression", "start": 17506, "end": 17540, "loc": { "start": { "line": 509, "column": 24 }, "end": { "line": 509, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 17506, "end": 17538, "loc": { "start": { "line": 509, "column": 24 }, "end": { "line": 509, "column": 56 } }, "object": { "type": "MemberExpression", "start": 17506, "end": 17526, "loc": { "start": { "line": 509, "column": 24 }, "end": { "line": 509, "column": 44 } }, "object": { "type": "MemberExpression", "start": 17506, "end": 17518, "loc": { "start": { "line": 509, "column": 24 }, "end": { "line": 509, "column": 36 } }, "object": { "type": "Identifier", "start": 17506, "end": 17511, "loc": { "start": { "line": 509, "column": 24 }, "end": { "line": 509, "column": 29 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17512, "end": 17518, "loc": { "start": { "line": 509, "column": 30 }, "end": { "line": 509, "column": 36 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17519, "end": 17526, "loc": { "start": { "line": 509, "column": 37 }, "end": { "line": 509, "column": 44 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 17527, "end": 17538, "loc": { "start": { "line": 509, "column": 45 }, "end": { "line": 509, "column": 56 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } } ], "kind": "let" }, { "type": "IfStatement", "start": 17549, "end": 18000, "loc": { "start": { "line": 511, "column": 4 }, "end": { "line": 524, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 17560, "end": 17624, "loc": { "start": { "line": 512, "column": 6 }, "end": { "line": 513, "column": 31 } }, "left": { "type": "BinaryExpression", "start": 17560, "end": 17588, "loc": { "start": { "line": 512, "column": 6 }, "end": { "line": 512, "column": 34 } }, "left": { "type": "Identifier", "start": 17560, "end": 17573, "loc": { "start": { "line": 512, "column": 6 }, "end": { "line": 512, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 17578, "end": 17588, "loc": { "start": { "line": 512, "column": 24 }, "end": { "line": 512, "column": 34 } }, "extra": { "rawValue": "textarea", "raw": "\"textarea\"" }, "value": "textarea" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 17599, "end": 17624, "loc": { "start": { "line": 513, "column": 6 }, "end": { "line": 513, "column": 31 } }, "left": { "type": "Identifier", "start": 17599, "end": 17612, "loc": { "start": { "line": 513, "column": 6 }, "end": { "line": 513, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 17617, "end": 17624, "loc": { "start": { "line": 513, "column": 24 }, "end": { "line": 513, "column": 31 } }, "extra": { "rawValue": "input", "raw": "\"input\"" }, "value": "input" } } }, "consequent": { "type": "BlockStatement", "start": 17631, "end": 18000, "loc": { "start": { "line": 514, "column": 5 }, "end": { "line": 524, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 17796, "end": 17845, "loc": { "start": { "line": 519, "column": 6 }, "end": { "line": 519, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 17796, "end": 17844, "loc": { "start": { "line": 519, "column": 6 }, "end": { "line": 519, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 17796, "end": 17814, "loc": { "start": { "line": 519, "column": 6 }, "end": { "line": 519, "column": 24 } }, "object": { "type": "ThisExpression", "start": 17796, "end": 17800, "loc": { "start": { "line": 519, "column": 6 }, "end": { "line": 519, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 17801, "end": 17814, "loc": { "start": { "line": 519, "column": 11 }, "end": { "line": 519, "column": 24 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 17817, "end": 17844, "loc": { "start": { "line": 519, "column": 27 }, "end": { "line": 519, "column": 54 } }, "object": { "type": "MemberExpression", "start": 17817, "end": 17829, "loc": { "start": { "line": 519, "column": 27 }, "end": { "line": 519, "column": 39 } }, "object": { "type": "Identifier", "start": 17817, "end": 17822, "loc": { "start": { "line": 519, "column": 27 }, "end": { "line": 519, "column": 32 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17823, "end": 17829, "loc": { "start": { "line": 519, "column": 33 }, "end": { "line": 519, "column": 39 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17830, "end": 17844, "loc": { "start": { "line": 519, "column": 40 }, "end": { "line": 519, "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": 17640, "end": 17788, "loc": { "start": { "line": 515, "column": 6 }, "end": { "line": 518, "column": 9 } } } ] }, { "type": "IfStatement", "start": 17855, "end": 17988, "loc": { "start": { "line": 521, "column": 6 }, "end": { "line": 523, "column": 7 } }, "test": { "type": "MemberExpression", "start": 17858, "end": 17876, "loc": { "start": { "line": 521, "column": 9 }, "end": { "line": 521, "column": 27 } }, "object": { "type": "MemberExpression", "start": 17858, "end": 17870, "loc": { "start": { "line": 521, "column": 9 }, "end": { "line": 521, "column": 21 } }, "object": { "type": "ThisExpression", "start": 17858, "end": 17862, "loc": { "start": { "line": 521, "column": 9 }, "end": { "line": 521, "column": 13 } } }, "property": { "type": "Identifier", "start": 17863, "end": 17870, "loc": { "start": { "line": 521, "column": 14 }, "end": { "line": 521, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17871, "end": 17876, "loc": { "start": { "line": 521, "column": 22 }, "end": { "line": 521, "column": 27 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 17877, "end": 17988, "loc": { "start": { "line": 521, "column": 28 }, "end": { "line": 523, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 17888, "end": 17979, "loc": { "start": { "line": 522, "column": 8 }, "end": { "line": 522, "column": 99 } }, "expression": { "type": "CallExpression", "start": 17888, "end": 17978, "loc": { "start": { "line": 522, "column": 8 }, "end": { "line": 522, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 17888, "end": 17899, "loc": { "start": { "line": 522, "column": 8 }, "end": { "line": 522, "column": 19 } }, "object": { "type": "Identifier", "start": 17888, "end": 17895, "loc": { "start": { "line": 522, "column": 8 }, "end": { "line": 522, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 17896, "end": 17899, "loc": { "start": { "line": 522, "column": 16 }, "end": { "line": 522, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17900, "end": 17912, "loc": { "start": { "line": 522, "column": 20 }, "end": { "line": 522, "column": 32 } }, "extra": { "rawValue": "Caret at: ", "raw": "'Caret at: '" }, "value": "Caret at: " }, { "type": "MemberExpression", "start": 17914, "end": 17941, "loc": { "start": { "line": 522, "column": 34 }, "end": { "line": 522, "column": 61 } }, "object": { "type": "MemberExpression", "start": 17914, "end": 17926, "loc": { "start": { "line": 522, "column": 34 }, "end": { "line": 522, "column": 46 } }, "object": { "type": "Identifier", "start": 17914, "end": 17919, "loc": { "start": { "line": 522, "column": 34 }, "end": { "line": 522, "column": 39 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17920, "end": 17926, "loc": { "start": { "line": 522, "column": 40 }, "end": { "line": 522, "column": 46 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17927, "end": 17941, "loc": { "start": { "line": 522, "column": 47 }, "end": { "line": 522, "column": 61 }, "identifierName": "selectionStart" }, "name": "selectionStart" }, "computed": false }, { "type": "CallExpression", "start": 17943, "end": 17977, "loc": { "start": { "line": 522, "column": 63 }, "end": { "line": 522, "column": 97 } }, "callee": { "type": "MemberExpression", "start": 17943, "end": 17975, "loc": { "start": { "line": 522, "column": 63 }, "end": { "line": 522, "column": 95 } }, "object": { "type": "MemberExpression", "start": 17943, "end": 17963, "loc": { "start": { "line": 522, "column": 63 }, "end": { "line": 522, "column": 83 } }, "object": { "type": "MemberExpression", "start": 17943, "end": 17955, "loc": { "start": { "line": 522, "column": 63 }, "end": { "line": 522, "column": 75 } }, "object": { "type": "Identifier", "start": 17943, "end": 17948, "loc": { "start": { "line": 522, "column": 63 }, "end": { "line": 522, "column": 68 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17949, "end": 17955, "loc": { "start": { "line": 522, "column": 69 }, "end": { "line": 522, "column": 75 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17956, "end": 17963, "loc": { "start": { "line": 522, "column": 76 }, "end": { "line": 522, "column": 83 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 17964, "end": 17975, "loc": { "start": { "line": 522, "column": 84 }, "end": { "line": 522, "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": 17339, "end": 17451, "loc": { "start": { "line": 505, "column": 2 }, "end": { "line": 507, "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": 18011, "end": 18131, "loc": { "start": { "line": 527, "column": 2 }, "end": { "line": 529, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 18135, "end": 18371, "loc": { "start": { "line": 530, "column": 2 }, "end": { "line": 542, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18135, "end": 18141, "loc": { "start": { "line": 530, "column": 2 }, "end": { "line": 530, "column": 8 }, "identifierName": "onInit" }, "name": "onInit", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 18143, "end": 18371, "loc": { "start": { "line": 530, "column": 10 }, "end": { "line": 542, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18150, "end": 18215, "loc": { "start": { "line": 531, "column": 4 }, "end": { "line": 533, "column": 5 } }, "test": { "type": "MemberExpression", "start": 18153, "end": 18171, "loc": { "start": { "line": 531, "column": 7 }, "end": { "line": 531, "column": 25 } }, "object": { "type": "MemberExpression", "start": 18153, "end": 18165, "loc": { "start": { "line": 531, "column": 7 }, "end": { "line": 531, "column": 19 } }, "object": { "type": "ThisExpression", "start": 18153, "end": 18157, "loc": { "start": { "line": 531, "column": 7 }, "end": { "line": 531, "column": 11 } } }, "property": { "type": "Identifier", "start": 18158, "end": 18165, "loc": { "start": { "line": 531, "column": 12 }, "end": { "line": 531, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18166, "end": 18171, "loc": { "start": { "line": 531, "column": 20 }, "end": { "line": 531, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 18172, "end": 18215, "loc": { "start": { "line": 531, "column": 26 }, "end": { "line": 533, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18181, "end": 18208, "loc": { "start": { "line": 532, "column": 6 }, "end": { "line": 532, "column": 33 } }, "expression": { "type": "CallExpression", "start": 18181, "end": 18207, "loc": { "start": { "line": 532, "column": 6 }, "end": { "line": 532, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 18181, "end": 18192, "loc": { "start": { "line": 532, "column": 6 }, "end": { "line": 532, "column": 17 } }, "object": { "type": "Identifier", "start": 18181, "end": 18188, "loc": { "start": { "line": 532, "column": 6 }, "end": { "line": 532, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 18189, "end": 18192, "loc": { "start": { "line": 532, "column": 14 }, "end": { "line": 532, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18193, "end": 18206, "loc": { "start": { "line": 532, "column": 18 }, "end": { "line": 532, "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": 18223, "end": 18258, "loc": { "start": { "line": 535, "column": 4 }, "end": { "line": 537, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 18264, "end": 18283, "loc": { "start": { "line": 538, "column": 4 }, "end": { "line": 538, "column": 23 } }, "expression": { "type": "CallExpression", "start": 18264, "end": 18282, "loc": { "start": { "line": 538, "column": 4 }, "end": { "line": 538, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 18264, "end": 18280, "loc": { "start": { "line": 538, "column": 4 }, "end": { "line": 538, "column": 20 } }, "object": { "type": "ThisExpression", "start": 18264, "end": 18268, "loc": { "start": { "line": 538, "column": 4 }, "end": { "line": 538, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 18269, "end": 18280, "loc": { "start": { "line": 538, "column": 9 }, "end": { "line": 538, "column": 20 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 18223, "end": 18258, "loc": { "start": { "line": 535, "column": 4 }, "end": { "line": 537, "column": 7 } } } ] }, { "type": "IfStatement", "start": 18291, "end": 18366, "loc": { "start": { "line": 540, "column": 4 }, "end": { "line": 541, "column": 28 } }, "test": { "type": "BinaryExpression", "start": 18294, "end": 18335, "loc": { "start": { "line": 540, "column": 7 }, "end": { "line": 540, "column": 48 } }, "left": { "type": "UnaryExpression", "start": 18294, "end": 18320, "loc": { "start": { "line": 540, "column": 7 }, "end": { "line": 540, "column": 33 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 18301, "end": 18320, "loc": { "start": { "line": 540, "column": 14 }, "end": { "line": 540, "column": 33 } }, "object": { "type": "MemberExpression", "start": 18301, "end": 18313, "loc": { "start": { "line": 540, "column": 14 }, "end": { "line": 540, "column": 26 } }, "object": { "type": "ThisExpression", "start": 18301, "end": 18305, "loc": { "start": { "line": 540, "column": 14 }, "end": { "line": 540, "column": 18 } } }, "property": { "type": "Identifier", "start": 18306, "end": 18313, "loc": { "start": { "line": 540, "column": 19 }, "end": { "line": 540, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18314, "end": 18320, "loc": { "start": { "line": 540, "column": 27 }, "end": { "line": 540, "column": 33 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 18325, "end": 18335, "loc": { "start": { "line": 540, "column": 38 }, "end": { "line": 540, "column": 48 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 18344, "end": 18366, "loc": { "start": { "line": 541, "column": 6 }, "end": { "line": 541, "column": 28 } }, "expression": { "type": "CallExpression", "start": 18344, "end": 18365, "loc": { "start": { "line": 541, "column": 6 }, "end": { "line": 541, "column": 27 } }, "callee": { "type": "MemberExpression", "start": 18344, "end": 18363, "loc": { "start": { "line": 541, "column": 6 }, "end": { "line": 541, "column": 25 } }, "object": { "type": "MemberExpression", "start": 18344, "end": 18356, "loc": { "start": { "line": 541, "column": 6 }, "end": { "line": 541, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18344, "end": 18348, "loc": { "start": { "line": 541, "column": 6 }, "end": { "line": 541, "column": 10 } } }, "property": { "type": "Identifier", "start": 18349, "end": 18356, "loc": { "start": { "line": 541, "column": 11 }, "end": { "line": 541, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18357, "end": 18363, "loc": { "start": { "line": 541, "column": 19 }, "end": { "line": 541, "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": 18011, "end": 18131, "loc": { "start": { "line": 527, "column": 2 }, "end": { "line": 529, "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": 18377, "end": 18495, "loc": { "start": { "line": 544, "column": 2 }, "end": { "line": 546, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 18499, "end": 18600, "loc": { "start": { "line": 547, "column": 2 }, "end": { "line": 550, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18499, "end": 18507, "loc": { "start": { "line": 547, "column": 2 }, "end": { "line": 547, "column": 10 }, "identifierName": "onRender" }, "name": "onRender", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 18509, "end": 18600, "loc": { "start": { "line": 547, "column": 12 }, "end": { "line": 550, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18516, "end": 18595, "loc": { "start": { "line": 548, "column": 4 }, "end": { "line": 549, "column": 30 } }, "test": { "type": "BinaryExpression", "start": 18519, "end": 18562, "loc": { "start": { "line": 548, "column": 7 }, "end": { "line": 548, "column": 50 } }, "left": { "type": "UnaryExpression", "start": 18519, "end": 18547, "loc": { "start": { "line": 548, "column": 7 }, "end": { "line": 548, "column": 35 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 18526, "end": 18547, "loc": { "start": { "line": 548, "column": 14 }, "end": { "line": 548, "column": 35 } }, "object": { "type": "MemberExpression", "start": 18526, "end": 18538, "loc": { "start": { "line": 548, "column": 14 }, "end": { "line": 548, "column": 26 } }, "object": { "type": "ThisExpression", "start": 18526, "end": 18530, "loc": { "start": { "line": 548, "column": 14 }, "end": { "line": 548, "column": 18 } } }, "property": { "type": "Identifier", "start": 18531, "end": 18538, "loc": { "start": { "line": 548, "column": 19 }, "end": { "line": 548, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18539, "end": 18547, "loc": { "start": { "line": 548, "column": 27 }, "end": { "line": 548, "column": 35 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 18552, "end": 18562, "loc": { "start": { "line": 548, "column": 40 }, "end": { "line": 548, "column": 50 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 18571, "end": 18595, "loc": { "start": { "line": 549, "column": 6 }, "end": { "line": 549, "column": 30 } }, "expression": { "type": "CallExpression", "start": 18571, "end": 18594, "loc": { "start": { "line": 549, "column": 6 }, "end": { "line": 549, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 18571, "end": 18592, "loc": { "start": { "line": 549, "column": 6 }, "end": { "line": 549, "column": 27 } }, "object": { "type": "MemberExpression", "start": 18571, "end": 18583, "loc": { "start": { "line": 549, "column": 6 }, "end": { "line": 549, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18571, "end": 18575, "loc": { "start": { "line": 549, "column": 6 }, "end": { "line": 549, "column": 10 } } }, "property": { "type": "Identifier", "start": 18576, "end": 18583, "loc": { "start": { "line": 549, "column": 11 }, "end": { "line": 549, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18584, "end": 18592, "loc": { "start": { "line": 549, "column": 19 }, "end": { "line": 549, "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": 18377, "end": 18495, "loc": { "start": { "line": 544, "column": 2 }, "end": { "line": 546, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", "start": 18605, "end": 18684, "loc": { "start": { "line": 552, "column": 1 }, "end": { "line": 554, "column": 4 } } } ] }, { "type": "ClassMethod", "start": 18688, "end": 18810, "loc": { "start": { "line": 555, "column": 2 }, "end": { "line": 558, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18688, "end": 18703, "loc": { "start": { "line": 555, "column": 2 }, "end": { "line": 555, "column": 17 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 18705, "end": 18810, "loc": { "start": { "line": 555, "column": 19 }, "end": { "line": 558, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18712, "end": 18805, "loc": { "start": { "line": 556, "column": 4 }, "end": { "line": 557, "column": 37 } }, "test": { "type": "BinaryExpression", "start": 18715, "end": 18765, "loc": { "start": { "line": 556, "column": 7 }, "end": { "line": 556, "column": 57 } }, "left": { "type": "UnaryExpression", "start": 18715, "end": 18750, "loc": { "start": { "line": 556, "column": 7 }, "end": { "line": 556, "column": 42 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 18722, "end": 18750, "loc": { "start": { "line": 556, "column": 14 }, "end": { "line": 556, "column": 42 } }, "object": { "type": "MemberExpression", "start": 18722, "end": 18734, "loc": { "start": { "line": 556, "column": 14 }, "end": { "line": 556, "column": 26 } }, "object": { "type": "ThisExpression", "start": 18722, "end": 18726, "loc": { "start": { "line": 556, "column": 14 }, "end": { "line": 556, "column": 18 } } }, "property": { "type": "Identifier", "start": 18727, "end": 18734, "loc": { "start": { "line": 556, "column": 19 }, "end": { "line": 556, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18735, "end": 18750, "loc": { "start": { "line": 556, "column": 27 }, "end": { "line": 556, "column": 42 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 18755, "end": 18765, "loc": { "start": { "line": 556, "column": 47 }, "end": { "line": 556, "column": 57 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 18774, "end": 18805, "loc": { "start": { "line": 557, "column": 6 }, "end": { "line": 557, "column": 37 } }, "expression": { "type": "CallExpression", "start": 18774, "end": 18804, "loc": { "start": { "line": 557, "column": 6 }, "end": { "line": 557, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 18774, "end": 18802, "loc": { "start": { "line": 557, "column": 6 }, "end": { "line": 557, "column": 34 } }, "object": { "type": "MemberExpression", "start": 18774, "end": 18786, "loc": { "start": { "line": 557, "column": 6 }, "end": { "line": 557, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18774, "end": 18778, "loc": { "start": { "line": 557, "column": 6 }, "end": { "line": 557, "column": 10 } } }, "property": { "type": "Identifier", "start": 18779, "end": 18786, "loc": { "start": { "line": 557, "column": 11 }, "end": { "line": 557, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18787, "end": 18802, "loc": { "start": { "line": 557, "column": 19 }, "end": { "line": 557, "column": 34 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", "start": 18605, "end": 18684, "loc": { "start": { "line": 552, "column": 1 }, "end": { "line": 554, "column": 4 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 18816, "end": 18848, "loc": { "start": { "line": 560, "column": 2 }, "end": { "line": 562, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 18852, "end": 19001, "loc": { "start": { "line": 563, "column": 2 }, "end": { "line": 568, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18852, "end": 18866, "loc": { "start": { "line": 563, "column": 2 }, "end": { "line": 563, "column": 16 }, "identifierName": "registerModule" }, "name": "registerModule", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 18869, "end": 19001, "loc": { "start": { "line": 563, "column": 19 }, "end": { "line": 568, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 18870, "end": 18874, "loc": { "start": { "line": 563, "column": 20 }, "end": { "line": 563, "column": 24 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 18876, "end": 18888, "loc": { "start": { "line": 563, "column": 26 }, "end": { "line": 563, "column": 38 }, "identifierName": "initCallback" }, "name": "initCallback" } ], "body": { "type": "BlockStatement", "start": 18893, "end": 19001, "loc": { "start": { "line": 563, "column": 43 }, "end": { "line": 568, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18900, "end": 18955, "loc": { "start": { "line": 564, "column": 4 }, "end": { "line": 565, "column": 30 } }, "test": { "type": "UnaryExpression", "start": 18903, "end": 18922, "loc": { "start": { "line": 564, "column": 7 }, "end": { "line": 564, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 18904, "end": 18922, "loc": { "start": { "line": 564, "column": 8 }, "end": { "line": 564, "column": 26 } }, "object": { "type": "MemberExpression", "start": 18904, "end": 18916, "loc": { "start": { "line": 564, "column": 8 }, "end": { "line": 564, "column": 20 } }, "object": { "type": "ThisExpression", "start": 18904, "end": 18908, "loc": { "start": { "line": 564, "column": 8 }, "end": { "line": 564, "column": 12 } } }, "property": { "type": "Identifier", "start": 18909, "end": 18916, "loc": { "start": { "line": 564, "column": 13 }, "end": { "line": 564, "column": 20 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 18917, "end": 18921, "loc": { "start": { "line": 564, "column": 21 }, "end": { "line": 564, "column": 25 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 18931, "end": 18955, "loc": { "start": { "line": 565, "column": 6 }, "end": { "line": 565, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 18931, "end": 18954, "loc": { "start": { "line": 565, "column": 6 }, "end": { "line": 565, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18931, "end": 18949, "loc": { "start": { "line": 565, "column": 6 }, "end": { "line": 565, "column": 24 } }, "object": { "type": "MemberExpression", "start": 18931, "end": 18943, "loc": { "start": { "line": 565, "column": 6 }, "end": { "line": 565, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18931, "end": 18935, "loc": { "start": { "line": 565, "column": 6 }, "end": { "line": 565, "column": 10 } } }, "property": { "type": "Identifier", "start": 18936, "end": 18943, "loc": { "start": { "line": 565, "column": 11 }, "end": { "line": 565, "column": 18 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 18944, "end": 18948, "loc": { "start": { "line": 565, "column": 19 }, "end": { "line": 565, "column": 23 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 18952, "end": 18954, "loc": { "start": { "line": 565, "column": 27 }, "end": { "line": 565, "column": 29 } }, "properties": [] } } }, "alternate": null }, { "type": "ExpressionStatement", "start": 18963, "end": 18996, "loc": { "start": { "line": 567, "column": 4 }, "end": { "line": 567, "column": 37 } }, "expression": { "type": "CallExpression", "start": 18963, "end": 18995, "loc": { "start": { "line": 567, "column": 4 }, "end": { "line": 567, "column": 36 } }, "callee": { "type": "Identifier", "start": 18963, "end": 18975, "loc": { "start": { "line": 567, "column": 4 }, "end": { "line": 567, "column": 16 }, "identifierName": "initCallback" }, "name": "initCallback" }, "arguments": [ { "type": "MemberExpression", "start": 18976, "end": 18994, "loc": { "start": { "line": 567, "column": 17 }, "end": { "line": 567, "column": 35 } }, "object": { "type": "MemberExpression", "start": 18976, "end": 18988, "loc": { "start": { "line": 567, "column": 17 }, "end": { "line": 567, "column": 29 } }, "object": { "type": "ThisExpression", "start": 18976, "end": 18980, "loc": { "start": { "line": 567, "column": 17 }, "end": { "line": 567, "column": 21 } } }, "property": { "type": "Identifier", "start": 18981, "end": 18988, "loc": { "start": { "line": 567, "column": 22 }, "end": { "line": 567, "column": 29 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 18989, "end": 18993, "loc": { "start": { "line": 567, "column": 30 }, "end": { "line": 567, "column": 34 }, "identifierName": "name" }, "name": "name" }, "computed": true } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 18816, "end": 18848, "loc": { "start": { "line": 560, "column": 2 }, "end": { "line": 562, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 19007, "end": 19036, "loc": { "start": { "line": 570, "column": 2 }, "end": { "line": 572, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 19040, "end": 19681, "loc": { "start": { "line": 573, "column": 2 }, "end": { "line": 592, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19040, "end": 19051, "loc": { "start": { "line": 573, "column": 2 }, "end": { "line": 573, "column": 13 }, "identifierName": "loadModules" }, "name": "loadModules", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19053, "end": 19681, "loc": { "start": { "line": 573, "column": 15 }, "end": { "line": 592, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19060, "end": 19676, "loc": { "start": { "line": 574, "column": 4 }, "end": { "line": 591, "column": 5 } }, "test": { "type": "CallExpression", "start": 19063, "end": 19098, "loc": { "start": { "line": 574, "column": 7 }, "end": { "line": 574, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 19063, "end": 19076, "loc": { "start": { "line": 574, "column": 7 }, "end": { "line": 574, "column": 20 } }, "object": { "type": "Identifier", "start": 19063, "end": 19068, "loc": { "start": { "line": 574, "column": 7 }, "end": { "line": 574, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 19069, "end": 19076, "loc": { "start": { "line": 574, "column": 13 }, "end": { "line": 574, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19077, "end": 19097, "loc": { "start": { "line": 574, "column": 21 }, "end": { "line": 574, "column": 41 } }, "object": { "type": "MemberExpression", "start": 19077, "end": 19089, "loc": { "start": { "line": 574, "column": 21 }, "end": { "line": 574, "column": 33 } }, "object": { "type": "ThisExpression", "start": 19077, "end": 19081, "loc": { "start": { "line": 574, "column": 21 }, "end": { "line": 574, "column": 25 } } }, "property": { "type": "Identifier", "start": 19082, "end": 19089, "loc": { "start": { "line": 574, "column": 26 }, "end": { "line": 574, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19090, "end": 19097, "loc": { "start": { "line": 574, "column": 34 }, "end": { "line": 574, "column": 41 }, "identifierName": "modules" }, "name": "modules" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 19099, "end": 19676, "loc": { "start": { "line": 574, "column": 43 }, "end": { "line": 591, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 19108, "end": 19528, "loc": { "start": { "line": 575, "column": 6 }, "end": { "line": 585, "column": 9 } }, "expression": { "type": "CallExpression", "start": 19108, "end": 19527, "loc": { "start": { "line": 575, "column": 6 }, "end": { "line": 585, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 19108, "end": 19136, "loc": { "start": { "line": 575, "column": 6 }, "end": { "line": 575, "column": 34 } }, "object": { "type": "MemberExpression", "start": 19108, "end": 19128, "loc": { "start": { "line": 575, "column": 6 }, "end": { "line": 575, "column": 26 } }, "object": { "type": "MemberExpression", "start": 19108, "end": 19120, "loc": { "start": { "line": 575, "column": 6 }, "end": { "line": 575, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19108, "end": 19112, "loc": { "start": { "line": 575, "column": 6 }, "end": { "line": 575, "column": 10 } } }, "property": { "type": "Identifier", "start": 19113, "end": 19120, "loc": { "start": { "line": 575, "column": 11 }, "end": { "line": 575, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19121, "end": 19128, "loc": { "start": { "line": 575, "column": 19 }, "end": { "line": 575, "column": 26 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19129, "end": 19136, "loc": { "start": { "line": 575, "column": 27 }, "end": { "line": 575, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 19137, "end": 19526, "loc": { "start": { "line": 575, "column": 35 }, "end": { "line": 585, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19137, "end": 19143, "loc": { "start": { "line": 575, "column": 35 }, "end": { "line": 575, "column": 41 }, "identifierName": "Module" }, "name": "Module" } ], "body": { "type": "BlockStatement", "start": 19147, "end": 19526, "loc": { "start": { "line": 575, "column": 45 }, "end": { "line": 585, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 19158, "end": 19184, "loc": { "start": { "line": 576, "column": 8 }, "end": { "line": 576, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19162, "end": 19183, "loc": { "start": { "line": 576, "column": 12 }, "end": { "line": 576, "column": 33 } }, "id": { "type": "Identifier", "start": 19162, "end": 19168, "loc": { "start": { "line": 576, "column": 12 }, "end": { "line": 576, "column": 18 }, "identifierName": "module" }, "name": "module" }, "init": { "type": "NewExpression", "start": 19171, "end": 19183, "loc": { "start": { "line": 576, "column": 21 }, "end": { "line": 576, "column": 33 } }, "callee": { "type": "Identifier", "start": 19175, "end": 19181, "loc": { "start": { "line": 576, "column": 25 }, "end": { "line": 576, "column": 31 }, "identifierName": "Module" }, "name": "Module" }, "arguments": [] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 19196, "end": 19222, "loc": { "start": { "line": 578, "column": 8 }, "end": { "line": 578, "column": 34 } } } ] }, { "type": "IfStatement", "start": 19232, "end": 19487, "loc": { "start": { "line": 579, "column": 8 }, "end": { "line": 582, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 19235, "end": 19300, "loc": { "start": { "line": 579, "column": 11 }, "end": { "line": 579, "column": 76 } }, "left": { "type": "MemberExpression", "start": 19235, "end": 19258, "loc": { "start": { "line": 579, "column": 11 }, "end": { "line": 579, "column": 34 } }, "object": { "type": "MemberExpression", "start": 19235, "end": 19253, "loc": { "start": { "line": 579, "column": 11 }, "end": { "line": 579, "column": 29 } }, "object": { "type": "Identifier", "start": 19235, "end": 19241, "loc": { "start": { "line": 579, "column": 11 }, "end": { "line": 579, "column": 17 }, "identifierName": "module" }, "name": "module", "leadingComments": null }, "property": { "type": "Identifier", "start": 19242, "end": 19253, "loc": { "start": { "line": 579, "column": 18 }, "end": { "line": 579, "column": 29 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 19254, "end": 19258, "loc": { "start": { "line": 579, "column": 30 }, "end": { "line": 579, "column": 34 }, "identifierName": "name" }, "name": "name" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 19262, "end": 19300, "loc": { "start": { "line": 579, "column": 38 }, "end": { "line": 579, "column": 76 } }, "left": { "type": "MemberExpression", "start": 19262, "end": 19285, "loc": { "start": { "line": 579, "column": 38 }, "end": { "line": 579, "column": 61 } }, "object": { "type": "MemberExpression", "start": 19262, "end": 19280, "loc": { "start": { "line": 579, "column": 38 }, "end": { "line": 579, "column": 56 } }, "object": { "type": "Identifier", "start": 19262, "end": 19268, "loc": { "start": { "line": 579, "column": 38 }, "end": { "line": 579, "column": 44 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 19269, "end": 19280, "loc": { "start": { "line": 579, "column": 45 }, "end": { "line": 579, "column": 56 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "property": { "type": "Identifier", "start": 19281, "end": 19285, "loc": { "start": { "line": 579, "column": 57 }, "end": { "line": 579, "column": 61 }, "identifierName": "name" }, "name": "name" }, "computed": false }, "operator": "!==", "right": { "type": "StringLiteral", "start": 19290, "end": 19300, "loc": { "start": { "line": 579, "column": 66 }, "end": { "line": 579, "column": 76 } }, "extra": { "rawValue": "Function", "raw": "\"Function\"" }, "value": "Function" } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 19301, "end": 19487, "loc": { "start": { "line": 579, "column": 77 }, "end": { "line": 582, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 19314, "end": 19391, "loc": { "start": { "line": 580, "column": 10 }, "end": { "line": 580, "column": 87 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19318, "end": 19390, "loc": { "start": { "line": 580, "column": 14 }, "end": { "line": 580, "column": 86 } }, "id": { "type": "Identifier", "start": 19318, "end": 19326, "loc": { "start": { "line": 580, "column": 14 }, "end": { "line": 580, "column": 22 }, "identifierName": "classStr" }, "name": "classStr" }, "init": { "type": "TemplateLiteral", "start": 19329, "end": 19390, "loc": { "start": { "line": 580, "column": 25 }, "end": { "line": 580, "column": 86 } }, "expressions": [ { "type": "CallExpression", "start": 19339, "end": 19388, "loc": { "start": { "line": 580, "column": 35 }, "end": { "line": 580, "column": 84 } }, "callee": { "type": "MemberExpression", "start": 19339, "end": 19363, "loc": { "start": { "line": 580, "column": 35 }, "end": { "line": 580, "column": 59 } }, "object": { "type": "MemberExpression", "start": 19339, "end": 19353, "loc": { "start": { "line": 580, "column": 35 }, "end": { "line": 580, "column": 49 } }, "object": { "type": "ThisExpression", "start": 19339, "end": 19343, "loc": { "start": { "line": 580, "column": 35 }, "end": { "line": 580, "column": 39 } } }, "property": { "type": "Identifier", "start": 19344, "end": 19353, "loc": { "start": { "line": 580, "column": 40 }, "end": { "line": 580, "column": 49 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 19354, "end": 19363, "loc": { "start": { "line": 580, "column": 50 }, "end": { "line": 580, "column": 59 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19364, "end": 19387, "loc": { "start": { "line": 580, "column": 60 }, "end": { "line": 580, "column": 83 } }, "object": { "type": "MemberExpression", "start": 19364, "end": 19382, "loc": { "start": { "line": 580, "column": 60 }, "end": { "line": 580, "column": 78 } }, "object": { "type": "Identifier", "start": 19364, "end": 19370, "loc": { "start": { "line": 580, "column": 60 }, "end": { "line": 580, "column": 66 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 19371, "end": 19382, "loc": { "start": { "line": 580, "column": 67 }, "end": { "line": 580, "column": 78 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "property": { "type": "Identifier", "start": 19383, "end": 19387, "loc": { "start": { "line": 580, "column": 79 }, "end": { "line": 580, "column": 83 }, "identifierName": "name" }, "name": "name" }, "computed": false } ] } ], "quasis": [ { "type": "TemplateElement", "start": 19330, "end": 19337, "loc": { "start": { "line": 580, "column": 26 }, "end": { "line": 580, "column": 33 } }, "value": { "raw": "module-", "cooked": "module-" }, "tail": false }, { "type": "TemplateElement", "start": 19389, "end": 19389, "loc": { "start": { "line": 580, "column": 85 }, "end": { "line": 580, "column": 85 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 19403, "end": 19476, "loc": { "start": { "line": 581, "column": 10 }, "end": { "line": 581, "column": 83 } }, "expression": { "type": "AssignmentExpression", "start": 19403, "end": 19475, "loc": { "start": { "line": 581, "column": 10 }, "end": { "line": 581, "column": 82 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19403, "end": 19429, "loc": { "start": { "line": 581, "column": 10 }, "end": { "line": 581, "column": 36 } }, "object": { "type": "ThisExpression", "start": 19403, "end": 19407, "loc": { "start": { "line": 581, "column": 10 }, "end": { "line": 581, "column": 14 } } }, "property": { "type": "Identifier", "start": 19408, "end": 19429, "loc": { "start": { "line": 581, "column": 15 }, "end": { "line": 581, "column": 36 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 19432, "end": 19475, "loc": { "start": { "line": 581, "column": 39 }, "end": { "line": 581, "column": 82 } }, "left": { "type": "MemberExpression", "start": 19432, "end": 19458, "loc": { "start": { "line": 581, "column": 39 }, "end": { "line": 581, "column": 65 } }, "object": { "type": "ThisExpression", "start": 19432, "end": 19436, "loc": { "start": { "line": 581, "column": 39 }, "end": { "line": 581, "column": 43 } } }, "property": { "type": "Identifier", "start": 19437, "end": 19458, "loc": { "start": { "line": 581, "column": 44 }, "end": { "line": 581, "column": 65 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "operator": "+", "right": { "type": "TemplateLiteral", "start": 19461, "end": 19475, "loc": { "start": { "line": 581, "column": 68 }, "end": { "line": 581, "column": 82 } }, "expressions": [ { "type": "Identifier", "start": 19465, "end": 19473, "loc": { "start": { "line": 581, "column": 72 }, "end": { "line": 581, "column": 80 }, "identifierName": "classStr" }, "name": "classStr" } ], "quasis": [ { "type": "TemplateElement", "start": 19462, "end": 19463, "loc": { "start": { "line": 581, "column": 69 }, "end": { "line": 581, "column": 70 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 19474, "end": 19474, "loc": { "start": { "line": 581, "column": 81 }, "end": { "line": 581, "column": 81 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 19196, "end": 19222, "loc": { "start": { "line": 578, "column": 8 }, "end": { "line": 578, "column": 34 } } } ] }, { "type": "ExpressionStatement", "start": 19499, "end": 19517, "loc": { "start": { "line": 584, "column": 8 }, "end": { "line": 584, "column": 26 } }, "expression": { "type": "CallExpression", "start": 19499, "end": 19516, "loc": { "start": { "line": 584, "column": 8 }, "end": { "line": 584, "column": 25 } }, "callee": { "type": "MemberExpression", "start": 19499, "end": 19510, "loc": { "start": { "line": 584, "column": 8 }, "end": { "line": 584, "column": 19 } }, "object": { "type": "Identifier", "start": 19499, "end": 19505, "loc": { "start": { "line": 584, "column": 8 }, "end": { "line": 584, "column": 14 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 19506, "end": 19510, "loc": { "start": { "line": 584, "column": 15 }, "end": { "line": 584, "column": 19 }, "identifierName": "init" }, "name": "init" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 19511, "end": 19515, "loc": { "start": { "line": 584, "column": 20 }, "end": { "line": 584, "column": 24 } } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 19538, "end": 19614, "loc": { "start": { "line": 587, "column": 6 }, "end": { "line": 587, "column": 82 } }, "expression": { "type": "AssignmentExpression", "start": 19538, "end": 19613, "loc": { "start": { "line": 587, "column": 6 }, "end": { "line": 587, "column": 81 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19538, "end": 19564, "loc": { "start": { "line": 587, "column": 6 }, "end": { "line": 587, "column": 32 } }, "object": { "type": "ThisExpression", "start": 19538, "end": 19542, "loc": { "start": { "line": 587, "column": 6 }, "end": { "line": 587, "column": 10 } } }, "property": { "type": "Identifier", "start": 19543, "end": 19564, "loc": { "start": { "line": 587, "column": 11 }, "end": { "line": 587, "column": 32 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 19567, "end": 19613, "loc": { "start": { "line": 587, "column": 35 }, "end": { "line": 587, "column": 81 } }, "left": { "type": "MemberExpression", "start": 19567, "end": 19593, "loc": { "start": { "line": 587, "column": 35 }, "end": { "line": 587, "column": 61 } }, "object": { "type": "ThisExpression", "start": 19567, "end": 19571, "loc": { "start": { "line": 587, "column": 35 }, "end": { "line": 587, "column": 39 } } }, "property": { "type": "Identifier", "start": 19572, "end": 19593, "loc": { "start": { "line": 587, "column": 40 }, "end": { "line": 587, "column": 61 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "operator": "+", "right": { "type": "StringLiteral", "start": 19596, "end": 19613, "loc": { "start": { "line": 587, "column": 64 }, "end": { "line": 587, "column": 81 } }, "extra": { "rawValue": " modules-loaded", "raw": "' modules-loaded'" }, "value": " modules-loaded" } } } }, { "type": "ExpressionStatement", "start": 19624, "end": 19638, "loc": { "start": { "line": 589, "column": 6 }, "end": { "line": 589, "column": 20 } }, "expression": { "type": "CallExpression", "start": 19624, "end": 19637, "loc": { "start": { "line": 589, "column": 6 }, "end": { "line": 589, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 19624, "end": 19635, "loc": { "start": { "line": 589, "column": 6 }, "end": { "line": 589, "column": 17 } }, "object": { "type": "ThisExpression", "start": 19624, "end": 19628, "loc": { "start": { "line": 589, "column": 6 }, "end": { "line": 589, "column": 10 } } }, "property": { "type": "Identifier", "start": 19629, "end": 19635, "loc": { "start": { "line": 589, "column": 11 }, "end": { "line": 589, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 19646, "end": 19669, "loc": { "start": { "line": 590, "column": 6 }, "end": { "line": 590, "column": 29 } }, "expression": { "type": "CallExpression", "start": 19646, "end": 19668, "loc": { "start": { "line": 590, "column": 6 }, "end": { "line": 590, "column": 28 } }, "callee": { "type": "MemberExpression", "start": 19646, "end": 19666, "loc": { "start": { "line": 590, "column": 6 }, "end": { "line": 590, "column": 26 } }, "object": { "type": "ThisExpression", "start": 19646, "end": 19650, "loc": { "start": { "line": 590, "column": 6 }, "end": { "line": 590, "column": 10 } } }, "property": { "type": "Identifier", "start": 19651, "end": 19666, "loc": { "start": { "line": 590, "column": 11 }, "end": { "line": 590, "column": 26 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 19007, "end": 19036, "loc": { "start": { "line": 570, "column": 2 }, "end": { "line": 572, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 19687, "end": 19719, "loc": { "start": { "line": 594, "column": 2 }, "end": { "line": 596, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 19723, "end": 19855, "loc": { "start": { "line": 597, "column": 2 }, "end": { "line": 602, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19723, "end": 19736, "loc": { "start": { "line": 597, "column": 2 }, "end": { "line": 597, "column": 15 }, "identifierName": "getModuleProp" }, "name": "getModuleProp", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 19739, "end": 19855, "loc": { "start": { "line": 597, "column": 18 }, "end": { "line": 602, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19740, "end": 19744, "loc": { "start": { "line": 597, "column": 19 }, "end": { "line": 597, "column": 23 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 19746, "end": 19750, "loc": { "start": { "line": 597, "column": 25 }, "end": { "line": 597, "column": 29 }, "identifierName": "prop" }, "name": "prop" } ], "body": { "type": "BlockStatement", "start": 19755, "end": 19855, "loc": { "start": { "line": 597, "column": 34 }, "end": { "line": 602, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19762, "end": 19806, "loc": { "start": { "line": 598, "column": 4 }, "end": { "line": 599, "column": 19 } }, "test": { "type": "UnaryExpression", "start": 19765, "end": 19784, "loc": { "start": { "line": 598, "column": 7 }, "end": { "line": 598, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 19766, "end": 19784, "loc": { "start": { "line": 598, "column": 8 }, "end": { "line": 598, "column": 26 } }, "object": { "type": "MemberExpression", "start": 19766, "end": 19778, "loc": { "start": { "line": 598, "column": 8 }, "end": { "line": 598, "column": 20 } }, "object": { "type": "ThisExpression", "start": 19766, "end": 19770, "loc": { "start": { "line": 598, "column": 8 }, "end": { "line": 598, "column": 12 } } }, "property": { "type": "Identifier", "start": 19771, "end": 19778, "loc": { "start": { "line": 598, "column": 13 }, "end": { "line": 598, "column": 20 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19779, "end": 19783, "loc": { "start": { "line": 598, "column": 21 }, "end": { "line": 598, "column": 25 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ReturnStatement", "start": 19793, "end": 19806, "loc": { "start": { "line": 599, "column": 6 }, "end": { "line": 599, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 19800, "end": 19805, "loc": { "start": { "line": 599, "column": 13 }, "end": { "line": 599, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ReturnStatement", "start": 19818, "end": 19850, "loc": { "start": { "line": 601, "column": 4 }, "end": { "line": 601, "column": 36 } }, "argument": { "type": "MemberExpression", "start": 19825, "end": 19849, "loc": { "start": { "line": 601, "column": 11 }, "end": { "line": 601, "column": 35 } }, "object": { "type": "MemberExpression", "start": 19825, "end": 19843, "loc": { "start": { "line": 601, "column": 11 }, "end": { "line": 601, "column": 29 } }, "object": { "type": "MemberExpression", "start": 19825, "end": 19837, "loc": { "start": { "line": 601, "column": 11 }, "end": { "line": 601, "column": 23 } }, "object": { "type": "ThisExpression", "start": 19825, "end": 19829, "loc": { "start": { "line": 601, "column": 11 }, "end": { "line": 601, "column": 15 } } }, "property": { "type": "Identifier", "start": 19830, "end": 19837, "loc": { "start": { "line": 601, "column": 16 }, "end": { "line": 601, "column": 23 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19838, "end": 19842, "loc": { "start": { "line": 601, "column": 24 }, "end": { "line": 601, "column": 28 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "property": { "type": "Identifier", "start": 19844, "end": 19848, "loc": { "start": { "line": 601, "column": 30 }, "end": { "line": 601, "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": 19687, "end": 19719, "loc": { "start": { "line": 594, "column": 2 }, "end": { "line": 596, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 19861, "end": 19892, "loc": { "start": { "line": 604, "column": 2 }, "end": { "line": 606, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 19896, "end": 19964, "loc": { "start": { "line": 607, "column": 2 }, "end": { "line": 609, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19896, "end": 19910, "loc": { "start": { "line": 607, "column": 2 }, "end": { "line": 607, "column": 16 }, "identifierName": "getModulesList" }, "name": "getModulesList", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 19913, "end": 19964, "loc": { "start": { "line": 607, "column": 19 }, "end": { "line": 609, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19919, "end": 19964, "loc": { "start": { "line": 607, "column": 25 }, "end": { "line": 609, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 19926, "end": 19959, "loc": { "start": { "line": 608, "column": 4 }, "end": { "line": 608, "column": 37 } }, "argument": { "type": "CallExpression", "start": 19933, "end": 19958, "loc": { "start": { "line": 608, "column": 11 }, "end": { "line": 608, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 19933, "end": 19944, "loc": { "start": { "line": 608, "column": 11 }, "end": { "line": 608, "column": 22 } }, "object": { "type": "Identifier", "start": 19933, "end": 19939, "loc": { "start": { "line": 608, "column": 11 }, "end": { "line": 608, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 19940, "end": 19944, "loc": { "start": { "line": 608, "column": 18 }, "end": { "line": 608, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19945, "end": 19957, "loc": { "start": { "line": 608, "column": 23 }, "end": { "line": 608, "column": 35 } }, "object": { "type": "ThisExpression", "start": 19945, "end": 19949, "loc": { "start": { "line": 608, "column": 23 }, "end": { "line": 608, "column": 27 } } }, "property": { "type": "Identifier", "start": 19950, "end": 19957, "loc": { "start": { "line": 608, "column": 28 }, "end": { "line": 608, "column": 35 }, "identifierName": "modules" }, "name": "modules" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 19861, "end": 19892, "loc": { "start": { "line": 604, "column": 2 }, "end": { "line": 606, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 19970, "end": 20026, "loc": { "start": { "line": 611, "column": 2 }, "end": { "line": 613, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 20030, "end": 24374, "loc": { "start": { "line": 614, "column": 2 }, "end": { "line": 756, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 20030, "end": 20036, "loc": { "start": { "line": 614, "column": 2 }, "end": { "line": 614, "column": 8 }, "identifierName": "render" }, "name": "render", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 20038, "end": 24374, "loc": { "start": { "line": 614, "column": 10 }, "end": { "line": 756, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 20086, "end": 20099, "loc": { "start": { "line": 618, "column": 4 }, "end": { "line": 618, "column": 17 } }, "expression": { "type": "CallExpression", "start": 20086, "end": 20098, "loc": { "start": { "line": 618, "column": 4 }, "end": { "line": 618, "column": 16 } }, "callee": { "type": "MemberExpression", "start": 20086, "end": 20096, "loc": { "start": { "line": 618, "column": 4 }, "end": { "line": 618, "column": 14 } }, "object": { "type": "ThisExpression", "start": 20086, "end": 20090, "loc": { "start": { "line": 618, "column": 4 }, "end": { "line": 618, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 20091, "end": 20096, "loc": { "start": { "line": 618, "column": 9 }, "end": { "line": 618, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 20045, "end": 20080, "loc": { "start": { "line": 615, "column": 4 }, "end": { "line": 617, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 20107, "end": 20207, "loc": { "start": { "line": 620, "column": 4 }, "end": { "line": 620, "column": 104 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20111, "end": 20206, "loc": { "start": { "line": 620, "column": 8 }, "end": { "line": 620, "column": 103 } }, "id": { "type": "Identifier", "start": 20111, "end": 20122, "loc": { "start": { "line": 620, "column": 8 }, "end": { "line": 620, "column": 19 }, "identifierName": "layoutClass" }, "name": "layoutClass" }, "init": { "type": "ConditionalExpression", "start": 20125, "end": 20206, "loc": { "start": { "line": 620, "column": 22 }, "end": { "line": 620, "column": 103 } }, "test": { "type": "MemberExpression", "start": 20125, "end": 20144, "loc": { "start": { "line": 620, "column": 22 }, "end": { "line": 620, "column": 41 } }, "object": { "type": "MemberExpression", "start": 20125, "end": 20137, "loc": { "start": { "line": 620, "column": 22 }, "end": { "line": 620, "column": 34 } }, "object": { "type": "ThisExpression", "start": 20125, "end": 20129, "loc": { "start": { "line": 620, "column": 22 }, "end": { "line": 620, "column": 26 } } }, "property": { "type": "Identifier", "start": 20130, "end": 20137, "loc": { "start": { "line": 620, "column": 27 }, "end": { "line": 620, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20138, "end": 20144, "loc": { "start": { "line": 620, "column": 35 }, "end": { "line": 620, "column": 41 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "consequent": { "type": "StringLiteral", "start": 20147, "end": 20165, "loc": { "start": { "line": 620, "column": 44 }, "end": { "line": 620, "column": 62 } }, "extra": { "rawValue": "hg-layout-custom", "raw": "\"hg-layout-custom\"" }, "value": "hg-layout-custom" }, "alternate": { "type": "TemplateLiteral", "start": 20168, "end": 20206, "loc": { "start": { "line": 620, "column": 65 }, "end": { "line": 620, "column": 103 } }, "expressions": [ { "type": "MemberExpression", "start": 20181, "end": 20204, "loc": { "start": { "line": 620, "column": 78 }, "end": { "line": 620, "column": 101 } }, "object": { "type": "MemberExpression", "start": 20181, "end": 20193, "loc": { "start": { "line": 620, "column": 78 }, "end": { "line": 620, "column": 90 } }, "object": { "type": "ThisExpression", "start": 20181, "end": 20185, "loc": { "start": { "line": 620, "column": 78 }, "end": { "line": 620, "column": 82 } } }, "property": { "type": "Identifier", "start": 20186, "end": 20193, "loc": { "start": { "line": 620, "column": 83 }, "end": { "line": 620, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20194, "end": 20204, "loc": { "start": { "line": 620, "column": 91 }, "end": { "line": 620, "column": 101 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 20169, "end": 20179, "loc": { "start": { "line": 620, "column": 66 }, "end": { "line": 620, "column": 76 } }, "value": { "raw": "hg-layout-", "cooked": "hg-layout-" }, "tail": false }, { "type": "TemplateElement", "start": 20205, "end": 20205, "loc": { "start": { "line": 620, "column": 102 }, "end": { "line": 620, "column": 102 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 20213, "end": 20283, "loc": { "start": { "line": 621, "column": 4 }, "end": { "line": 621, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20217, "end": 20282, "loc": { "start": { "line": 621, "column": 8 }, "end": { "line": 621, "column": 73 } }, "id": { "type": "Identifier", "start": 20217, "end": 20223, "loc": { "start": { "line": 621, "column": 8 }, "end": { "line": 621, "column": 14 }, "identifierName": "layout" }, "name": "layout" }, "init": { "type": "LogicalExpression", "start": 20226, "end": 20282, "loc": { "start": { "line": 621, "column": 17 }, "end": { "line": 621, "column": 73 } }, "left": { "type": "MemberExpression", "start": 20226, "end": 20245, "loc": { "start": { "line": 621, "column": 17 }, "end": { "line": 621, "column": 36 } }, "object": { "type": "MemberExpression", "start": 20226, "end": 20238, "loc": { "start": { "line": 621, "column": 17 }, "end": { "line": 621, "column": 29 } }, "object": { "type": "ThisExpression", "start": 20226, "end": 20230, "loc": { "start": { "line": 621, "column": 17 }, "end": { "line": 621, "column": 21 } } }, "property": { "type": "Identifier", "start": 20231, "end": 20238, "loc": { "start": { "line": 621, "column": 22 }, "end": { "line": 621, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20239, "end": 20245, "loc": { "start": { "line": 621, "column": 30 }, "end": { "line": 621, "column": 36 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "operator": "||", "right": { "type": "CallExpression", "start": 20249, "end": 20282, "loc": { "start": { "line": 621, "column": 40 }, "end": { "line": 621, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 20249, "end": 20280, "loc": { "start": { "line": 621, "column": 40 }, "end": { "line": 621, "column": 71 } }, "object": { "type": "Identifier", "start": 20249, "end": 20263, "loc": { "start": { "line": 621, "column": 40 }, "end": { "line": 621, "column": 54 }, "identifierName": "KeyboardLayout" }, "name": "KeyboardLayout" }, "property": { "type": "Identifier", "start": 20264, "end": 20280, "loc": { "start": { "line": 621, "column": 55 }, "end": { "line": 621, "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": 20291, "end": 20343, "loc": { "start": { "line": 623, "column": 4 }, "end": { "line": 625, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 20349, "end": 20377, "loc": { "start": { "line": 626, "column": 4 }, "end": { "line": 626, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20353, "end": 20376, "loc": { "start": { "line": 626, "column": 8 }, "end": { "line": 626, "column": 31 } }, "id": { "type": "Identifier", "start": 20353, "end": 20371, "loc": { "start": { "line": 626, "column": 8 }, "end": { "line": 626, "column": 26 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed", "leadingComments": null }, "init": { "type": "ObjectExpression", "start": 20374, "end": 20376, "loc": { "start": { "line": 626, "column": 29 }, "end": { "line": 626, "column": 31 } }, "properties": [] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 20291, "end": 20343, "loc": { "start": { "line": 623, "column": 4 }, "end": { "line": 625, "column": 7 } } } ] }, { "type": "IfStatement", "start": 20383, "end": 21522, "loc": { "start": { "line": 627, "column": 4 }, "end": { "line": 655, "column": 5 } }, "test": { "type": "CallExpression", "start": 20386, "end": 20425, "loc": { "start": { "line": 627, "column": 7 }, "end": { "line": 627, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 20386, "end": 20399, "loc": { "start": { "line": 627, "column": 7 }, "end": { "line": 627, "column": 20 } }, "object": { "type": "Identifier", "start": 20386, "end": 20391, "loc": { "start": { "line": 627, "column": 7 }, "end": { "line": 627, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 20392, "end": 20399, "loc": { "start": { "line": 627, "column": 13 }, "end": { "line": 627, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 20400, "end": 20424, "loc": { "start": { "line": 627, "column": 21 }, "end": { "line": 627, "column": 45 } }, "object": { "type": "MemberExpression", "start": 20400, "end": 20412, "loc": { "start": { "line": 627, "column": 21 }, "end": { "line": 627, "column": 33 } }, "object": { "type": "ThisExpression", "start": 20400, "end": 20404, "loc": { "start": { "line": 627, "column": 21 }, "end": { "line": 627, "column": 25 } } }, "property": { "type": "Identifier", "start": 20405, "end": 20412, "loc": { "start": { "line": 627, "column": 26 }, "end": { "line": 627, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20413, "end": 20424, "loc": { "start": { "line": 627, "column": 34 }, "end": { "line": 627, "column": 45 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 20426, "end": 21522, "loc": { "start": { "line": 627, "column": 47 }, "end": { "line": 655, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 20435, "end": 21515, "loc": { "start": { "line": 628, "column": 6 }, "end": { "line": 654, "column": 9 } }, "expression": { "type": "CallExpression", "start": 20435, "end": 21514, "loc": { "start": { "line": 628, "column": 6 }, "end": { "line": 654, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 20435, "end": 20467, "loc": { "start": { "line": 628, "column": 6 }, "end": { "line": 628, "column": 38 } }, "object": { "type": "MemberExpression", "start": 20435, "end": 20459, "loc": { "start": { "line": 628, "column": 6 }, "end": { "line": 628, "column": 30 } }, "object": { "type": "MemberExpression", "start": 20435, "end": 20447, "loc": { "start": { "line": 628, "column": 6 }, "end": { "line": 628, "column": 18 } }, "object": { "type": "ThisExpression", "start": 20435, "end": 20439, "loc": { "start": { "line": 628, "column": 6 }, "end": { "line": 628, "column": 10 } } }, "property": { "type": "Identifier", "start": 20440, "end": 20447, "loc": { "start": { "line": 628, "column": 11 }, "end": { "line": 628, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20448, "end": 20459, "loc": { "start": { "line": 628, "column": 19 }, "end": { "line": 628, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 20460, "end": 20467, "loc": { "start": { "line": 628, "column": 31 }, "end": { "line": 628, "column": 38 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 20468, "end": 21513, "loc": { "start": { "line": 628, "column": 39 }, "end": { "line": 654, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 20468, "end": 20476, "loc": { "start": { "line": 628, "column": 39 }, "end": { "line": 628, "column": 47 }, "identifierName": "themeObj" }, "name": "themeObj" } ], "body": { "type": "BlockStatement", "start": 20480, "end": 21513, "loc": { "start": { "line": 628, "column": 51 }, "end": { "line": 654, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 20491, "end": 21504, "loc": { "start": { "line": 629, "column": 8 }, "end": { "line": 653, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 20494, "end": 20528, "loc": { "start": { "line": 629, "column": 11 }, "end": { "line": 629, "column": 45 } }, "left": { "type": "MemberExpression", "start": 20494, "end": 20510, "loc": { "start": { "line": 629, "column": 11 }, "end": { "line": 629, "column": 27 } }, "object": { "type": "Identifier", "start": 20494, "end": 20502, "loc": { "start": { "line": 629, "column": 11 }, "end": { "line": 629, "column": 19 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 20503, "end": 20510, "loc": { "start": { "line": 629, "column": 20 }, "end": { "line": 629, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "operator": "&&", "right": { "type": "MemberExpression", "start": 20514, "end": 20528, "loc": { "start": { "line": 629, "column": 31 }, "end": { "line": 629, "column": 45 } }, "object": { "type": "Identifier", "start": 20514, "end": 20522, "loc": { "start": { "line": 629, "column": 31 }, "end": { "line": 629, "column": 39 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 20523, "end": 20528, "loc": { "start": { "line": 629, "column": 40 }, "end": { "line": 629, "column": 45 }, "identifierName": "class" }, "name": "class" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 20529, "end": 21370, "loc": { "start": { "line": 629, "column": 46 }, "end": { "line": 651, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 20542, "end": 20559, "loc": { "start": { "line": 630, "column": 10 }, "end": { "line": 630, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20546, "end": 20558, "loc": { "start": { "line": 630, "column": 14 }, "end": { "line": 630, "column": 26 } }, "id": { "type": "Identifier", "start": 20546, "end": 20558, "loc": { "start": { "line": 630, "column": 14 }, "end": { "line": 630, "column": 26 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 20573, "end": 20684, "loc": { "start": { "line": 632, "column": 10 }, "end": { "line": 634, "column": 11 } }, "test": { "type": "BinaryExpression", "start": 20576, "end": 20612, "loc": { "start": { "line": 632, "column": 13 }, "end": { "line": 632, "column": 49 } }, "left": { "type": "UnaryExpression", "start": 20576, "end": 20599, "loc": { "start": { "line": 632, "column": 13 }, "end": { "line": 632, "column": 36 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 20583, "end": 20599, "loc": { "start": { "line": 632, "column": 20 }, "end": { "line": 632, "column": 36 } }, "object": { "type": "Identifier", "start": 20583, "end": 20591, "loc": { "start": { "line": 632, "column": 20 }, "end": { "line": 632, "column": 28 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 20592, "end": 20599, "loc": { "start": { "line": 632, "column": 29 }, "end": { "line": 632, "column": 36 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 20604, "end": 20612, "loc": { "start": { "line": 632, "column": 41 }, "end": { "line": 632, "column": 49 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "consequent": { "type": "BlockStatement", "start": 20613, "end": 20684, "loc": { "start": { "line": 632, "column": 50 }, "end": { "line": 634, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 20628, "end": 20671, "loc": { "start": { "line": 633, "column": 12 }, "end": { "line": 633, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 20628, "end": 20670, "loc": { "start": { "line": 633, "column": 12 }, "end": { "line": 633, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 20628, "end": 20640, "loc": { "start": { "line": 633, "column": 12 }, "end": { "line": 633, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "right": { "type": "CallExpression", "start": 20643, "end": 20670, "loc": { "start": { "line": 633, "column": 27 }, "end": { "line": 633, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 20643, "end": 20665, "loc": { "start": { "line": 633, "column": 27 }, "end": { "line": 633, "column": 49 } }, "object": { "type": "MemberExpression", "start": 20643, "end": 20659, "loc": { "start": { "line": 633, "column": 27 }, "end": { "line": 633, "column": 43 } }, "object": { "type": "Identifier", "start": 20643, "end": 20651, "loc": { "start": { "line": 633, "column": 27 }, "end": { "line": 633, "column": 35 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 20652, "end": 20659, "loc": { "start": { "line": 633, "column": 36 }, "end": { "line": 633, "column": 43 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 20660, "end": 20665, "loc": { "start": { "line": 633, "column": 44 }, "end": { "line": 633, "column": 49 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 20666, "end": 20669, "loc": { "start": { "line": 633, "column": 50 }, "end": { "line": 633, "column": 53 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 20698, "end": 21359, "loc": { "start": { "line": 636, "column": 10 }, "end": { "line": 650, "column": 11 } }, "test": { "type": "Identifier", "start": 20701, "end": 20713, "loc": { "start": { "line": 636, "column": 13 }, "end": { "line": 636, "column": 25 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "consequent": { "type": "BlockStatement", "start": 20714, "end": 21359, "loc": { "start": { "line": 636, "column": 26 }, "end": { "line": 650, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 20729, "end": 21346, "loc": { "start": { "line": 637, "column": 12 }, "end": { "line": 649, "column": 15 } }, "expression": { "type": "CallExpression", "start": 20729, "end": 21345, "loc": { "start": { "line": 637, "column": 12 }, "end": { "line": 649, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 20729, "end": 20749, "loc": { "start": { "line": 637, "column": 12 }, "end": { "line": 637, "column": 32 } }, "object": { "type": "Identifier", "start": 20729, "end": 20741, "loc": { "start": { "line": 637, "column": 12 }, "end": { "line": 637, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "property": { "type": "Identifier", "start": 20742, "end": 20749, "loc": { "start": { "line": 637, "column": 25 }, "end": { "line": 637, "column": 32 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 20750, "end": 21344, "loc": { "start": { "line": 637, "column": 33 }, "end": { "line": 649, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 20750, "end": 20761, "loc": { "start": { "line": 637, "column": 33 }, "end": { "line": 637, "column": 44 }, "identifierName": "themeButton" }, "name": "themeButton" } ], "body": { "type": "BlockStatement", "start": 20765, "end": 21344, "loc": { "start": { "line": 637, "column": 48 }, "end": { "line": 649, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 20782, "end": 20832, "loc": { "start": { "line": 638, "column": 14 }, "end": { "line": 638, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20786, "end": 20831, "loc": { "start": { "line": 638, "column": 18 }, "end": { "line": 638, "column": 63 } }, "id": { "type": "Identifier", "start": 20786, "end": 20797, "loc": { "start": { "line": 638, "column": 18 }, "end": { "line": 638, "column": 29 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "init": { "type": "MemberExpression", "start": 20800, "end": 20831, "loc": { "start": { "line": 638, "column": 32 }, "end": { "line": 638, "column": 63 } }, "object": { "type": "Identifier", "start": 20800, "end": 20818, "loc": { "start": { "line": 638, "column": 32 }, "end": { "line": 638, "column": 50 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 20819, "end": 20830, "loc": { "start": { "line": 638, "column": 51 }, "end": { "line": 638, "column": 62 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 20850, "end": 20889, "loc": { "start": { "line": 640, "column": 14 }, "end": { "line": 640, "column": 53 } } } ] }, { "type": "IfStatement", "start": 20905, "end": 21329, "loc": { "start": { "line": 641, "column": 14 }, "end": { "line": 648, "column": 15 } }, "test": { "type": "Identifier", "start": 20908, "end": 20919, "loc": { "start": { "line": 641, "column": 17 }, "end": { "line": 641, "column": 28 }, "identifierName": "themeParsed" }, "name": "themeParsed", "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 20920, "end": 21238, "loc": { "start": { "line": 641, "column": 29 }, "end": { "line": 646, "column": 15 } }, "body": [ { "type": "IfStatement", "start": 21040, "end": 21221, "loc": { "start": { "line": 643, "column": 16 }, "end": { "line": 645, "column": 17 } }, "test": { "type": "UnaryExpression", "start": 21043, "end": 21111, "loc": { "start": { "line": 643, "column": 19 }, "end": { "line": 643, "column": 87 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 21044, "end": 21111, "loc": { "start": { "line": 643, "column": 20 }, "end": { "line": 643, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 21044, "end": 21071, "loc": { "start": { "line": 643, "column": 20 }, "end": { "line": 643, "column": 47 } }, "object": { "type": "MemberExpression", "start": 21044, "end": 21058, "loc": { "start": { "line": 643, "column": 20 }, "end": { "line": 643, "column": 34 } }, "object": { "type": "ThisExpression", "start": 21044, "end": 21048, "loc": { "start": { "line": 643, "column": 20 }, "end": { "line": 643, "column": 24 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 21049, "end": 21058, "loc": { "start": { "line": 643, "column": 25 }, "end": { "line": 643, "column": 34 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 21059, "end": 21071, "loc": { "start": { "line": 643, "column": 35 }, "end": { "line": 643, "column": 47 }, "identifierName": "countInArray" }, "name": "countInArray" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "CallExpression", "start": 21072, "end": 21094, "loc": { "start": { "line": 643, "column": 48 }, "end": { "line": 643, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 21072, "end": 21089, "loc": { "start": { "line": 643, "column": 48 }, "end": { "line": 643, "column": 65 } }, "object": { "type": "Identifier", "start": 21072, "end": 21083, "loc": { "start": { "line": 643, "column": 48 }, "end": { "line": 643, "column": 59 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "property": { "type": "Identifier", "start": 21084, "end": 21089, "loc": { "start": { "line": 643, "column": 60 }, "end": { "line": 643, "column": 65 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21090, "end": 21093, "loc": { "start": { "line": 643, "column": 66 }, "end": { "line": 643, "column": 69 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, { "type": "MemberExpression", "start": 21096, "end": 21110, "loc": { "start": { "line": 643, "column": 72 }, "end": { "line": 643, "column": 86 } }, "object": { "type": "Identifier", "start": 21096, "end": 21104, "loc": { "start": { "line": 643, "column": 72 }, "end": { "line": 643, "column": 80 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21105, "end": 21110, "loc": { "start": { "line": 643, "column": 81 }, "end": { "line": 643, "column": 86 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 21112, "end": 21221, "loc": { "start": { "line": 643, "column": 88 }, "end": { "line": 645, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 21133, "end": 21202, "loc": { "start": { "line": 644, "column": 18 }, "end": { "line": 644, "column": 87 } }, "expression": { "type": "AssignmentExpression", "start": 21133, "end": 21201, "loc": { "start": { "line": 644, "column": 18 }, "end": { "line": 644, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 21133, "end": 21164, "loc": { "start": { "line": 644, "column": 18 }, "end": { "line": 644, "column": 49 } }, "object": { "type": "Identifier", "start": 21133, "end": 21151, "loc": { "start": { "line": 644, "column": 18 }, "end": { "line": 644, "column": 36 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 21152, "end": 21163, "loc": { "start": { "line": 644, "column": 37 }, "end": { "line": 644, "column": 48 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "TemplateLiteral", "start": 21167, "end": 21201, "loc": { "start": { "line": 644, "column": 52 }, "end": { "line": 644, "column": 86 } }, "expressions": [ { "type": "Identifier", "start": 21170, "end": 21181, "loc": { "start": { "line": 644, "column": 55 }, "end": { "line": 644, "column": 66 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, { "type": "MemberExpression", "start": 21185, "end": 21199, "loc": { "start": { "line": 644, "column": 70 }, "end": { "line": 644, "column": 84 } }, "object": { "type": "Identifier", "start": 21185, "end": 21193, "loc": { "start": { "line": 644, "column": 70 }, "end": { "line": 644, "column": 78 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21194, "end": 21199, "loc": { "start": { "line": 644, "column": 79 }, "end": { "line": 644, "column": 84 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 21168, "end": 21168, "loc": { "start": { "line": 644, "column": 53 }, "end": { "line": 644, "column": 53 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 21182, "end": 21183, "loc": { "start": { "line": 644, "column": 67 }, "end": { "line": 644, "column": 68 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 21200, "end": 21200, "loc": { "start": { "line": 644, "column": 85 }, "end": { "line": 644, "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": 20939, "end": 21022, "loc": { "start": { "line": 642, "column": 16 }, "end": { "line": 642, "column": 99 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 21244, "end": 21329, "loc": { "start": { "line": 646, "column": 21 }, "end": { "line": 648, "column": 15 } }, "body": [ { "type": "ExpressionStatement", "start": 21263, "end": 21312, "loc": { "start": { "line": 647, "column": 16 }, "end": { "line": 647, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 21263, "end": 21311, "loc": { "start": { "line": 647, "column": 16 }, "end": { "line": 647, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 21263, "end": 21294, "loc": { "start": { "line": 647, "column": 16 }, "end": { "line": 647, "column": 47 } }, "object": { "type": "Identifier", "start": 21263, "end": 21281, "loc": { "start": { "line": 647, "column": 16 }, "end": { "line": 647, "column": 34 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 21282, "end": 21293, "loc": { "start": { "line": 647, "column": 35 }, "end": { "line": 647, "column": 46 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "MemberExpression", "start": 21297, "end": 21311, "loc": { "start": { "line": 647, "column": 50 }, "end": { "line": 647, "column": 64 } }, "object": { "type": "Identifier", "start": 21297, "end": 21305, "loc": { "start": { "line": 647, "column": 50 }, "end": { "line": 647, "column": 58 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21306, "end": 21311, "loc": { "start": { "line": 647, "column": 59 }, "end": { "line": 647, "column": 64 }, "identifierName": "class" }, "name": "class" }, "computed": false } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 20850, "end": 20889, "loc": { "start": { "line": 640, "column": 14 }, "end": { "line": 640, "column": 53 } } } ] } ], "directives": [] } } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 21376, "end": 21504, "loc": { "start": { "line": 651, "column": 15 }, "end": { "line": 653, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 21389, "end": 21493, "loc": { "start": { "line": 652, "column": 10 }, "end": { "line": 652, "column": 114 } }, "expression": { "type": "CallExpression", "start": 21389, "end": 21493, "loc": { "start": { "line": 652, "column": 10 }, "end": { "line": 652, "column": 114 } }, "callee": { "type": "MemberExpression", "start": 21389, "end": 21401, "loc": { "start": { "line": 652, "column": 10 }, "end": { "line": 652, "column": 22 } }, "object": { "type": "Identifier", "start": 21389, "end": 21396, "loc": { "start": { "line": 652, "column": 10 }, "end": { "line": 652, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 21397, "end": 21401, "loc": { "start": { "line": 652, "column": 18 }, "end": { "line": 652, "column": 22 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 21402, "end": 21492, "loc": { "start": { "line": 652, "column": 23 }, "end": { "line": 652, "column": 113 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 21403, "end": 21491, "loc": { "start": { "line": 652, "column": 24 }, "end": { "line": 652, "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": 21530, "end": 21596, "loc": { "start": { "line": 657, "column": 4 }, "end": { "line": 659, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 21602, "end": 21702, "loc": { "start": { "line": 660, "column": 4 }, "end": { "line": 660, "column": 104 } }, "expression": { "type": "AssignmentExpression", "start": 21602, "end": 21701, "loc": { "start": { "line": 660, "column": 4 }, "end": { "line": 660, "column": 103 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 21602, "end": 21628, "loc": { "start": { "line": 660, "column": 4 }, "end": { "line": 660, "column": 30 } }, "object": { "type": "MemberExpression", "start": 21602, "end": 21618, "loc": { "start": { "line": 660, "column": 4 }, "end": { "line": 660, "column": 20 } }, "object": { "type": "ThisExpression", "start": 21602, "end": 21606, "loc": { "start": { "line": 660, "column": 4 }, "end": { "line": 660, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 21607, "end": 21618, "loc": { "start": { "line": 660, "column": 9 }, "end": { "line": 660, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 21619, "end": 21628, "loc": { "start": { "line": 660, "column": 21 }, "end": { "line": 660, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false, "leadingComments": null }, "right": { "type": "TemplateLiteral", "start": 21632, "end": 21701, "loc": { "start": { "line": 660, "column": 34 }, "end": { "line": 660, "column": 103 } }, "expressions": [ { "type": "MemberExpression", "start": 21636, "end": 21654, "loc": { "start": { "line": 660, "column": 38 }, "end": { "line": 660, "column": 56 } }, "object": { "type": "MemberExpression", "start": 21636, "end": 21648, "loc": { "start": { "line": 660, "column": 38 }, "end": { "line": 660, "column": 50 } }, "object": { "type": "ThisExpression", "start": 21636, "end": 21640, "loc": { "start": { "line": 660, "column": 38 }, "end": { "line": 660, "column": 42 } } }, "property": { "type": "Identifier", "start": 21641, "end": 21648, "loc": { "start": { "line": 660, "column": 43 }, "end": { "line": 660, "column": 50 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21649, "end": 21654, "loc": { "start": { "line": 660, "column": 51 }, "end": { "line": 660, "column": 56 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, { "type": "Identifier", "start": 21658, "end": 21669, "loc": { "start": { "line": 660, "column": 60 }, "end": { "line": 660, "column": 71 }, "identifierName": "layoutClass" }, "name": "layoutClass" }, { "type": "MemberExpression", "start": 21673, "end": 21699, "loc": { "start": { "line": 660, "column": 75 }, "end": { "line": 660, "column": 101 } }, "object": { "type": "ThisExpression", "start": 21673, "end": 21677, "loc": { "start": { "line": 660, "column": 75 }, "end": { "line": 660, "column": 79 } } }, "property": { "type": "Identifier", "start": 21678, "end": 21699, "loc": { "start": { "line": 660, "column": 80 }, "end": { "line": 660, "column": 101 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 21633, "end": 21634, "loc": { "start": { "line": 660, "column": 35 }, "end": { "line": 660, "column": 36 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 21655, "end": 21656, "loc": { "start": { "line": 660, "column": 57 }, "end": { "line": 660, "column": 58 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 21670, "end": 21671, "loc": { "start": { "line": 660, "column": 72 }, "end": { "line": 660, "column": 73 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 21700, "end": 21700, "loc": { "start": { "line": 660, "column": 102 }, "end": { "line": 660, "column": 102 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 21530, "end": 21596, "loc": { "start": { "line": 657, "column": 4 }, "end": { "line": 659, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 21710, "end": 21757, "loc": { "start": { "line": 662, "column": 4 }, "end": { "line": 664, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 21763, "end": 23959, "loc": { "start": { "line": 665, "column": 4 }, "end": { "line": 733, "column": 7 } }, "expression": { "type": "CallExpression", "start": 21763, "end": 23958, "loc": { "start": { "line": 665, "column": 4 }, "end": { "line": 733, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 21763, "end": 21802, "loc": { "start": { "line": 665, "column": 4 }, "end": { "line": 665, "column": 43 } }, "object": { "type": "MemberExpression", "start": 21763, "end": 21794, "loc": { "start": { "line": 665, "column": 4 }, "end": { "line": 665, "column": 35 } }, "object": { "type": "Identifier", "start": 21763, "end": 21769, "loc": { "start": { "line": 665, "column": 4 }, "end": { "line": 665, "column": 10 }, "identifierName": "layout" }, "name": "layout", "leadingComments": null }, "property": { "type": "MemberExpression", "start": 21770, "end": 21793, "loc": { "start": { "line": 665, "column": 11 }, "end": { "line": 665, "column": 34 } }, "object": { "type": "MemberExpression", "start": 21770, "end": 21782, "loc": { "start": { "line": 665, "column": 11 }, "end": { "line": 665, "column": 23 } }, "object": { "type": "ThisExpression", "start": 21770, "end": 21774, "loc": { "start": { "line": 665, "column": 11 }, "end": { "line": 665, "column": 15 } } }, "property": { "type": "Identifier", "start": 21775, "end": 21782, "loc": { "start": { "line": 665, "column": 16 }, "end": { "line": 665, "column": 23 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21783, "end": 21793, "loc": { "start": { "line": 665, "column": 24 }, "end": { "line": 665, "column": 34 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 21795, "end": 21802, "loc": { "start": { "line": 665, "column": 36 }, "end": { "line": 665, "column": 43 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 21803, "end": 23957, "loc": { "start": { "line": 665, "column": 44 }, "end": { "line": 733, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 21804, "end": 21807, "loc": { "start": { "line": 665, "column": 45 }, "end": { "line": 665, "column": 48 }, "identifierName": "row" }, "name": "row" }, { "type": "Identifier", "start": 21809, "end": 21815, "loc": { "start": { "line": 665, "column": 50 }, "end": { "line": 665, "column": 56 }, "identifierName": "rIndex" }, "name": "rIndex" } ], "body": { "type": "BlockStatement", "start": 21820, "end": 23957, "loc": { "start": { "line": 665, "column": 61 }, "end": { "line": 733, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 21829, "end": 21859, "loc": { "start": { "line": 666, "column": 6 }, "end": { "line": 666, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21833, "end": 21858, "loc": { "start": { "line": 666, "column": 10 }, "end": { "line": 666, "column": 35 } }, "id": { "type": "Identifier", "start": 21833, "end": 21841, "loc": { "start": { "line": 666, "column": 10 }, "end": { "line": 666, "column": 18 }, "identifierName": "rowArray" }, "name": "rowArray" }, "init": { "type": "CallExpression", "start": 21844, "end": 21858, "loc": { "start": { "line": 666, "column": 21 }, "end": { "line": 666, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 21844, "end": 21853, "loc": { "start": { "line": 666, "column": 21 }, "end": { "line": 666, "column": 30 } }, "object": { "type": "Identifier", "start": 21844, "end": 21847, "loc": { "start": { "line": 666, "column": 21 }, "end": { "line": 666, "column": 24 }, "identifierName": "row" }, "name": "row" }, "property": { "type": "Identifier", "start": 21848, "end": 21853, "loc": { "start": { "line": 666, "column": 25 }, "end": { "line": 666, "column": 30 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21854, "end": 21857, "loc": { "start": { "line": 666, "column": 31 }, "end": { "line": 666, "column": 34 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 21869, "end": 21912, "loc": { "start": { "line": 668, "column": 6 }, "end": { "line": 670, "column": 9 } } } ] }, { "type": "VariableDeclaration", "start": 21920, "end": 21963, "loc": { "start": { "line": 671, "column": 6 }, "end": { "line": 671, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21924, "end": 21962, "loc": { "start": { "line": 671, "column": 10 }, "end": { "line": 671, "column": 48 } }, "id": { "type": "Identifier", "start": 21924, "end": 21930, "loc": { "start": { "line": 671, "column": 10 }, "end": { "line": 671, "column": 16 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 21933, "end": 21962, "loc": { "start": { "line": 671, "column": 19 }, "end": { "line": 671, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 21933, "end": 21955, "loc": { "start": { "line": 671, "column": 19 }, "end": { "line": 671, "column": 41 } }, "object": { "type": "Identifier", "start": 21933, "end": 21941, "loc": { "start": { "line": 671, "column": 19 }, "end": { "line": 671, "column": 27 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 21942, "end": 21955, "loc": { "start": { "line": 671, "column": 28 }, "end": { "line": 671, "column": 41 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21956, "end": 21961, "loc": { "start": { "line": 671, "column": 42 }, "end": { "line": 671, "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": 21869, "end": 21912, "loc": { "start": { "line": 668, "column": 6 }, "end": { "line": 670, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 21971, "end": 22000, "loc": { "start": { "line": 672, "column": 6 }, "end": { "line": 672, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 21971, "end": 21999, "loc": { "start": { "line": 672, "column": 6 }, "end": { "line": 672, "column": 34 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 21971, "end": 21987, "loc": { "start": { "line": 672, "column": 6 }, "end": { "line": 672, "column": 22 } }, "object": { "type": "Identifier", "start": 21971, "end": 21977, "loc": { "start": { "line": 672, "column": 6 }, "end": { "line": 672, "column": 12 }, "identifierName": "rowDOM" }, "name": "rowDOM" }, "property": { "type": "Identifier", "start": 21978, "end": 21987, "loc": { "start": { "line": 672, "column": 13 }, "end": { "line": 672, "column": 22 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "StringLiteral", "start": 21991, "end": 21999, "loc": { "start": { "line": 672, "column": 26 }, "end": { "line": 672, "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": 22010, "end": 22071, "loc": { "start": { "line": 674, "column": 6 }, "end": { "line": 676, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 22079, "end": 23845, "loc": { "start": { "line": 677, "column": 6 }, "end": { "line": 727, "column": 9 } }, "expression": { "type": "CallExpression", "start": 22079, "end": 23844, "loc": { "start": { "line": 677, "column": 6 }, "end": { "line": 727, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 22079, "end": 22095, "loc": { "start": { "line": 677, "column": 6 }, "end": { "line": 677, "column": 22 } }, "object": { "type": "Identifier", "start": 22079, "end": 22087, "loc": { "start": { "line": 677, "column": 6 }, "end": { "line": 677, "column": 14 }, "identifierName": "rowArray" }, "name": "rowArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 22088, "end": 22095, "loc": { "start": { "line": 677, "column": 15 }, "end": { "line": 677, "column": 22 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 22096, "end": 23843, "loc": { "start": { "line": 677, "column": 23 }, "end": { "line": 727, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 22097, "end": 22103, "loc": { "start": { "line": 677, "column": 24 }, "end": { "line": 677, "column": 30 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 22105, "end": 22111, "loc": { "start": { "line": 677, "column": 32 }, "end": { "line": 677, "column": 38 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "body": { "type": "BlockStatement", "start": 22116, "end": 23843, "loc": { "start": { "line": 677, "column": 43 }, "end": { "line": 727, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 22127, "end": 22183, "loc": { "start": { "line": 678, "column": 8 }, "end": { "line": 678, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22131, "end": 22182, "loc": { "start": { "line": 678, "column": 12 }, "end": { "line": 678, "column": 63 } }, "id": { "type": "Identifier", "start": 22131, "end": 22142, "loc": { "start": { "line": 678, "column": 12 }, "end": { "line": 678, "column": 23 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, "init": { "type": "CallExpression", "start": 22145, "end": 22182, "loc": { "start": { "line": 678, "column": 26 }, "end": { "line": 678, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 22145, "end": 22174, "loc": { "start": { "line": 678, "column": 26 }, "end": { "line": 678, "column": 55 } }, "object": { "type": "MemberExpression", "start": 22145, "end": 22159, "loc": { "start": { "line": 678, "column": 26 }, "end": { "line": 678, "column": 40 } }, "object": { "type": "ThisExpression", "start": 22145, "end": 22149, "loc": { "start": { "line": 678, "column": 26 }, "end": { "line": 678, "column": 30 } } }, "property": { "type": "Identifier", "start": 22150, "end": 22159, "loc": { "start": { "line": 678, "column": 31 }, "end": { "line": 678, "column": 40 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 22160, "end": 22174, "loc": { "start": { "line": 678, "column": 41 }, "end": { "line": 678, "column": 55 }, "identifierName": "getButtonClass" }, "name": "getButtonClass" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22175, "end": 22181, "loc": { "start": { "line": 678, "column": 56 }, "end": { "line": 678, "column": 62 }, "identifierName": "button" }, "name": "button" } ] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 22193, "end": 22243, "loc": { "start": { "line": 679, "column": 8 }, "end": { "line": 679, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22197, "end": 22242, "loc": { "start": { "line": 679, "column": 12 }, "end": { "line": 679, "column": 57 } }, "id": { "type": "Identifier", "start": 22197, "end": 22213, "loc": { "start": { "line": 679, "column": 12 }, "end": { "line": 679, "column": 28 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "init": { "type": "MemberExpression", "start": 22216, "end": 22242, "loc": { "start": { "line": 679, "column": 31 }, "end": { "line": 679, "column": 57 } }, "object": { "type": "Identifier", "start": 22216, "end": 22234, "loc": { "start": { "line": 679, "column": 31 }, "end": { "line": 679, "column": 49 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 22235, "end": 22241, "loc": { "start": { "line": 679, "column": 50 }, "end": { "line": 679, "column": 56 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 22253, "end": 22370, "loc": { "start": { "line": 680, "column": 8 }, "end": { "line": 680, "column": 125 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22257, "end": 22369, "loc": { "start": { "line": 680, "column": 12 }, "end": { "line": 680, "column": 124 } }, "id": { "type": "Identifier", "start": 22257, "end": 22274, "loc": { "start": { "line": 680, "column": 12 }, "end": { "line": 680, "column": 29 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" }, "init": { "type": "CallExpression", "start": 22277, "end": 22369, "loc": { "start": { "line": 680, "column": 32 }, "end": { "line": 680, "column": 124 } }, "callee": { "type": "MemberExpression", "start": 22277, "end": 22312, "loc": { "start": { "line": 680, "column": 32 }, "end": { "line": 680, "column": 67 } }, "object": { "type": "MemberExpression", "start": 22277, "end": 22291, "loc": { "start": { "line": 680, "column": 32 }, "end": { "line": 680, "column": 46 } }, "object": { "type": "ThisExpression", "start": 22277, "end": 22281, "loc": { "start": { "line": 680, "column": 32 }, "end": { "line": 680, "column": 36 } } }, "property": { "type": "Identifier", "start": 22282, "end": 22291, "loc": { "start": { "line": 680, "column": 37 }, "end": { "line": 680, "column": 46 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 22292, "end": 22312, "loc": { "start": { "line": 680, "column": 47 }, "end": { "line": 680, "column": 67 }, "identifierName": "getButtonDisplayName" }, "name": "getButtonDisplayName" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22313, "end": 22319, "loc": { "start": { "line": 680, "column": 68 }, "end": { "line": 680, "column": 74 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 22321, "end": 22341, "loc": { "start": { "line": 680, "column": 76 }, "end": { "line": 680, "column": 96 } }, "object": { "type": "MemberExpression", "start": 22321, "end": 22333, "loc": { "start": { "line": 680, "column": 76 }, "end": { "line": 680, "column": 88 } }, "object": { "type": "ThisExpression", "start": 22321, "end": 22325, "loc": { "start": { "line": 680, "column": 76 }, "end": { "line": 680, "column": 80 } } }, "property": { "type": "Identifier", "start": 22326, "end": 22333, "loc": { "start": { "line": 680, "column": 81 }, "end": { "line": 680, "column": 88 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 22334, "end": 22341, "loc": { "start": { "line": 680, "column": 89 }, "end": { "line": 680, "column": 96 }, "identifierName": "display" }, "name": "display" }, "computed": false }, { "type": "MemberExpression", "start": 22343, "end": 22368, "loc": { "start": { "line": 680, "column": 98 }, "end": { "line": 680, "column": 123 } }, "object": { "type": "MemberExpression", "start": 22343, "end": 22355, "loc": { "start": { "line": 680, "column": 98 }, "end": { "line": 680, "column": 110 } }, "object": { "type": "ThisExpression", "start": 22343, "end": 22347, "loc": { "start": { "line": 680, "column": 98 }, "end": { "line": 680, "column": 102 } } }, "property": { "type": "Identifier", "start": 22348, "end": 22355, "loc": { "start": { "line": 680, "column": 103 }, "end": { "line": 680, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 22356, "end": 22368, "loc": { "start": { "line": 680, "column": 111 }, "end": { "line": 680, "column": 123 }, "identifierName": "mergeDisplay" }, "name": "mergeDisplay" }, "computed": false } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 22382, "end": 22426, "loc": { "start": { "line": 682, "column": 8 }, "end": { "line": 684, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 22436, "end": 22482, "loc": { "start": { "line": 685, "column": 8 }, "end": { "line": 685, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22440, "end": 22481, "loc": { "start": { "line": 685, "column": 12 }, "end": { "line": 685, "column": 53 } }, "id": { "type": "Identifier", "start": 22440, "end": 22449, "loc": { "start": { "line": 685, "column": 12 }, "end": { "line": 685, "column": 21 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 22452, "end": 22481, "loc": { "start": { "line": 685, "column": 24 }, "end": { "line": 685, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 22452, "end": 22474, "loc": { "start": { "line": 685, "column": 24 }, "end": { "line": 685, "column": 46 } }, "object": { "type": "Identifier", "start": 22452, "end": 22460, "loc": { "start": { "line": 685, "column": 24 }, "end": { "line": 685, "column": 32 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 22461, "end": 22474, "loc": { "start": { "line": 685, "column": 33 }, "end": { "line": 685, "column": 46 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22475, "end": 22480, "loc": { "start": { "line": 685, "column": 47 }, "end": { "line": 685, "column": 52 } }, "extra": { "rawValue": "div", "raw": "'div'" }, "value": "div" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 22382, "end": 22426, "loc": { "start": { "line": 682, "column": 8 }, "end": { "line": 684, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22492, "end": 22589, "loc": { "start": { "line": 686, "column": 8 }, "end": { "line": 686, "column": 105 } }, "expression": { "type": "AssignmentExpression", "start": 22492, "end": 22588, "loc": { "start": { "line": 686, "column": 8 }, "end": { "line": 686, "column": 104 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 22492, "end": 22511, "loc": { "start": { "line": 686, "column": 8 }, "end": { "line": 686, "column": 27 } }, "object": { "type": "Identifier", "start": 22492, "end": 22501, "loc": { "start": { "line": 686, "column": 8 }, "end": { "line": 686, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 22502, "end": 22511, "loc": { "start": { "line": 686, "column": 18 }, "end": { "line": 686, "column": 27 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "TemplateLiteral", "start": 22515, "end": 22588, "loc": { "start": { "line": 686, "column": 31 }, "end": { "line": 686, "column": 104 } }, "expressions": [ { "type": "Identifier", "start": 22528, "end": 22539, "loc": { "start": { "line": 686, "column": 44 }, "end": { "line": 686, "column": 55 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, { "type": "ConditionalExpression", "start": 22542, "end": 22586, "loc": { "start": { "line": 686, "column": 58 }, "end": { "line": 686, "column": 102 } }, "test": { "type": "Identifier", "start": 22542, "end": 22558, "loc": { "start": { "line": 686, "column": 58 }, "end": { "line": 686, "column": 74 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "consequent": { "type": "BinaryExpression", "start": 22561, "end": 22581, "loc": { "start": { "line": 686, "column": 77 }, "end": { "line": 686, "column": 97 } }, "left": { "type": "StringLiteral", "start": 22561, "end": 22564, "loc": { "start": { "line": 686, "column": 77 }, "end": { "line": 686, "column": 80 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " }, "operator": "+", "right": { "type": "Identifier", "start": 22565, "end": 22581, "loc": { "start": { "line": 686, "column": 81 }, "end": { "line": 686, "column": 97 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" } }, "alternate": { "type": "StringLiteral", "start": 22584, "end": 22586, "loc": { "start": { "line": 686, "column": 100 }, "end": { "line": 686, "column": 102 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "quasis": [ { "type": "TemplateElement", "start": 22516, "end": 22526, "loc": { "start": { "line": 686, "column": 32 }, "end": { "line": 686, "column": 42 } }, "value": { "raw": "hg-button ", "cooked": "hg-button " }, "tail": false }, { "type": "TemplateElement", "start": 22540, "end": 22540, "loc": { "start": { "line": 686, "column": 56 }, "end": { "line": 686, "column": 56 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 22587, "end": 22587, "loc": { "start": { "line": 686, "column": 103 }, "end": { "line": 686, "column": 103 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } }, { "type": "ExpressionStatement", "start": 22599, "end": 22658, "loc": { "start": { "line": 687, "column": 8 }, "end": { "line": 687, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 22599, "end": 22657, "loc": { "start": { "line": 687, "column": 8 }, "end": { "line": 687, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22599, "end": 22616, "loc": { "start": { "line": 687, "column": 8 }, "end": { "line": 687, "column": 25 } }, "object": { "type": "Identifier", "start": 22599, "end": 22608, "loc": { "start": { "line": 687, "column": 8 }, "end": { "line": 687, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 22609, "end": 22616, "loc": { "start": { "line": 687, "column": 18 }, "end": { "line": 687, "column": 25 }, "identifierName": "onclick" }, "name": "onclick" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 22619, "end": 22657, "loc": { "start": { "line": 687, "column": 28 }, "end": { "line": 687, "column": 66 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 22625, "end": 22657, "loc": { "start": { "line": 687, "column": 34 }, "end": { "line": 687, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 22625, "end": 22649, "loc": { "start": { "line": 687, "column": 34 }, "end": { "line": 687, "column": 58 } }, "object": { "type": "ThisExpression", "start": 22625, "end": 22629, "loc": { "start": { "line": 687, "column": 34 }, "end": { "line": 687, "column": 38 } } }, "property": { "type": "Identifier", "start": 22630, "end": 22649, "loc": { "start": { "line": 687, "column": 39 }, "end": { "line": 687, "column": 58 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22650, "end": 22656, "loc": { "start": { "line": 687, "column": 59 }, "end": { "line": 687, "column": 65 }, "identifierName": "button" }, "name": "button" } ] } } } }, { "type": "ExpressionStatement", "start": 22668, "end": 22737, "loc": { "start": { "line": 688, "column": 8 }, "end": { "line": 688, "column": 77 } }, "expression": { "type": "AssignmentExpression", "start": 22668, "end": 22736, "loc": { "start": { "line": 688, "column": 8 }, "end": { "line": 688, "column": 76 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22668, "end": 22689, "loc": { "start": { "line": 688, "column": 8 }, "end": { "line": 688, "column": 29 } }, "object": { "type": "Identifier", "start": 22668, "end": 22677, "loc": { "start": { "line": 688, "column": 8 }, "end": { "line": 688, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 22678, "end": 22689, "loc": { "start": { "line": 688, "column": 18 }, "end": { "line": 688, "column": 29 }, "identifierName": "onmousedown" }, "name": "onmousedown" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 22692, "end": 22736, "loc": { "start": { "line": 688, "column": 32 }, "end": { "line": 688, "column": 76 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 22693, "end": 22694, "loc": { "start": { "line": 688, "column": 33 }, "end": { "line": 688, "column": 34 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "CallExpression", "start": 22699, "end": 22736, "loc": { "start": { "line": 688, "column": 39 }, "end": { "line": 688, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 22699, "end": 22725, "loc": { "start": { "line": 688, "column": 39 }, "end": { "line": 688, "column": 65 } }, "object": { "type": "ThisExpression", "start": 22699, "end": 22703, "loc": { "start": { "line": 688, "column": 39 }, "end": { "line": 688, "column": 43 } } }, "property": { "type": "Identifier", "start": 22704, "end": 22725, "loc": { "start": { "line": 688, "column": 44 }, "end": { "line": 688, "column": 65 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22726, "end": 22732, "loc": { "start": { "line": 688, "column": 66 }, "end": { "line": 688, "column": 72 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 22734, "end": 22735, "loc": { "start": { "line": 688, "column": 74 }, "end": { "line": 688, "column": 75 }, "identifierName": "e" }, "name": "e" } ] } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 22749, "end": 22795, "loc": { "start": { "line": 690, "column": 8 }, "end": { "line": 692, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22805, "end": 22850, "loc": { "start": { "line": 693, "column": 8 }, "end": { "line": 693, "column": 53 } }, "expression": { "type": "CallExpression", "start": 22805, "end": 22849, "loc": { "start": { "line": 693, "column": 8 }, "end": { "line": 693, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 22805, "end": 22827, "loc": { "start": { "line": 693, "column": 8 }, "end": { "line": 693, "column": 30 } }, "object": { "type": "Identifier", "start": 22805, "end": 22814, "loc": { "start": { "line": 693, "column": 8 }, "end": { "line": 693, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 22815, "end": 22827, "loc": { "start": { "line": 693, "column": 18 }, "end": { "line": 693, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 22828, "end": 22840, "loc": { "start": { "line": 693, "column": 31 }, "end": { "line": 693, "column": 43 } }, "extra": { "rawValue": "data-skBtn", "raw": "\"data-skBtn\"" }, "value": "data-skBtn" }, { "type": "Identifier", "start": 22842, "end": 22848, "loc": { "start": { "line": 693, "column": 45 }, "end": { "line": 693, "column": 51 }, "identifierName": "button" }, "name": "button" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 22749, "end": 22795, "loc": { "start": { "line": 690, "column": 8 }, "end": { "line": 692, "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": 22862, "end": 23017, "loc": { "start": { "line": 695, "column": 8 }, "end": { "line": 698, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 23027, "end": 23093, "loc": { "start": { "line": 699, "column": 8 }, "end": { "line": 699, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23031, "end": 23092, "loc": { "start": { "line": 699, "column": 12 }, "end": { "line": 699, "column": 73 } }, "id": { "type": "Identifier", "start": 23031, "end": 23040, "loc": { "start": { "line": 699, "column": 12 }, "end": { "line": 699, "column": 21 }, "identifierName": "buttonUID" }, "name": "buttonUID", "leadingComments": null }, "init": { "type": "TemplateLiteral", "start": 23043, "end": 23092, "loc": { "start": { "line": 699, "column": 24 }, "end": { "line": 699, "column": 73 } }, "expressions": [ { "type": "MemberExpression", "start": 23046, "end": 23069, "loc": { "start": { "line": 699, "column": 27 }, "end": { "line": 699, "column": 50 } }, "object": { "type": "MemberExpression", "start": 23046, "end": 23058, "loc": { "start": { "line": 699, "column": 27 }, "end": { "line": 699, "column": 39 } }, "object": { "type": "ThisExpression", "start": 23046, "end": 23050, "loc": { "start": { "line": 699, "column": 27 }, "end": { "line": 699, "column": 31 } } }, "property": { "type": "Identifier", "start": 23051, "end": 23058, "loc": { "start": { "line": 699, "column": 32 }, "end": { "line": 699, "column": 39 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 23059, "end": 23069, "loc": { "start": { "line": 699, "column": 40 }, "end": { "line": 699, "column": 50 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, { "type": "Identifier", "start": 23074, "end": 23080, "loc": { "start": { "line": 699, "column": 55 }, "end": { "line": 699, "column": 61 }, "identifierName": "rIndex" }, "name": "rIndex" }, { "type": "Identifier", "start": 23084, "end": 23090, "loc": { "start": { "line": 699, "column": 65 }, "end": { "line": 699, "column": 71 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "quasis": [ { "type": "TemplateElement", "start": 23044, "end": 23044, "loc": { "start": { "line": 699, "column": 25 }, "end": { "line": 699, "column": 25 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 23070, "end": 23072, "loc": { "start": { "line": 699, "column": 51 }, "end": { "line": 699, "column": 53 } }, "value": { "raw": "-r", "cooked": "-r" }, "tail": false }, { "type": "TemplateElement", "start": 23081, "end": 23082, "loc": { "start": { "line": 699, "column": 62 }, "end": { "line": 699, "column": 63 } }, "value": { "raw": "b", "cooked": "b" }, "tail": false }, { "type": "TemplateElement", "start": 23091, "end": 23091, "loc": { "start": { "line": 699, "column": 72 }, "end": { "line": 699, "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": 22862, "end": 23017, "loc": { "start": { "line": 695, "column": 8 }, "end": { "line": 698, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23103, "end": 23154, "loc": { "start": { "line": 700, "column": 8 }, "end": { "line": 700, "column": 59 } }, "expression": { "type": "CallExpression", "start": 23103, "end": 23153, "loc": { "start": { "line": 700, "column": 8 }, "end": { "line": 700, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 23103, "end": 23125, "loc": { "start": { "line": 700, "column": 8 }, "end": { "line": 700, "column": 30 } }, "object": { "type": "Identifier", "start": 23103, "end": 23112, "loc": { "start": { "line": 700, "column": 8 }, "end": { "line": 700, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 23113, "end": 23125, "loc": { "start": { "line": 700, "column": 18 }, "end": { "line": 700, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 23126, "end": 23141, "loc": { "start": { "line": 700, "column": 31 }, "end": { "line": 700, "column": 46 } }, "extra": { "rawValue": "data-skBtnUID", "raw": "\"data-skBtnUID\"" }, "value": "data-skBtnUID" }, { "type": "Identifier", "start": 23143, "end": 23152, "loc": { "start": { "line": 700, "column": 48 }, "end": { "line": 700, "column": 57 }, "identifierName": "buttonUID" }, "name": "buttonUID" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 23166, "end": 23215, "loc": { "start": { "line": 702, "column": 8 }, "end": { "line": 704, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23225, "end": 23288, "loc": { "start": { "line": 705, "column": 8 }, "end": { "line": 705, "column": 71 } }, "expression": { "type": "CallExpression", "start": 23225, "end": 23287, "loc": { "start": { "line": 705, "column": 8 }, "end": { "line": 705, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 23225, "end": 23247, "loc": { "start": { "line": 705, "column": 8 }, "end": { "line": 705, "column": 30 } }, "object": { "type": "Identifier", "start": 23225, "end": 23234, "loc": { "start": { "line": 705, "column": 8 }, "end": { "line": 705, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 23235, "end": 23247, "loc": { "start": { "line": 705, "column": 18 }, "end": { "line": 705, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 23248, "end": 23267, "loc": { "start": { "line": 705, "column": 31 }, "end": { "line": 705, "column": 50 } }, "extra": { "rawValue": "data-displayLabel", "raw": "\"data-displayLabel\"" }, "value": "data-displayLabel" }, { "type": "Identifier", "start": 23269, "end": 23286, "loc": { "start": { "line": 705, "column": 52 }, "end": { "line": 705, "column": 69 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 23166, "end": 23215, "loc": { "start": { "line": 702, "column": 8 }, "end": { "line": 704, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 23300, "end": 23358, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 709, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 23368, "end": 23419, "loc": { "start": { "line": 710, "column": 8 }, "end": { "line": 710, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23372, "end": 23418, "loc": { "start": { "line": 710, "column": 12 }, "end": { "line": 710, "column": 58 } }, "id": { "type": "Identifier", "start": 23372, "end": 23385, "loc": { "start": { "line": 710, "column": 12 }, "end": { "line": 710, "column": 25 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 23388, "end": 23418, "loc": { "start": { "line": 710, "column": 28 }, "end": { "line": 710, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 23388, "end": 23410, "loc": { "start": { "line": 710, "column": 28 }, "end": { "line": 710, "column": 50 } }, "object": { "type": "Identifier", "start": 23388, "end": 23396, "loc": { "start": { "line": 710, "column": 28 }, "end": { "line": 710, "column": 36 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 23397, "end": 23410, "loc": { "start": { "line": 710, "column": 37 }, "end": { "line": 710, "column": 50 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 23411, "end": 23417, "loc": { "start": { "line": 710, "column": 51 }, "end": { "line": 710, "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": 23300, "end": 23358, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 709, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23429, "end": 23473, "loc": { "start": { "line": 711, "column": 8 }, "end": { "line": 711, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 23429, "end": 23472, "loc": { "start": { "line": 711, "column": 8 }, "end": { "line": 711, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23429, "end": 23452, "loc": { "start": { "line": 711, "column": 8 }, "end": { "line": 711, "column": 31 } }, "object": { "type": "Identifier", "start": 23429, "end": 23442, "loc": { "start": { "line": 711, "column": 8 }, "end": { "line": 711, "column": 21 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" }, "property": { "type": "Identifier", "start": 23443, "end": 23452, "loc": { "start": { "line": 711, "column": 22 }, "end": { "line": 711, "column": 31 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "Identifier", "start": 23455, "end": 23472, "loc": { "start": { "line": 711, "column": 34 }, "end": { "line": 711, "column": 51 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } } }, { "type": "ExpressionStatement", "start": 23483, "end": 23520, "loc": { "start": { "line": 712, "column": 8 }, "end": { "line": 712, "column": 45 } }, "expression": { "type": "CallExpression", "start": 23483, "end": 23519, "loc": { "start": { "line": 712, "column": 8 }, "end": { "line": 712, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 23483, "end": 23504, "loc": { "start": { "line": 712, "column": 8 }, "end": { "line": 712, "column": 29 } }, "object": { "type": "Identifier", "start": 23483, "end": 23492, "loc": { "start": { "line": 712, "column": 8 }, "end": { "line": 712, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 23493, "end": 23504, "loc": { "start": { "line": 712, "column": 18 }, "end": { "line": 712, "column": 29 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23505, "end": 23518, "loc": { "start": { "line": 712, "column": 30 }, "end": { "line": 712, "column": 43 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 23532, "end": 23585, "loc": { "start": { "line": 714, "column": 8 }, "end": { "line": 716, "column": 11 } } } ] }, { "type": "IfStatement", "start": 23595, "end": 23672, "loc": { "start": { "line": 717, "column": 8 }, "end": { "line": 718, "column": 43 } }, "test": { "type": "UnaryExpression", "start": 23598, "end": 23626, "loc": { "start": { "line": 717, "column": 11 }, "end": { "line": 717, "column": 39 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 23599, "end": 23626, "loc": { "start": { "line": 717, "column": 12 }, "end": { "line": 717, "column": 39 } }, "object": { "type": "MemberExpression", "start": 23599, "end": 23618, "loc": { "start": { "line": 717, "column": 12 }, "end": { "line": 717, "column": 31 } }, "object": { "type": "ThisExpression", "start": 23599, "end": 23603, "loc": { "start": { "line": 717, "column": 12 }, "end": { "line": 717, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 23604, "end": 23618, "loc": { "start": { "line": 717, "column": 17 }, "end": { "line": 717, "column": 31 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 23619, "end": 23625, "loc": { "start": { "line": 717, "column": 32 }, "end": { "line": 717, "column": 38 }, "identifierName": "button" }, "name": "button" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 23639, "end": 23672, "loc": { "start": { "line": 718, "column": 10 }, "end": { "line": 718, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 23639, "end": 23671, "loc": { "start": { "line": 718, "column": 10 }, "end": { "line": 718, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23639, "end": 23666, "loc": { "start": { "line": 718, "column": 10 }, "end": { "line": 718, "column": 37 } }, "object": { "type": "MemberExpression", "start": 23639, "end": 23658, "loc": { "start": { "line": 718, "column": 10 }, "end": { "line": 718, "column": 29 } }, "object": { "type": "ThisExpression", "start": 23639, "end": 23643, "loc": { "start": { "line": 718, "column": 10 }, "end": { "line": 718, "column": 14 } } }, "property": { "type": "Identifier", "start": 23644, "end": 23658, "loc": { "start": { "line": 718, "column": 15 }, "end": { "line": 718, "column": 29 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 23659, "end": 23665, "loc": { "start": { "line": 718, "column": 30 }, "end": { "line": 718, "column": 36 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "right": { "type": "ArrayExpression", "start": 23669, "end": 23671, "loc": { "start": { "line": 718, "column": 40 }, "end": { "line": 718, "column": 42 } }, "elements": [] } } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 23532, "end": 23585, "loc": { "start": { "line": 714, "column": 8 }, "end": { "line": 716, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23684, "end": 23728, "loc": { "start": { "line": 720, "column": 8 }, "end": { "line": 720, "column": 52 } }, "expression": { "type": "CallExpression", "start": 23684, "end": 23727, "loc": { "start": { "line": 720, "column": 8 }, "end": { "line": 720, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 23684, "end": 23716, "loc": { "start": { "line": 720, "column": 8 }, "end": { "line": 720, "column": 40 } }, "object": { "type": "MemberExpression", "start": 23684, "end": 23711, "loc": { "start": { "line": 720, "column": 8 }, "end": { "line": 720, "column": 35 } }, "object": { "type": "MemberExpression", "start": 23684, "end": 23703, "loc": { "start": { "line": 720, "column": 8 }, "end": { "line": 720, "column": 27 } }, "object": { "type": "ThisExpression", "start": 23684, "end": 23688, "loc": { "start": { "line": 720, "column": 8 }, "end": { "line": 720, "column": 12 } } }, "property": { "type": "Identifier", "start": 23689, "end": 23703, "loc": { "start": { "line": 720, "column": 13 }, "end": { "line": 720, "column": 27 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 23704, "end": 23710, "loc": { "start": { "line": 720, "column": 28 }, "end": { "line": 720, "column": 34 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "property": { "type": "Identifier", "start": 23712, "end": 23716, "loc": { "start": { "line": 720, "column": 36 }, "end": { "line": 720, "column": 40 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23717, "end": 23726, "loc": { "start": { "line": 720, "column": 41 }, "end": { "line": 720, "column": 50 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 23740, "end": 23792, "loc": { "start": { "line": 722, "column": 8 }, "end": { "line": 724, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23802, "end": 23832, "loc": { "start": { "line": 725, "column": 8 }, "end": { "line": 725, "column": 38 } }, "expression": { "type": "CallExpression", "start": 23802, "end": 23831, "loc": { "start": { "line": 725, "column": 8 }, "end": { "line": 725, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 23802, "end": 23820, "loc": { "start": { "line": 725, "column": 8 }, "end": { "line": 725, "column": 26 } }, "object": { "type": "Identifier", "start": 23802, "end": 23808, "loc": { "start": { "line": 725, "column": 8 }, "end": { "line": 725, "column": 14 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 23809, "end": 23820, "loc": { "start": { "line": 725, "column": 15 }, "end": { "line": 725, "column": 26 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 23821, "end": 23830, "loc": { "start": { "line": 725, "column": 27 }, "end": { "line": 725, "column": 36 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 23740, "end": 23792, "loc": { "start": { "line": 722, "column": 8 }, "end": { "line": 724, "column": 11 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 22010, "end": 22071, "loc": { "start": { "line": 674, "column": 6 }, "end": { "line": 676, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 23855, "end": 23905, "loc": { "start": { "line": 729, "column": 6 }, "end": { "line": 731, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 23913, "end": 23950, "loc": { "start": { "line": 732, "column": 6 }, "end": { "line": 732, "column": 43 } }, "expression": { "type": "CallExpression", "start": 23913, "end": 23949, "loc": { "start": { "line": 732, "column": 6 }, "end": { "line": 732, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 23913, "end": 23941, "loc": { "start": { "line": 732, "column": 6 }, "end": { "line": 732, "column": 34 } }, "object": { "type": "MemberExpression", "start": 23913, "end": 23929, "loc": { "start": { "line": 732, "column": 6 }, "end": { "line": 732, "column": 22 } }, "object": { "type": "ThisExpression", "start": 23913, "end": 23917, "loc": { "start": { "line": 732, "column": 6 }, "end": { "line": 732, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 23918, "end": 23929, "loc": { "start": { "line": 732, "column": 11 }, "end": { "line": 732, "column": 22 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 23930, "end": 23941, "loc": { "start": { "line": 732, "column": 23 }, "end": { "line": 732, "column": 34 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 23942, "end": 23948, "loc": { "start": { "line": 732, "column": 35 }, "end": { "line": 732, "column": 41 }, "identifierName": "rowDOM" }, "name": "rowDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 23855, "end": 23905, "loc": { "start": { "line": 729, "column": 6 }, "end": { "line": 731, "column": 9 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 21710, "end": 21757, "loc": { "start": { "line": 662, "column": 4 }, "end": { "line": 664, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 23967, "end": 24004, "loc": { "start": { "line": 735, "column": 4 }, "end": { "line": 737, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 24010, "end": 24026, "loc": { "start": { "line": 738, "column": 4 }, "end": { "line": 738, "column": 20 } }, "expression": { "type": "CallExpression", "start": 24010, "end": 24025, "loc": { "start": { "line": 738, "column": 4 }, "end": { "line": 738, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 24010, "end": 24023, "loc": { "start": { "line": 738, "column": 4 }, "end": { "line": 738, "column": 17 } }, "object": { "type": "ThisExpression", "start": 24010, "end": 24014, "loc": { "start": { "line": 738, "column": 4 }, "end": { "line": 738, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 24015, "end": 24023, "loc": { "start": { "line": 738, "column": 9 }, "end": { "line": 738, "column": 17 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 23967, "end": 24004, "loc": { "start": { "line": 735, "column": 4 }, "end": { "line": 737, "column": 7 } } } ] }, { "type": "IfStatement", "start": 24034, "end": 24369, "loc": { "start": { "line": 740, "column": 4 }, "end": { "line": 755, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 24037, "end": 24054, "loc": { "start": { "line": 740, "column": 7 }, "end": { "line": 740, "column": 24 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 24038, "end": 24054, "loc": { "start": { "line": 740, "column": 8 }, "end": { "line": 740, "column": 24 } }, "object": { "type": "ThisExpression", "start": 24038, "end": 24042, "loc": { "start": { "line": 740, "column": 8 }, "end": { "line": 740, "column": 12 } } }, "property": { "type": "Identifier", "start": 24043, "end": 24054, "loc": { "start": { "line": 740, "column": 13 }, "end": { "line": 740, "column": 24 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 24055, "end": 24369, "loc": { "start": { "line": 740, "column": 25 }, "end": { "line": 755, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 24154, "end": 24178, "loc": { "start": { "line": 744, "column": 6 }, "end": { "line": 744, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 24154, "end": 24177, "loc": { "start": { "line": 744, "column": 6 }, "end": { "line": 744, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24154, "end": 24170, "loc": { "start": { "line": 744, "column": 6 }, "end": { "line": 744, "column": 22 } }, "object": { "type": "ThisExpression", "start": 24154, "end": 24158, "loc": { "start": { "line": 744, "column": 6 }, "end": { "line": 744, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 24159, "end": 24170, "loc": { "start": { "line": 744, "column": 11 }, "end": { "line": 744, "column": 22 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 24173, "end": 24177, "loc": { "start": { "line": 744, "column": 25 }, "end": { "line": 744, "column": 29 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 24064, "end": 24146, "loc": { "start": { "line": 741, "column": 6 }, "end": { "line": 743, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 24188, "end": 24229, "loc": { "start": { "line": 746, "column": 6 }, "end": { "line": 748, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 24237, "end": 24291, "loc": { "start": { "line": 749, "column": 6 }, "end": { "line": 749, "column": 60 } }, "expression": { "type": "AssignmentExpression", "start": 24237, "end": 24290, "loc": { "start": { "line": 749, "column": 6 }, "end": { "line": 749, "column": 59 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24237, "end": 24255, "loc": { "start": { "line": 749, "column": 6 }, "end": { "line": 749, "column": 24 } }, "object": { "type": "Identifier", "start": 24237, "end": 24245, "loc": { "start": { "line": 749, "column": 6 }, "end": { "line": 749, "column": 14 }, "identifierName": "document" }, "name": "document", "leadingComments": null }, "property": { "type": "Identifier", "start": 24246, "end": 24255, "loc": { "start": { "line": 749, "column": 15 }, "end": { "line": 749, "column": 24 }, "identifierName": "onmouseup" }, "name": "onmouseup" }, "computed": false, "leadingComments": null }, "right": { "type": "ArrowFunctionExpression", "start": 24258, "end": 24290, "loc": { "start": { "line": 749, "column": 27 }, "end": { "line": 749, "column": 59 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 24264, "end": 24290, "loc": { "start": { "line": 749, "column": 33 }, "end": { "line": 749, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 24264, "end": 24288, "loc": { "start": { "line": 749, "column": 33 }, "end": { "line": 749, "column": 57 } }, "object": { "type": "ThisExpression", "start": 24264, "end": 24268, "loc": { "start": { "line": 749, "column": 33 }, "end": { "line": 749, "column": 37 } } }, "property": { "type": "Identifier", "start": 24269, "end": 24288, "loc": { "start": { "line": 749, "column": 38 }, "end": { "line": 749, "column": 57 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "arguments": [] } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 24188, "end": 24229, "loc": { "start": { "line": 746, "column": 6 }, "end": { "line": 748, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 24301, "end": 24340, "loc": { "start": { "line": 751, "column": 6 }, "end": { "line": 753, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 24348, "end": 24362, "loc": { "start": { "line": 754, "column": 6 }, "end": { "line": 754, "column": 20 } }, "expression": { "type": "CallExpression", "start": 24348, "end": 24361, "loc": { "start": { "line": 754, "column": 6 }, "end": { "line": 754, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 24348, "end": 24359, "loc": { "start": { "line": 754, "column": 6 }, "end": { "line": 754, "column": 17 } }, "object": { "type": "ThisExpression", "start": 24348, "end": 24352, "loc": { "start": { "line": 754, "column": 6 }, "end": { "line": 754, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 24353, "end": 24359, "loc": { "start": { "line": 754, "column": 11 }, "end": { "line": 754, "column": 17 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 24301, "end": 24340, "loc": { "start": { "line": 751, "column": 6 }, "end": { "line": 753, "column": 9 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 19970, "end": 20026, "loc": { "start": { "line": 611, "column": 2 }, "end": { "line": 613, "column": 5 } } } ] } ] }, "leadingComments": [], "name": "_", "trailingComments": [] }, { "type": "Identifier", "start": 24381, "end": 24411, "loc": { "start": { "line": 759, "column": 0 }, "end": { "line": 759, "column": 30 } }, "declaration": { "type": "Identifier", "start": 24396, "end": 24410, "loc": { "start": { "line": 759, "column": 15 }, "end": { "line": 759, "column": 29 }, "identifierName": "SimpleKeyboard" }, "name": "SimpleKeyboard" }, "name": "_", "leadingComments": [], "trailingComments": [] }, { "type": "ExportDefaultDeclaration", "start": 24381, "end": 24411, "loc": { "start": { "line": 759, "column": 0 }, "end": { "line": 759, "column": 30 } }, "declaration": { "type": "ClassDeclaration", "start": 367, "end": 24377, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 757, "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": 24377, "loc": { "start": { "line": 15, "column": 21 }, "end": { "line": 757, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 679, "end": 7371, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 152, "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": 7371, "loc": { "start": { "line": 20, "column": 24 }, "end": { "line": 152, "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 * @type {object} Classes identifying loaded plugins\r\n ", "start": 4184, "end": 4254, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 68, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4260, "end": 4292, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 4260, "end": 4291, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4260, "end": 4286, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 30 } }, "object": { "type": "ThisExpression", "start": 4260, "end": 4264, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4265, "end": 4286, "loc": { "start": { "line": 69, "column": 9 }, "end": { "line": 69, "column": 30 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false, "leadingComments": null }, "right": { "type": "StringLiteral", "start": 4289, "end": 4291, "loc": { "start": { "line": 69, "column": 33 }, "end": { "line": 69, "column": 35 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Classes identifying loaded plugins\r\n ", "start": 4184, "end": 4254, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 68, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4300, "end": 4329, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 73, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4335, "end": 4398, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 4335, "end": 4397, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4335, "end": 4359, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 28 } }, "object": { "type": "ThisExpression", "start": 4335, "end": 4339, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4340, "end": 4359, "loc": { "start": { "line": 74, "column": 9 }, "end": { "line": 74, "column": 28 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 4362, "end": 4397, "loc": { "start": { "line": 74, "column": 31 }, "end": { "line": 74, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 4362, "end": 4391, "loc": { "start": { "line": 74, "column": 31 }, "end": { "line": 74, "column": 60 } }, "object": { "type": "MemberExpression", "start": 4362, "end": 4386, "loc": { "start": { "line": 74, "column": 31 }, "end": { "line": 74, "column": 55 } }, "object": { "type": "ThisExpression", "start": 4362, "end": 4366, "loc": { "start": { "line": 74, "column": 31 }, "end": { "line": 74, "column": 35 } } }, "property": { "type": "Identifier", "start": 4367, "end": 4386, "loc": { "start": { "line": 74, "column": 36 }, "end": { "line": 74, "column": 55 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "property": { "type": "Identifier", "start": 4387, "end": 4391, "loc": { "start": { "line": 74, "column": 56 }, "end": { "line": 74, "column": 60 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4392, "end": 4396, "loc": { "start": { "line": 74, "column": 61 }, "end": { "line": 74, "column": 65 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4300, "end": 4329, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 73, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4404, "end": 4465, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 4404, "end": 4464, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4404, "end": 4427, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4404, "end": 4408, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 8 } } }, "property": { "type": "Identifier", "start": 4409, "end": 4427, "loc": { "start": { "line": 75, "column": 9 }, "end": { "line": 75, "column": 27 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "right": { "type": "CallExpression", "start": 4430, "end": 4464, "loc": { "start": { "line": 75, "column": 30 }, "end": { "line": 75, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 4430, "end": 4458, "loc": { "start": { "line": 75, "column": 30 }, "end": { "line": 75, "column": 58 } }, "object": { "type": "MemberExpression", "start": 4430, "end": 4453, "loc": { "start": { "line": 75, "column": 30 }, "end": { "line": 75, "column": 53 } }, "object": { "type": "ThisExpression", "start": 4430, "end": 4434, "loc": { "start": { "line": 75, "column": 30 }, "end": { "line": 75, "column": 34 } } }, "property": { "type": "Identifier", "start": 4435, "end": 4453, "loc": { "start": { "line": 75, "column": 35 }, "end": { "line": 75, "column": 53 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "property": { "type": "Identifier", "start": 4454, "end": 4458, "loc": { "start": { "line": 75, "column": 54 }, "end": { "line": 75, "column": 58 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4459, "end": 4463, "loc": { "start": { "line": 75, "column": 59 }, "end": { "line": 75, "column": 63 } } } ] } } }, { "type": "ExpressionStatement", "start": 4471, "end": 4516, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 4471, "end": 4515, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4471, "end": 4486, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 19 } }, "object": { "type": "ThisExpression", "start": 4471, "end": 4475, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 8 } } }, "property": { "type": "Identifier", "start": 4476, "end": 4486, "loc": { "start": { "line": 76, "column": 9 }, "end": { "line": 76, "column": 19 }, "identifierName": "clearInput" }, "name": "clearInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4489, "end": 4515, "loc": { "start": { "line": 76, "column": 22 }, "end": { "line": 76, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 4489, "end": 4509, "loc": { "start": { "line": 76, "column": 22 }, "end": { "line": 76, "column": 42 } }, "object": { "type": "MemberExpression", "start": 4489, "end": 4504, "loc": { "start": { "line": 76, "column": 22 }, "end": { "line": 76, "column": 37 } }, "object": { "type": "ThisExpression", "start": 4489, "end": 4493, "loc": { "start": { "line": 76, "column": 22 }, "end": { "line": 76, "column": 26 } } }, "property": { "type": "Identifier", "start": 4494, "end": 4504, "loc": { "start": { "line": 76, "column": 27 }, "end": { "line": 76, "column": 37 }, "identifierName": "clearInput" }, "name": "clearInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4505, "end": 4509, "loc": { "start": { "line": 76, "column": 38 }, "end": { "line": 76, "column": 42 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4510, "end": 4514, "loc": { "start": { "line": 76, "column": 43 }, "end": { "line": 76, "column": 47 } } } ] } } }, { "type": "ExpressionStatement", "start": 4522, "end": 4563, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4522, "end": 4562, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4522, "end": 4535, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4522, "end": 4526, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 8 } } }, "property": { "type": "Identifier", "start": 4527, "end": 4535, "loc": { "start": { "line": 77, "column": 9 }, "end": { "line": 77, "column": 17 }, "identifierName": "getInput" }, "name": "getInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4538, "end": 4562, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4538, "end": 4556, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4538, "end": 4551, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4538, "end": 4542, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 24 } } }, "property": { "type": "Identifier", "start": 4543, "end": 4551, "loc": { "start": { "line": 77, "column": 25 }, "end": { "line": 77, "column": 33 }, "identifierName": "getInput" }, "name": "getInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4552, "end": 4556, "loc": { "start": { "line": 77, "column": 34 }, "end": { "line": 77, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4557, "end": 4561, "loc": { "start": { "line": 77, "column": 39 }, "end": { "line": 77, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4569, "end": 4610, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4569, "end": 4609, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4569, "end": 4582, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4569, "end": 4573, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 8 } } }, "property": { "type": "Identifier", "start": 4574, "end": 4582, "loc": { "start": { "line": 78, "column": 9 }, "end": { "line": 78, "column": 17 }, "identifierName": "setInput" }, "name": "setInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4585, "end": 4609, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4585, "end": 4603, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4585, "end": 4598, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4585, "end": 4589, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 24 } } }, "property": { "type": "Identifier", "start": 4590, "end": 4598, "loc": { "start": { "line": 78, "column": 25 }, "end": { "line": 78, "column": 33 }, "identifierName": "setInput" }, "name": "setInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4599, "end": 4603, "loc": { "start": { "line": 78, "column": 34 }, "end": { "line": 78, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4604, "end": 4608, "loc": { "start": { "line": 78, "column": 39 }, "end": { "line": 78, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4616, "end": 4665, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 53 } }, "expression": { "type": "AssignmentExpression", "start": 4616, "end": 4664, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4616, "end": 4633, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 21 } }, "object": { "type": "ThisExpression", "start": 4616, "end": 4620, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 8 } } }, "property": { "type": "Identifier", "start": 4621, "end": 4633, "loc": { "start": { "line": 79, "column": 9 }, "end": { "line": 79, "column": 21 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4636, "end": 4664, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 4636, "end": 4658, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 46 } }, "object": { "type": "MemberExpression", "start": 4636, "end": 4653, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 41 } }, "object": { "type": "ThisExpression", "start": 4636, "end": 4640, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 28 } } }, "property": { "type": "Identifier", "start": 4641, "end": 4653, "loc": { "start": { "line": 79, "column": 29 }, "end": { "line": 79, "column": 41 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4654, "end": 4658, "loc": { "start": { "line": 79, "column": 42 }, "end": { "line": 79, "column": 46 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4659, "end": 4663, "loc": { "start": { "line": 79, "column": 47 }, "end": { "line": 79, "column": 51 } } } ] } } }, { "type": "ExpressionStatement", "start": 4671, "end": 4706, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 4671, "end": 4705, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4671, "end": 4681, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 14 } }, "object": { "type": "ThisExpression", "start": 4671, "end": 4675, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 8 } } }, "property": { "type": "Identifier", "start": 4676, "end": 4681, "loc": { "start": { "line": 80, "column": 9 }, "end": { "line": 80, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false }, "right": { "type": "CallExpression", "start": 4684, "end": 4705, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 4684, "end": 4699, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 32 } }, "object": { "type": "MemberExpression", "start": 4684, "end": 4694, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4684, "end": 4688, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 21 } } }, "property": { "type": "Identifier", "start": 4689, "end": 4694, "loc": { "start": { "line": 80, "column": 22 }, "end": { "line": 80, "column": 27 }, "identifierName": "clear" }, "name": "clear" }, "computed": false }, "property": { "type": "Identifier", "start": 4695, "end": 4699, "loc": { "start": { "line": 80, "column": 28 }, "end": { "line": 80, "column": 32 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4700, "end": 4704, "loc": { "start": { "line": 80, "column": 33 }, "end": { "line": 80, "column": 37 } } } ] } } }, { "type": "ExpressionStatement", "start": 4712, "end": 4753, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4712, "end": 4752, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4712, "end": 4725, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4712, "end": 4716, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 8 } } }, "property": { "type": "Identifier", "start": 4717, "end": 4725, "loc": { "start": { "line": 81, "column": 9 }, "end": { "line": 81, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "right": { "type": "CallExpression", "start": 4728, "end": 4752, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4728, "end": 4746, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4728, "end": 4741, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4728, "end": 4732, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 24 } } }, "property": { "type": "Identifier", "start": 4733, "end": 4741, "loc": { "start": { "line": 81, "column": 25 }, "end": { "line": 81, "column": 33 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "property": { "type": "Identifier", "start": 4742, "end": 4746, "loc": { "start": { "line": 81, "column": 34 }, "end": { "line": 81, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4747, "end": 4751, "loc": { "start": { "line": 81, "column": 39 }, "end": { "line": 81, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4759, "end": 4812, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 4759, "end": 4811, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 56 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4759, "end": 4778, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 23 } }, "object": { "type": "ThisExpression", "start": 4759, "end": 4763, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 8 } } }, "property": { "type": "Identifier", "start": 4764, "end": 4778, "loc": { "start": { "line": 82, "column": 9 }, "end": { "line": 82, "column": 23 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme" }, "computed": false }, "right": { "type": "CallExpression", "start": 4781, "end": 4811, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 4781, "end": 4805, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 50 } }, "object": { "type": "MemberExpression", "start": 4781, "end": 4800, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 45 } }, "object": { "type": "ThisExpression", "start": 4781, "end": 4785, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 30 } } }, "property": { "type": "Identifier", "start": 4786, "end": 4800, "loc": { "start": { "line": 82, "column": 31 }, "end": { "line": 82, "column": 45 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 4801, "end": 4805, "loc": { "start": { "line": 82, "column": 46 }, "end": { "line": 82, "column": 50 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4806, "end": 4810, "loc": { "start": { "line": 82, "column": 51 }, "end": { "line": 82, "column": 55 } } } ] } } }, { "type": "ExpressionStatement", "start": 4818, "end": 4877, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 4818, "end": 4876, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4818, "end": 4840, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 26 } }, "object": { "type": "ThisExpression", "start": 4818, "end": 4822, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 8 } } }, "property": { "type": "Identifier", "start": 4823, "end": 4840, "loc": { "start": { "line": 83, "column": 9 }, "end": { "line": 83, "column": 26 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme" }, "computed": false }, "right": { "type": "CallExpression", "start": 4843, "end": 4876, "loc": { "start": { "line": 83, "column": 29 }, "end": { "line": 83, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 4843, "end": 4870, "loc": { "start": { "line": 83, "column": 29 }, "end": { "line": 83, "column": 56 } }, "object": { "type": "MemberExpression", "start": 4843, "end": 4865, "loc": { "start": { "line": 83, "column": 29 }, "end": { "line": 83, "column": 51 } }, "object": { "type": "ThisExpression", "start": 4843, "end": 4847, "loc": { "start": { "line": 83, "column": 29 }, "end": { "line": 83, "column": 33 } } }, "property": { "type": "Identifier", "start": 4848, "end": 4865, "loc": { "start": { "line": 83, "column": 34 }, "end": { "line": 83, "column": 51 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 4866, "end": 4870, "loc": { "start": { "line": 83, "column": 52 }, "end": { "line": 83, "column": 56 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4871, "end": 4875, "loc": { "start": { "line": 83, "column": 57 }, "end": { "line": 83, "column": 61 } } } ] } } }, { "type": "ExpressionStatement", "start": 4883, "end": 4940, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 4883, "end": 4939, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4883, "end": 4904, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 25 } }, "object": { "type": "ThisExpression", "start": 4883, "end": 4887, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 8 } } }, "property": { "type": "Identifier", "start": 4888, "end": 4904, "loc": { "start": { "line": 84, "column": 9 }, "end": { "line": 84, "column": 25 }, "identifierName": "getButtonElement" }, "name": "getButtonElement" }, "computed": false }, "right": { "type": "CallExpression", "start": 4907, "end": 4939, "loc": { "start": { "line": 84, "column": 28 }, "end": { "line": 84, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 4907, "end": 4933, "loc": { "start": { "line": 84, "column": 28 }, "end": { "line": 84, "column": 54 } }, "object": { "type": "MemberExpression", "start": 4907, "end": 4928, "loc": { "start": { "line": 84, "column": 28 }, "end": { "line": 84, "column": 49 } }, "object": { "type": "ThisExpression", "start": 4907, "end": 4911, "loc": { "start": { "line": 84, "column": 28 }, "end": { "line": 84, "column": 32 } } }, "property": { "type": "Identifier", "start": 4912, "end": 4928, "loc": { "start": { "line": 84, "column": 33 }, "end": { "line": 84, "column": 49 }, "identifierName": "getButtonElement" }, "name": "getButtonElement" }, "computed": false }, "property": { "type": "Identifier", "start": 4929, "end": 4933, "loc": { "start": { "line": 84, "column": 50 }, "end": { "line": 84, "column": 54 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4934, "end": 4938, "loc": { "start": { "line": 84, "column": 55 }, "end": { "line": 84, "column": 59 } } } ] } } }, { "type": "ExpressionStatement", "start": 4946, "end": 4993, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 4946, "end": 4992, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4946, "end": 4962, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 20 } }, "object": { "type": "ThisExpression", "start": 4946, "end": 4950, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 8 } } }, "property": { "type": "Identifier", "start": 4951, "end": 4962, "loc": { "start": { "line": 85, "column": 9 }, "end": { "line": 85, "column": 20 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false }, "right": { "type": "CallExpression", "start": 4965, "end": 4992, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 4965, "end": 4986, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 44 } }, "object": { "type": "MemberExpression", "start": 4965, "end": 4981, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 39 } }, "object": { "type": "ThisExpression", "start": 4965, "end": 4969, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 27 } } }, "property": { "type": "Identifier", "start": 4970, "end": 4981, "loc": { "start": { "line": 85, "column": 28 }, "end": { "line": 85, "column": 39 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false }, "property": { "type": "Identifier", "start": 4982, "end": 4986, "loc": { "start": { "line": 85, "column": 40 }, "end": { "line": 85, "column": 44 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4987, "end": 4991, "loc": { "start": { "line": 85, "column": 45 }, "end": { "line": 85, "column": 49 } } } ] } } }, { "type": "ExpressionStatement", "start": 4999, "end": 5058, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 4999, "end": 5057, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4999, "end": 5021, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 26 } }, "object": { "type": "ThisExpression", "start": 4999, "end": 5003, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 8 } } }, "property": { "type": "Identifier", "start": 5004, "end": 5021, "loc": { "start": { "line": 86, "column": 9 }, "end": { "line": 86, "column": 26 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false }, "right": { "type": "CallExpression", "start": 5024, "end": 5057, "loc": { "start": { "line": 86, "column": 29 }, "end": { "line": 86, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 5024, "end": 5051, "loc": { "start": { "line": 86, "column": 29 }, "end": { "line": 86, "column": 56 } }, "object": { "type": "MemberExpression", "start": 5024, "end": 5046, "loc": { "start": { "line": 86, "column": 29 }, "end": { "line": 86, "column": 51 } }, "object": { "type": "ThisExpression", "start": 5024, "end": 5028, "loc": { "start": { "line": 86, "column": 29 }, "end": { "line": 86, "column": 33 } } }, "property": { "type": "Identifier", "start": 5029, "end": 5046, "loc": { "start": { "line": 86, "column": 34 }, "end": { "line": 86, "column": 51 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false }, "property": { "type": "Identifier", "start": 5047, "end": 5051, "loc": { "start": { "line": 86, "column": 52 }, "end": { "line": 86, "column": 56 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5052, "end": 5056, "loc": { "start": { "line": 86, "column": 57 }, "end": { "line": 86, "column": 61 } } } ] } } }, { "type": "ExpressionStatement", "start": 5064, "end": 5101, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 5064, "end": 5100, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5064, "end": 5075, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 15 } }, "object": { "type": "ThisExpression", "start": 5064, "end": 5068, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 8 } } }, "property": { "type": "Identifier", "start": 5069, "end": 5075, "loc": { "start": { "line": 87, "column": 9 }, "end": { "line": 87, "column": 15 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "right": { "type": "CallExpression", "start": 5078, "end": 5100, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 5078, "end": 5094, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 34 } }, "object": { "type": "MemberExpression", "start": 5078, "end": 5089, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 29 } }, "object": { "type": "ThisExpression", "start": 5078, "end": 5082, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 22 } } }, "property": { "type": "Identifier", "start": 5083, "end": 5089, "loc": { "start": { "line": 87, "column": 23 }, "end": { "line": 87, "column": 29 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "property": { "type": "Identifier", "start": 5090, "end": 5094, "loc": { "start": { "line": 87, "column": 30 }, "end": { "line": 87, "column": 34 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5095, "end": 5099, "loc": { "start": { "line": 87, "column": 35 }, "end": { "line": 87, "column": 39 } } } ] } } }, { "type": "ExpressionStatement", "start": 5107, "end": 5148, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 5107, "end": 5147, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5107, "end": 5120, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 17 } }, "object": { "type": "ThisExpression", "start": 5107, "end": 5111, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 8 } } }, "property": { "type": "Identifier", "start": 5112, "end": 5120, "loc": { "start": { "line": 88, "column": 9 }, "end": { "line": 88, "column": 17 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "right": { "type": "CallExpression", "start": 5123, "end": 5147, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 88, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 5123, "end": 5141, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 88, "column": 38 } }, "object": { "type": "MemberExpression", "start": 5123, "end": 5136, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 88, "column": 33 } }, "object": { "type": "ThisExpression", "start": 5123, "end": 5127, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 88, "column": 24 } } }, "property": { "type": "Identifier", "start": 5128, "end": 5136, "loc": { "start": { "line": 88, "column": 25 }, "end": { "line": 88, "column": 33 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "property": { "type": "Identifier", "start": 5137, "end": 5141, "loc": { "start": { "line": 88, "column": 34 }, "end": { "line": 88, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5142, "end": 5146, "loc": { "start": { "line": 88, "column": 39 }, "end": { "line": 88, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 5154, "end": 5191, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 5154, "end": 5190, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5154, "end": 5165, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 15 } }, "object": { "type": "ThisExpression", "start": 5154, "end": 5158, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 8 } } }, "property": { "type": "Identifier", "start": 5159, "end": 5165, "loc": { "start": { "line": 89, "column": 9 }, "end": { "line": 89, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "right": { "type": "CallExpression", "start": 5168, "end": 5190, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 5168, "end": 5184, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 34 } }, "object": { "type": "MemberExpression", "start": 5168, "end": 5179, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 29 } }, "object": { "type": "ThisExpression", "start": 5168, "end": 5172, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 22 } } }, "property": { "type": "Identifier", "start": 5173, "end": 5179, "loc": { "start": { "line": 89, "column": 23 }, "end": { "line": 89, "column": 29 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "property": { "type": "Identifier", "start": 5180, "end": 5184, "loc": { "start": { "line": 89, "column": 30 }, "end": { "line": 89, "column": 34 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5185, "end": 5189, "loc": { "start": { "line": 89, "column": 35 }, "end": { "line": 89, "column": 39 } } } ] } } }, { "type": "ExpressionStatement", "start": 5197, "end": 5244, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 5197, "end": 5243, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5197, "end": 5213, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 20 } }, "object": { "type": "ThisExpression", "start": 5197, "end": 5201, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 8 } } }, "property": { "type": "Identifier", "start": 5202, "end": 5213, "loc": { "start": { "line": 90, "column": 9 }, "end": { "line": 90, "column": 20 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false }, "right": { "type": "CallExpression", "start": 5216, "end": 5243, "loc": { "start": { "line": 90, "column": 23 }, "end": { "line": 90, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 5216, "end": 5237, "loc": { "start": { "line": 90, "column": 23 }, "end": { "line": 90, "column": 44 } }, "object": { "type": "MemberExpression", "start": 5216, "end": 5232, "loc": { "start": { "line": 90, "column": 23 }, "end": { "line": 90, "column": 39 } }, "object": { "type": "ThisExpression", "start": 5216, "end": 5220, "loc": { "start": { "line": 90, "column": 23 }, "end": { "line": 90, "column": 27 } } }, "property": { "type": "Identifier", "start": 5221, "end": 5232, "loc": { "start": { "line": 90, "column": 28 }, "end": { "line": 90, "column": 39 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false }, "property": { "type": "Identifier", "start": 5233, "end": 5237, "loc": { "start": { "line": 90, "column": 40 }, "end": { "line": 90, "column": 44 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5238, "end": 5242, "loc": { "start": { "line": 90, "column": 45 }, "end": { "line": 90, "column": 49 } } } ] } } }, { "type": "ExpressionStatement", "start": 5250, "end": 5313, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 5250, "end": 5312, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5250, "end": 5274, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 28 } }, "object": { "type": "ThisExpression", "start": 5250, "end": 5254, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 8 } } }, "property": { "type": "Identifier", "start": 5255, "end": 5274, "loc": { "start": { "line": 91, "column": 9 }, "end": { "line": 91, "column": 28 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "right": { "type": "CallExpression", "start": 5277, "end": 5312, "loc": { "start": { "line": 91, "column": 31 }, "end": { "line": 91, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 5277, "end": 5306, "loc": { "start": { "line": 91, "column": 31 }, "end": { "line": 91, "column": 60 } }, "object": { "type": "MemberExpression", "start": 5277, "end": 5301, "loc": { "start": { "line": 91, "column": 31 }, "end": { "line": 91, "column": 55 } }, "object": { "type": "ThisExpression", "start": 5277, "end": 5281, "loc": { "start": { "line": 91, "column": 31 }, "end": { "line": 91, "column": 35 } } }, "property": { "type": "Identifier", "start": 5282, "end": 5301, "loc": { "start": { "line": 91, "column": 36 }, "end": { "line": 91, "column": 55 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "property": { "type": "Identifier", "start": 5302, "end": 5306, "loc": { "start": { "line": 91, "column": 56 }, "end": { "line": 91, "column": 60 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5307, "end": 5311, "loc": { "start": { "line": 91, "column": 61 }, "end": { "line": 91, "column": 65 } } } ] } } }, { "type": "ExpressionStatement", "start": 5319, "end": 5386, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 71 } }, "expression": { "type": "AssignmentExpression", "start": 5319, "end": 5385, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5319, "end": 5345, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 30 } }, "object": { "type": "ThisExpression", "start": 5319, "end": 5323, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 8 } } }, "property": { "type": "Identifier", "start": 5324, "end": 5345, "loc": { "start": { "line": 92, "column": 9 }, "end": { "line": 92, "column": 30 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "right": { "type": "CallExpression", "start": 5348, "end": 5385, "loc": { "start": { "line": 92, "column": 33 }, "end": { "line": 92, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 5348, "end": 5379, "loc": { "start": { "line": 92, "column": 33 }, "end": { "line": 92, "column": 64 } }, "object": { "type": "MemberExpression", "start": 5348, "end": 5374, "loc": { "start": { "line": 92, "column": 33 }, "end": { "line": 92, "column": 59 } }, "object": { "type": "ThisExpression", "start": 5348, "end": 5352, "loc": { "start": { "line": 92, "column": 33 }, "end": { "line": 92, "column": 37 } } }, "property": { "type": "Identifier", "start": 5353, "end": 5374, "loc": { "start": { "line": 92, "column": 38 }, "end": { "line": 92, "column": 59 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "property": { "type": "Identifier", "start": 5375, "end": 5379, "loc": { "start": { "line": 92, "column": 60 }, "end": { "line": 92, "column": 64 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5380, "end": 5384, "loc": { "start": { "line": 92, "column": 65 }, "end": { "line": 92, "column": 69 } } } ] } } }, { "type": "ExpressionStatement", "start": 5392, "end": 5449, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 5392, "end": 5448, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5392, "end": 5413, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 25 } }, "object": { "type": "ThisExpression", "start": 5392, "end": 5396, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 8 } } }, "property": { "type": "Identifier", "start": 5397, "end": 5413, "loc": { "start": { "line": 93, "column": 9 }, "end": { "line": 93, "column": 25 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "right": { "type": "CallExpression", "start": 5416, "end": 5448, "loc": { "start": { "line": 93, "column": 28 }, "end": { "line": 93, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 5416, "end": 5442, "loc": { "start": { "line": 93, "column": 28 }, "end": { "line": 93, "column": 54 } }, "object": { "type": "MemberExpression", "start": 5416, "end": 5437, "loc": { "start": { "line": 93, "column": 28 }, "end": { "line": 93, "column": 49 } }, "object": { "type": "ThisExpression", "start": 5416, "end": 5420, "loc": { "start": { "line": 93, "column": 28 }, "end": { "line": 93, "column": 32 } } }, "property": { "type": "Identifier", "start": 5421, "end": 5437, "loc": { "start": { "line": 93, "column": 33 }, "end": { "line": 93, "column": 49 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "property": { "type": "Identifier", "start": 5438, "end": 5442, "loc": { "start": { "line": 93, "column": 50 }, "end": { "line": 93, "column": 54 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5443, "end": 5447, "loc": { "start": { "line": 93, "column": 55 }, "end": { "line": 93, "column": 59 } } } ] } } }, { "type": "ExpressionStatement", "start": 5455, "end": 5510, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 59 } }, "expression": { "type": "AssignmentExpression", "start": 5455, "end": 5509, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 58 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5455, "end": 5475, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 24 } }, "object": { "type": "ThisExpression", "start": 5455, "end": 5459, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 8 } } }, "property": { "type": "Identifier", "start": 5460, "end": 5475, "loc": { "start": { "line": 94, "column": 9 }, "end": { "line": 94, "column": 24 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "right": { "type": "CallExpression", "start": 5478, "end": 5509, "loc": { "start": { "line": 94, "column": 27 }, "end": { "line": 94, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 5478, "end": 5503, "loc": { "start": { "line": 94, "column": 27 }, "end": { "line": 94, "column": 52 } }, "object": { "type": "MemberExpression", "start": 5478, "end": 5498, "loc": { "start": { "line": 94, "column": 27 }, "end": { "line": 94, "column": 47 } }, "object": { "type": "ThisExpression", "start": 5478, "end": 5482, "loc": { "start": { "line": 94, "column": 27 }, "end": { "line": 94, "column": 31 } } }, "property": { "type": "Identifier", "start": 5483, "end": 5498, "loc": { "start": { "line": 94, "column": 32 }, "end": { "line": 94, "column": 47 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "property": { "type": "Identifier", "start": 5499, "end": 5503, "loc": { "start": { "line": 94, "column": 48 }, "end": { "line": 94, "column": 52 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5504, "end": 5508, "loc": { "start": { "line": 94, "column": 53 }, "end": { "line": 94, "column": 57 } } } ] } }, "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": 5518, "end": 6177, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 109, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6183, "end": 6199, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 20 } }, "expression": { "type": "AssignmentExpression", "start": 6183, "end": 6198, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 19 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6183, "end": 6193, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 14 } }, "object": { "type": "ThisExpression", "start": 6183, "end": 6187, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6188, "end": 6193, "loc": { "start": { "line": 110, "column": 9 }, "end": { "line": 110, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 6196, "end": 6198, "loc": { "start": { "line": 110, "column": 17 }, "end": { "line": 110, "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": 5518, "end": 6177, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 109, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6205, "end": 6245, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 111, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 6205, "end": 6244, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 111, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6205, "end": 6239, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 111, "column": 38 } }, "object": { "type": "MemberExpression", "start": 6205, "end": 6215, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 111, "column": 14 } }, "object": { "type": "ThisExpression", "start": 6205, "end": 6209, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 111, "column": 8 } } }, "property": { "type": "Identifier", "start": 6210, "end": 6215, "loc": { "start": { "line": 111, "column": 9 }, "end": { "line": 111, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6216, "end": 6238, "loc": { "start": { "line": 111, "column": 15 }, "end": { "line": 111, "column": 37 } }, "object": { "type": "MemberExpression", "start": 6216, "end": 6228, "loc": { "start": { "line": 111, "column": 15 }, "end": { "line": 111, "column": 27 } }, "object": { "type": "ThisExpression", "start": 6216, "end": 6220, "loc": { "start": { "line": 111, "column": 15 }, "end": { "line": 111, "column": 19 } } }, "property": { "type": "Identifier", "start": 6221, "end": 6228, "loc": { "start": { "line": 111, "column": 20 }, "end": { "line": 111, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6229, "end": 6238, "loc": { "start": { "line": 111, "column": 28 }, "end": { "line": 111, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 6242, "end": 6244, "loc": { "start": { "line": 111, "column": 41 }, "end": { "line": 111, "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": 6253, "end": 6362, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 115, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6368, "end": 6429, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 6368, "end": 6428, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6368, "end": 6389, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 25 } }, "object": { "type": "ThisExpression", "start": 6368, "end": 6372, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6373, "end": 6389, "loc": { "start": { "line": 116, "column": 9 }, "end": { "line": 116, "column": 25 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 6392, "end": 6428, "loc": { "start": { "line": 116, "column": 28 }, "end": { "line": 116, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 6392, "end": 6424, "loc": { "start": { "line": 116, "column": 28 }, "end": { "line": 116, "column": 60 } }, "object": { "type": "CallExpression", "start": 6392, "end": 6419, "loc": { "start": { "line": 116, "column": 28 }, "end": { "line": 116, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 6392, "end": 6414, "loc": { "start": { "line": 116, "column": 28 }, "end": { "line": 116, "column": 50 } }, "object": { "type": "Identifier", "start": 6392, "end": 6408, "loc": { "start": { "line": 116, "column": 28 }, "end": { "line": 116, "column": 44 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" }, "property": { "type": "Identifier", "start": 6409, "end": 6414, "loc": { "start": { "line": 116, "column": 45 }, "end": { "line": 116, "column": 50 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6415, "end": 6418, "loc": { "start": { "line": 116, "column": 51 }, "end": { "line": 116, "column": 54 } }, "extra": { "rawValue": ".", "raw": "'.'" }, "value": "." } ] }, "property": { "type": "Identifier", "start": 6420, "end": 6424, "loc": { "start": { "line": 116, "column": 56 }, "end": { "line": 116, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6425, "end": 6427, "loc": { "start": { "line": 116, "column": 61 }, "end": { "line": 116, "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": 6253, "end": 6362, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 115, "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": 6437, "end": 6582, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 120, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6588, "end": 6613, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 6588, "end": 6612, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6588, "end": 6607, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 23 } }, "object": { "type": "ThisExpression", "start": 6588, "end": 6592, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6593, "end": 6607, "loc": { "start": { "line": 121, "column": 9 }, "end": { "line": 121, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 6610, "end": 6612, "loc": { "start": { "line": 121, "column": 26 }, "end": { "line": 121, "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": 6437, "end": 6582, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 120, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 6621, "end": 6660, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 125, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6666, "end": 6845, "loc": { "start": { "line": 126, "column": 4 }, "end": { "line": 131, "column": 5 } }, "test": { "type": "MemberExpression", "start": 6669, "end": 6685, "loc": { "start": { "line": 126, "column": 7 }, "end": { "line": 126, "column": 23 } }, "object": { "type": "ThisExpression", "start": 6669, "end": 6673, "loc": { "start": { "line": 126, "column": 7 }, "end": { "line": 126, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6674, "end": 6685, "loc": { "start": { "line": 126, "column": 12 }, "end": { "line": 126, "column": 23 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 6694, "end": 6708, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 20 } }, "expression": { "type": "CallExpression", "start": 6694, "end": 6707, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 6694, "end": 6705, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 17 } }, "object": { "type": "ThisExpression", "start": 6694, "end": 6698, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 10 } } }, "property": { "type": "Identifier", "start": 6699, "end": 6705, "loc": { "start": { "line": 127, "column": 11 }, "end": { "line": 127, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, "alternate": { "type": "BlockStatement", "start": 6719, "end": 6845, "loc": { "start": { "line": 128, "column": 9 }, "end": { "line": 131, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6728, "end": 6792, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 70 } }, "expression": { "type": "CallExpression", "start": 6728, "end": 6791, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 6728, "end": 6740, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 18 } }, "object": { "type": "Identifier", "start": 6728, "end": 6735, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 6736, "end": 6740, "loc": { "start": { "line": 129, "column": 14 }, "end": { "line": 129, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 6741, "end": 6790, "loc": { "start": { "line": 129, "column": 19 }, "end": { "line": 129, "column": 68 } }, "expressions": [ { "type": "Identifier", "start": 6745, "end": 6761, "loc": { "start": { "line": 129, "column": 23 }, "end": { "line": 129, "column": 39 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" } ], "quasis": [ { "type": "TemplateElement", "start": 6742, "end": 6743, "loc": { "start": { "line": 129, "column": 20 }, "end": { "line": 129, "column": 21 } }, "value": { "raw": "\"", "cooked": "\"" }, "tail": false }, { "type": "TemplateElement", "start": 6762, "end": 6789, "loc": { "start": { "line": 129, "column": 40 }, "end": { "line": 129, "column": 67 } }, "value": { "raw": "\" was not found in the DOM.", "cooked": "\" was not found in the DOM." }, "tail": true } ] } ] } }, { "type": "ThrowStatement", "start": 6800, "end": 6838, "loc": { "start": { "line": 130, "column": 6 }, "end": { "line": 130, "column": 44 } }, "argument": { "type": "NewExpression", "start": 6806, "end": 6837, "loc": { "start": { "line": 130, "column": 12 }, "end": { "line": 130, "column": 43 } }, "callee": { "type": "Identifier", "start": 6810, "end": 6815, "loc": { "start": { "line": 130, "column": 16 }, "end": { "line": 130, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 6816, "end": 6836, "loc": { "start": { "line": 130, "column": 22 }, "end": { "line": 130, "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": 6621, "end": 6660, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 125, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 6853, "end": 6966, "loc": { "start": { "line": 133, "column": 4 }, "end": { "line": 136, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6972, "end": 7057, "loc": { "start": { "line": 137, "column": 4 }, "end": { "line": 138, "column": 45 } }, "test": { "type": "UnaryExpression", "start": 6975, "end": 7009, "loc": { "start": { "line": 137, "column": 7 }, "end": { "line": 137, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 6976, "end": 7009, "loc": { "start": { "line": 137, "column": 8 }, "end": { "line": 137, "column": 41 } }, "object": { "type": "Identifier", "start": 6976, "end": 6982, "loc": { "start": { "line": 137, "column": 8 }, "end": { "line": 137, "column": 14 }, "identifierName": "window" }, "name": "window", "leadingComments": null }, "property": { "type": "StringLiteral", "start": 6983, "end": 7008, "loc": { "start": { "line": 137, "column": 15 }, "end": { "line": 137, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 7018, "end": 7057, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 7018, "end": 7056, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7018, "end": 7051, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 39 } }, "object": { "type": "Identifier", "start": 7018, "end": 7024, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 12 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 7025, "end": 7050, "loc": { "start": { "line": 138, "column": 13 }, "end": { "line": 138, "column": 38 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 7054, "end": 7056, "loc": { "start": { "line": 138, "column": 42 }, "end": { "line": 138, "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": 6853, "end": 6966, "loc": { "start": { "line": 133, "column": 4 }, "end": { "line": 136, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7071, "end": 7161, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 94 } }, "expression": { "type": "AssignmentExpression", "start": 7071, "end": 7160, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 93 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7071, "end": 7153, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 86 } }, "object": { "type": "MemberExpression", "start": 7071, "end": 7104, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 37 } }, "object": { "type": "Identifier", "start": 7071, "end": 7077, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 10 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 7078, "end": 7103, "loc": { "start": { "line": 140, "column": 11 }, "end": { "line": 140, "column": 36 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "CallExpression", "start": 7105, "end": 7152, "loc": { "start": { "line": 140, "column": 38 }, "end": { "line": 140, "column": 85 } }, "callee": { "type": "MemberExpression", "start": 7105, "end": 7129, "loc": { "start": { "line": 140, "column": 38 }, "end": { "line": 140, "column": 62 } }, "object": { "type": "MemberExpression", "start": 7105, "end": 7119, "loc": { "start": { "line": 140, "column": 38 }, "end": { "line": 140, "column": 52 } }, "object": { "type": "ThisExpression", "start": 7105, "end": 7109, "loc": { "start": { "line": 140, "column": 38 }, "end": { "line": 140, "column": 42 } } }, "property": { "type": "Identifier", "start": 7110, "end": 7119, "loc": { "start": { "line": 140, "column": 43 }, "end": { "line": 140, "column": 52 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 7120, "end": 7129, "loc": { "start": { "line": 140, "column": 53 }, "end": { "line": 140, "column": 62 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 7130, "end": 7151, "loc": { "start": { "line": 140, "column": 63 }, "end": { "line": 140, "column": 84 } }, "object": { "type": "ThisExpression", "start": 7130, "end": 7134, "loc": { "start": { "line": 140, "column": 63 }, "end": { "line": 140, "column": 67 } } }, "property": { "type": "Identifier", "start": 7135, "end": 7151, "loc": { "start": { "line": 140, "column": 68 }, "end": { "line": 140, "column": 84 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } ] }, "computed": true }, "right": { "type": "ThisExpression", "start": 7156, "end": 7160, "loc": { "start": { "line": 140, "column": 89 }, "end": { "line": 140, "column": 93 } } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 7169, "end": 7215, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 144, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7221, "end": 7281, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 64 } }, "expression": { "type": "AssignmentExpression", "start": 7221, "end": 7280, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7221, "end": 7251, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 34 } }, "object": { "type": "ThisExpression", "start": 7221, "end": 7225, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7226, "end": 7251, "loc": { "start": { "line": 145, "column": 9 }, "end": { "line": 145, "column": 34 }, "identifierName": "physicalKeyboardInterface" }, "name": "physicalKeyboardInterface" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 7254, "end": 7280, "loc": { "start": { "line": 145, "column": 37 }, "end": { "line": 145, "column": 63 } }, "callee": { "type": "Identifier", "start": 7258, "end": 7274, "loc": { "start": { "line": 145, "column": 41 }, "end": { "line": 145, "column": 57 }, "identifierName": "PhysicalKeyboard" }, "name": "PhysicalKeyboard" }, "arguments": [ { "type": "ThisExpression", "start": 7275, "end": 7279, "loc": { "start": { "line": 145, "column": 58 }, "end": { "line": 145, "column": 62 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 7169, "end": 7215, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 144, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Modules\r\n ", "start": 7289, "end": 7317, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 149, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7323, "end": 7341, "loc": { "start": { "line": 150, "column": 4 }, "end": { "line": 150, "column": 22 } }, "expression": { "type": "AssignmentExpression", "start": 7323, "end": 7340, "loc": { "start": { "line": 150, "column": 4 }, "end": { "line": 150, "column": 21 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7323, "end": 7335, "loc": { "start": { "line": 150, "column": 4 }, "end": { "line": 150, "column": 16 } }, "object": { "type": "ThisExpression", "start": 7323, "end": 7327, "loc": { "start": { "line": 150, "column": 4 }, "end": { "line": 150, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7328, "end": 7335, "loc": { "start": { "line": 150, "column": 9 }, "end": { "line": 150, "column": 16 }, "identifierName": "modules" }, "name": "modules" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 7338, "end": 7340, "loc": { "start": { "line": 150, "column": 19 }, "end": { "line": 150, "column": 21 } }, "properties": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Modules\r\n ", "start": 7289, "end": 7317, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 149, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7347, "end": 7366, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 151, "column": 23 } }, "expression": { "type": "CallExpression", "start": 7347, "end": 7365, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 151, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 7347, "end": 7363, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 151, "column": 20 } }, "object": { "type": "ThisExpression", "start": 7347, "end": 7351, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 151, "column": 8 } } }, "property": { "type": "Identifier", "start": 7352, "end": 7363, "loc": { "start": { "line": 151, "column": 9 }, "end": { "line": 151, "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": 7377, "end": 7489, "loc": { "start": { "line": 154, "column": 2 }, "end": { "line": 157, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 7493, "end": 8880, "loc": { "start": { "line": 158, "column": 2 }, "end": { "line": 208, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7493, "end": 7512, "loc": { "start": { "line": 158, "column": 2 }, "end": { "line": 158, "column": 21 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7513, "end": 7519, "loc": { "start": { "line": 158, "column": 22 }, "end": { "line": 158, "column": 28 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 7520, "end": 8880, "loc": { "start": { "line": 158, "column": 29 }, "end": { "line": 208, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 7527, "end": 7558, "loc": { "start": { "line": 159, "column": 4 }, "end": { "line": 159, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7531, "end": 7557, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 34 } }, "id": { "type": "Identifier", "start": 7531, "end": 7536, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 13 }, "identifierName": "debug" }, "name": "debug" }, "init": { "type": "MemberExpression", "start": 7539, "end": 7557, "loc": { "start": { "line": 159, "column": 16 }, "end": { "line": 159, "column": 34 } }, "object": { "type": "MemberExpression", "start": 7539, "end": 7551, "loc": { "start": { "line": 159, "column": 16 }, "end": { "line": 159, "column": 28 } }, "object": { "type": "ThisExpression", "start": 7539, "end": 7543, "loc": { "start": { "line": 159, "column": 16 }, "end": { "line": 159, "column": 20 } } }, "property": { "type": "Identifier", "start": 7544, "end": 7551, "loc": { "start": { "line": 159, "column": 21 }, "end": { "line": 159, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7552, "end": 7557, "loc": { "start": { "line": 159, "column": 29 }, "end": { "line": 159, "column": 34 }, "identifierName": "debug" }, "name": "debug" }, "computed": false } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 7566, "end": 7615, "loc": { "start": { "line": 161, "column": 4 }, "end": { "line": 163, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7621, "end": 7663, "loc": { "start": { "line": 164, "column": 4 }, "end": { "line": 165, "column": 19 } }, "test": { "type": "BinaryExpression", "start": 7624, "end": 7641, "loc": { "start": { "line": 164, "column": 7 }, "end": { "line": 164, "column": 24 } }, "left": { "type": "Identifier", "start": 7624, "end": 7630, "loc": { "start": { "line": 164, "column": 7 }, "end": { "line": 164, "column": 13 }, "identifierName": "button" }, "name": "button", "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 7635, "end": 7641, "loc": { "start": { "line": 164, "column": 18 }, "end": { "line": 164, "column": 24 } }, "extra": { "rawValue": "{//}", "raw": "'{//}'" }, "value": "{//}" }, "leadingComments": null }, "consequent": { "type": "ReturnStatement", "start": 7650, "end": 7663, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 7657, "end": 7662, "loc": { "start": { "line": 165, "column": 13 }, "end": { "line": 165, "column": 18 } }, "value": false }, "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 7566, "end": 7615, "loc": { "start": { "line": 161, "column": 4 }, "end": { "line": 163, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 7671, "end": 7710, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 169, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7716, "end": 7805, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 171, "column": 38 } }, "test": { "type": "BinaryExpression", "start": 7719, "end": 7764, "loc": { "start": { "line": 170, "column": 7 }, "end": { "line": 170, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 7719, "end": 7749, "loc": { "start": { "line": 170, "column": 7 }, "end": { "line": 170, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 7726, "end": 7749, "loc": { "start": { "line": 170, "column": 14 }, "end": { "line": 170, "column": 37 } }, "object": { "type": "MemberExpression", "start": 7726, "end": 7738, "loc": { "start": { "line": 170, "column": 14 }, "end": { "line": 170, "column": 26 } }, "object": { "type": "ThisExpression", "start": 7726, "end": 7730, "loc": { "start": { "line": 170, "column": 14 }, "end": { "line": 170, "column": 18 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7731, "end": 7738, "loc": { "start": { "line": 170, "column": 19 }, "end": { "line": 170, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 7739, "end": 7749, "loc": { "start": { "line": 170, "column": 27 }, "end": { "line": 170, "column": 37 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 7754, "end": 7764, "loc": { "start": { "line": 170, "column": 42 }, "end": { "line": 170, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 7773, "end": 7805, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 38 } }, "expression": { "type": "CallExpression", "start": 7773, "end": 7804, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 7773, "end": 7796, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 29 } }, "object": { "type": "MemberExpression", "start": 7773, "end": 7785, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 18 } }, "object": { "type": "ThisExpression", "start": 7773, "end": 7777, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 10 } } }, "property": { "type": "Identifier", "start": 7778, "end": 7785, "loc": { "start": { "line": 171, "column": 11 }, "end": { "line": 171, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7786, "end": 7796, "loc": { "start": { "line": 171, "column": 19 }, "end": { "line": 171, "column": 29 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7797, "end": 7803, "loc": { "start": { "line": 171, "column": 30 }, "end": { "line": 171, "column": 36 }, "identifierName": "button" }, "name": "button" } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 7671, "end": 7710, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 169, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7817, "end": 7904, "loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 174, "column": 46 } }, "test": { "type": "UnaryExpression", "start": 7820, "end": 7855, "loc": { "start": { "line": 173, "column": 7 }, "end": { "line": 173, "column": 42 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 7821, "end": 7855, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 42 } }, "object": { "type": "MemberExpression", "start": 7821, "end": 7831, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 18 } }, "object": { "type": "ThisExpression", "start": 7821, "end": 7825, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 12 } } }, "property": { "type": "Identifier", "start": 7826, "end": 7831, "loc": { "start": { "line": 173, "column": 13 }, "end": { "line": 173, "column": 18 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7832, "end": 7854, "loc": { "start": { "line": 173, "column": 19 }, "end": { "line": 173, "column": 41 } }, "object": { "type": "MemberExpression", "start": 7832, "end": 7844, "loc": { "start": { "line": 173, "column": 19 }, "end": { "line": 173, "column": 31 } }, "object": { "type": "ThisExpression", "start": 7832, "end": 7836, "loc": { "start": { "line": 173, "column": 19 }, "end": { "line": 173, "column": 23 } } }, "property": { "type": "Identifier", "start": 7837, "end": 7844, "loc": { "start": { "line": 173, "column": 24 }, "end": { "line": 173, "column": 31 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7845, "end": 7854, "loc": { "start": { "line": 173, "column": 32 }, "end": { "line": 173, "column": 41 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 7864, "end": 7904, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 174, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 7864, "end": 7903, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 174, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7864, "end": 7898, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 174, "column": 40 } }, "object": { "type": "MemberExpression", "start": 7864, "end": 7874, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 174, "column": 16 } }, "object": { "type": "ThisExpression", "start": 7864, "end": 7868, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 174, "column": 10 } } }, "property": { "type": "Identifier", "start": 7869, "end": 7874, "loc": { "start": { "line": 174, "column": 11 }, "end": { "line": 174, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7875, "end": 7897, "loc": { "start": { "line": 174, "column": 17 }, "end": { "line": 174, "column": 39 } }, "object": { "type": "MemberExpression", "start": 7875, "end": 7887, "loc": { "start": { "line": 174, "column": 17 }, "end": { "line": 174, "column": 29 } }, "object": { "type": "ThisExpression", "start": 7875, "end": 7879, "loc": { "start": { "line": 174, "column": 17 }, "end": { "line": 174, "column": 21 } } }, "property": { "type": "Identifier", "start": 7880, "end": 7887, "loc": { "start": { "line": 174, "column": 22 }, "end": { "line": 174, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7888, "end": 7897, "loc": { "start": { "line": 174, "column": 30 }, "end": { "line": 174, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 7901, "end": 7903, "loc": { "start": { "line": 174, "column": 43 }, "end": { "line": 174, "column": 45 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 7912, "end": 8040, "loc": { "start": { "line": 176, "column": 4 }, "end": { "line": 176, "column": 132 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7916, "end": 8039, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 131 } }, "id": { "type": "Identifier", "start": 7916, "end": 7928, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 20 }, "identifierName": "updatedInput" }, "name": "updatedInput" }, "init": { "type": "CallExpression", "start": 7931, "end": 8039, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 176, "column": 131 } }, "callee": { "type": "MemberExpression", "start": 7931, "end": 7961, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 176, "column": 53 } }, "object": { "type": "MemberExpression", "start": 7931, "end": 7945, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 176, "column": 37 } }, "object": { "type": "ThisExpression", "start": 7931, "end": 7935, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 176, "column": 27 } } }, "property": { "type": "Identifier", "start": 7936, "end": 7945, "loc": { "start": { "line": 176, "column": 28 }, "end": { "line": 176, "column": 37 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 7946, "end": 7961, "loc": { "start": { "line": 176, "column": 38 }, "end": { "line": 176, "column": 53 }, "identifierName": "getUpdatedInput" }, "name": "getUpdatedInput" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7962, "end": 7968, "loc": { "start": { "line": 176, "column": 54 }, "end": { "line": 176, "column": 60 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 7970, "end": 8004, "loc": { "start": { "line": 176, "column": 62 }, "end": { "line": 176, "column": 96 } }, "object": { "type": "MemberExpression", "start": 7970, "end": 7980, "loc": { "start": { "line": 176, "column": 62 }, "end": { "line": 176, "column": 72 } }, "object": { "type": "ThisExpression", "start": 7970, "end": 7974, "loc": { "start": { "line": 176, "column": 62 }, "end": { "line": 176, "column": 66 } } }, "property": { "type": "Identifier", "start": 7975, "end": 7980, "loc": { "start": { "line": 176, "column": 67 }, "end": { "line": 176, "column": 72 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7981, "end": 8003, "loc": { "start": { "line": 176, "column": 73 }, "end": { "line": 176, "column": 95 } }, "object": { "type": "MemberExpression", "start": 7981, "end": 7993, "loc": { "start": { "line": 176, "column": 73 }, "end": { "line": 176, "column": 85 } }, "object": { "type": "ThisExpression", "start": 7981, "end": 7985, "loc": { "start": { "line": 176, "column": 73 }, "end": { "line": 176, "column": 77 } } }, "property": { "type": "Identifier", "start": 7986, "end": 7993, "loc": { "start": { "line": 176, "column": 78 }, "end": { "line": 176, "column": 85 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7994, "end": 8003, "loc": { "start": { "line": 176, "column": 86 }, "end": { "line": 176, "column": 95 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, { "type": "MemberExpression", "start": 8006, "end": 8018, "loc": { "start": { "line": 176, "column": 98 }, "end": { "line": 176, "column": 110 } }, "object": { "type": "ThisExpression", "start": 8006, "end": 8010, "loc": { "start": { "line": 176, "column": 98 }, "end": { "line": 176, "column": 102 } } }, "property": { "type": "Identifier", "start": 8011, "end": 8018, "loc": { "start": { "line": 176, "column": 103 }, "end": { "line": 176, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "MemberExpression", "start": 8020, "end": 8038, "loc": { "start": { "line": 176, "column": 112 }, "end": { "line": 176, "column": 130 } }, "object": { "type": "ThisExpression", "start": 8020, "end": 8024, "loc": { "start": { "line": 176, "column": 112 }, "end": { "line": 176, "column": 116 } } }, "property": { "type": "Identifier", "start": 8025, "end": 8038, "loc": { "start": { "line": 176, "column": 117 }, "end": { "line": 176, "column": 130 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 8048, "end": 8802, "loc": { "start": { "line": 178, "column": 4 }, "end": { "line": 203, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 8051, "end": 8102, "loc": { "start": { "line": 178, "column": 7 }, "end": { "line": 178, "column": 58 } }, "left": { "type": "MemberExpression", "start": 8051, "end": 8085, "loc": { "start": { "line": 178, "column": 7 }, "end": { "line": 178, "column": 41 } }, "object": { "type": "MemberExpression", "start": 8051, "end": 8061, "loc": { "start": { "line": 178, "column": 7 }, "end": { "line": 178, "column": 17 } }, "object": { "type": "ThisExpression", "start": 8051, "end": 8055, "loc": { "start": { "line": 178, "column": 7 }, "end": { "line": 178, "column": 11 } } }, "property": { "type": "Identifier", "start": 8056, "end": 8061, "loc": { "start": { "line": 178, "column": 12 }, "end": { "line": 178, "column": 17 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8062, "end": 8084, "loc": { "start": { "line": 178, "column": 18 }, "end": { "line": 178, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8062, "end": 8074, "loc": { "start": { "line": 178, "column": 18 }, "end": { "line": 178, "column": 30 } }, "object": { "type": "ThisExpression", "start": 8062, "end": 8066, "loc": { "start": { "line": 178, "column": 18 }, "end": { "line": 178, "column": 22 } } }, "property": { "type": "Identifier", "start": 8067, "end": 8074, "loc": { "start": { "line": 178, "column": 23 }, "end": { "line": 178, "column": 30 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8075, "end": 8084, "loc": { "start": { "line": 178, "column": 31 }, "end": { "line": 178, "column": 40 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "operator": "!==", "right": { "type": "Identifier", "start": 8090, "end": 8102, "loc": { "start": { "line": 178, "column": 46 }, "end": { "line": 178, "column": 58 }, "identifierName": "updatedInput" }, "name": "updatedInput" } }, "consequent": { "type": "BlockStatement", "start": 8103, "end": 8802, "loc": { "start": { "line": 178, "column": 59 }, "end": { "line": 203, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 8199, "end": 8332, "loc": { "start": { "line": 183, "column": 6 }, "end": { "line": 185, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 8202, "end": 8298, "loc": { "start": { "line": 183, "column": 9 }, "end": { "line": 183, "column": 105 } }, "left": { "type": "MemberExpression", "start": 8202, "end": 8224, "loc": { "start": { "line": 183, "column": 9 }, "end": { "line": 183, "column": 31 } }, "object": { "type": "MemberExpression", "start": 8202, "end": 8214, "loc": { "start": { "line": 183, "column": 9 }, "end": { "line": 183, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8202, "end": 8206, "loc": { "start": { "line": 183, "column": 9 }, "end": { "line": 183, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8207, "end": 8214, "loc": { "start": { "line": 183, "column": 14 }, "end": { "line": 183, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8215, "end": 8224, "loc": { "start": { "line": 183, "column": 22 }, "end": { "line": 183, "column": 31 }, "identifierName": "maxLength" }, "name": "maxLength" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 8228, "end": 8298, "loc": { "start": { "line": 183, "column": 35 }, "end": { "line": 183, "column": 105 } }, "callee": { "type": "MemberExpression", "start": 8228, "end": 8258, "loc": { "start": { "line": 183, "column": 35 }, "end": { "line": 183, "column": 65 } }, "object": { "type": "MemberExpression", "start": 8228, "end": 8242, "loc": { "start": { "line": 183, "column": 35 }, "end": { "line": 183, "column": 49 } }, "object": { "type": "ThisExpression", "start": 8228, "end": 8232, "loc": { "start": { "line": 183, "column": 35 }, "end": { "line": 183, "column": 39 } } }, "property": { "type": "Identifier", "start": 8233, "end": 8242, "loc": { "start": { "line": 183, "column": 40 }, "end": { "line": 183, "column": 49 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 8243, "end": 8258, "loc": { "start": { "line": 183, "column": 50 }, "end": { "line": 183, "column": 65 }, "identifierName": "handleMaxLength" }, "name": "handleMaxLength" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8259, "end": 8269, "loc": { "start": { "line": 183, "column": 66 }, "end": { "line": 183, "column": 76 } }, "object": { "type": "ThisExpression", "start": 8259, "end": 8263, "loc": { "start": { "line": 183, "column": 66 }, "end": { "line": 183, "column": 70 } } }, "property": { "type": "Identifier", "start": 8264, "end": 8269, "loc": { "start": { "line": 183, "column": 71 }, "end": { "line": 183, "column": 76 }, "identifierName": "input" }, "name": "input" }, "computed": false }, { "type": "MemberExpression", "start": 8271, "end": 8283, "loc": { "start": { "line": 183, "column": 78 }, "end": { "line": 183, "column": 90 } }, "object": { "type": "ThisExpression", "start": 8271, "end": 8275, "loc": { "start": { "line": 183, "column": 78 }, "end": { "line": 183, "column": 82 } } }, "property": { "type": "Identifier", "start": 8276, "end": 8283, "loc": { "start": { "line": 183, "column": 83 }, "end": { "line": 183, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 8285, "end": 8297, "loc": { "start": { "line": 183, "column": 92 }, "end": { "line": 183, "column": 104 }, "identifierName": "updatedInput" }, "name": "updatedInput" } ] }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 8299, "end": 8332, "loc": { "start": { "line": 183, "column": 106 }, "end": { "line": 185, "column": 7 } }, "body": [ { "type": "ReturnStatement", "start": 8310, "end": 8323, "loc": { "start": { "line": 184, "column": 8 }, "end": { "line": 184, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 8317, "end": 8322, "loc": { "start": { "line": 184, "column": 15 }, "end": { "line": 184, "column": 20 } }, "value": false } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", "start": 8114, "end": 8191, "loc": { "start": { "line": 180, "column": 6 }, "end": { "line": 182, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 8342, "end": 8392, "loc": { "start": { "line": 187, "column": 6 }, "end": { "line": 187, "column": 56 } }, "expression": { "type": "AssignmentExpression", "start": 8342, "end": 8391, "loc": { "start": { "line": 187, "column": 6 }, "end": { "line": 187, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8342, "end": 8376, "loc": { "start": { "line": 187, "column": 6 }, "end": { "line": 187, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8342, "end": 8352, "loc": { "start": { "line": 187, "column": 6 }, "end": { "line": 187, "column": 16 } }, "object": { "type": "ThisExpression", "start": 8342, "end": 8346, "loc": { "start": { "line": 187, "column": 6 }, "end": { "line": 187, "column": 10 } } }, "property": { "type": "Identifier", "start": 8347, "end": 8352, "loc": { "start": { "line": 187, "column": 11 }, "end": { "line": 187, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8353, "end": 8375, "loc": { "start": { "line": 187, "column": 17 }, "end": { "line": 187, "column": 39 } }, "object": { "type": "MemberExpression", "start": 8353, "end": 8365, "loc": { "start": { "line": 187, "column": 17 }, "end": { "line": 187, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8353, "end": 8357, "loc": { "start": { "line": 187, "column": 17 }, "end": { "line": 187, "column": 21 } } }, "property": { "type": "Identifier", "start": 8358, "end": 8365, "loc": { "start": { "line": 187, "column": 22 }, "end": { "line": 187, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8366, "end": 8375, "loc": { "start": { "line": 187, "column": 30 }, "end": { "line": 187, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "Identifier", "start": 8379, "end": 8391, "loc": { "start": { "line": 187, "column": 43 }, "end": { "line": 187, "column": 55 }, "identifierName": "updatedInput" }, "name": "updatedInput" } } }, { "type": "IfStatement", "start": 8402, "end": 8463, "loc": { "start": { "line": 189, "column": 6 }, "end": { "line": 190, "column": 50 } }, "test": { "type": "Identifier", "start": 8405, "end": 8410, "loc": { "start": { "line": 189, "column": 9 }, "end": { "line": 189, "column": 14 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "ExpressionStatement", "start": 8421, "end": 8463, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 50 } }, "expression": { "type": "CallExpression", "start": 8421, "end": 8462, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 8421, "end": 8432, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 19 } }, "object": { "type": "Identifier", "start": 8421, "end": 8428, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 8429, "end": 8432, "loc": { "start": { "line": 190, "column": 16 }, "end": { "line": 190, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 8433, "end": 8449, "loc": { "start": { "line": 190, "column": 20 }, "end": { "line": 190, "column": 36 } }, "extra": { "rawValue": "Input changed:", "raw": "'Input changed:'" }, "value": "Input changed:" }, { "type": "MemberExpression", "start": 8451, "end": 8461, "loc": { "start": { "line": 190, "column": 38 }, "end": { "line": 190, "column": 48 } }, "object": { "type": "ThisExpression", "start": 8451, "end": 8455, "loc": { "start": { "line": 190, "column": 38 }, "end": { "line": 190, "column": 42 } } }, "property": { "type": "Identifier", "start": 8456, "end": 8461, "loc": { "start": { "line": 190, "column": 43 }, "end": { "line": 190, "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": 8473, "end": 8532, "loc": { "start": { "line": 192, "column": 6 }, "end": { "line": 194, "column": 9 } } } ] }, { "type": "IfStatement", "start": 8540, "end": 8621, "loc": { "start": { "line": 195, "column": 6 }, "end": { "line": 196, "column": 44 } }, "test": { "type": "MemberExpression", "start": 8543, "end": 8574, "loc": { "start": { "line": 195, "column": 9 }, "end": { "line": 195, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8543, "end": 8555, "loc": { "start": { "line": 195, "column": 9 }, "end": { "line": 195, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8543, "end": 8547, "loc": { "start": { "line": 195, "column": 9 }, "end": { "line": 195, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8548, "end": 8555, "loc": { "start": { "line": 195, "column": 14 }, "end": { "line": 195, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8556, "end": 8574, "loc": { "start": { "line": 195, "column": 22 }, "end": { "line": 195, "column": 40 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8585, "end": 8621, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 44 } }, "expression": { "type": "CallExpression", "start": 8585, "end": 8620, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 8585, "end": 8608, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 31 } }, "object": { "type": "ThisExpression", "start": 8585, "end": 8589, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 12 } } }, "property": { "type": "Identifier", "start": 8590, "end": 8608, "loc": { "start": { "line": 196, "column": 13 }, "end": { "line": 196, "column": 31 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8609, "end": 8619, "loc": { "start": { "line": 196, "column": 32 }, "end": { "line": 196, "column": 42 } }, "object": { "type": "ThisExpression", "start": 8609, "end": 8613, "loc": { "start": { "line": 196, "column": 32 }, "end": { "line": 196, "column": 36 } } }, "property": { "type": "Identifier", "start": 8614, "end": 8619, "loc": { "start": { "line": 196, "column": 37 }, "end": { "line": 196, "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": 8473, "end": 8532, "loc": { "start": { "line": 192, "column": 6 }, "end": { "line": 194, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 8631, "end": 8672, "loc": { "start": { "line": 198, "column": 6 }, "end": { "line": 200, "column": 9 } } } ] }, { "type": "IfStatement", "start": 8680, "end": 8795, "loc": { "start": { "line": 201, "column": 6 }, "end": { "line": 202, "column": 66 } }, "test": { "type": "BinaryExpression", "start": 8683, "end": 8726, "loc": { "start": { "line": 201, "column": 9 }, "end": { "line": 201, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 8683, "end": 8711, "loc": { "start": { "line": 201, "column": 9 }, "end": { "line": 201, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 8690, "end": 8711, "loc": { "start": { "line": 201, "column": 16 }, "end": { "line": 201, "column": 37 } }, "object": { "type": "MemberExpression", "start": 8690, "end": 8702, "loc": { "start": { "line": 201, "column": 16 }, "end": { "line": 201, "column": 28 } }, "object": { "type": "ThisExpression", "start": 8690, "end": 8694, "loc": { "start": { "line": 201, "column": 16 }, "end": { "line": 201, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8695, "end": 8702, "loc": { "start": { "line": 201, "column": 21 }, "end": { "line": 201, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8703, "end": 8711, "loc": { "start": { "line": 201, "column": 29 }, "end": { "line": 201, "column": 37 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 8716, "end": 8726, "loc": { "start": { "line": 201, "column": 42 }, "end": { "line": 201, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8737, "end": 8795, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 66 } }, "expression": { "type": "CallExpression", "start": 8737, "end": 8794, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 8737, "end": 8758, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 29 } }, "object": { "type": "MemberExpression", "start": 8737, "end": 8749, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 20 } }, "object": { "type": "ThisExpression", "start": 8737, "end": 8741, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 12 } } }, "property": { "type": "Identifier", "start": 8742, "end": 8749, "loc": { "start": { "line": 202, "column": 13 }, "end": { "line": 202, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8750, "end": 8758, "loc": { "start": { "line": 202, "column": 21 }, "end": { "line": 202, "column": 29 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8759, "end": 8793, "loc": { "start": { "line": 202, "column": 30 }, "end": { "line": 202, "column": 64 } }, "object": { "type": "MemberExpression", "start": 8759, "end": 8769, "loc": { "start": { "line": 202, "column": 30 }, "end": { "line": 202, "column": 40 } }, "object": { "type": "ThisExpression", "start": 8759, "end": 8763, "loc": { "start": { "line": 202, "column": 30 }, "end": { "line": 202, "column": 34 } } }, "property": { "type": "Identifier", "start": 8764, "end": 8769, "loc": { "start": { "line": 202, "column": 35 }, "end": { "line": 202, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8770, "end": 8792, "loc": { "start": { "line": 202, "column": 41 }, "end": { "line": 202, "column": 63 } }, "object": { "type": "MemberExpression", "start": 8770, "end": 8782, "loc": { "start": { "line": 202, "column": 41 }, "end": { "line": 202, "column": 53 } }, "object": { "type": "ThisExpression", "start": 8770, "end": 8774, "loc": { "start": { "line": 202, "column": 41 }, "end": { "line": 202, "column": 45 } } }, "property": { "type": "Identifier", "start": 8775, "end": 8782, "loc": { "start": { "line": 202, "column": 46 }, "end": { "line": 202, "column": 53 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8783, "end": 8792, "loc": { "start": { "line": 202, "column": 54 }, "end": { "line": 202, "column": 63 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 8631, "end": 8672, "loc": { "start": { "line": 198, "column": 6 }, "end": { "line": 200, "column": 9 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 8814, "end": 8875, "loc": { "start": { "line": 205, "column": 4 }, "end": { "line": 207, "column": 5 } }, "test": { "type": "Identifier", "start": 8817, "end": 8822, "loc": { "start": { "line": 205, "column": 7 }, "end": { "line": 205, "column": 12 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "BlockStatement", "start": 8823, "end": 8875, "loc": { "start": { "line": 205, "column": 13 }, "end": { "line": 207, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 8832, "end": 8868, "loc": { "start": { "line": 206, "column": 6 }, "end": { "line": 206, "column": 42 } }, "expression": { "type": "CallExpression", "start": 8832, "end": 8867, "loc": { "start": { "line": 206, "column": 6 }, "end": { "line": 206, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 8832, "end": 8843, "loc": { "start": { "line": 206, "column": 6 }, "end": { "line": 206, "column": 17 } }, "object": { "type": "Identifier", "start": 8832, "end": 8839, "loc": { "start": { "line": 206, "column": 6 }, "end": { "line": 206, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 8840, "end": 8843, "loc": { "start": { "line": 206, "column": 14 }, "end": { "line": 206, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 8844, "end": 8858, "loc": { "start": { "line": 206, "column": 18 }, "end": { "line": 206, "column": 32 } }, "extra": { "rawValue": "Key pressed:", "raw": "\"Key pressed:\"" }, "value": "Key pressed:" }, { "type": "Identifier", "start": 8860, "end": 8866, "loc": { "start": { "line": 206, "column": 34 }, "end": { "line": 206, "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": 7377, "end": 7489, "loc": { "start": { "line": 154, "column": 2 }, "end": { "line": 157, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", "start": 8886, "end": 8927, "loc": { "start": { "line": 210, "column": 2 }, "end": { "line": 212, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 8931, "end": 8957, "loc": { "start": { "line": 213, "column": 2 }, "end": { "line": 213, "column": 28 } } } ] }, { "type": "ClassMethod", "start": 8961, "end": 9820, "loc": { "start": { "line": 214, "column": 2 }, "end": { "line": 246, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8961, "end": 8982, "loc": { "start": { "line": 214, "column": 2 }, "end": { "line": 214, "column": 23 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8983, "end": 8989, "loc": { "start": { "line": 214, "column": 24 }, "end": { "line": 214, "column": 30 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 8991, "end": 8992, "loc": { "start": { "line": 214, "column": 32 }, "end": { "line": 214, "column": 33 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "BlockStatement", "start": 8993, "end": 9820, "loc": { "start": { "line": 214, "column": 34 }, "end": { "line": 246, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9085, "end": 9109, "loc": { "start": { "line": 218, "column": 4 }, "end": { "line": 218, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 9085, "end": 9108, "loc": { "start": { "line": 218, "column": 4 }, "end": { "line": 218, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9085, "end": 9101, "loc": { "start": { "line": 218, "column": 4 }, "end": { "line": 218, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9085, "end": 9089, "loc": { "start": { "line": 218, "column": 4 }, "end": { "line": 218, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 9090, "end": 9101, "loc": { "start": { "line": 218, "column": 9 }, "end": { "line": 218, "column": 20 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 9104, "end": 9108, "loc": { "start": { "line": 218, "column": 23 }, "end": { "line": 218, "column": 27 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n ", "start": 9000, "end": 9079, "loc": { "start": { "line": 215, "column": 4 }, "end": { "line": 217, "column": 7 } } } ] }, { "type": "IfStatement", "start": 9117, "end": 9198, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 221, "column": 48 } }, "test": { "type": "MemberExpression", "start": 9120, "end": 9147, "loc": { "start": { "line": 220, "column": 7 }, "end": { "line": 220, "column": 34 } }, "object": { "type": "ThisExpression", "start": 9120, "end": 9124, "loc": { "start": { "line": 220, "column": 7 }, "end": { "line": 220, "column": 11 } } }, "property": { "type": "Identifier", "start": 9125, "end": 9147, "loc": { "start": { "line": 220, "column": 12 }, "end": { "line": 220, "column": 34 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 9156, "end": 9198, "loc": { "start": { "line": 221, "column": 6 }, "end": { "line": 221, "column": 48 } }, "expression": { "type": "CallExpression", "start": 9156, "end": 9197, "loc": { "start": { "line": 221, "column": 6 }, "end": { "line": 221, "column": 47 } }, "callee": { "type": "Identifier", "start": 9156, "end": 9168, "loc": { "start": { "line": 221, "column": 6 }, "end": { "line": 221, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 9169, "end": 9196, "loc": { "start": { "line": 221, "column": 19 }, "end": { "line": 221, "column": 46 } }, "object": { "type": "ThisExpression", "start": 9169, "end": 9173, "loc": { "start": { "line": 221, "column": 19 }, "end": { "line": 221, "column": 23 } } }, "property": { "type": "Identifier", "start": 9174, "end": 9196, "loc": { "start": { "line": 221, "column": 24 }, "end": { "line": 221, "column": 46 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false } ] } }, "alternate": null }, { "type": "IfStatement", "start": 9206, "end": 9265, "loc": { "start": { "line": 223, "column": 4 }, "end": { "line": 224, "column": 37 } }, "test": { "type": "MemberExpression", "start": 9209, "end": 9225, "loc": { "start": { "line": 223, "column": 7 }, "end": { "line": 223, "column": 23 } }, "object": { "type": "ThisExpression", "start": 9209, "end": 9213, "loc": { "start": { "line": 223, "column": 7 }, "end": { "line": 223, "column": 11 } } }, "property": { "type": "Identifier", "start": 9214, "end": 9225, "loc": { "start": { "line": 223, "column": 12 }, "end": { "line": 223, "column": 23 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 9234, "end": 9265, "loc": { "start": { "line": 224, "column": 6 }, "end": { "line": 224, "column": 37 } }, "expression": { "type": "CallExpression", "start": 9234, "end": 9264, "loc": { "start": { "line": 224, "column": 6 }, "end": { "line": 224, "column": 36 } }, "callee": { "type": "Identifier", "start": 9234, "end": 9246, "loc": { "start": { "line": 224, "column": 6 }, "end": { "line": 224, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 9247, "end": 9263, "loc": { "start": { "line": 224, "column": 19 }, "end": { "line": 224, "column": 35 } }, "object": { "type": "ThisExpression", "start": 9247, "end": 9251, "loc": { "start": { "line": 224, "column": 19 }, "end": { "line": 224, "column": 23 } } }, "property": { "type": "Identifier", "start": 9252, "end": 9263, "loc": { "start": { "line": 224, "column": 24 }, "end": { "line": 224, "column": 35 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false } ] }, "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", "start": 9273, "end": 9350, "loc": { "start": { "line": 226, "column": 4 }, "end": { "line": 228, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 9356, "end": 9815, "loc": { "start": { "line": 229, "column": 4 }, "end": { "line": 245, "column": 12 } }, "expression": { "type": "AssignmentExpression", "start": 9356, "end": 9814, "loc": { "start": { "line": 229, "column": 4 }, "end": { "line": 245, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9356, "end": 9372, "loc": { "start": { "line": 229, "column": 4 }, "end": { "line": 229, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9356, "end": 9360, "loc": { "start": { "line": 229, "column": 4 }, "end": { "line": 229, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 9361, "end": 9372, "loc": { "start": { "line": 229, "column": 9 }, "end": { "line": 229, "column": 20 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 9375, "end": 9814, "loc": { "start": { "line": 229, "column": 23 }, "end": { "line": 245, "column": 11 } }, "callee": { "type": "Identifier", "start": 9375, "end": 9385, "loc": { "start": { "line": 229, "column": 23 }, "end": { "line": 229, "column": 33 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 9386, "end": 9808, "loc": { "start": { "line": 229, "column": 34 }, "end": { "line": 245, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 9392, "end": 9808, "loc": { "start": { "line": 229, "column": 40 }, "end": { "line": 245, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 9401, "end": 9762, "loc": { "start": { "line": 230, "column": 6 }, "end": { "line": 243, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 9414, "end": 9618, "loc": { "start": { "line": 231, "column": 8 }, "end": { "line": 237, "column": 9 } }, "left": { "type": "MemberExpression", "start": 9414, "end": 9430, "loc": { "start": { "line": 231, "column": 8 }, "end": { "line": 231, "column": 24 } }, "object": { "type": "ThisExpression", "start": 9414, "end": 9418, "loc": { "start": { "line": 231, "column": 8 }, "end": { "line": 231, "column": 12 } } }, "property": { "type": "Identifier", "start": 9419, "end": 9430, "loc": { "start": { "line": 231, "column": 13 }, "end": { "line": 231, "column": 24 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "operator": "&&", "right": { "type": "LogicalExpression", "start": 9457, "end": 9607, "loc": { "start": { "line": 233, "column": 10 }, "end": { "line": 236, "column": 28 } }, "left": { "type": "LogicalExpression", "start": 9457, "end": 9574, "loc": { "start": { "line": 233, "column": 10 }, "end": { "line": 235, "column": 30 } }, "left": { "type": "LogicalExpression", "start": 9457, "end": 9539, "loc": { "start": { "line": 233, "column": 10 }, "end": { "line": 234, "column": 29 } }, "left": { "type": "LogicalExpression", "start": 9458, "end": 9504, "loc": { "start": { "line": 233, "column": 11 }, "end": { "line": 233, "column": 57 } }, "left": { "type": "UnaryExpression", "start": 9458, "end": 9479, "loc": { "start": { "line": 233, "column": 11 }, "end": { "line": 233, "column": 32 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 9459, "end": 9479, "loc": { "start": { "line": 233, "column": 12 }, "end": { "line": 233, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 9459, "end": 9474, "loc": { "start": { "line": 233, "column": 12 }, "end": { "line": 233, "column": 27 } }, "object": { "type": "Identifier", "start": 9459, "end": 9465, "loc": { "start": { "line": 233, "column": 12 }, "end": { "line": 233, "column": 18 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 9466, "end": 9474, "loc": { "start": { "line": 233, "column": 19 }, "end": { "line": 233, "column": 27 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9475, "end": 9478, "loc": { "start": { "line": 233, "column": 28 }, "end": { "line": 233, "column": 31 } }, "extra": { "rawValue": "{", "raw": "\"{\"" }, "value": "{" } ] }, "extra": { "parenthesizedArgument": false } }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 9483, "end": 9504, "loc": { "start": { "line": 233, "column": 36 }, "end": { "line": 233, "column": 57 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 9484, "end": 9504, "loc": { "start": { "line": 233, "column": 37 }, "end": { "line": 233, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 9484, "end": 9499, "loc": { "start": { "line": 233, "column": 37 }, "end": { "line": 233, "column": 52 } }, "object": { "type": "Identifier", "start": 9484, "end": 9490, "loc": { "start": { "line": 233, "column": 37 }, "end": { "line": 233, "column": 43 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 9491, "end": 9499, "loc": { "start": { "line": 233, "column": 44 }, "end": { "line": 233, "column": 52 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9500, "end": 9503, "loc": { "start": { "line": 233, "column": 53 }, "end": { "line": 233, "column": 56 } }, "extra": { "rawValue": "}", "raw": "\"}\"" }, "value": "}" } ] }, "extra": { "parenthesizedArgument": false } }, "extra": { "parenthesized": true, "parenStart": 9457 } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9520, "end": 9539, "loc": { "start": { "line": 234, "column": 10 }, "end": { "line": 234, "column": 29 } }, "left": { "type": "Identifier", "start": 9520, "end": 9526, "loc": { "start": { "line": 234, "column": 10 }, "end": { "line": 234, "column": 16 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9531, "end": 9539, "loc": { "start": { "line": 234, "column": 21 }, "end": { "line": 234, "column": 29 } }, "extra": { "rawValue": "{bksp}", "raw": "\"{bksp}\"" }, "value": "{bksp}" } } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9554, "end": 9574, "loc": { "start": { "line": 235, "column": 10 }, "end": { "line": 235, "column": 30 } }, "left": { "type": "Identifier", "start": 9554, "end": 9560, "loc": { "start": { "line": 235, "column": 10 }, "end": { "line": 235, "column": 16 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9565, "end": 9574, "loc": { "start": { "line": 235, "column": 21 }, "end": { "line": 235, "column": 30 } }, "extra": { "rawValue": "{space}", "raw": "\"{space}\"" }, "value": "{space}" } } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9589, "end": 9607, "loc": { "start": { "line": 236, "column": 10 }, "end": { "line": 236, "column": 28 } }, "left": { "type": "Identifier", "start": 9589, "end": 9595, "loc": { "start": { "line": 236, "column": 10 }, "end": { "line": 236, "column": 16 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9600, "end": 9607, "loc": { "start": { "line": 236, "column": 21 }, "end": { "line": 236, "column": 28 } }, "extra": { "rawValue": "{tab}", "raw": "\"{tab}\"" }, "value": "{tab}" } }, "extra": { "parenthesized": true, "parenStart": 9444 } } }, "consequent": { "type": "BlockStatement", "start": 9627, "end": 9762, "loc": { "start": { "line": 238, "column": 7 }, "end": { "line": 243, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 9638, "end": 9708, "loc": { "start": { "line": 239, "column": 8 }, "end": { "line": 240, "column": 46 } }, "test": { "type": "MemberExpression", "start": 9641, "end": 9659, "loc": { "start": { "line": 239, "column": 11 }, "end": { "line": 239, "column": 29 } }, "object": { "type": "MemberExpression", "start": 9641, "end": 9653, "loc": { "start": { "line": 239, "column": 11 }, "end": { "line": 239, "column": 23 } }, "object": { "type": "ThisExpression", "start": 9641, "end": 9645, "loc": { "start": { "line": 239, "column": 11 }, "end": { "line": 239, "column": 15 } } }, "property": { "type": "Identifier", "start": 9646, "end": 9653, "loc": { "start": { "line": 239, "column": 16 }, "end": { "line": 239, "column": 23 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 9654, "end": 9659, "loc": { "start": { "line": 239, "column": 24 }, "end": { "line": 239, "column": 29 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 9672, "end": 9708, "loc": { "start": { "line": 240, "column": 10 }, "end": { "line": 240, "column": 46 } }, "expression": { "type": "CallExpression", "start": 9672, "end": 9707, "loc": { "start": { "line": 240, "column": 10 }, "end": { "line": 240, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 9672, "end": 9683, "loc": { "start": { "line": 240, "column": 10 }, "end": { "line": 240, "column": 21 } }, "object": { "type": "Identifier", "start": 9672, "end": 9679, "loc": { "start": { "line": 240, "column": 10 }, "end": { "line": 240, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 9680, "end": 9683, "loc": { "start": { "line": 240, "column": 18 }, "end": { "line": 240, "column": 21 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9684, "end": 9698, "loc": { "start": { "line": 240, "column": 22 }, "end": { "line": 240, "column": 36 } }, "extra": { "rawValue": "Button held:", "raw": "\"Button held:\"" }, "value": "Button held:" }, { "type": "Identifier", "start": 9700, "end": 9706, "loc": { "start": { "line": 240, "column": 38 }, "end": { "line": 240, "column": 44 }, "identifierName": "button" }, "name": "button" } ] } }, "alternate": null }, { "type": "ExpressionStatement", "start": 9720, "end": 9753, "loc": { "start": { "line": 242, "column": 8 }, "end": { "line": 242, "column": 41 } }, "expression": { "type": "CallExpression", "start": 9720, "end": 9752, "loc": { "start": { "line": 242, "column": 8 }, "end": { "line": 242, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 9720, "end": 9741, "loc": { "start": { "line": 242, "column": 8 }, "end": { "line": 242, "column": 29 } }, "object": { "type": "ThisExpression", "start": 9720, "end": 9724, "loc": { "start": { "line": 242, "column": 8 }, "end": { "line": 242, "column": 12 } } }, "property": { "type": "Identifier", "start": 9725, "end": 9741, "loc": { "start": { "line": 242, "column": 13 }, "end": { "line": 242, "column": 29 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 9742, "end": 9748, "loc": { "start": { "line": 242, "column": 30 }, "end": { "line": 242, "column": 36 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 9750, "end": 9751, "loc": { "start": { "line": 242, "column": 38 }, "end": { "line": 242, "column": 39 }, "identifierName": "e" }, "name": "e" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 9770, "end": 9801, "loc": { "start": { "line": 244, "column": 6 }, "end": { "line": 244, "column": 37 } }, "expression": { "type": "CallExpression", "start": 9770, "end": 9800, "loc": { "start": { "line": 244, "column": 6 }, "end": { "line": 244, "column": 36 } }, "callee": { "type": "Identifier", "start": 9770, "end": 9782, "loc": { "start": { "line": 244, "column": 6 }, "end": { "line": 244, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 9783, "end": 9799, "loc": { "start": { "line": 244, "column": 19 }, "end": { "line": 244, "column": 35 } }, "object": { "type": "ThisExpression", "start": 9783, "end": 9787, "loc": { "start": { "line": 244, "column": 19 }, "end": { "line": 244, "column": 23 } } }, "property": { "type": "Identifier", "start": 9788, "end": 9799, "loc": { "start": { "line": 244, "column": 24 }, "end": { "line": 244, "column": 35 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false } ] } } ], "directives": [] } }, { "type": "NumericLiteral", "start": 9810, "end": 9813, "loc": { "start": { "line": 245, "column": 7 }, "end": { "line": 245, "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": 9273, "end": 9350, "loc": { "start": { "line": 226, "column": 4 }, "end": { "line": 228, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", "start": 8886, "end": 8927, "loc": { "start": { "line": 210, "column": 2 }, "end": { "line": 212, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 8931, "end": 8957, "loc": { "start": { "line": 213, "column": 2 }, "end": { "line": 213, "column": 28 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", "start": 9826, "end": 9865, "loc": { "start": { "line": 248, "column": 2 }, "end": { "line": 250, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 9869, "end": 10014, "loc": { "start": { "line": 251, "column": 2 }, "end": { "line": 255, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9869, "end": 9888, "loc": { "start": { "line": 251, "column": 2 }, "end": { "line": 251, "column": 21 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 9890, "end": 10014, "loc": { "start": { "line": 251, "column": 23 }, "end": { "line": 255, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9897, "end": 9922, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 9897, "end": 9921, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9897, "end": 9913, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9897, "end": 9901, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 8 } } }, "property": { "type": "Identifier", "start": 9902, "end": 9913, "loc": { "start": { "line": 252, "column": 9 }, "end": { "line": 252, "column": 20 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 9916, "end": 9921, "loc": { "start": { "line": 252, "column": 23 }, "end": { "line": 252, "column": 28 } }, "value": false } } }, { "type": "IfStatement", "start": 9928, "end": 10009, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 254, "column": 48 } }, "test": { "type": "MemberExpression", "start": 9931, "end": 9958, "loc": { "start": { "line": 253, "column": 7 }, "end": { "line": 253, "column": 34 } }, "object": { "type": "ThisExpression", "start": 9931, "end": 9935, "loc": { "start": { "line": 253, "column": 7 }, "end": { "line": 253, "column": 11 } } }, "property": { "type": "Identifier", "start": 9936, "end": 9958, "loc": { "start": { "line": 253, "column": 12 }, "end": { "line": 253, "column": 34 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 9967, "end": 10009, "loc": { "start": { "line": 254, "column": 6 }, "end": { "line": 254, "column": 48 } }, "expression": { "type": "CallExpression", "start": 9967, "end": 10008, "loc": { "start": { "line": 254, "column": 6 }, "end": { "line": 254, "column": 47 } }, "callee": { "type": "Identifier", "start": 9967, "end": 9979, "loc": { "start": { "line": 254, "column": 6 }, "end": { "line": 254, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 9980, "end": 10007, "loc": { "start": { "line": 254, "column": 19 }, "end": { "line": 254, "column": 46 } }, "object": { "type": "ThisExpression", "start": 9980, "end": 9984, "loc": { "start": { "line": 254, "column": 19 }, "end": { "line": 254, "column": 23 } } }, "property": { "type": "Identifier", "start": 9985, "end": 10007, "loc": { "start": { "line": 254, "column": 24 }, "end": { "line": 254, "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": 9826, "end": 9865, "loc": { "start": { "line": 248, "column": 2 }, "end": { "line": 250, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", "start": 10020, "end": 10056, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 259, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 10060, "end": 10086, "loc": { "start": { "line": 260, "column": 2 }, "end": { "line": 260, "column": 28 } } } ] }, { "type": "ClassMethod", "start": 10090, "end": 10359, "loc": { "start": { "line": 261, "column": 2 }, "end": { "line": 269, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10090, "end": 10106, "loc": { "start": { "line": 261, "column": 2 }, "end": { "line": 261, "column": 18 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10107, "end": 10113, "loc": { "start": { "line": 261, "column": 19 }, "end": { "line": 261, "column": 25 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 10114, "end": 10359, "loc": { "start": { "line": 261, "column": 26 }, "end": { "line": 269, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10213, "end": 10354, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 268, "column": 12 } }, "expression": { "type": "AssignmentExpression", "start": 10213, "end": 10353, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 268, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10213, "end": 10240, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 265, "column": 31 } }, "object": { "type": "ThisExpression", "start": 10213, "end": 10217, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 265, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 10218, "end": 10240, "loc": { "start": { "line": 265, "column": 9 }, "end": { "line": 265, "column": 31 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 10243, "end": 10353, "loc": { "start": { "line": 265, "column": 34 }, "end": { "line": 268, "column": 11 } }, "callee": { "type": "Identifier", "start": 10243, "end": 10253, "loc": { "start": { "line": 265, "column": 34 }, "end": { "line": 265, "column": 44 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10254, "end": 10347, "loc": { "start": { "line": 265, "column": 45 }, "end": { "line": 268, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 10260, "end": 10347, "loc": { "start": { "line": 265, "column": 51 }, "end": { "line": 268, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10269, "end": 10302, "loc": { "start": { "line": 266, "column": 6 }, "end": { "line": 266, "column": 39 } }, "expression": { "type": "CallExpression", "start": 10269, "end": 10301, "loc": { "start": { "line": 266, "column": 6 }, "end": { "line": 266, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 10269, "end": 10293, "loc": { "start": { "line": 266, "column": 6 }, "end": { "line": 266, "column": 30 } }, "object": { "type": "ThisExpression", "start": 10269, "end": 10273, "loc": { "start": { "line": 266, "column": 6 }, "end": { "line": 266, "column": 10 } } }, "property": { "type": "Identifier", "start": 10274, "end": 10293, "loc": { "start": { "line": 266, "column": 11 }, "end": { "line": 266, "column": 30 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 10294, "end": 10300, "loc": { "start": { "line": 266, "column": 31 }, "end": { "line": 266, "column": 37 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 10310, "end": 10340, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 36 } }, "expression": { "type": "CallExpression", "start": 10310, "end": 10339, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 10310, "end": 10331, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 27 } }, "object": { "type": "ThisExpression", "start": 10310, "end": 10314, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 10 } } }, "property": { "type": "Identifier", "start": 10315, "end": 10331, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 267, "column": 27 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 10332, "end": 10338, "loc": { "start": { "line": 267, "column": 28 }, "end": { "line": 267, "column": 34 }, "identifierName": "button" }, "name": "button" } ] } } ], "directives": [] } }, { "type": "NumericLiteral", "start": 10349, "end": 10352, "loc": { "start": { "line": 268, "column": 7 }, "end": { "line": 268, "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": 10121, "end": 10207, "loc": { "start": { "line": 262, "column": 4 }, "end": { "line": 264, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", "start": 10020, "end": 10056, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 259, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 10060, "end": 10086, "loc": { "start": { "line": 260, "column": 2 }, "end": { "line": 260, "column": 28 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 10365, "end": 10462, "loc": { "start": { "line": 271, "column": 2 }, "end": { "line": 273, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10466, "end": 10578, "loc": { "start": { "line": 274, "column": 2 }, "end": { "line": 278, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10466, "end": 10484, "loc": { "start": { "line": 274, "column": 2 }, "end": { "line": 274, "column": 20 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 10486, "end": 10578, "loc": { "start": { "line": 274, "column": 22 }, "end": { "line": 278, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10493, "end": 10573, "loc": { "start": { "line": 275, "column": 4 }, "end": { "line": 277, "column": 7 } }, "expression": { "type": "CallExpression", "start": 10493, "end": 10572, "loc": { "start": { "line": 275, "column": 4 }, "end": { "line": 277, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 10493, "end": 10506, "loc": { "start": { "line": 275, "column": 4 }, "end": { "line": 275, "column": 17 } }, "object": { "type": "ThisExpression", "start": 10493, "end": 10497, "loc": { "start": { "line": 275, "column": 4 }, "end": { "line": 275, "column": 8 } } }, "property": { "type": "Identifier", "start": 10498, "end": 10506, "loc": { "start": { "line": 275, "column": 9 }, "end": { "line": 275, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10507, "end": 10571, "loc": { "start": { "line": 275, "column": 18 }, "end": { "line": 277, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10508, "end": 10516, "loc": { "start": { "line": 275, "column": 19 }, "end": { "line": 275, "column": 27 }, "identifierName": "instance" }, "name": "instance" } ], "body": { "type": "BlockStatement", "start": 10521, "end": 10571, "loc": { "start": { "line": 275, "column": 32 }, "end": { "line": 277, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10530, "end": 10564, "loc": { "start": { "line": 276, "column": 6 }, "end": { "line": 276, "column": 40 } }, "expression": { "type": "CallExpression", "start": 10530, "end": 10563, "loc": { "start": { "line": 276, "column": 6 }, "end": { "line": 276, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 10530, "end": 10551, "loc": { "start": { "line": 276, "column": 6 }, "end": { "line": 276, "column": 27 } }, "object": { "type": "Identifier", "start": 10530, "end": 10538, "loc": { "start": { "line": 276, "column": 6 }, "end": { "line": 276, "column": 14 }, "identifierName": "instance" }, "name": "instance" }, "property": { "type": "Identifier", "start": 10539, "end": 10551, "loc": { "start": { "line": 276, "column": 15 }, "end": { "line": 276, "column": 27 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 10552, "end": 10562, "loc": { "start": { "line": 276, "column": 28 }, "end": { "line": 276, "column": 38 } }, "object": { "type": "ThisExpression", "start": 10552, "end": 10556, "loc": { "start": { "line": 276, "column": 28 }, "end": { "line": 276, "column": 32 } } }, "property": { "type": "Identifier", "start": 10557, "end": 10562, "loc": { "start": { "line": 276, "column": 33 }, "end": { "line": 276, "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": 10365, "end": 10462, "loc": { "start": { "line": 271, "column": 2 }, "end": { "line": 273, "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": 10586, "end": 10704, "loc": { "start": { "line": 280, "column": 2 }, "end": { "line": 283, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10708, "end": 10983, "loc": { "start": { "line": 284, "column": 2 }, "end": { "line": 293, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10708, "end": 10718, "loc": { "start": { "line": 284, "column": 2 }, "end": { "line": 284, "column": 12 }, "identifierName": "clearInput" }, "name": "clearInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10719, "end": 10728, "loc": { "start": { "line": 284, "column": 13 }, "end": { "line": 284, "column": 22 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 10729, "end": 10983, "loc": { "start": { "line": 284, "column": 23 }, "end": { "line": 293, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10736, "end": 10784, "loc": { "start": { "line": 285, "column": 4 }, "end": { "line": 285, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 10736, "end": 10783, "loc": { "start": { "line": 285, "column": 4 }, "end": { "line": 285, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 10736, "end": 10745, "loc": { "start": { "line": 285, "column": 4 }, "end": { "line": 285, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 10748, "end": 10783, "loc": { "start": { "line": 285, "column": 16 }, "end": { "line": 285, "column": 51 } }, "left": { "type": "Identifier", "start": 10748, "end": 10757, "loc": { "start": { "line": 285, "column": 16 }, "end": { "line": 285, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 10761, "end": 10783, "loc": { "start": { "line": 285, "column": 29 }, "end": { "line": 285, "column": 51 } }, "object": { "type": "MemberExpression", "start": 10761, "end": 10773, "loc": { "start": { "line": 285, "column": 29 }, "end": { "line": 285, "column": 41 } }, "object": { "type": "ThisExpression", "start": 10761, "end": 10765, "loc": { "start": { "line": 285, "column": 29 }, "end": { "line": 285, "column": 33 } } }, "property": { "type": "Identifier", "start": 10766, "end": 10773, "loc": { "start": { "line": 285, "column": 34 }, "end": { "line": 285, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10774, "end": 10783, "loc": { "start": { "line": 285, "column": 42 }, "end": { "line": 285, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 10790, "end": 10830, "loc": { "start": { "line": 286, "column": 4 }, "end": { "line": 286, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 10790, "end": 10829, "loc": { "start": { "line": 286, "column": 4 }, "end": { "line": 286, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10790, "end": 10824, "loc": { "start": { "line": 286, "column": 4 }, "end": { "line": 286, "column": 38 } }, "object": { "type": "MemberExpression", "start": 10790, "end": 10800, "loc": { "start": { "line": 286, "column": 4 }, "end": { "line": 286, "column": 14 } }, "object": { "type": "ThisExpression", "start": 10790, "end": 10794, "loc": { "start": { "line": 286, "column": 4 }, "end": { "line": 286, "column": 8 } } }, "property": { "type": "Identifier", "start": 10795, "end": 10800, "loc": { "start": { "line": 286, "column": 9 }, "end": { "line": 286, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 10801, "end": 10823, "loc": { "start": { "line": 286, "column": 15 }, "end": { "line": 286, "column": 37 } }, "object": { "type": "MemberExpression", "start": 10801, "end": 10813, "loc": { "start": { "line": 286, "column": 15 }, "end": { "line": 286, "column": 27 } }, "object": { "type": "ThisExpression", "start": 10801, "end": 10805, "loc": { "start": { "line": 286, "column": 15 }, "end": { "line": 286, "column": 19 } } }, "property": { "type": "Identifier", "start": 10806, "end": 10813, "loc": { "start": { "line": 286, "column": 20 }, "end": { "line": 286, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10814, "end": 10823, "loc": { "start": { "line": 286, "column": 28 }, "end": { "line": 286, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 10827, "end": 10829, "loc": { "start": { "line": 286, "column": 41 }, "end": { "line": 286, "column": 43 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10838, "end": 10893, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 290, "column": 7 } } } ] }, { "type": "IfStatement", "start": 10899, "end": 10978, "loc": { "start": { "line": 291, "column": 4 }, "end": { "line": 292, "column": 42 } }, "test": { "type": "MemberExpression", "start": 10902, "end": 10933, "loc": { "start": { "line": 291, "column": 7 }, "end": { "line": 291, "column": 38 } }, "object": { "type": "MemberExpression", "start": 10902, "end": 10914, "loc": { "start": { "line": 291, "column": 7 }, "end": { "line": 291, "column": 19 } }, "object": { "type": "ThisExpression", "start": 10902, "end": 10906, "loc": { "start": { "line": 291, "column": 7 }, "end": { "line": 291, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 10907, "end": 10914, "loc": { "start": { "line": 291, "column": 12 }, "end": { "line": 291, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 10915, "end": 10933, "loc": { "start": { "line": 291, "column": 20 }, "end": { "line": 291, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 10942, "end": 10978, "loc": { "start": { "line": 292, "column": 6 }, "end": { "line": 292, "column": 42 } }, "expression": { "type": "CallExpression", "start": 10942, "end": 10977, "loc": { "start": { "line": 292, "column": 6 }, "end": { "line": 292, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 10942, "end": 10965, "loc": { "start": { "line": 292, "column": 6 }, "end": { "line": 292, "column": 29 } }, "object": { "type": "ThisExpression", "start": 10942, "end": 10946, "loc": { "start": { "line": 292, "column": 6 }, "end": { "line": 292, "column": 10 } } }, "property": { "type": "Identifier", "start": 10947, "end": 10965, "loc": { "start": { "line": 292, "column": 11 }, "end": { "line": 292, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 10966, "end": 10976, "loc": { "start": { "line": 292, "column": 30 }, "end": { "line": 292, "column": 40 } }, "object": { "type": "ThisExpression", "start": 10966, "end": 10970, "loc": { "start": { "line": 292, "column": 30 }, "end": { "line": 292, "column": 34 } } }, "property": { "type": "Identifier", "start": 10971, "end": 10976, "loc": { "start": { "line": 292, "column": 35 }, "end": { "line": 292, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10838, "end": 10893, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 290, "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": 10586, "end": 10704, "loc": { "start": { "line": 280, "column": 2 }, "end": { "line": 283, "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": 10989, "end": 11151, "loc": { "start": { "line": 295, "column": 2 }, "end": { "line": 298, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11155, "end": 11432, "loc": { "start": { "line": 299, "column": 2 }, "end": { "line": 309, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11155, "end": 11163, "loc": { "start": { "line": 299, "column": 2 }, "end": { "line": 299, "column": 10 }, "identifierName": "getInput" }, "name": "getInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11164, "end": 11173, "loc": { "start": { "line": 299, "column": 11 }, "end": { "line": 299, "column": 20 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 11174, "end": 11432, "loc": { "start": { "line": 299, "column": 21 }, "end": { "line": 309, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11181, "end": 11229, "loc": { "start": { "line": 300, "column": 4 }, "end": { "line": 300, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 11181, "end": 11228, "loc": { "start": { "line": 300, "column": 4 }, "end": { "line": 300, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 11181, "end": 11190, "loc": { "start": { "line": 300, "column": 4 }, "end": { "line": 300, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 11193, "end": 11228, "loc": { "start": { "line": 300, "column": 16 }, "end": { "line": 300, "column": 51 } }, "left": { "type": "Identifier", "start": 11193, "end": 11202, "loc": { "start": { "line": 300, "column": 16 }, "end": { "line": 300, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 11206, "end": 11228, "loc": { "start": { "line": 300, "column": 29 }, "end": { "line": 300, "column": 51 } }, "object": { "type": "MemberExpression", "start": 11206, "end": 11218, "loc": { "start": { "line": 300, "column": 29 }, "end": { "line": 300, "column": 41 } }, "object": { "type": "ThisExpression", "start": 11206, "end": 11210, "loc": { "start": { "line": 300, "column": 29 }, "end": { "line": 300, "column": 33 } } }, "property": { "type": "Identifier", "start": 11211, "end": 11218, "loc": { "start": { "line": 300, "column": 34 }, "end": { "line": 300, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11219, "end": 11228, "loc": { "start": { "line": 300, "column": 42 }, "end": { "line": 300, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11237, "end": 11292, "loc": { "start": { "line": 302, "column": 4 }, "end": { "line": 304, "column": 7 } } } ] }, { "type": "IfStatement", "start": 11298, "end": 11377, "loc": { "start": { "line": 305, "column": 4 }, "end": { "line": 306, "column": 42 } }, "test": { "type": "MemberExpression", "start": 11301, "end": 11332, "loc": { "start": { "line": 305, "column": 7 }, "end": { "line": 305, "column": 38 } }, "object": { "type": "MemberExpression", "start": 11301, "end": 11313, "loc": { "start": { "line": 305, "column": 7 }, "end": { "line": 305, "column": 19 } }, "object": { "type": "ThisExpression", "start": 11301, "end": 11305, "loc": { "start": { "line": 305, "column": 7 }, "end": { "line": 305, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11306, "end": 11313, "loc": { "start": { "line": 305, "column": 12 }, "end": { "line": 305, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11314, "end": 11332, "loc": { "start": { "line": 305, "column": 20 }, "end": { "line": 305, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 11341, "end": 11377, "loc": { "start": { "line": 306, "column": 6 }, "end": { "line": 306, "column": 42 } }, "expression": { "type": "CallExpression", "start": 11341, "end": 11376, "loc": { "start": { "line": 306, "column": 6 }, "end": { "line": 306, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 11341, "end": 11364, "loc": { "start": { "line": 306, "column": 6 }, "end": { "line": 306, "column": 29 } }, "object": { "type": "ThisExpression", "start": 11341, "end": 11345, "loc": { "start": { "line": 306, "column": 6 }, "end": { "line": 306, "column": 10 } } }, "property": { "type": "Identifier", "start": 11346, "end": 11364, "loc": { "start": { "line": 306, "column": 11 }, "end": { "line": 306, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11365, "end": 11375, "loc": { "start": { "line": 306, "column": 30 }, "end": { "line": 306, "column": 40 } }, "object": { "type": "ThisExpression", "start": 11365, "end": 11369, "loc": { "start": { "line": 306, "column": 30 }, "end": { "line": 306, "column": 34 } } }, "property": { "type": "Identifier", "start": 11370, "end": 11375, "loc": { "start": { "line": 306, "column": 35 }, "end": { "line": 306, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11237, "end": 11292, "loc": { "start": { "line": 302, "column": 4 }, "end": { "line": 304, "column": 7 } } } ] }, { "type": "ReturnStatement", "start": 11385, "end": 11427, "loc": { "start": { "line": 308, "column": 4 }, "end": { "line": 308, "column": 46 } }, "argument": { "type": "MemberExpression", "start": 11392, "end": 11426, "loc": { "start": { "line": 308, "column": 11 }, "end": { "line": 308, "column": 45 } }, "object": { "type": "MemberExpression", "start": 11392, "end": 11402, "loc": { "start": { "line": 308, "column": 11 }, "end": { "line": 308, "column": 21 } }, "object": { "type": "ThisExpression", "start": 11392, "end": 11396, "loc": { "start": { "line": 308, "column": 11 }, "end": { "line": 308, "column": 15 } } }, "property": { "type": "Identifier", "start": 11397, "end": 11402, "loc": { "start": { "line": 308, "column": 16 }, "end": { "line": 308, "column": 21 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 11403, "end": 11425, "loc": { "start": { "line": 308, "column": 22 }, "end": { "line": 308, "column": 44 } }, "object": { "type": "MemberExpression", "start": 11403, "end": 11415, "loc": { "start": { "line": 308, "column": 22 }, "end": { "line": 308, "column": 34 } }, "object": { "type": "ThisExpression", "start": 11403, "end": 11407, "loc": { "start": { "line": 308, "column": 22 }, "end": { "line": 308, "column": 26 } } }, "property": { "type": "Identifier", "start": 11408, "end": 11415, "loc": { "start": { "line": 308, "column": 27 }, "end": { "line": 308, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11416, "end": 11425, "loc": { "start": { "line": 308, "column": 35 }, "end": { "line": 308, "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": 10989, "end": 11151, "loc": { "start": { "line": 295, "column": 2 }, "end": { "line": 298, "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": 11438, "end": 11598, "loc": { "start": { "line": 311, "column": 2 }, "end": { "line": 315, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11602, "end": 11872, "loc": { "start": { "line": 316, "column": 2 }, "end": { "line": 325, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11602, "end": 11610, "loc": { "start": { "line": 316, "column": 2 }, "end": { "line": 316, "column": 10 }, "identifierName": "setInput" }, "name": "setInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11611, "end": 11616, "loc": { "start": { "line": 316, "column": 11 }, "end": { "line": 316, "column": 16 }, "identifierName": "input" }, "name": "input" }, { "type": "Identifier", "start": 11618, "end": 11627, "loc": { "start": { "line": 316, "column": 18 }, "end": { "line": 316, "column": 27 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 11628, "end": 11872, "loc": { "start": { "line": 316, "column": 28 }, "end": { "line": 325, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11635, "end": 11683, "loc": { "start": { "line": 317, "column": 4 }, "end": { "line": 317, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 11635, "end": 11682, "loc": { "start": { "line": 317, "column": 4 }, "end": { "line": 317, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 11635, "end": 11644, "loc": { "start": { "line": 317, "column": 4 }, "end": { "line": 317, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 11647, "end": 11682, "loc": { "start": { "line": 317, "column": 16 }, "end": { "line": 317, "column": 51 } }, "left": { "type": "Identifier", "start": 11647, "end": 11656, "loc": { "start": { "line": 317, "column": 16 }, "end": { "line": 317, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 11660, "end": 11682, "loc": { "start": { "line": 317, "column": 29 }, "end": { "line": 317, "column": 51 } }, "object": { "type": "MemberExpression", "start": 11660, "end": 11672, "loc": { "start": { "line": 317, "column": 29 }, "end": { "line": 317, "column": 41 } }, "object": { "type": "ThisExpression", "start": 11660, "end": 11664, "loc": { "start": { "line": 317, "column": 29 }, "end": { "line": 317, "column": 33 } } }, "property": { "type": "Identifier", "start": 11665, "end": 11672, "loc": { "start": { "line": 317, "column": 34 }, "end": { "line": 317, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11673, "end": 11682, "loc": { "start": { "line": 317, "column": 42 }, "end": { "line": 317, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 11689, "end": 11719, "loc": { "start": { "line": 318, "column": 4 }, "end": { "line": 318, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 11689, "end": 11718, "loc": { "start": { "line": 318, "column": 4 }, "end": { "line": 318, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11689, "end": 11710, "loc": { "start": { "line": 318, "column": 4 }, "end": { "line": 318, "column": 25 } }, "object": { "type": "MemberExpression", "start": 11689, "end": 11699, "loc": { "start": { "line": 318, "column": 4 }, "end": { "line": 318, "column": 14 } }, "object": { "type": "ThisExpression", "start": 11689, "end": 11693, "loc": { "start": { "line": 318, "column": 4 }, "end": { "line": 318, "column": 8 } } }, "property": { "type": "Identifier", "start": 11694, "end": 11699, "loc": { "start": { "line": 318, "column": 9 }, "end": { "line": 318, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "Identifier", "start": 11700, "end": 11709, "loc": { "start": { "line": 318, "column": 15 }, "end": { "line": 318, "column": 24 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": true }, "right": { "type": "Identifier", "start": 11713, "end": 11718, "loc": { "start": { "line": 318, "column": 28 }, "end": { "line": 318, "column": 33 }, "identifierName": "input" }, "name": "input" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11727, "end": 11782, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 322, "column": 7 } } } ] }, { "type": "IfStatement", "start": 11788, "end": 11867, "loc": { "start": { "line": 323, "column": 4 }, "end": { "line": 324, "column": 42 } }, "test": { "type": "MemberExpression", "start": 11791, "end": 11822, "loc": { "start": { "line": 323, "column": 7 }, "end": { "line": 323, "column": 38 } }, "object": { "type": "MemberExpression", "start": 11791, "end": 11803, "loc": { "start": { "line": 323, "column": 7 }, "end": { "line": 323, "column": 19 } }, "object": { "type": "ThisExpression", "start": 11791, "end": 11795, "loc": { "start": { "line": 323, "column": 7 }, "end": { "line": 323, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11796, "end": 11803, "loc": { "start": { "line": 323, "column": 12 }, "end": { "line": 323, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11804, "end": 11822, "loc": { "start": { "line": 323, "column": 20 }, "end": { "line": 323, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 11831, "end": 11867, "loc": { "start": { "line": 324, "column": 6 }, "end": { "line": 324, "column": 42 } }, "expression": { "type": "CallExpression", "start": 11831, "end": 11866, "loc": { "start": { "line": 324, "column": 6 }, "end": { "line": 324, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 11831, "end": 11854, "loc": { "start": { "line": 324, "column": 6 }, "end": { "line": 324, "column": 29 } }, "object": { "type": "ThisExpression", "start": 11831, "end": 11835, "loc": { "start": { "line": 324, "column": 6 }, "end": { "line": 324, "column": 10 } } }, "property": { "type": "Identifier", "start": 11836, "end": 11854, "loc": { "start": { "line": 324, "column": 11 }, "end": { "line": 324, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11855, "end": 11865, "loc": { "start": { "line": 324, "column": 30 }, "end": { "line": 324, "column": 40 } }, "object": { "type": "ThisExpression", "start": 11855, "end": 11859, "loc": { "start": { "line": 324, "column": 30 }, "end": { "line": 324, "column": 34 } } }, "property": { "type": "Identifier", "start": 11860, "end": 11865, "loc": { "start": { "line": 324, "column": 35 }, "end": { "line": 324, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11727, "end": 11782, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 322, "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": 11438, "end": 11598, "loc": { "start": { "line": 311, "column": 2 }, "end": { "line": 315, "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": 11880, "end": 11989, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 330, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11993, "end": 12049, "loc": { "start": { "line": 331, "column": 2 }, "end": { "line": 333, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11993, "end": 12005, "loc": { "start": { "line": 331, "column": 2 }, "end": { "line": 331, "column": 14 }, "identifierName": "replaceInput" }, "name": "replaceInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12006, "end": 12014, "loc": { "start": { "line": 331, "column": 15 }, "end": { "line": 331, "column": 23 }, "identifierName": "inputObj" }, "name": "inputObj" } ], "body": { "type": "BlockStatement", "start": 12015, "end": 12049, "loc": { "start": { "line": 331, "column": 24 }, "end": { "line": 333, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 12022, "end": 12044, "loc": { "start": { "line": 332, "column": 4 }, "end": { "line": 332, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 12022, "end": 12043, "loc": { "start": { "line": 332, "column": 4 }, "end": { "line": 332, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12022, "end": 12032, "loc": { "start": { "line": 332, "column": 4 }, "end": { "line": 332, "column": 14 } }, "object": { "type": "ThisExpression", "start": 12022, "end": 12026, "loc": { "start": { "line": 332, "column": 4 }, "end": { "line": 332, "column": 8 } } }, "property": { "type": "Identifier", "start": 12027, "end": 12032, "loc": { "start": { "line": 332, "column": 9 }, "end": { "line": 332, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "right": { "type": "Identifier", "start": 12035, "end": 12043, "loc": { "start": { "line": 332, "column": 17 }, "end": { "line": 332, "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": 11880, "end": 11989, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 330, "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": 12055, "end": 12181, "loc": { "start": { "line": 335, "column": 2 }, "end": { "line": 338, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 12185, "end": 12319, "loc": { "start": { "line": 339, "column": 2 }, "end": { "line": 343, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12185, "end": 12195, "loc": { "start": { "line": 339, "column": 2 }, "end": { "line": 339, "column": 12 }, "identifierName": "setOptions" }, "name": "setOptions", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 12198, "end": 12319, "loc": { "start": { "line": 339, "column": 15 }, "end": { "line": 343, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12198, "end": 12204, "loc": { "start": { "line": 339, "column": 15 }, "end": { "line": 339, "column": 21 }, "identifierName": "option" }, "name": "option" } ], "body": { "type": "BlockStatement", "start": 12208, "end": 12319, "loc": { "start": { "line": 339, "column": 25 }, "end": { "line": 343, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 12215, "end": 12237, "loc": { "start": { "line": 340, "column": 4 }, "end": { "line": 340, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 12215, "end": 12236, "loc": { "start": { "line": 340, "column": 4 }, "end": { "line": 340, "column": 25 } }, "operator": "=", "left": { "type": "Identifier", "start": 12215, "end": 12221, "loc": { "start": { "line": 340, "column": 4 }, "end": { "line": 340, "column": 10 }, "identifierName": "option" }, "name": "option" }, "right": { "type": "LogicalExpression", "start": 12224, "end": 12236, "loc": { "start": { "line": 340, "column": 13 }, "end": { "line": 340, "column": 25 } }, "left": { "type": "Identifier", "start": 12224, "end": 12230, "loc": { "start": { "line": 340, "column": 13 }, "end": { "line": 340, "column": 19 }, "identifierName": "option" }, "name": "option" }, "operator": "||", "right": { "type": "ObjectExpression", "start": 12234, "end": 12236, "loc": { "start": { "line": 340, "column": 23 }, "end": { "line": 340, "column": 25 } }, "properties": [] } } } }, { "type": "ExpressionStatement", "start": 12243, "end": 12294, "loc": { "start": { "line": 341, "column": 4 }, "end": { "line": 341, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 12243, "end": 12293, "loc": { "start": { "line": 341, "column": 4 }, "end": { "line": 341, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12243, "end": 12255, "loc": { "start": { "line": 341, "column": 4 }, "end": { "line": 341, "column": 16 } }, "object": { "type": "ThisExpression", "start": 12243, "end": 12247, "loc": { "start": { "line": 341, "column": 4 }, "end": { "line": 341, "column": 8 } } }, "property": { "type": "Identifier", "start": 12248, "end": 12255, "loc": { "start": { "line": 341, "column": 9 }, "end": { "line": 341, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "right": { "type": "CallExpression", "start": 12258, "end": 12293, "loc": { "start": { "line": 341, "column": 19 }, "end": { "line": 341, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 12258, "end": 12271, "loc": { "start": { "line": 341, "column": 19 }, "end": { "line": 341, "column": 32 } }, "object": { "type": "Identifier", "start": 12258, "end": 12264, "loc": { "start": { "line": 341, "column": 19 }, "end": { "line": 341, "column": 25 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 12265, "end": 12271, "loc": { "start": { "line": 341, "column": 26 }, "end": { "line": 341, "column": 32 }, "identifierName": "assign" }, "name": "assign" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12272, "end": 12284, "loc": { "start": { "line": 341, "column": 33 }, "end": { "line": 341, "column": 45 } }, "object": { "type": "ThisExpression", "start": 12272, "end": 12276, "loc": { "start": { "line": 341, "column": 33 }, "end": { "line": 341, "column": 37 } } }, "property": { "type": "Identifier", "start": 12277, "end": 12284, "loc": { "start": { "line": 341, "column": 38 }, "end": { "line": 341, "column": 45 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 12286, "end": 12292, "loc": { "start": { "line": 341, "column": 47 }, "end": { "line": 341, "column": 53 }, "identifierName": "option" }, "name": "option" } ] } } }, { "type": "ExpressionStatement", "start": 12300, "end": 12314, "loc": { "start": { "line": 342, "column": 4 }, "end": { "line": 342, "column": 18 } }, "expression": { "type": "CallExpression", "start": 12300, "end": 12313, "loc": { "start": { "line": 342, "column": 4 }, "end": { "line": 342, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 12300, "end": 12311, "loc": { "start": { "line": 342, "column": 4 }, "end": { "line": 342, "column": 15 } }, "object": { "type": "ThisExpression", "start": 12300, "end": 12304, "loc": { "start": { "line": 342, "column": 4 }, "end": { "line": 342, "column": 8 } } }, "property": { "type": "Identifier", "start": 12305, "end": 12311, "loc": { "start": { "line": 342, "column": 9 }, "end": { "line": 342, "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": 12055, "end": 12181, "loc": { "start": { "line": 335, "column": 2 }, "end": { "line": 338, "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": 12325, "end": 12434, "loc": { "start": { "line": 345, "column": 2 }, "end": { "line": 348, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12438, "end": 12577, "loc": { "start": { "line": 349, "column": 2 }, "end": { "line": 353, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12438, "end": 12443, "loc": { "start": { "line": 349, "column": 2 }, "end": { "line": 349, "column": 7 }, "identifierName": "clear" }, "name": "clear", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 12445, "end": 12577, "loc": { "start": { "line": 349, "column": 9 }, "end": { "line": 353, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 12452, "end": 12484, "loc": { "start": { "line": 350, "column": 4 }, "end": { "line": 350, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 12452, "end": 12483, "loc": { "start": { "line": 350, "column": 4 }, "end": { "line": 350, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12452, "end": 12478, "loc": { "start": { "line": 350, "column": 4 }, "end": { "line": 350, "column": 30 } }, "object": { "type": "MemberExpression", "start": 12452, "end": 12468, "loc": { "start": { "line": 350, "column": 4 }, "end": { "line": 350, "column": 20 } }, "object": { "type": "ThisExpression", "start": 12452, "end": 12456, "loc": { "start": { "line": 350, "column": 4 }, "end": { "line": 350, "column": 8 } } }, "property": { "type": "Identifier", "start": 12457, "end": 12468, "loc": { "start": { "line": 350, "column": 9 }, "end": { "line": 350, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 12469, "end": 12478, "loc": { "start": { "line": 350, "column": 21 }, "end": { "line": 350, "column": 30 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "StringLiteral", "start": 12481, "end": 12483, "loc": { "start": { "line": 350, "column": 33 }, "end": { "line": 350, "column": 35 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, { "type": "ExpressionStatement", "start": 12490, "end": 12541, "loc": { "start": { "line": 351, "column": 4 }, "end": { "line": 351, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 12490, "end": 12540, "loc": { "start": { "line": 351, "column": 4 }, "end": { "line": 351, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12490, "end": 12516, "loc": { "start": { "line": 351, "column": 4 }, "end": { "line": 351, "column": 30 } }, "object": { "type": "MemberExpression", "start": 12490, "end": 12506, "loc": { "start": { "line": 351, "column": 4 }, "end": { "line": 351, "column": 20 } }, "object": { "type": "ThisExpression", "start": 12490, "end": 12494, "loc": { "start": { "line": 351, "column": 4 }, "end": { "line": 351, "column": 8 } } }, "property": { "type": "Identifier", "start": 12495, "end": 12506, "loc": { "start": { "line": 351, "column": 9 }, "end": { "line": 351, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 12507, "end": 12516, "loc": { "start": { "line": 351, "column": 21 }, "end": { "line": 351, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "MemberExpression", "start": 12519, "end": 12540, "loc": { "start": { "line": 351, "column": 33 }, "end": { "line": 351, "column": 54 } }, "object": { "type": "ThisExpression", "start": 12519, "end": 12523, "loc": { "start": { "line": 351, "column": 33 }, "end": { "line": 351, "column": 37 } } }, "property": { "type": "Identifier", "start": 12524, "end": 12540, "loc": { "start": { "line": 351, "column": 38 }, "end": { "line": 351, "column": 54 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 12547, "end": 12572, "loc": { "start": { "line": 352, "column": 4 }, "end": { "line": 352, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 12547, "end": 12571, "loc": { "start": { "line": 352, "column": 4 }, "end": { "line": 352, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12547, "end": 12566, "loc": { "start": { "line": 352, "column": 4 }, "end": { "line": 352, "column": 23 } }, "object": { "type": "ThisExpression", "start": 12547, "end": 12551, "loc": { "start": { "line": 352, "column": 4 }, "end": { "line": 352, "column": 8 } } }, "property": { "type": "Identifier", "start": 12552, "end": 12566, "loc": { "start": { "line": 352, "column": 9 }, "end": { "line": 352, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 12569, "end": 12571, "loc": { "start": { "line": 352, "column": 26 }, "end": { "line": 352, "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": 12325, "end": 12434, "loc": { "start": { "line": 345, "column": 2 }, "end": { "line": 348, "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": 12583, "end": 12788, "loc": { "start": { "line": 355, "column": 2 }, "end": { "line": 358, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12792, "end": 13160, "loc": { "start": { "line": 359, "column": 2 }, "end": { "line": 368, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12792, "end": 12800, "loc": { "start": { "line": 359, "column": 2 }, "end": { "line": 359, "column": 10 }, "identifierName": "dispatch" }, "name": "dispatch", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12801, "end": 12809, "loc": { "start": { "line": 359, "column": 11 }, "end": { "line": 359, "column": 19 }, "identifierName": "callback" }, "name": "callback" } ], "body": { "type": "BlockStatement", "start": 12810, "end": 13160, "loc": { "start": { "line": 359, "column": 20 }, "end": { "line": 368, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 12817, "end": 13001, "loc": { "start": { "line": 360, "column": 4 }, "end": { "line": 363, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 12820, "end": 12854, "loc": { "start": { "line": 360, "column": 7 }, "end": { "line": 360, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 12821, "end": 12854, "loc": { "start": { "line": 360, "column": 8 }, "end": { "line": 360, "column": 41 } }, "object": { "type": "Identifier", "start": 12821, "end": 12827, "loc": { "start": { "line": 360, "column": 8 }, "end": { "line": 360, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 12828, "end": 12853, "loc": { "start": { "line": 360, "column": 15 }, "end": { "line": 360, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 12855, "end": 13001, "loc": { "start": { "line": 360, "column": 42 }, "end": { "line": 363, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 12864, "end": 12947, "loc": { "start": { "line": 361, "column": 6 }, "end": { "line": 361, "column": 89 } }, "expression": { "type": "CallExpression", "start": 12864, "end": 12946, "loc": { "start": { "line": 361, "column": 6 }, "end": { "line": 361, "column": 88 } }, "callee": { "type": "MemberExpression", "start": 12864, "end": 12876, "loc": { "start": { "line": 361, "column": 6 }, "end": { "line": 361, "column": 18 } }, "object": { "type": "Identifier", "start": 12864, "end": 12871, "loc": { "start": { "line": 361, "column": 6 }, "end": { "line": 361, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 12872, "end": 12876, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 12877, "end": 12945, "loc": { "start": { "line": 361, "column": 19 }, "end": { "line": 361, "column": 87 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 12878, "end": 12944, "loc": { "start": { "line": 361, "column": 20 }, "end": { "line": 361, "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": 12955, "end": 12994, "loc": { "start": { "line": 362, "column": 6 }, "end": { "line": 362, "column": 45 } }, "argument": { "type": "NewExpression", "start": 12961, "end": 12993, "loc": { "start": { "line": 362, "column": 12 }, "end": { "line": 362, "column": 44 } }, "callee": { "type": "Identifier", "start": 12965, "end": 12970, "loc": { "start": { "line": 362, "column": 16 }, "end": { "line": 362, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 12971, "end": 12992, "loc": { "start": { "line": 362, "column": 22 }, "end": { "line": 362, "column": 43 } }, "extra": { "rawValue": "INSTANCES_VAR_ERROR", "raw": "\"INSTANCES_VAR_ERROR\"" }, "value": "INSTANCES_VAR_ERROR" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 13013, "end": 13155, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 367, "column": 6 } }, "argument": { "type": "CallExpression", "start": 13020, "end": 13155, "loc": { "start": { "line": 365, "column": 11 }, "end": { "line": 367, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 13020, "end": 13074, "loc": { "start": { "line": 365, "column": 11 }, "end": { "line": 365, "column": 65 } }, "object": { "type": "CallExpression", "start": 13020, "end": 13066, "loc": { "start": { "line": 365, "column": 11 }, "end": { "line": 365, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 13020, "end": 13031, "loc": { "start": { "line": 365, "column": 11 }, "end": { "line": 365, "column": 22 } }, "object": { "type": "Identifier", "start": 13020, "end": 13026, "loc": { "start": { "line": 365, "column": 11 }, "end": { "line": 365, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 13027, "end": 13031, "loc": { "start": { "line": 365, "column": 18 }, "end": { "line": 365, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 13032, "end": 13065, "loc": { "start": { "line": 365, "column": 23 }, "end": { "line": 365, "column": 56 } }, "object": { "type": "Identifier", "start": 13032, "end": 13038, "loc": { "start": { "line": 365, "column": 23 }, "end": { "line": 365, "column": 29 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 13039, "end": 13064, "loc": { "start": { "line": 365, "column": 30 }, "end": { "line": 365, "column": 55 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true } ] }, "property": { "type": "Identifier", "start": 13067, "end": 13074, "loc": { "start": { "line": 365, "column": 58 }, "end": { "line": 365, "column": 65 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13075, "end": 13154, "loc": { "start": { "line": 365, "column": 66 }, "end": { "line": 367, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13076, "end": 13079, "loc": { "start": { "line": 365, "column": 67 }, "end": { "line": 365, "column": 70 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 13084, "end": 13154, "loc": { "start": { "line": 365, "column": 75 }, "end": { "line": 367, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 13093, "end": 13147, "loc": { "start": { "line": 366, "column": 6 }, "end": { "line": 366, "column": 60 } }, "expression": { "type": "CallExpression", "start": 13093, "end": 13146, "loc": { "start": { "line": 366, "column": 6 }, "end": { "line": 366, "column": 59 } }, "callee": { "type": "Identifier", "start": 13093, "end": 13101, "loc": { "start": { "line": 366, "column": 6 }, "end": { "line": 366, "column": 14 }, "identifierName": "callback" }, "name": "callback" }, "arguments": [ { "type": "MemberExpression", "start": 13102, "end": 13140, "loc": { "start": { "line": 366, "column": 15 }, "end": { "line": 366, "column": 53 } }, "object": { "type": "MemberExpression", "start": 13102, "end": 13135, "loc": { "start": { "line": 366, "column": 15 }, "end": { "line": 366, "column": 48 } }, "object": { "type": "Identifier", "start": 13102, "end": 13108, "loc": { "start": { "line": 366, "column": 15 }, "end": { "line": 366, "column": 21 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 13109, "end": 13134, "loc": { "start": { "line": 366, "column": 22 }, "end": { "line": 366, "column": 47 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "Identifier", "start": 13136, "end": 13139, "loc": { "start": { "line": 366, "column": 49 }, "end": { "line": 366, "column": 52 }, "identifierName": "key" }, "name": "key" }, "computed": true }, { "type": "Identifier", "start": 13142, "end": 13145, "loc": { "start": { "line": 366, "column": 55 }, "end": { "line": 366, "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": 12583, "end": 12788, "loc": { "start": { "line": 355, "column": 2 }, "end": { "line": 358, "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": 13166, "end": 13447, "loc": { "start": { "line": 370, "column": 2 }, "end": { "line": 374, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 13451, "end": 14683, "loc": { "start": { "line": 375, "column": 2 }, "end": { "line": 418, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13451, "end": 13465, "loc": { "start": { "line": 375, "column": 2 }, "end": { "line": 375, "column": 16 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13466, "end": 13473, "loc": { "start": { "line": 375, "column": 17 }, "end": { "line": 375, "column": 24 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 13475, "end": 13484, "loc": { "start": { "line": 375, "column": 26 }, "end": { "line": 375, "column": 35 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 13485, "end": 14683, "loc": { "start": { "line": 375, "column": 36 }, "end": { "line": 418, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 13492, "end": 13539, "loc": { "start": { "line": 376, "column": 4 }, "end": { "line": 377, "column": 19 } }, "test": { "type": "LogicalExpression", "start": 13495, "end": 13517, "loc": { "start": { "line": 376, "column": 7 }, "end": { "line": 376, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 13495, "end": 13505, "loc": { "start": { "line": 376, "column": 7 }, "end": { "line": 376, "column": 17 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 13496, "end": 13505, "loc": { "start": { "line": 376, "column": 8 }, "end": { "line": 376, "column": 17 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 13509, "end": 13517, "loc": { "start": { "line": 376, "column": 21 }, "end": { "line": 376, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 13510, "end": 13517, "loc": { "start": { "line": 376, "column": 22 }, "end": { "line": 376, "column": 29 }, "identifierName": "buttons" }, "name": "buttons" }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "ReturnStatement", "start": 13526, "end": 13539, "loc": { "start": { "line": 377, "column": 6 }, "end": { "line": 377, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 13533, "end": 13538, "loc": { "start": { "line": 377, "column": 13 }, "end": { "line": 377, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ExpressionStatement", "start": 13547, "end": 14656, "loc": { "start": { "line": 379, "column": 4 }, "end": { "line": 415, "column": 7 } }, "expression": { "type": "CallExpression", "start": 13547, "end": 14655, "loc": { "start": { "line": 379, "column": 4 }, "end": { "line": 415, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 13547, "end": 13573, "loc": { "start": { "line": 379, "column": 4 }, "end": { "line": 379, "column": 30 } }, "object": { "type": "CallExpression", "start": 13547, "end": 13565, "loc": { "start": { "line": 379, "column": 4 }, "end": { "line": 379, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 13547, "end": 13560, "loc": { "start": { "line": 379, "column": 4 }, "end": { "line": 379, "column": 17 } }, "object": { "type": "Identifier", "start": 13547, "end": 13554, "loc": { "start": { "line": 379, "column": 4 }, "end": { "line": 379, "column": 11 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 13555, "end": 13560, "loc": { "start": { "line": 379, "column": 12 }, "end": { "line": 379, "column": 17 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13561, "end": 13564, "loc": { "start": { "line": 379, "column": 18 }, "end": { "line": 379, "column": 21 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13566, "end": 13573, "loc": { "start": { "line": 379, "column": 23 }, "end": { "line": 379, "column": 30 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13574, "end": 14654, "loc": { "start": { "line": 379, "column": 31 }, "end": { "line": 415, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13574, "end": 13580, "loc": { "start": { "line": 379, "column": 31 }, "end": { "line": 379, "column": 37 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 13584, "end": 14654, "loc": { "start": { "line": 379, "column": 41 }, "end": { "line": 415, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 13593, "end": 14647, "loc": { "start": { "line": 380, "column": 6 }, "end": { "line": 414, "column": 9 } }, "expression": { "type": "CallExpression", "start": 13593, "end": 14646, "loc": { "start": { "line": 380, "column": 6 }, "end": { "line": 414, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 13593, "end": 13621, "loc": { "start": { "line": 380, "column": 6 }, "end": { "line": 380, "column": 34 } }, "object": { "type": "CallExpression", "start": 13593, "end": 13613, "loc": { "start": { "line": 380, "column": 6 }, "end": { "line": 380, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 13593, "end": 13608, "loc": { "start": { "line": 380, "column": 6 }, "end": { "line": 380, "column": 21 } }, "object": { "type": "Identifier", "start": 13593, "end": 13602, "loc": { "start": { "line": 380, "column": 6 }, "end": { "line": 380, "column": 15 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 13603, "end": 13608, "loc": { "start": { "line": 380, "column": 16 }, "end": { "line": 380, "column": 21 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13609, "end": 13612, "loc": { "start": { "line": 380, "column": 22 }, "end": { "line": 380, "column": 25 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13614, "end": 13621, "loc": { "start": { "line": 380, "column": 27 }, "end": { "line": 380, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13622, "end": 14645, "loc": { "start": { "line": 380, "column": 35 }, "end": { "line": 414, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13622, "end": 13635, "loc": { "start": { "line": 380, "column": 35 }, "end": { "line": 380, "column": 48 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ], "body": { "type": "BlockStatement", "start": 13639, "end": 14645, "loc": { "start": { "line": 380, "column": 52 }, "end": { "line": 414, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 13650, "end": 13721, "loc": { "start": { "line": 381, "column": 8 }, "end": { "line": 382, "column": 40 } }, "test": { "type": "UnaryExpression", "start": 13653, "end": 13678, "loc": { "start": { "line": 381, "column": 11 }, "end": { "line": 381, "column": 36 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 13654, "end": 13678, "loc": { "start": { "line": 381, "column": 12 }, "end": { "line": 381, "column": 36 } }, "object": { "type": "MemberExpression", "start": 13654, "end": 13666, "loc": { "start": { "line": 381, "column": 12 }, "end": { "line": 381, "column": 24 } }, "object": { "type": "ThisExpression", "start": 13654, "end": 13658, "loc": { "start": { "line": 381, "column": 12 }, "end": { "line": 381, "column": 16 } } }, "property": { "type": "Identifier", "start": 13659, "end": 13666, "loc": { "start": { "line": 381, "column": 17 }, "end": { "line": 381, "column": 24 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 13667, "end": 13678, "loc": { "start": { "line": 381, "column": 25 }, "end": { "line": 381, "column": 36 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 13691, "end": 13721, "loc": { "start": { "line": 382, "column": 10 }, "end": { "line": 382, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 13691, "end": 13720, "loc": { "start": { "line": 382, "column": 10 }, "end": { "line": 382, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13691, "end": 13715, "loc": { "start": { "line": 382, "column": 10 }, "end": { "line": 382, "column": 34 } }, "object": { "type": "MemberExpression", "start": 13691, "end": 13703, "loc": { "start": { "line": 382, "column": 10 }, "end": { "line": 382, "column": 22 } }, "object": { "type": "ThisExpression", "start": 13691, "end": 13695, "loc": { "start": { "line": 382, "column": 10 }, "end": { "line": 382, "column": 14 } } }, "property": { "type": "Identifier", "start": 13696, "end": 13703, "loc": { "start": { "line": 382, "column": 15 }, "end": { "line": 382, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 13704, "end": 13715, "loc": { "start": { "line": 382, "column": 23 }, "end": { "line": 382, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 13718, "end": 13720, "loc": { "start": { "line": 382, "column": 37 }, "end": { "line": 382, "column": 39 } }, "elements": [] } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 13733, "end": 13760, "loc": { "start": { "line": 384, "column": 8 }, "end": { "line": 384, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13737, "end": 13759, "loc": { "start": { "line": 384, "column": 12 }, "end": { "line": 384, "column": 34 } }, "id": { "type": "Identifier", "start": 13737, "end": 13751, "loc": { "start": { "line": 384, "column": 12 }, "end": { "line": 384, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "init": { "type": "BooleanLiteral", "start": 13754, "end": 13759, "loc": { "start": { "line": 384, "column": 29 }, "end": { "line": 384, "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": 13774, "end": 13865, "loc": { "start": { "line": 386, "column": 8 }, "end": { "line": 388, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 13875, "end": 14383, "loc": { "start": { "line": 389, "column": 8 }, "end": { "line": 402, "column": 11 } }, "expression": { "type": "CallExpression", "start": 13875, "end": 14382, "loc": { "start": { "line": 389, "column": 8 }, "end": { "line": 402, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 13875, "end": 13903, "loc": { "start": { "line": 389, "column": 8 }, "end": { "line": 389, "column": 36 } }, "object": { "type": "MemberExpression", "start": 13875, "end": 13899, "loc": { "start": { "line": 389, "column": 8 }, "end": { "line": 389, "column": 32 } }, "object": { "type": "MemberExpression", "start": 13875, "end": 13887, "loc": { "start": { "line": 389, "column": 8 }, "end": { "line": 389, "column": 20 } }, "object": { "type": "ThisExpression", "start": 13875, "end": 13879, "loc": { "start": { "line": 389, "column": 8 }, "end": { "line": 389, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 13880, "end": 13887, "loc": { "start": { "line": 389, "column": 13 }, "end": { "line": 389, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 13888, "end": 13899, "loc": { "start": { "line": 389, "column": 21 }, "end": { "line": 389, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 13900, "end": 13903, "loc": { "start": { "line": 389, "column": 33 }, "end": { "line": 389, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13904, "end": 14381, "loc": { "start": { "line": 389, "column": 37 }, "end": { "line": 402, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13904, "end": 13915, "loc": { "start": { "line": 389, "column": 37 }, "end": { "line": 389, "column": 48 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } ], "body": { "type": "BlockStatement", "start": 13919, "end": 14381, "loc": { "start": { "line": 389, "column": 52 }, "end": { "line": 402, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 13934, "end": 14339, "loc": { "start": { "line": 391, "column": 10 }, "end": { "line": 400, "column": 11 } }, "test": { "type": "CallExpression", "start": 13937, "end": 13989, "loc": { "start": { "line": 391, "column": 13 }, "end": { "line": 391, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 13937, "end": 13974, "loc": { "start": { "line": 391, "column": 13 }, "end": { "line": 391, "column": 50 } }, "object": { "type": "CallExpression", "start": 13937, "end": 13965, "loc": { "start": { "line": 391, "column": 13 }, "end": { "line": 391, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 13937, "end": 13960, "loc": { "start": { "line": 391, "column": 13 }, "end": { "line": 391, "column": 36 } }, "object": { "type": "MemberExpression", "start": 13937, "end": 13954, "loc": { "start": { "line": 391, "column": 13 }, "end": { "line": 391, "column": 30 } }, "object": { "type": "Identifier", "start": 13937, "end": 13948, "loc": { "start": { "line": 391, "column": 13 }, "end": { "line": 391, "column": 24 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 13949, "end": 13954, "loc": { "start": { "line": 391, "column": 25 }, "end": { "line": 391, "column": 30 }, "identifierName": "class" }, "name": "class" }, "computed": false }, "property": { "type": "Identifier", "start": 13955, "end": 13960, "loc": { "start": { "line": 391, "column": 31 }, "end": { "line": 391, "column": 36 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13961, "end": 13964, "loc": { "start": { "line": 391, "column": 37 }, "end": { "line": 391, "column": 40 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13966, "end": 13974, "loc": { "start": { "line": 391, "column": 42 }, "end": { "line": 391, "column": 50 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13975, "end": 13988, "loc": { "start": { "line": 391, "column": 51 }, "end": { "line": 391, "column": 64 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ] }, "consequent": { "type": "BlockStatement", "start": 13990, "end": 14339, "loc": { "start": { "line": 391, "column": 66 }, "end": { "line": 400, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 14005, "end": 14027, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 14005, "end": 14026, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", "start": 14005, "end": 14019, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 14022, "end": 14026, "loc": { "start": { "line": 392, "column": 29 }, "end": { "line": 392, "column": 33 } }, "value": true } } }, { "type": "VariableDeclaration", "start": 14055, "end": 14109, "loc": { "start": { "line": 394, "column": 12 }, "end": { "line": 394, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14059, "end": 14108, "loc": { "start": { "line": 394, "column": 16 }, "end": { "line": 394, "column": 65 } }, "id": { "type": "Identifier", "start": 14059, "end": 14075, "loc": { "start": { "line": 394, "column": 16 }, "end": { "line": 394, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "init": { "type": "CallExpression", "start": 14078, "end": 14108, "loc": { "start": { "line": 394, "column": 35 }, "end": { "line": 394, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 14078, "end": 14103, "loc": { "start": { "line": 394, "column": 35 }, "end": { "line": 394, "column": 60 } }, "object": { "type": "MemberExpression", "start": 14078, "end": 14097, "loc": { "start": { "line": 394, "column": 35 }, "end": { "line": 394, "column": 54 } }, "object": { "type": "Identifier", "start": 14078, "end": 14089, "loc": { "start": { "line": 394, "column": 35 }, "end": { "line": 394, "column": 46 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 14090, "end": 14097, "loc": { "start": { "line": 394, "column": 47 }, "end": { "line": 394, "column": 54 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 14098, "end": 14103, "loc": { "start": { "line": 394, "column": 55 }, "end": { "line": 394, "column": 60 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14104, "end": 14107, "loc": { "start": { "line": 394, "column": 61 }, "end": { "line": 394, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 14123, "end": 14326, "loc": { "start": { "line": 395, "column": 12 }, "end": { "line": 399, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 14126, "end": 14160, "loc": { "start": { "line": 395, "column": 15 }, "end": { "line": 395, "column": 49 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 14127, "end": 14160, "loc": { "start": { "line": 395, "column": 16 }, "end": { "line": 395, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 14127, "end": 14152, "loc": { "start": { "line": 395, "column": 16 }, "end": { "line": 395, "column": 41 } }, "object": { "type": "Identifier", "start": 14127, "end": 14143, "loc": { "start": { "line": 395, "column": 16 }, "end": { "line": 395, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 14144, "end": 14152, "loc": { "start": { "line": 395, "column": 33 }, "end": { "line": 395, "column": 41 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 14153, "end": 14159, "loc": { "start": { "line": 395, "column": 42 }, "end": { "line": 395, "column": 48 }, "identifierName": "button" }, "name": "button" } ] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 14161, "end": 14326, "loc": { "start": { "line": 395, "column": 50 }, "end": { "line": 399, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 14178, "end": 14200, "loc": { "start": { "line": 396, "column": 14 }, "end": { "line": 396, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 14178, "end": 14199, "loc": { "start": { "line": 396, "column": 14 }, "end": { "line": 396, "column": 35 } }, "operator": "=", "left": { "type": "Identifier", "start": 14178, "end": 14192, "loc": { "start": { "line": 396, "column": 14 }, "end": { "line": 396, "column": 28 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 14195, "end": 14199, "loc": { "start": { "line": 396, "column": 31 }, "end": { "line": 396, "column": 35 } }, "value": true } } }, { "type": "ExpressionStatement", "start": 14216, "end": 14246, "loc": { "start": { "line": 397, "column": 14 }, "end": { "line": 397, "column": 44 } }, "expression": { "type": "CallExpression", "start": 14216, "end": 14245, "loc": { "start": { "line": 397, "column": 14 }, "end": { "line": 397, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 14216, "end": 14237, "loc": { "start": { "line": 397, "column": 14 }, "end": { "line": 397, "column": 35 } }, "object": { "type": "Identifier", "start": 14216, "end": 14232, "loc": { "start": { "line": 397, "column": 14 }, "end": { "line": 397, "column": 30 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 14233, "end": 14237, "loc": { "start": { "line": 397, "column": 31 }, "end": { "line": 397, "column": 35 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 14238, "end": 14244, "loc": { "start": { "line": 397, "column": 36 }, "end": { "line": 397, "column": 42 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 14262, "end": 14311, "loc": { "start": { "line": 398, "column": 14 }, "end": { "line": 398, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 14262, "end": 14310, "loc": { "start": { "line": 398, "column": 14 }, "end": { "line": 398, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 14262, "end": 14281, "loc": { "start": { "line": 398, "column": 14 }, "end": { "line": 398, "column": 33 } }, "object": { "type": "Identifier", "start": 14262, "end": 14273, "loc": { "start": { "line": 398, "column": 14 }, "end": { "line": 398, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 14274, "end": 14281, "loc": { "start": { "line": 398, "column": 26 }, "end": { "line": 398, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 14284, "end": 14310, "loc": { "start": { "line": 398, "column": 36 }, "end": { "line": 398, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 14284, "end": 14305, "loc": { "start": { "line": 398, "column": 36 }, "end": { "line": 398, "column": 57 } }, "object": { "type": "Identifier", "start": 14284, "end": 14300, "loc": { "start": { "line": 398, "column": 36 }, "end": { "line": 398, "column": 52 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 14301, "end": 14305, "loc": { "start": { "line": 398, "column": 53 }, "end": { "line": 398, "column": 57 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14306, "end": 14309, "loc": { "start": { "line": 398, "column": 58 }, "end": { "line": 398, "column": 61 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 14351, "end": 14370, "loc": { "start": { "line": 401, "column": 10 }, "end": { "line": 401, "column": 29 } }, "argument": { "type": "Identifier", "start": 14358, "end": 14369, "loc": { "start": { "line": 401, "column": 17 }, "end": { "line": 401, "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": 13774, "end": 13865, "loc": { "start": { "line": 386, "column": 8 }, "end": { "line": 388, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 14395, "end": 14470, "loc": { "start": { "line": 404, "column": 8 }, "end": { "line": 406, "column": 11 } } } ] }, { "type": "IfStatement", "start": 14480, "end": 14634, "loc": { "start": { "line": 407, "column": 8 }, "end": { "line": 412, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 14483, "end": 14498, "loc": { "start": { "line": 407, "column": 11 }, "end": { "line": 407, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 14484, "end": 14498, "loc": { "start": { "line": 407, "column": 12 }, "end": { "line": 407, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 14499, "end": 14634, "loc": { "start": { "line": 407, "column": 27 }, "end": { "line": 412, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 14512, "end": 14623, "loc": { "start": { "line": 408, "column": 10 }, "end": { "line": 411, "column": 13 } }, "expression": { "type": "CallExpression", "start": 14512, "end": 14622, "loc": { "start": { "line": 408, "column": 10 }, "end": { "line": 411, "column": 12 } }, "callee": { "type": "MemberExpression", "start": 14512, "end": 14541, "loc": { "start": { "line": 408, "column": 10 }, "end": { "line": 408, "column": 39 } }, "object": { "type": "MemberExpression", "start": 14512, "end": 14536, "loc": { "start": { "line": 408, "column": 10 }, "end": { "line": 408, "column": 34 } }, "object": { "type": "MemberExpression", "start": 14512, "end": 14524, "loc": { "start": { "line": 408, "column": 10 }, "end": { "line": 408, "column": 22 } }, "object": { "type": "ThisExpression", "start": 14512, "end": 14516, "loc": { "start": { "line": 408, "column": 10 }, "end": { "line": 408, "column": 14 } } }, "property": { "type": "Identifier", "start": 14517, "end": 14524, "loc": { "start": { "line": 408, "column": 15 }, "end": { "line": 408, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 14525, "end": 14536, "loc": { "start": { "line": 408, "column": 23 }, "end": { "line": 408, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 14537, "end": 14541, "loc": { "start": { "line": 408, "column": 35 }, "end": { "line": 408, "column": 39 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 14542, "end": 14621, "loc": { "start": { "line": 408, "column": 40 }, "end": { "line": 411, "column": 11 } }, "properties": [ { "type": "ObjectProperty", "start": 14557, "end": 14577, "loc": { "start": { "line": 409, "column": 12 }, "end": { "line": 409, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 14557, "end": 14562, "loc": { "start": { "line": 409, "column": 12 }, "end": { "line": 409, "column": 17 }, "identifierName": "class" }, "name": "class" }, "value": { "type": "Identifier", "start": 14564, "end": 14577, "loc": { "start": { "line": 409, "column": 19 }, "end": { "line": 409, "column": 32 }, "identifierName": "classNameItem" }, "name": "classNameItem" } }, { "type": "ObjectProperty", "start": 14592, "end": 14608, "loc": { "start": { "line": 410, "column": 12 }, "end": { "line": 410, "column": 28 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 14592, "end": 14599, "loc": { "start": { "line": 410, "column": 12 }, "end": { "line": 410, "column": 19 }, "identifierName": "buttons" }, "name": "buttons" }, "value": { "type": "Identifier", "start": 14601, "end": 14608, "loc": { "start": { "line": 410, "column": 21 }, "end": { "line": 410, "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": 14395, "end": 14470, "loc": { "start": { "line": 404, "column": 8 }, "end": { "line": 406, "column": 11 } } } ] } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 14664, "end": 14678, "loc": { "start": { "line": 417, "column": 4 }, "end": { "line": 417, "column": 18 } }, "expression": { "type": "CallExpression", "start": 14664, "end": 14677, "loc": { "start": { "line": 417, "column": 4 }, "end": { "line": 417, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 14664, "end": 14675, "loc": { "start": { "line": 417, "column": 4 }, "end": { "line": 417, "column": 15 } }, "object": { "type": "ThisExpression", "start": 14664, "end": 14668, "loc": { "start": { "line": 417, "column": 4 }, "end": { "line": 417, "column": 8 } } }, "property": { "type": "Identifier", "start": 14669, "end": 14675, "loc": { "start": { "line": 417, "column": 9 }, "end": { "line": 417, "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": 13166, "end": 13447, "loc": { "start": { "line": 370, "column": 2 }, "end": { "line": 374, "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": 14689, "end": 15029, "loc": { "start": { "line": 420, "column": 2 }, "end": { "line": 424, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 15033, "end": 16450, "loc": { "start": { "line": 425, "column": 2 }, "end": { "line": 471, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 15033, "end": 15050, "loc": { "start": { "line": 425, "column": 2 }, "end": { "line": 425, "column": 19 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15051, "end": 15058, "loc": { "start": { "line": 425, "column": 20 }, "end": { "line": 425, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 15060, "end": 15069, "loc": { "start": { "line": 425, "column": 29 }, "end": { "line": 425, "column": 38 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 15070, "end": 16450, "loc": { "start": { "line": 425, "column": 39 }, "end": { "line": 471, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 15163, "end": 15278, "loc": { "start": { "line": 429, "column": 4 }, "end": { "line": 433, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 15166, "end": 15188, "loc": { "start": { "line": 429, "column": 7 }, "end": { "line": 429, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 15166, "end": 15174, "loc": { "start": { "line": 429, "column": 7 }, "end": { "line": 429, "column": 15 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 15167, "end": 15174, "loc": { "start": { "line": 429, "column": 8 }, "end": { "line": 429, "column": 15 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 15178, "end": 15188, "loc": { "start": { "line": 429, "column": 19 }, "end": { "line": 429, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 15179, "end": 15188, "loc": { "start": { "line": 429, "column": 20 }, "end": { "line": 429, "column": 29 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15189, "end": 15278, "loc": { "start": { "line": 429, "column": 30 }, "end": { "line": 433, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 15198, "end": 15228, "loc": { "start": { "line": 430, "column": 6 }, "end": { "line": 430, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 15198, "end": 15227, "loc": { "start": { "line": 430, "column": 6 }, "end": { "line": 430, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 15198, "end": 15222, "loc": { "start": { "line": 430, "column": 6 }, "end": { "line": 430, "column": 30 } }, "object": { "type": "MemberExpression", "start": 15198, "end": 15210, "loc": { "start": { "line": 430, "column": 6 }, "end": { "line": 430, "column": 18 } }, "object": { "type": "ThisExpression", "start": 15198, "end": 15202, "loc": { "start": { "line": 430, "column": 6 }, "end": { "line": 430, "column": 10 } } }, "property": { "type": "Identifier", "start": 15203, "end": 15210, "loc": { "start": { "line": 430, "column": 11 }, "end": { "line": 430, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15211, "end": 15222, "loc": { "start": { "line": 430, "column": 19 }, "end": { "line": 430, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 15225, "end": 15227, "loc": { "start": { "line": 430, "column": 33 }, "end": { "line": 430, "column": 35 } }, "elements": [] } } }, { "type": "ExpressionStatement", "start": 15236, "end": 15250, "loc": { "start": { "line": 431, "column": 6 }, "end": { "line": 431, "column": 20 } }, "expression": { "type": "CallExpression", "start": 15236, "end": 15249, "loc": { "start": { "line": 431, "column": 6 }, "end": { "line": 431, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 15236, "end": 15247, "loc": { "start": { "line": 431, "column": 6 }, "end": { "line": 431, "column": 17 } }, "object": { "type": "ThisExpression", "start": 15236, "end": 15240, "loc": { "start": { "line": 431, "column": 6 }, "end": { "line": 431, "column": 10 } } }, "property": { "type": "Identifier", "start": 15241, "end": 15247, "loc": { "start": { "line": 431, "column": 11 }, "end": { "line": 431, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, { "type": "ReturnStatement", "start": 15258, "end": 15271, "loc": { "start": { "line": 432, "column": 6 }, "end": { "line": 432, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 15265, "end": 15270, "loc": { "start": { "line": 432, "column": 13 }, "end": { "line": 432, "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": 15077, "end": 15157, "loc": { "start": { "line": 426, "column": 4 }, "end": { "line": 428, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 15286, "end": 15354, "loc": { "start": { "line": 435, "column": 4 }, "end": { "line": 437, "column": 7 } } } ] }, { "type": "IfStatement", "start": 15360, "end": 16445, "loc": { "start": { "line": 438, "column": 4 }, "end": { "line": 470, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 15363, "end": 15448, "loc": { "start": { "line": 438, "column": 7 }, "end": { "line": 438, "column": 92 } }, "left": { "type": "LogicalExpression", "start": 15363, "end": 15413, "loc": { "start": { "line": 438, "column": 7 }, "end": { "line": 438, "column": 57 } }, "left": { "type": "Identifier", "start": 15363, "end": 15370, "loc": { "start": { "line": 438, "column": 7 }, "end": { "line": 438, "column": 14 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 15374, "end": 15413, "loc": { "start": { "line": 438, "column": 18 }, "end": { "line": 438, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 15374, "end": 15387, "loc": { "start": { "line": 438, "column": 18 }, "end": { "line": 438, "column": 31 } }, "object": { "type": "Identifier", "start": 15374, "end": 15379, "loc": { "start": { "line": 438, "column": 18 }, "end": { "line": 438, "column": 23 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 15380, "end": 15387, "loc": { "start": { "line": 438, "column": 24 }, "end": { "line": 438, "column": 31 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 15388, "end": 15412, "loc": { "start": { "line": 438, "column": 32 }, "end": { "line": 438, "column": 56 } }, "object": { "type": "MemberExpression", "start": 15388, "end": 15400, "loc": { "start": { "line": 438, "column": 32 }, "end": { "line": 438, "column": 44 } }, "object": { "type": "ThisExpression", "start": 15388, "end": 15392, "loc": { "start": { "line": 438, "column": 32 }, "end": { "line": 438, "column": 36 } } }, "property": { "type": "Identifier", "start": 15393, "end": 15400, "loc": { "start": { "line": 438, "column": 37 }, "end": { "line": 438, "column": 44 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15401, "end": 15412, "loc": { "start": { "line": 438, "column": 45 }, "end": { "line": 438, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "leadingComments": null }, "operator": "&&", "right": { "type": "MemberExpression", "start": 15417, "end": 15448, "loc": { "start": { "line": 438, "column": 61 }, "end": { "line": 438, "column": 92 } }, "object": { "type": "MemberExpression", "start": 15417, "end": 15441, "loc": { "start": { "line": 438, "column": 61 }, "end": { "line": 438, "column": 85 } }, "object": { "type": "MemberExpression", "start": 15417, "end": 15429, "loc": { "start": { "line": 438, "column": 61 }, "end": { "line": 438, "column": 73 } }, "object": { "type": "ThisExpression", "start": 15417, "end": 15421, "loc": { "start": { "line": 438, "column": 61 }, "end": { "line": 438, "column": 65 } } }, "property": { "type": "Identifier", "start": 15422, "end": 15429, "loc": { "start": { "line": 438, "column": 66 }, "end": { "line": 438, "column": 73 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15430, "end": 15441, "loc": { "start": { "line": 438, "column": 74 }, "end": { "line": 438, "column": 85 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 15442, "end": 15448, "loc": { "start": { "line": 438, "column": 86 }, "end": { "line": 438, "column": 92 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15449, "end": 16445, "loc": { "start": { "line": 438, "column": 93 }, "end": { "line": 470, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 15458, "end": 15495, "loc": { "start": { "line": 439, "column": 6 }, "end": { "line": 439, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15462, "end": 15494, "loc": { "start": { "line": 439, "column": 10 }, "end": { "line": 439, "column": 42 } }, "id": { "type": "Identifier", "start": 15462, "end": 15473, "loc": { "start": { "line": 439, "column": 10 }, "end": { "line": 439, "column": 21 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "init": { "type": "CallExpression", "start": 15476, "end": 15494, "loc": { "start": { "line": 439, "column": 24 }, "end": { "line": 439, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 15476, "end": 15489, "loc": { "start": { "line": 439, "column": 24 }, "end": { "line": 439, "column": 37 } }, "object": { "type": "Identifier", "start": 15476, "end": 15483, "loc": { "start": { "line": 439, "column": 24 }, "end": { "line": 439, "column": 31 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 15484, "end": 15489, "loc": { "start": { "line": 439, "column": 32 }, "end": { "line": 439, "column": 37 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15490, "end": 15493, "loc": { "start": { "line": 439, "column": 38 }, "end": { "line": 439, "column": 41 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 15503, "end": 16414, "loc": { "start": { "line": 440, "column": 6 }, "end": { "line": 467, "column": 9 } }, "expression": { "type": "CallExpression", "start": 15503, "end": 16413, "loc": { "start": { "line": 440, "column": 6 }, "end": { "line": 467, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 15503, "end": 15522, "loc": { "start": { "line": 440, "column": 6 }, "end": { "line": 440, "column": 25 } }, "object": { "type": "Identifier", "start": 15503, "end": 15514, "loc": { "start": { "line": 440, "column": 6 }, "end": { "line": 440, "column": 17 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "property": { "type": "Identifier", "start": 15515, "end": 15522, "loc": { "start": { "line": 440, "column": 18 }, "end": { "line": 440, "column": 25 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 15523, "end": 16412, "loc": { "start": { "line": 440, "column": 26 }, "end": { "line": 467, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15524, "end": 15530, "loc": { "start": { "line": 440, "column": 27 }, "end": { "line": 440, "column": 33 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 15532, "end": 15535, "loc": { "start": { "line": 440, "column": 35 }, "end": { "line": 440, "column": 38 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 15540, "end": 16412, "loc": { "start": { "line": 440, "column": 43 }, "end": { "line": 467, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 15551, "end": 16403, "loc": { "start": { "line": 441, "column": 8 }, "end": { "line": 466, "column": 11 } }, "expression": { "type": "CallExpression", "start": 15551, "end": 16402, "loc": { "start": { "line": 441, "column": 8 }, "end": { "line": 466, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 15551, "end": 15579, "loc": { "start": { "line": 441, "column": 8 }, "end": { "line": 441, "column": 36 } }, "object": { "type": "MemberExpression", "start": 15551, "end": 15575, "loc": { "start": { "line": 441, "column": 8 }, "end": { "line": 441, "column": 32 } }, "object": { "type": "MemberExpression", "start": 15551, "end": 15563, "loc": { "start": { "line": 441, "column": 8 }, "end": { "line": 441, "column": 20 } }, "object": { "type": "ThisExpression", "start": 15551, "end": 15555, "loc": { "start": { "line": 441, "column": 8 }, "end": { "line": 441, "column": 12 } } }, "property": { "type": "Identifier", "start": 15556, "end": 15563, "loc": { "start": { "line": 441, "column": 13 }, "end": { "line": 441, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15564, "end": 15575, "loc": { "start": { "line": 441, "column": 21 }, "end": { "line": 441, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 15576, "end": 15579, "loc": { "start": { "line": 441, "column": 33 }, "end": { "line": 441, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 15580, "end": 16401, "loc": { "start": { "line": 441, "column": 37 }, "end": { "line": 466, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15581, "end": 15592, "loc": { "start": { "line": 441, "column": 38 }, "end": { "line": 441, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, { "type": "Identifier", "start": 15594, "end": 15599, "loc": { "start": { "line": 441, "column": 51 }, "end": { "line": 441, "column": 56 }, "identifierName": "index" }, "name": "index" } ], "body": { "type": "BlockStatement", "start": 15604, "end": 16401, "loc": { "start": { "line": 441, "column": 61 }, "end": { "line": 466, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 15772, "end": 16357, "loc": { "start": { "line": 447, "column": 10 }, "end": { "line": 463, "column": 11 } }, "test": { "type": "LogicalExpression", "start": 15789, "end": 15868, "loc": { "start": { "line": 448, "column": 12 }, "end": { "line": 449, "column": 22 } }, "left": { "type": "LogicalExpression", "start": 15790, "end": 15840, "loc": { "start": { "line": 448, "column": 13 }, "end": { "line": 448, "column": 63 } }, "left": { "type": "Identifier", "start": 15790, "end": 15799, "loc": { "start": { "line": 448, "column": 13 }, "end": { "line": 448, "column": 22 }, "identifierName": "className" }, "name": "className", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 15803, "end": 15840, "loc": { "start": { "line": 448, "column": 26 }, "end": { "line": 448, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 15803, "end": 15821, "loc": { "start": { "line": 448, "column": 26 }, "end": { "line": 448, "column": 44 } }, "object": { "type": "Identifier", "start": 15803, "end": 15812, "loc": { "start": { "line": 448, "column": 26 }, "end": { "line": 448, "column": 35 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 15813, "end": 15821, "loc": { "start": { "line": 448, "column": 36 }, "end": { "line": 448, "column": 44 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 15822, "end": 15839, "loc": { "start": { "line": 448, "column": 45 }, "end": { "line": 448, "column": 62 } }, "object": { "type": "Identifier", "start": 15822, "end": 15833, "loc": { "start": { "line": 448, "column": 45 }, "end": { "line": 448, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 15834, "end": 15839, "loc": { "start": { "line": 448, "column": 57 }, "end": { "line": 448, "column": 62 }, "identifierName": "class" }, "name": "class" }, "computed": false } ] }, "leadingComments": null, "extra": { "parenthesized": true, "parenStart": 15789 } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 15858, "end": 15868, "loc": { "start": { "line": 449, "column": 12 }, "end": { "line": 449, "column": 22 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 15859, "end": 15868, "loc": { "start": { "line": 449, "column": 13 }, "end": { "line": 449, "column": 22 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15881, "end": 16357, "loc": { "start": { "line": 450, "column": 11 }, "end": { "line": 463, "column": 11 } }, "body": [ { "type": "VariableDeclaration", "start": 15896, "end": 15985, "loc": { "start": { "line": 451, "column": 12 }, "end": { "line": 451, "column": 101 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15900, "end": 15984, "loc": { "start": { "line": 451, "column": 16 }, "end": { "line": 451, "column": 100 } }, "id": { "type": "Identifier", "start": 15900, "end": 15919, "loc": { "start": { "line": 451, "column": 16 }, "end": { "line": 451, "column": 35 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "init": { "type": "CallExpression", "start": 15922, "end": 15984, "loc": { "start": { "line": 451, "column": 38 }, "end": { "line": 451, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 15922, "end": 15959, "loc": { "start": { "line": 451, "column": 38 }, "end": { "line": 451, "column": 75 } }, "object": { "type": "CallExpression", "start": 15922, "end": 15952, "loc": { "start": { "line": 451, "column": 38 }, "end": { "line": 451, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 15922, "end": 15947, "loc": { "start": { "line": 451, "column": 38 }, "end": { "line": 451, "column": 63 } }, "object": { "type": "MemberExpression", "start": 15922, "end": 15941, "loc": { "start": { "line": 451, "column": 38 }, "end": { "line": 451, "column": 57 } }, "object": { "type": "Identifier", "start": 15922, "end": 15933, "loc": { "start": { "line": 451, "column": 38 }, "end": { "line": 451, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 15934, "end": 15941, "loc": { "start": { "line": 451, "column": 50 }, "end": { "line": 451, "column": 57 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 15942, "end": 15947, "loc": { "start": { "line": 451, "column": 58 }, "end": { "line": 451, "column": 63 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15948, "end": 15951, "loc": { "start": { "line": 451, "column": 64 }, "end": { "line": 451, "column": 67 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 15953, "end": 15959, "loc": { "start": { "line": 451, "column": 69 }, "end": { "line": 451, "column": 75 }, "identifierName": "filter" }, "name": "filter" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 15960, "end": 15983, "loc": { "start": { "line": 451, "column": 76 }, "end": { "line": 451, "column": 99 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 15960, "end": 15964, "loc": { "start": { "line": 451, "column": 76 }, "end": { "line": 451, "column": 80 }, "identifierName": "item" }, "name": "item" } ], "body": { "type": "BinaryExpression", "start": 15968, "end": 15983, "loc": { "start": { "line": 451, "column": 84 }, "end": { "line": 451, "column": 99 } }, "left": { "type": "Identifier", "start": 15968, "end": 15972, "loc": { "start": { "line": 451, "column": 84 }, "end": { "line": 451, "column": 88 }, "identifierName": "item" }, "name": "item" }, "operator": "!==", "right": { "type": "Identifier", "start": 15977, "end": 15983, "loc": { "start": { "line": 451, "column": 93 }, "end": { "line": 451, "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": 16001, "end": 16098, "loc": { "start": { "line": 453, "column": 12 }, "end": { "line": 455, "column": 15 } } } ] }, { "type": "IfStatement", "start": 16112, "end": 16341, "loc": { "start": { "line": 456, "column": 12 }, "end": { "line": 461, "column": 13 } }, "test": { "type": "MemberExpression", "start": 16115, "end": 16141, "loc": { "start": { "line": 456, "column": 15 }, "end": { "line": 456, "column": 41 } }, "object": { "type": "Identifier", "start": 16115, "end": 16134, "loc": { "start": { "line": 456, "column": 15 }, "end": { "line": 456, "column": 34 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 16135, "end": 16141, "loc": { "start": { "line": 456, "column": 35 }, "end": { "line": 456, "column": 41 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 16142, "end": 16226, "loc": { "start": { "line": 456, "column": 42 }, "end": { "line": 458, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 16159, "end": 16211, "loc": { "start": { "line": 457, "column": 14 }, "end": { "line": 457, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 16159, "end": 16210, "loc": { "start": { "line": 457, "column": 14 }, "end": { "line": 457, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 16159, "end": 16178, "loc": { "start": { "line": 457, "column": 14 }, "end": { "line": 457, "column": 33 } }, "object": { "type": "Identifier", "start": 16159, "end": 16170, "loc": { "start": { "line": 457, "column": 14 }, "end": { "line": 457, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 16171, "end": 16178, "loc": { "start": { "line": 457, "column": 26 }, "end": { "line": 457, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 16181, "end": 16210, "loc": { "start": { "line": 457, "column": 36 }, "end": { "line": 457, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 16181, "end": 16205, "loc": { "start": { "line": 457, "column": 36 }, "end": { "line": 457, "column": 60 } }, "object": { "type": "Identifier", "start": 16181, "end": 16200, "loc": { "start": { "line": 457, "column": 36 }, "end": { "line": 457, "column": 55 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "property": { "type": "Identifier", "start": 16201, "end": 16205, "loc": { "start": { "line": 457, "column": 56 }, "end": { "line": 457, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16206, "end": 16209, "loc": { "start": { "line": 457, "column": 61 }, "end": { "line": 457, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 16232, "end": 16341, "loc": { "start": { "line": 458, "column": 19 }, "end": { "line": 461, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 16249, "end": 16291, "loc": { "start": { "line": 459, "column": 14 }, "end": { "line": 459, "column": 56 } }, "expression": { "type": "CallExpression", "start": 16249, "end": 16290, "loc": { "start": { "line": 459, "column": 14 }, "end": { "line": 459, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 16249, "end": 16280, "loc": { "start": { "line": 459, "column": 14 }, "end": { "line": 459, "column": 45 } }, "object": { "type": "MemberExpression", "start": 16249, "end": 16273, "loc": { "start": { "line": 459, "column": 14 }, "end": { "line": 459, "column": 38 } }, "object": { "type": "MemberExpression", "start": 16249, "end": 16261, "loc": { "start": { "line": 459, "column": 14 }, "end": { "line": 459, "column": 26 } }, "object": { "type": "ThisExpression", "start": 16249, "end": 16253, "loc": { "start": { "line": 459, "column": 14 }, "end": { "line": 459, "column": 18 } } }, "property": { "type": "Identifier", "start": 16254, "end": 16261, "loc": { "start": { "line": 459, "column": 19 }, "end": { "line": 459, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16262, "end": 16273, "loc": { "start": { "line": 459, "column": 27 }, "end": { "line": 459, "column": 38 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 16274, "end": 16280, "loc": { "start": { "line": 459, "column": 39 }, "end": { "line": 459, "column": 45 }, "identifierName": "splice" }, "name": "splice" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 16281, "end": 16286, "loc": { "start": { "line": 459, "column": 46 }, "end": { "line": 459, "column": 51 }, "identifierName": "index" }, "name": "index" }, { "type": "NumericLiteral", "start": 16288, "end": 16289, "loc": { "start": { "line": 459, "column": 53 }, "end": { "line": 459, "column": 54 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } }, { "type": "ExpressionStatement", "start": 16307, "end": 16326, "loc": { "start": { "line": 460, "column": 14 }, "end": { "line": 460, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 16307, "end": 16325, "loc": { "start": { "line": 460, "column": 14 }, "end": { "line": 460, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", "start": 16307, "end": 16318, "loc": { "start": { "line": 460, "column": 14 }, "end": { "line": 460, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "right": { "type": "NullLiteral", "start": 16321, "end": 16325, "loc": { "start": { "line": 460, "column": 28 }, "end": { "line": 460, "column": 32 } } } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 16001, "end": 16098, "loc": { "start": { "line": 453, "column": 12 }, "end": { "line": 455, "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": 15619, "end": 15760, "loc": { "start": { "line": 443, "column": 10 }, "end": { "line": 446, "column": 13 } } } ] }, { "type": "ReturnStatement", "start": 16371, "end": 16390, "loc": { "start": { "line": 465, "column": 10 }, "end": { "line": 465, "column": 29 } }, "argument": { "type": "Identifier", "start": 16378, "end": 16389, "loc": { "start": { "line": 465, "column": 17 }, "end": { "line": 465, "column": 28 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 16424, "end": 16438, "loc": { "start": { "line": 469, "column": 6 }, "end": { "line": 469, "column": 20 } }, "expression": { "type": "CallExpression", "start": 16424, "end": 16437, "loc": { "start": { "line": 469, "column": 6 }, "end": { "line": 469, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 16424, "end": 16435, "loc": { "start": { "line": 469, "column": 6 }, "end": { "line": 469, "column": 17 } }, "object": { "type": "ThisExpression", "start": 16424, "end": 16428, "loc": { "start": { "line": 469, "column": 6 }, "end": { "line": 469, "column": 10 } } }, "property": { "type": "Identifier", "start": 16429, "end": 16435, "loc": { "start": { "line": 469, "column": 11 }, "end": { "line": 469, "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": 15286, "end": 15354, "loc": { "start": { "line": 435, "column": 4 }, "end": { "line": 437, "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": 14689, "end": 15029, "loc": { "start": { "line": 420, "column": 2 }, "end": { "line": 424, "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": 16456, "end": 16659, "loc": { "start": { "line": 473, "column": 2 }, "end": { "line": 476, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 16663, "end": 16930, "loc": { "start": { "line": 477, "column": 2 }, "end": { "line": 490, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 16663, "end": 16679, "loc": { "start": { "line": 477, "column": 2 }, "end": { "line": 477, "column": 18 }, "identifierName": "getButtonElement" }, "name": "getButtonElement", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16680, "end": 16686, "loc": { "start": { "line": 477, "column": 19 }, "end": { "line": 477, "column": 25 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 16687, "end": 16930, "loc": { "start": { "line": 477, "column": 26 }, "end": { "line": 490, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 16694, "end": 16705, "loc": { "start": { "line": 478, "column": 4 }, "end": { "line": 478, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16698, "end": 16704, "loc": { "start": { "line": 478, "column": 8 }, "end": { "line": 478, "column": 14 } }, "id": { "type": "Identifier", "start": 16698, "end": 16704, "loc": { "start": { "line": 478, "column": 8 }, "end": { "line": 478, "column": 14 }, "identifierName": "output" }, "name": "output" }, "init": null } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 16713, "end": 16757, "loc": { "start": { "line": 480, "column": 4 }, "end": { "line": 480, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16717, "end": 16756, "loc": { "start": { "line": 480, "column": 8 }, "end": { "line": 480, "column": 47 } }, "id": { "type": "Identifier", "start": 16717, "end": 16726, "loc": { "start": { "line": 480, "column": 8 }, "end": { "line": 480, "column": 17 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "init": { "type": "MemberExpression", "start": 16729, "end": 16756, "loc": { "start": { "line": 480, "column": 20 }, "end": { "line": 480, "column": 47 } }, "object": { "type": "MemberExpression", "start": 16729, "end": 16748, "loc": { "start": { "line": 480, "column": 20 }, "end": { "line": 480, "column": 39 } }, "object": { "type": "ThisExpression", "start": 16729, "end": 16733, "loc": { "start": { "line": 480, "column": 20 }, "end": { "line": 480, "column": 24 } } }, "property": { "type": "Identifier", "start": 16734, "end": 16748, "loc": { "start": { "line": 480, "column": 25 }, "end": { "line": 480, "column": 39 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 16749, "end": 16755, "loc": { "start": { "line": 480, "column": 40 }, "end": { "line": 480, "column": 46 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "IfStatement", "start": 16763, "end": 16903, "loc": { "start": { "line": 481, "column": 4 }, "end": { "line": 487, "column": 5 } }, "test": { "type": "Identifier", "start": 16766, "end": 16775, "loc": { "start": { "line": 481, "column": 7 }, "end": { "line": 481, "column": 16 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "consequent": { "type": "BlockStatement", "start": 16776, "end": 16903, "loc": { "start": { "line": 481, "column": 17 }, "end": { "line": 487, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 16785, "end": 16896, "loc": { "start": { "line": 482, "column": 6 }, "end": { "line": 486, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 16788, "end": 16808, "loc": { "start": { "line": 482, "column": 9 }, "end": { "line": 482, "column": 29 } }, "left": { "type": "MemberExpression", "start": 16788, "end": 16804, "loc": { "start": { "line": 482, "column": 9 }, "end": { "line": 482, "column": 25 } }, "object": { "type": "Identifier", "start": 16788, "end": 16797, "loc": { "start": { "line": 482, "column": 9 }, "end": { "line": 482, "column": 18 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "Identifier", "start": 16798, "end": 16804, "loc": { "start": { "line": 482, "column": 19 }, "end": { "line": 482, "column": 25 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 16807, "end": 16808, "loc": { "start": { "line": 482, "column": 28 }, "end": { "line": 482, "column": 29 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "consequent": { "type": "BlockStatement", "start": 16809, "end": 16848, "loc": { "start": { "line": 482, "column": 30 }, "end": { "line": 484, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 16820, "end": 16839, "loc": { "start": { "line": 483, "column": 8 }, "end": { "line": 483, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 16820, "end": 16838, "loc": { "start": { "line": 483, "column": 8 }, "end": { "line": 483, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", "start": 16820, "end": 16826, "loc": { "start": { "line": 483, "column": 8 }, "end": { "line": 483, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "Identifier", "start": 16829, "end": 16838, "loc": { "start": { "line": 483, "column": 17 }, "end": { "line": 483, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 16854, "end": 16896, "loc": { "start": { "line": 484, "column": 13 }, "end": { "line": 486, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 16865, "end": 16887, "loc": { "start": { "line": 485, "column": 8 }, "end": { "line": 485, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 16865, "end": 16886, "loc": { "start": { "line": 485, "column": 8 }, "end": { "line": 485, "column": 29 } }, "operator": "=", "left": { "type": "Identifier", "start": 16865, "end": 16871, "loc": { "start": { "line": 485, "column": 8 }, "end": { "line": 485, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "MemberExpression", "start": 16874, "end": 16886, "loc": { "start": { "line": 485, "column": 17 }, "end": { "line": 485, "column": 29 } }, "object": { "type": "Identifier", "start": 16874, "end": 16883, "loc": { "start": { "line": 485, "column": 17 }, "end": { "line": 485, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "NumericLiteral", "start": 16884, "end": 16885, "loc": { "start": { "line": 485, "column": 27 }, "end": { "line": 485, "column": 28 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } } } ], "directives": [] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 16911, "end": 16925, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 489, "column": 18 } }, "argument": { "type": "Identifier", "start": 16918, "end": 16924, "loc": { "start": { "line": 489, "column": 11 }, "end": { "line": 489, "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": 16456, "end": 16659, "loc": { "start": { "line": 473, "column": 2 }, "end": { "line": 476, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 16936, "end": 17026, "loc": { "start": { "line": 492, "column": 2 }, "end": { "line": 494, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 17030, "end": 17333, "loc": { "start": { "line": 495, "column": 2 }, "end": { "line": 503, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17030, "end": 17041, "loc": { "start": { "line": 495, "column": 2 }, "end": { "line": 495, "column": 13 }, "identifierName": "handleCaret" }, "name": "handleCaret", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 17043, "end": 17333, "loc": { "start": { "line": 495, "column": 15 }, "end": { "line": 503, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 17050, "end": 17126, "loc": { "start": { "line": 496, "column": 4 }, "end": { "line": 498, "column": 5 } }, "test": { "type": "MemberExpression", "start": 17053, "end": 17071, "loc": { "start": { "line": 496, "column": 7 }, "end": { "line": 496, "column": 25 } }, "object": { "type": "MemberExpression", "start": 17053, "end": 17065, "loc": { "start": { "line": 496, "column": 7 }, "end": { "line": 496, "column": 19 } }, "object": { "type": "ThisExpression", "start": 17053, "end": 17057, "loc": { "start": { "line": 496, "column": 7 }, "end": { "line": 496, "column": 11 } } }, "property": { "type": "Identifier", "start": 17058, "end": 17065, "loc": { "start": { "line": 496, "column": 12 }, "end": { "line": 496, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17066, "end": 17071, "loc": { "start": { "line": 496, "column": 20 }, "end": { "line": 496, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 17072, "end": 17126, "loc": { "start": { "line": 496, "column": 26 }, "end": { "line": 498, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 17081, "end": 17119, "loc": { "start": { "line": 497, "column": 6 }, "end": { "line": 497, "column": 44 } }, "expression": { "type": "CallExpression", "start": 17081, "end": 17118, "loc": { "start": { "line": 497, "column": 6 }, "end": { "line": 497, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 17081, "end": 17092, "loc": { "start": { "line": 497, "column": 6 }, "end": { "line": 497, "column": 17 } }, "object": { "type": "Identifier", "start": 17081, "end": 17088, "loc": { "start": { "line": 497, "column": 6 }, "end": { "line": 497, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 17089, "end": 17092, "loc": { "start": { "line": 497, "column": 14 }, "end": { "line": 497, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17093, "end": 17117, "loc": { "start": { "line": 497, "column": 18 }, "end": { "line": 497, "column": 42 } }, "extra": { "rawValue": "Caret handling started", "raw": "\"Caret handling started\"" }, "value": "Caret handling started" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 17134, "end": 17193, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 500, "column": 63 } }, "expression": { "type": "CallExpression", "start": 17134, "end": 17192, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 500, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 17134, "end": 17159, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 500, "column": 29 } }, "object": { "type": "Identifier", "start": 17134, "end": 17142, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 500, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 17143, "end": 17159, "loc": { "start": { "line": 500, "column": 13 }, "end": { "line": 500, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17160, "end": 17167, "loc": { "start": { "line": 500, "column": 30 }, "end": { "line": 500, "column": 37 } }, "extra": { "rawValue": "keyup", "raw": "\"keyup\"" }, "value": "keyup" }, { "type": "MemberExpression", "start": 17169, "end": 17191, "loc": { "start": { "line": 500, "column": 39 }, "end": { "line": 500, "column": 61 } }, "object": { "type": "ThisExpression", "start": 17169, "end": 17173, "loc": { "start": { "line": 500, "column": 39 }, "end": { "line": 500, "column": 43 } } }, "property": { "type": "Identifier", "start": 17174, "end": 17191, "loc": { "start": { "line": 500, "column": 44 }, "end": { "line": 500, "column": 61 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 17199, "end": 17260, "loc": { "start": { "line": 501, "column": 4 }, "end": { "line": 501, "column": 65 } }, "expression": { "type": "CallExpression", "start": 17199, "end": 17259, "loc": { "start": { "line": 501, "column": 4 }, "end": { "line": 501, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 17199, "end": 17224, "loc": { "start": { "line": 501, "column": 4 }, "end": { "line": 501, "column": 29 } }, "object": { "type": "Identifier", "start": 17199, "end": 17207, "loc": { "start": { "line": 501, "column": 4 }, "end": { "line": 501, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 17208, "end": 17224, "loc": { "start": { "line": 501, "column": 13 }, "end": { "line": 501, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17225, "end": 17234, "loc": { "start": { "line": 501, "column": 30 }, "end": { "line": 501, "column": 39 } }, "extra": { "rawValue": "mouseup", "raw": "\"mouseup\"" }, "value": "mouseup" }, { "type": "MemberExpression", "start": 17236, "end": 17258, "loc": { "start": { "line": 501, "column": 41 }, "end": { "line": 501, "column": 63 } }, "object": { "type": "ThisExpression", "start": 17236, "end": 17240, "loc": { "start": { "line": 501, "column": 41 }, "end": { "line": 501, "column": 45 } } }, "property": { "type": "Identifier", "start": 17241, "end": 17258, "loc": { "start": { "line": 501, "column": 46 }, "end": { "line": 501, "column": 63 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 17266, "end": 17328, "loc": { "start": { "line": 502, "column": 4 }, "end": { "line": 502, "column": 66 } }, "expression": { "type": "CallExpression", "start": 17266, "end": 17327, "loc": { "start": { "line": 502, "column": 4 }, "end": { "line": 502, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 17266, "end": 17291, "loc": { "start": { "line": 502, "column": 4 }, "end": { "line": 502, "column": 29 } }, "object": { "type": "Identifier", "start": 17266, "end": 17274, "loc": { "start": { "line": 502, "column": 4 }, "end": { "line": 502, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 17275, "end": 17291, "loc": { "start": { "line": 502, "column": 13 }, "end": { "line": 502, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17292, "end": 17302, "loc": { "start": { "line": 502, "column": 30 }, "end": { "line": 502, "column": 40 } }, "extra": { "rawValue": "touchend", "raw": "\"touchend\"" }, "value": "touchend" }, { "type": "MemberExpression", "start": 17304, "end": 17326, "loc": { "start": { "line": 502, "column": 42 }, "end": { "line": 502, "column": 64 } }, "object": { "type": "ThisExpression", "start": 17304, "end": 17308, "loc": { "start": { "line": 502, "column": 42 }, "end": { "line": 502, "column": 46 } } }, "property": { "type": "Identifier", "start": 17309, "end": 17326, "loc": { "start": { "line": 502, "column": 47 }, "end": { "line": 502, "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": 16936, "end": 17026, "loc": { "start": { "line": 492, "column": 2 }, "end": { "line": 494, "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": 17339, "end": 17451, "loc": { "start": { "line": 505, "column": 2 }, "end": { "line": 507, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 17455, "end": 18005, "loc": { "start": { "line": 508, "column": 2 }, "end": { "line": 525, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17455, "end": 17472, "loc": { "start": { "line": 508, "column": 2 }, "end": { "line": 508, "column": 19 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17473, "end": 17478, "loc": { "start": { "line": 508, "column": 20 }, "end": { "line": 508, "column": 25 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 17479, "end": 18005, "loc": { "start": { "line": 508, "column": 26 }, "end": { "line": 525, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 17486, "end": 17541, "loc": { "start": { "line": 509, "column": 4 }, "end": { "line": 509, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17490, "end": 17540, "loc": { "start": { "line": 509, "column": 8 }, "end": { "line": 509, "column": 58 } }, "id": { "type": "Identifier", "start": 17490, "end": 17503, "loc": { "start": { "line": 509, "column": 8 }, "end": { "line": 509, "column": 21 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "init": { "type": "CallExpression", "start": 17506, "end": 17540, "loc": { "start": { "line": 509, "column": 24 }, "end": { "line": 509, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 17506, "end": 17538, "loc": { "start": { "line": 509, "column": 24 }, "end": { "line": 509, "column": 56 } }, "object": { "type": "MemberExpression", "start": 17506, "end": 17526, "loc": { "start": { "line": 509, "column": 24 }, "end": { "line": 509, "column": 44 } }, "object": { "type": "MemberExpression", "start": 17506, "end": 17518, "loc": { "start": { "line": 509, "column": 24 }, "end": { "line": 509, "column": 36 } }, "object": { "type": "Identifier", "start": 17506, "end": 17511, "loc": { "start": { "line": 509, "column": 24 }, "end": { "line": 509, "column": 29 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17512, "end": 17518, "loc": { "start": { "line": 509, "column": 30 }, "end": { "line": 509, "column": 36 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17519, "end": 17526, "loc": { "start": { "line": 509, "column": 37 }, "end": { "line": 509, "column": 44 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 17527, "end": 17538, "loc": { "start": { "line": 509, "column": 45 }, "end": { "line": 509, "column": 56 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } } ], "kind": "let" }, { "type": "IfStatement", "start": 17549, "end": 18000, "loc": { "start": { "line": 511, "column": 4 }, "end": { "line": 524, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 17560, "end": 17624, "loc": { "start": { "line": 512, "column": 6 }, "end": { "line": 513, "column": 31 } }, "left": { "type": "BinaryExpression", "start": 17560, "end": 17588, "loc": { "start": { "line": 512, "column": 6 }, "end": { "line": 512, "column": 34 } }, "left": { "type": "Identifier", "start": 17560, "end": 17573, "loc": { "start": { "line": 512, "column": 6 }, "end": { "line": 512, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 17578, "end": 17588, "loc": { "start": { "line": 512, "column": 24 }, "end": { "line": 512, "column": 34 } }, "extra": { "rawValue": "textarea", "raw": "\"textarea\"" }, "value": "textarea" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 17599, "end": 17624, "loc": { "start": { "line": 513, "column": 6 }, "end": { "line": 513, "column": 31 } }, "left": { "type": "Identifier", "start": 17599, "end": 17612, "loc": { "start": { "line": 513, "column": 6 }, "end": { "line": 513, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 17617, "end": 17624, "loc": { "start": { "line": 513, "column": 24 }, "end": { "line": 513, "column": 31 } }, "extra": { "rawValue": "input", "raw": "\"input\"" }, "value": "input" } } }, "consequent": { "type": "BlockStatement", "start": 17631, "end": 18000, "loc": { "start": { "line": 514, "column": 5 }, "end": { "line": 524, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 17796, "end": 17845, "loc": { "start": { "line": 519, "column": 6 }, "end": { "line": 519, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 17796, "end": 17844, "loc": { "start": { "line": 519, "column": 6 }, "end": { "line": 519, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 17796, "end": 17814, "loc": { "start": { "line": 519, "column": 6 }, "end": { "line": 519, "column": 24 } }, "object": { "type": "ThisExpression", "start": 17796, "end": 17800, "loc": { "start": { "line": 519, "column": 6 }, "end": { "line": 519, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 17801, "end": 17814, "loc": { "start": { "line": 519, "column": 11 }, "end": { "line": 519, "column": 24 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 17817, "end": 17844, "loc": { "start": { "line": 519, "column": 27 }, "end": { "line": 519, "column": 54 } }, "object": { "type": "MemberExpression", "start": 17817, "end": 17829, "loc": { "start": { "line": 519, "column": 27 }, "end": { "line": 519, "column": 39 } }, "object": { "type": "Identifier", "start": 17817, "end": 17822, "loc": { "start": { "line": 519, "column": 27 }, "end": { "line": 519, "column": 32 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17823, "end": 17829, "loc": { "start": { "line": 519, "column": 33 }, "end": { "line": 519, "column": 39 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17830, "end": 17844, "loc": { "start": { "line": 519, "column": 40 }, "end": { "line": 519, "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": 17640, "end": 17788, "loc": { "start": { "line": 515, "column": 6 }, "end": { "line": 518, "column": 9 } } } ] }, { "type": "IfStatement", "start": 17855, "end": 17988, "loc": { "start": { "line": 521, "column": 6 }, "end": { "line": 523, "column": 7 } }, "test": { "type": "MemberExpression", "start": 17858, "end": 17876, "loc": { "start": { "line": 521, "column": 9 }, "end": { "line": 521, "column": 27 } }, "object": { "type": "MemberExpression", "start": 17858, "end": 17870, "loc": { "start": { "line": 521, "column": 9 }, "end": { "line": 521, "column": 21 } }, "object": { "type": "ThisExpression", "start": 17858, "end": 17862, "loc": { "start": { "line": 521, "column": 9 }, "end": { "line": 521, "column": 13 } } }, "property": { "type": "Identifier", "start": 17863, "end": 17870, "loc": { "start": { "line": 521, "column": 14 }, "end": { "line": 521, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17871, "end": 17876, "loc": { "start": { "line": 521, "column": 22 }, "end": { "line": 521, "column": 27 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 17877, "end": 17988, "loc": { "start": { "line": 521, "column": 28 }, "end": { "line": 523, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 17888, "end": 17979, "loc": { "start": { "line": 522, "column": 8 }, "end": { "line": 522, "column": 99 } }, "expression": { "type": "CallExpression", "start": 17888, "end": 17978, "loc": { "start": { "line": 522, "column": 8 }, "end": { "line": 522, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 17888, "end": 17899, "loc": { "start": { "line": 522, "column": 8 }, "end": { "line": 522, "column": 19 } }, "object": { "type": "Identifier", "start": 17888, "end": 17895, "loc": { "start": { "line": 522, "column": 8 }, "end": { "line": 522, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 17896, "end": 17899, "loc": { "start": { "line": 522, "column": 16 }, "end": { "line": 522, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17900, "end": 17912, "loc": { "start": { "line": 522, "column": 20 }, "end": { "line": 522, "column": 32 } }, "extra": { "rawValue": "Caret at: ", "raw": "'Caret at: '" }, "value": "Caret at: " }, { "type": "MemberExpression", "start": 17914, "end": 17941, "loc": { "start": { "line": 522, "column": 34 }, "end": { "line": 522, "column": 61 } }, "object": { "type": "MemberExpression", "start": 17914, "end": 17926, "loc": { "start": { "line": 522, "column": 34 }, "end": { "line": 522, "column": 46 } }, "object": { "type": "Identifier", "start": 17914, "end": 17919, "loc": { "start": { "line": 522, "column": 34 }, "end": { "line": 522, "column": 39 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17920, "end": 17926, "loc": { "start": { "line": 522, "column": 40 }, "end": { "line": 522, "column": 46 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17927, "end": 17941, "loc": { "start": { "line": 522, "column": 47 }, "end": { "line": 522, "column": 61 }, "identifierName": "selectionStart" }, "name": "selectionStart" }, "computed": false }, { "type": "CallExpression", "start": 17943, "end": 17977, "loc": { "start": { "line": 522, "column": 63 }, "end": { "line": 522, "column": 97 } }, "callee": { "type": "MemberExpression", "start": 17943, "end": 17975, "loc": { "start": { "line": 522, "column": 63 }, "end": { "line": 522, "column": 95 } }, "object": { "type": "MemberExpression", "start": 17943, "end": 17963, "loc": { "start": { "line": 522, "column": 63 }, "end": { "line": 522, "column": 83 } }, "object": { "type": "MemberExpression", "start": 17943, "end": 17955, "loc": { "start": { "line": 522, "column": 63 }, "end": { "line": 522, "column": 75 } }, "object": { "type": "Identifier", "start": 17943, "end": 17948, "loc": { "start": { "line": 522, "column": 63 }, "end": { "line": 522, "column": 68 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17949, "end": 17955, "loc": { "start": { "line": 522, "column": 69 }, "end": { "line": 522, "column": 75 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 17956, "end": 17963, "loc": { "start": { "line": 522, "column": 76 }, "end": { "line": 522, "column": 83 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 17964, "end": 17975, "loc": { "start": { "line": 522, "column": 84 }, "end": { "line": 522, "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": 17339, "end": 17451, "loc": { "start": { "line": 505, "column": 2 }, "end": { "line": 507, "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": 18011, "end": 18131, "loc": { "start": { "line": 527, "column": 2 }, "end": { "line": 529, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 18135, "end": 18371, "loc": { "start": { "line": 530, "column": 2 }, "end": { "line": 542, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18135, "end": 18141, "loc": { "start": { "line": 530, "column": 2 }, "end": { "line": 530, "column": 8 }, "identifierName": "onInit" }, "name": "onInit", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 18143, "end": 18371, "loc": { "start": { "line": 530, "column": 10 }, "end": { "line": 542, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18150, "end": 18215, "loc": { "start": { "line": 531, "column": 4 }, "end": { "line": 533, "column": 5 } }, "test": { "type": "MemberExpression", "start": 18153, "end": 18171, "loc": { "start": { "line": 531, "column": 7 }, "end": { "line": 531, "column": 25 } }, "object": { "type": "MemberExpression", "start": 18153, "end": 18165, "loc": { "start": { "line": 531, "column": 7 }, "end": { "line": 531, "column": 19 } }, "object": { "type": "ThisExpression", "start": 18153, "end": 18157, "loc": { "start": { "line": 531, "column": 7 }, "end": { "line": 531, "column": 11 } } }, "property": { "type": "Identifier", "start": 18158, "end": 18165, "loc": { "start": { "line": 531, "column": 12 }, "end": { "line": 531, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18166, "end": 18171, "loc": { "start": { "line": 531, "column": 20 }, "end": { "line": 531, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 18172, "end": 18215, "loc": { "start": { "line": 531, "column": 26 }, "end": { "line": 533, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18181, "end": 18208, "loc": { "start": { "line": 532, "column": 6 }, "end": { "line": 532, "column": 33 } }, "expression": { "type": "CallExpression", "start": 18181, "end": 18207, "loc": { "start": { "line": 532, "column": 6 }, "end": { "line": 532, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 18181, "end": 18192, "loc": { "start": { "line": 532, "column": 6 }, "end": { "line": 532, "column": 17 } }, "object": { "type": "Identifier", "start": 18181, "end": 18188, "loc": { "start": { "line": 532, "column": 6 }, "end": { "line": 532, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 18189, "end": 18192, "loc": { "start": { "line": 532, "column": 14 }, "end": { "line": 532, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18193, "end": 18206, "loc": { "start": { "line": 532, "column": 18 }, "end": { "line": 532, "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": 18223, "end": 18258, "loc": { "start": { "line": 535, "column": 4 }, "end": { "line": 537, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 18264, "end": 18283, "loc": { "start": { "line": 538, "column": 4 }, "end": { "line": 538, "column": 23 } }, "expression": { "type": "CallExpression", "start": 18264, "end": 18282, "loc": { "start": { "line": 538, "column": 4 }, "end": { "line": 538, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 18264, "end": 18280, "loc": { "start": { "line": 538, "column": 4 }, "end": { "line": 538, "column": 20 } }, "object": { "type": "ThisExpression", "start": 18264, "end": 18268, "loc": { "start": { "line": 538, "column": 4 }, "end": { "line": 538, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 18269, "end": 18280, "loc": { "start": { "line": 538, "column": 9 }, "end": { "line": 538, "column": 20 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 18223, "end": 18258, "loc": { "start": { "line": 535, "column": 4 }, "end": { "line": 537, "column": 7 } } } ] }, { "type": "IfStatement", "start": 18291, "end": 18366, "loc": { "start": { "line": 540, "column": 4 }, "end": { "line": 541, "column": 28 } }, "test": { "type": "BinaryExpression", "start": 18294, "end": 18335, "loc": { "start": { "line": 540, "column": 7 }, "end": { "line": 540, "column": 48 } }, "left": { "type": "UnaryExpression", "start": 18294, "end": 18320, "loc": { "start": { "line": 540, "column": 7 }, "end": { "line": 540, "column": 33 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 18301, "end": 18320, "loc": { "start": { "line": 540, "column": 14 }, "end": { "line": 540, "column": 33 } }, "object": { "type": "MemberExpression", "start": 18301, "end": 18313, "loc": { "start": { "line": 540, "column": 14 }, "end": { "line": 540, "column": 26 } }, "object": { "type": "ThisExpression", "start": 18301, "end": 18305, "loc": { "start": { "line": 540, "column": 14 }, "end": { "line": 540, "column": 18 } } }, "property": { "type": "Identifier", "start": 18306, "end": 18313, "loc": { "start": { "line": 540, "column": 19 }, "end": { "line": 540, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18314, "end": 18320, "loc": { "start": { "line": 540, "column": 27 }, "end": { "line": 540, "column": 33 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 18325, "end": 18335, "loc": { "start": { "line": 540, "column": 38 }, "end": { "line": 540, "column": 48 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 18344, "end": 18366, "loc": { "start": { "line": 541, "column": 6 }, "end": { "line": 541, "column": 28 } }, "expression": { "type": "CallExpression", "start": 18344, "end": 18365, "loc": { "start": { "line": 541, "column": 6 }, "end": { "line": 541, "column": 27 } }, "callee": { "type": "MemberExpression", "start": 18344, "end": 18363, "loc": { "start": { "line": 541, "column": 6 }, "end": { "line": 541, "column": 25 } }, "object": { "type": "MemberExpression", "start": 18344, "end": 18356, "loc": { "start": { "line": 541, "column": 6 }, "end": { "line": 541, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18344, "end": 18348, "loc": { "start": { "line": 541, "column": 6 }, "end": { "line": 541, "column": 10 } } }, "property": { "type": "Identifier", "start": 18349, "end": 18356, "loc": { "start": { "line": 541, "column": 11 }, "end": { "line": 541, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18357, "end": 18363, "loc": { "start": { "line": 541, "column": 19 }, "end": { "line": 541, "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": 18011, "end": 18131, "loc": { "start": { "line": 527, "column": 2 }, "end": { "line": 529, "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": 18377, "end": 18495, "loc": { "start": { "line": 544, "column": 2 }, "end": { "line": 546, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 18499, "end": 18600, "loc": { "start": { "line": 547, "column": 2 }, "end": { "line": 550, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18499, "end": 18507, "loc": { "start": { "line": 547, "column": 2 }, "end": { "line": 547, "column": 10 }, "identifierName": "onRender" }, "name": "onRender", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 18509, "end": 18600, "loc": { "start": { "line": 547, "column": 12 }, "end": { "line": 550, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18516, "end": 18595, "loc": { "start": { "line": 548, "column": 4 }, "end": { "line": 549, "column": 30 } }, "test": { "type": "BinaryExpression", "start": 18519, "end": 18562, "loc": { "start": { "line": 548, "column": 7 }, "end": { "line": 548, "column": 50 } }, "left": { "type": "UnaryExpression", "start": 18519, "end": 18547, "loc": { "start": { "line": 548, "column": 7 }, "end": { "line": 548, "column": 35 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 18526, "end": 18547, "loc": { "start": { "line": 548, "column": 14 }, "end": { "line": 548, "column": 35 } }, "object": { "type": "MemberExpression", "start": 18526, "end": 18538, "loc": { "start": { "line": 548, "column": 14 }, "end": { "line": 548, "column": 26 } }, "object": { "type": "ThisExpression", "start": 18526, "end": 18530, "loc": { "start": { "line": 548, "column": 14 }, "end": { "line": 548, "column": 18 } } }, "property": { "type": "Identifier", "start": 18531, "end": 18538, "loc": { "start": { "line": 548, "column": 19 }, "end": { "line": 548, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18539, "end": 18547, "loc": { "start": { "line": 548, "column": 27 }, "end": { "line": 548, "column": 35 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 18552, "end": 18562, "loc": { "start": { "line": 548, "column": 40 }, "end": { "line": 548, "column": 50 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 18571, "end": 18595, "loc": { "start": { "line": 549, "column": 6 }, "end": { "line": 549, "column": 30 } }, "expression": { "type": "CallExpression", "start": 18571, "end": 18594, "loc": { "start": { "line": 549, "column": 6 }, "end": { "line": 549, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 18571, "end": 18592, "loc": { "start": { "line": 549, "column": 6 }, "end": { "line": 549, "column": 27 } }, "object": { "type": "MemberExpression", "start": 18571, "end": 18583, "loc": { "start": { "line": 549, "column": 6 }, "end": { "line": 549, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18571, "end": 18575, "loc": { "start": { "line": 549, "column": 6 }, "end": { "line": 549, "column": 10 } } }, "property": { "type": "Identifier", "start": 18576, "end": 18583, "loc": { "start": { "line": 549, "column": 11 }, "end": { "line": 549, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18584, "end": 18592, "loc": { "start": { "line": 549, "column": 19 }, "end": { "line": 549, "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": 18377, "end": 18495, "loc": { "start": { "line": 544, "column": 2 }, "end": { "line": 546, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", "start": 18605, "end": 18684, "loc": { "start": { "line": 552, "column": 1 }, "end": { "line": 554, "column": 4 } } } ] }, { "type": "ClassMethod", "start": 18688, "end": 18810, "loc": { "start": { "line": 555, "column": 2 }, "end": { "line": 558, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18688, "end": 18703, "loc": { "start": { "line": 555, "column": 2 }, "end": { "line": 555, "column": 17 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 18705, "end": 18810, "loc": { "start": { "line": 555, "column": 19 }, "end": { "line": 558, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18712, "end": 18805, "loc": { "start": { "line": 556, "column": 4 }, "end": { "line": 557, "column": 37 } }, "test": { "type": "BinaryExpression", "start": 18715, "end": 18765, "loc": { "start": { "line": 556, "column": 7 }, "end": { "line": 556, "column": 57 } }, "left": { "type": "UnaryExpression", "start": 18715, "end": 18750, "loc": { "start": { "line": 556, "column": 7 }, "end": { "line": 556, "column": 42 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 18722, "end": 18750, "loc": { "start": { "line": 556, "column": 14 }, "end": { "line": 556, "column": 42 } }, "object": { "type": "MemberExpression", "start": 18722, "end": 18734, "loc": { "start": { "line": 556, "column": 14 }, "end": { "line": 556, "column": 26 } }, "object": { "type": "ThisExpression", "start": 18722, "end": 18726, "loc": { "start": { "line": 556, "column": 14 }, "end": { "line": 556, "column": 18 } } }, "property": { "type": "Identifier", "start": 18727, "end": 18734, "loc": { "start": { "line": 556, "column": 19 }, "end": { "line": 556, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18735, "end": 18750, "loc": { "start": { "line": 556, "column": 27 }, "end": { "line": 556, "column": 42 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 18755, "end": 18765, "loc": { "start": { "line": 556, "column": 47 }, "end": { "line": 556, "column": 57 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 18774, "end": 18805, "loc": { "start": { "line": 557, "column": 6 }, "end": { "line": 557, "column": 37 } }, "expression": { "type": "CallExpression", "start": 18774, "end": 18804, "loc": { "start": { "line": 557, "column": 6 }, "end": { "line": 557, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 18774, "end": 18802, "loc": { "start": { "line": 557, "column": 6 }, "end": { "line": 557, "column": 34 } }, "object": { "type": "MemberExpression", "start": 18774, "end": 18786, "loc": { "start": { "line": 557, "column": 6 }, "end": { "line": 557, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18774, "end": 18778, "loc": { "start": { "line": 557, "column": 6 }, "end": { "line": 557, "column": 10 } } }, "property": { "type": "Identifier", "start": 18779, "end": 18786, "loc": { "start": { "line": 557, "column": 11 }, "end": { "line": 557, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18787, "end": 18802, "loc": { "start": { "line": 557, "column": 19 }, "end": { "line": 557, "column": 34 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", "start": 18605, "end": 18684, "loc": { "start": { "line": 552, "column": 1 }, "end": { "line": 554, "column": 4 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 18816, "end": 18848, "loc": { "start": { "line": 560, "column": 2 }, "end": { "line": 562, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 18852, "end": 19001, "loc": { "start": { "line": 563, "column": 2 }, "end": { "line": 568, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18852, "end": 18866, "loc": { "start": { "line": 563, "column": 2 }, "end": { "line": 563, "column": 16 }, "identifierName": "registerModule" }, "name": "registerModule", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 18869, "end": 19001, "loc": { "start": { "line": 563, "column": 19 }, "end": { "line": 568, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 18870, "end": 18874, "loc": { "start": { "line": 563, "column": 20 }, "end": { "line": 563, "column": 24 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 18876, "end": 18888, "loc": { "start": { "line": 563, "column": 26 }, "end": { "line": 563, "column": 38 }, "identifierName": "initCallback" }, "name": "initCallback" } ], "body": { "type": "BlockStatement", "start": 18893, "end": 19001, "loc": { "start": { "line": 563, "column": 43 }, "end": { "line": 568, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18900, "end": 18955, "loc": { "start": { "line": 564, "column": 4 }, "end": { "line": 565, "column": 30 } }, "test": { "type": "UnaryExpression", "start": 18903, "end": 18922, "loc": { "start": { "line": 564, "column": 7 }, "end": { "line": 564, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 18904, "end": 18922, "loc": { "start": { "line": 564, "column": 8 }, "end": { "line": 564, "column": 26 } }, "object": { "type": "MemberExpression", "start": 18904, "end": 18916, "loc": { "start": { "line": 564, "column": 8 }, "end": { "line": 564, "column": 20 } }, "object": { "type": "ThisExpression", "start": 18904, "end": 18908, "loc": { "start": { "line": 564, "column": 8 }, "end": { "line": 564, "column": 12 } } }, "property": { "type": "Identifier", "start": 18909, "end": 18916, "loc": { "start": { "line": 564, "column": 13 }, "end": { "line": 564, "column": 20 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 18917, "end": 18921, "loc": { "start": { "line": 564, "column": 21 }, "end": { "line": 564, "column": 25 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 18931, "end": 18955, "loc": { "start": { "line": 565, "column": 6 }, "end": { "line": 565, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 18931, "end": 18954, "loc": { "start": { "line": 565, "column": 6 }, "end": { "line": 565, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18931, "end": 18949, "loc": { "start": { "line": 565, "column": 6 }, "end": { "line": 565, "column": 24 } }, "object": { "type": "MemberExpression", "start": 18931, "end": 18943, "loc": { "start": { "line": 565, "column": 6 }, "end": { "line": 565, "column": 18 } }, "object": { "type": "ThisExpression", "start": 18931, "end": 18935, "loc": { "start": { "line": 565, "column": 6 }, "end": { "line": 565, "column": 10 } } }, "property": { "type": "Identifier", "start": 18936, "end": 18943, "loc": { "start": { "line": 565, "column": 11 }, "end": { "line": 565, "column": 18 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 18944, "end": 18948, "loc": { "start": { "line": 565, "column": 19 }, "end": { "line": 565, "column": 23 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 18952, "end": 18954, "loc": { "start": { "line": 565, "column": 27 }, "end": { "line": 565, "column": 29 } }, "properties": [] } } }, "alternate": null }, { "type": "ExpressionStatement", "start": 18963, "end": 18996, "loc": { "start": { "line": 567, "column": 4 }, "end": { "line": 567, "column": 37 } }, "expression": { "type": "CallExpression", "start": 18963, "end": 18995, "loc": { "start": { "line": 567, "column": 4 }, "end": { "line": 567, "column": 36 } }, "callee": { "type": "Identifier", "start": 18963, "end": 18975, "loc": { "start": { "line": 567, "column": 4 }, "end": { "line": 567, "column": 16 }, "identifierName": "initCallback" }, "name": "initCallback" }, "arguments": [ { "type": "MemberExpression", "start": 18976, "end": 18994, "loc": { "start": { "line": 567, "column": 17 }, "end": { "line": 567, "column": 35 } }, "object": { "type": "MemberExpression", "start": 18976, "end": 18988, "loc": { "start": { "line": 567, "column": 17 }, "end": { "line": 567, "column": 29 } }, "object": { "type": "ThisExpression", "start": 18976, "end": 18980, "loc": { "start": { "line": 567, "column": 17 }, "end": { "line": 567, "column": 21 } } }, "property": { "type": "Identifier", "start": 18981, "end": 18988, "loc": { "start": { "line": 567, "column": 22 }, "end": { "line": 567, "column": 29 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 18989, "end": 18993, "loc": { "start": { "line": 567, "column": 30 }, "end": { "line": 567, "column": 34 }, "identifierName": "name" }, "name": "name" }, "computed": true } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 18816, "end": 18848, "loc": { "start": { "line": 560, "column": 2 }, "end": { "line": 562, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 19007, "end": 19036, "loc": { "start": { "line": 570, "column": 2 }, "end": { "line": 572, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 19040, "end": 19681, "loc": { "start": { "line": 573, "column": 2 }, "end": { "line": 592, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19040, "end": 19051, "loc": { "start": { "line": 573, "column": 2 }, "end": { "line": 573, "column": 13 }, "identifierName": "loadModules" }, "name": "loadModules", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19053, "end": 19681, "loc": { "start": { "line": 573, "column": 15 }, "end": { "line": 592, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19060, "end": 19676, "loc": { "start": { "line": 574, "column": 4 }, "end": { "line": 591, "column": 5 } }, "test": { "type": "CallExpression", "start": 19063, "end": 19098, "loc": { "start": { "line": 574, "column": 7 }, "end": { "line": 574, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 19063, "end": 19076, "loc": { "start": { "line": 574, "column": 7 }, "end": { "line": 574, "column": 20 } }, "object": { "type": "Identifier", "start": 19063, "end": 19068, "loc": { "start": { "line": 574, "column": 7 }, "end": { "line": 574, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 19069, "end": 19076, "loc": { "start": { "line": 574, "column": 13 }, "end": { "line": 574, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19077, "end": 19097, "loc": { "start": { "line": 574, "column": 21 }, "end": { "line": 574, "column": 41 } }, "object": { "type": "MemberExpression", "start": 19077, "end": 19089, "loc": { "start": { "line": 574, "column": 21 }, "end": { "line": 574, "column": 33 } }, "object": { "type": "ThisExpression", "start": 19077, "end": 19081, "loc": { "start": { "line": 574, "column": 21 }, "end": { "line": 574, "column": 25 } } }, "property": { "type": "Identifier", "start": 19082, "end": 19089, "loc": { "start": { "line": 574, "column": 26 }, "end": { "line": 574, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19090, "end": 19097, "loc": { "start": { "line": 574, "column": 34 }, "end": { "line": 574, "column": 41 }, "identifierName": "modules" }, "name": "modules" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 19099, "end": 19676, "loc": { "start": { "line": 574, "column": 43 }, "end": { "line": 591, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 19108, "end": 19528, "loc": { "start": { "line": 575, "column": 6 }, "end": { "line": 585, "column": 9 } }, "expression": { "type": "CallExpression", "start": 19108, "end": 19527, "loc": { "start": { "line": 575, "column": 6 }, "end": { "line": 585, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 19108, "end": 19136, "loc": { "start": { "line": 575, "column": 6 }, "end": { "line": 575, "column": 34 } }, "object": { "type": "MemberExpression", "start": 19108, "end": 19128, "loc": { "start": { "line": 575, "column": 6 }, "end": { "line": 575, "column": 26 } }, "object": { "type": "MemberExpression", "start": 19108, "end": 19120, "loc": { "start": { "line": 575, "column": 6 }, "end": { "line": 575, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19108, "end": 19112, "loc": { "start": { "line": 575, "column": 6 }, "end": { "line": 575, "column": 10 } } }, "property": { "type": "Identifier", "start": 19113, "end": 19120, "loc": { "start": { "line": 575, "column": 11 }, "end": { "line": 575, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19121, "end": 19128, "loc": { "start": { "line": 575, "column": 19 }, "end": { "line": 575, "column": 26 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19129, "end": 19136, "loc": { "start": { "line": 575, "column": 27 }, "end": { "line": 575, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 19137, "end": 19526, "loc": { "start": { "line": 575, "column": 35 }, "end": { "line": 585, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19137, "end": 19143, "loc": { "start": { "line": 575, "column": 35 }, "end": { "line": 575, "column": 41 }, "identifierName": "Module" }, "name": "Module" } ], "body": { "type": "BlockStatement", "start": 19147, "end": 19526, "loc": { "start": { "line": 575, "column": 45 }, "end": { "line": 585, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 19158, "end": 19184, "loc": { "start": { "line": 576, "column": 8 }, "end": { "line": 576, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19162, "end": 19183, "loc": { "start": { "line": 576, "column": 12 }, "end": { "line": 576, "column": 33 } }, "id": { "type": "Identifier", "start": 19162, "end": 19168, "loc": { "start": { "line": 576, "column": 12 }, "end": { "line": 576, "column": 18 }, "identifierName": "module" }, "name": "module" }, "init": { "type": "NewExpression", "start": 19171, "end": 19183, "loc": { "start": { "line": 576, "column": 21 }, "end": { "line": 576, "column": 33 } }, "callee": { "type": "Identifier", "start": 19175, "end": 19181, "loc": { "start": { "line": 576, "column": 25 }, "end": { "line": 576, "column": 31 }, "identifierName": "Module" }, "name": "Module" }, "arguments": [] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 19196, "end": 19222, "loc": { "start": { "line": 578, "column": 8 }, "end": { "line": 578, "column": 34 } } } ] }, { "type": "IfStatement", "start": 19232, "end": 19487, "loc": { "start": { "line": 579, "column": 8 }, "end": { "line": 582, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 19235, "end": 19300, "loc": { "start": { "line": 579, "column": 11 }, "end": { "line": 579, "column": 76 } }, "left": { "type": "MemberExpression", "start": 19235, "end": 19258, "loc": { "start": { "line": 579, "column": 11 }, "end": { "line": 579, "column": 34 } }, "object": { "type": "MemberExpression", "start": 19235, "end": 19253, "loc": { "start": { "line": 579, "column": 11 }, "end": { "line": 579, "column": 29 } }, "object": { "type": "Identifier", "start": 19235, "end": 19241, "loc": { "start": { "line": 579, "column": 11 }, "end": { "line": 579, "column": 17 }, "identifierName": "module" }, "name": "module", "leadingComments": null }, "property": { "type": "Identifier", "start": 19242, "end": 19253, "loc": { "start": { "line": 579, "column": 18 }, "end": { "line": 579, "column": 29 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 19254, "end": 19258, "loc": { "start": { "line": 579, "column": 30 }, "end": { "line": 579, "column": 34 }, "identifierName": "name" }, "name": "name" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 19262, "end": 19300, "loc": { "start": { "line": 579, "column": 38 }, "end": { "line": 579, "column": 76 } }, "left": { "type": "MemberExpression", "start": 19262, "end": 19285, "loc": { "start": { "line": 579, "column": 38 }, "end": { "line": 579, "column": 61 } }, "object": { "type": "MemberExpression", "start": 19262, "end": 19280, "loc": { "start": { "line": 579, "column": 38 }, "end": { "line": 579, "column": 56 } }, "object": { "type": "Identifier", "start": 19262, "end": 19268, "loc": { "start": { "line": 579, "column": 38 }, "end": { "line": 579, "column": 44 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 19269, "end": 19280, "loc": { "start": { "line": 579, "column": 45 }, "end": { "line": 579, "column": 56 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "property": { "type": "Identifier", "start": 19281, "end": 19285, "loc": { "start": { "line": 579, "column": 57 }, "end": { "line": 579, "column": 61 }, "identifierName": "name" }, "name": "name" }, "computed": false }, "operator": "!==", "right": { "type": "StringLiteral", "start": 19290, "end": 19300, "loc": { "start": { "line": 579, "column": 66 }, "end": { "line": 579, "column": 76 } }, "extra": { "rawValue": "Function", "raw": "\"Function\"" }, "value": "Function" } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 19301, "end": 19487, "loc": { "start": { "line": 579, "column": 77 }, "end": { "line": 582, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 19314, "end": 19391, "loc": { "start": { "line": 580, "column": 10 }, "end": { "line": 580, "column": 87 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19318, "end": 19390, "loc": { "start": { "line": 580, "column": 14 }, "end": { "line": 580, "column": 86 } }, "id": { "type": "Identifier", "start": 19318, "end": 19326, "loc": { "start": { "line": 580, "column": 14 }, "end": { "line": 580, "column": 22 }, "identifierName": "classStr" }, "name": "classStr" }, "init": { "type": "TemplateLiteral", "start": 19329, "end": 19390, "loc": { "start": { "line": 580, "column": 25 }, "end": { "line": 580, "column": 86 } }, "expressions": [ { "type": "CallExpression", "start": 19339, "end": 19388, "loc": { "start": { "line": 580, "column": 35 }, "end": { "line": 580, "column": 84 } }, "callee": { "type": "MemberExpression", "start": 19339, "end": 19363, "loc": { "start": { "line": 580, "column": 35 }, "end": { "line": 580, "column": 59 } }, "object": { "type": "MemberExpression", "start": 19339, "end": 19353, "loc": { "start": { "line": 580, "column": 35 }, "end": { "line": 580, "column": 49 } }, "object": { "type": "ThisExpression", "start": 19339, "end": 19343, "loc": { "start": { "line": 580, "column": 35 }, "end": { "line": 580, "column": 39 } } }, "property": { "type": "Identifier", "start": 19344, "end": 19353, "loc": { "start": { "line": 580, "column": 40 }, "end": { "line": 580, "column": 49 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 19354, "end": 19363, "loc": { "start": { "line": 580, "column": 50 }, "end": { "line": 580, "column": 59 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19364, "end": 19387, "loc": { "start": { "line": 580, "column": 60 }, "end": { "line": 580, "column": 83 } }, "object": { "type": "MemberExpression", "start": 19364, "end": 19382, "loc": { "start": { "line": 580, "column": 60 }, "end": { "line": 580, "column": 78 } }, "object": { "type": "Identifier", "start": 19364, "end": 19370, "loc": { "start": { "line": 580, "column": 60 }, "end": { "line": 580, "column": 66 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 19371, "end": 19382, "loc": { "start": { "line": 580, "column": 67 }, "end": { "line": 580, "column": 78 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "property": { "type": "Identifier", "start": 19383, "end": 19387, "loc": { "start": { "line": 580, "column": 79 }, "end": { "line": 580, "column": 83 }, "identifierName": "name" }, "name": "name" }, "computed": false } ] } ], "quasis": [ { "type": "TemplateElement", "start": 19330, "end": 19337, "loc": { "start": { "line": 580, "column": 26 }, "end": { "line": 580, "column": 33 } }, "value": { "raw": "module-", "cooked": "module-" }, "tail": false }, { "type": "TemplateElement", "start": 19389, "end": 19389, "loc": { "start": { "line": 580, "column": 85 }, "end": { "line": 580, "column": 85 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 19403, "end": 19476, "loc": { "start": { "line": 581, "column": 10 }, "end": { "line": 581, "column": 83 } }, "expression": { "type": "AssignmentExpression", "start": 19403, "end": 19475, "loc": { "start": { "line": 581, "column": 10 }, "end": { "line": 581, "column": 82 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19403, "end": 19429, "loc": { "start": { "line": 581, "column": 10 }, "end": { "line": 581, "column": 36 } }, "object": { "type": "ThisExpression", "start": 19403, "end": 19407, "loc": { "start": { "line": 581, "column": 10 }, "end": { "line": 581, "column": 14 } } }, "property": { "type": "Identifier", "start": 19408, "end": 19429, "loc": { "start": { "line": 581, "column": 15 }, "end": { "line": 581, "column": 36 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 19432, "end": 19475, "loc": { "start": { "line": 581, "column": 39 }, "end": { "line": 581, "column": 82 } }, "left": { "type": "MemberExpression", "start": 19432, "end": 19458, "loc": { "start": { "line": 581, "column": 39 }, "end": { "line": 581, "column": 65 } }, "object": { "type": "ThisExpression", "start": 19432, "end": 19436, "loc": { "start": { "line": 581, "column": 39 }, "end": { "line": 581, "column": 43 } } }, "property": { "type": "Identifier", "start": 19437, "end": 19458, "loc": { "start": { "line": 581, "column": 44 }, "end": { "line": 581, "column": 65 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "operator": "+", "right": { "type": "TemplateLiteral", "start": 19461, "end": 19475, "loc": { "start": { "line": 581, "column": 68 }, "end": { "line": 581, "column": 82 } }, "expressions": [ { "type": "Identifier", "start": 19465, "end": 19473, "loc": { "start": { "line": 581, "column": 72 }, "end": { "line": 581, "column": 80 }, "identifierName": "classStr" }, "name": "classStr" } ], "quasis": [ { "type": "TemplateElement", "start": 19462, "end": 19463, "loc": { "start": { "line": 581, "column": 69 }, "end": { "line": 581, "column": 70 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 19474, "end": 19474, "loc": { "start": { "line": 581, "column": 81 }, "end": { "line": 581, "column": 81 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 19196, "end": 19222, "loc": { "start": { "line": 578, "column": 8 }, "end": { "line": 578, "column": 34 } } } ] }, { "type": "ExpressionStatement", "start": 19499, "end": 19517, "loc": { "start": { "line": 584, "column": 8 }, "end": { "line": 584, "column": 26 } }, "expression": { "type": "CallExpression", "start": 19499, "end": 19516, "loc": { "start": { "line": 584, "column": 8 }, "end": { "line": 584, "column": 25 } }, "callee": { "type": "MemberExpression", "start": 19499, "end": 19510, "loc": { "start": { "line": 584, "column": 8 }, "end": { "line": 584, "column": 19 } }, "object": { "type": "Identifier", "start": 19499, "end": 19505, "loc": { "start": { "line": 584, "column": 8 }, "end": { "line": 584, "column": 14 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 19506, "end": 19510, "loc": { "start": { "line": 584, "column": 15 }, "end": { "line": 584, "column": 19 }, "identifierName": "init" }, "name": "init" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 19511, "end": 19515, "loc": { "start": { "line": 584, "column": 20 }, "end": { "line": 584, "column": 24 } } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 19538, "end": 19614, "loc": { "start": { "line": 587, "column": 6 }, "end": { "line": 587, "column": 82 } }, "expression": { "type": "AssignmentExpression", "start": 19538, "end": 19613, "loc": { "start": { "line": 587, "column": 6 }, "end": { "line": 587, "column": 81 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19538, "end": 19564, "loc": { "start": { "line": 587, "column": 6 }, "end": { "line": 587, "column": 32 } }, "object": { "type": "ThisExpression", "start": 19538, "end": 19542, "loc": { "start": { "line": 587, "column": 6 }, "end": { "line": 587, "column": 10 } } }, "property": { "type": "Identifier", "start": 19543, "end": 19564, "loc": { "start": { "line": 587, "column": 11 }, "end": { "line": 587, "column": 32 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 19567, "end": 19613, "loc": { "start": { "line": 587, "column": 35 }, "end": { "line": 587, "column": 81 } }, "left": { "type": "MemberExpression", "start": 19567, "end": 19593, "loc": { "start": { "line": 587, "column": 35 }, "end": { "line": 587, "column": 61 } }, "object": { "type": "ThisExpression", "start": 19567, "end": 19571, "loc": { "start": { "line": 587, "column": 35 }, "end": { "line": 587, "column": 39 } } }, "property": { "type": "Identifier", "start": 19572, "end": 19593, "loc": { "start": { "line": 587, "column": 40 }, "end": { "line": 587, "column": 61 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "operator": "+", "right": { "type": "StringLiteral", "start": 19596, "end": 19613, "loc": { "start": { "line": 587, "column": 64 }, "end": { "line": 587, "column": 81 } }, "extra": { "rawValue": " modules-loaded", "raw": "' modules-loaded'" }, "value": " modules-loaded" } } } }, { "type": "ExpressionStatement", "start": 19624, "end": 19638, "loc": { "start": { "line": 589, "column": 6 }, "end": { "line": 589, "column": 20 } }, "expression": { "type": "CallExpression", "start": 19624, "end": 19637, "loc": { "start": { "line": 589, "column": 6 }, "end": { "line": 589, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 19624, "end": 19635, "loc": { "start": { "line": 589, "column": 6 }, "end": { "line": 589, "column": 17 } }, "object": { "type": "ThisExpression", "start": 19624, "end": 19628, "loc": { "start": { "line": 589, "column": 6 }, "end": { "line": 589, "column": 10 } } }, "property": { "type": "Identifier", "start": 19629, "end": 19635, "loc": { "start": { "line": 589, "column": 11 }, "end": { "line": 589, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 19646, "end": 19669, "loc": { "start": { "line": 590, "column": 6 }, "end": { "line": 590, "column": 29 } }, "expression": { "type": "CallExpression", "start": 19646, "end": 19668, "loc": { "start": { "line": 590, "column": 6 }, "end": { "line": 590, "column": 28 } }, "callee": { "type": "MemberExpression", "start": 19646, "end": 19666, "loc": { "start": { "line": 590, "column": 6 }, "end": { "line": 590, "column": 26 } }, "object": { "type": "ThisExpression", "start": 19646, "end": 19650, "loc": { "start": { "line": 590, "column": 6 }, "end": { "line": 590, "column": 10 } } }, "property": { "type": "Identifier", "start": 19651, "end": 19666, "loc": { "start": { "line": 590, "column": 11 }, "end": { "line": 590, "column": 26 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 19007, "end": 19036, "loc": { "start": { "line": 570, "column": 2 }, "end": { "line": 572, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 19687, "end": 19719, "loc": { "start": { "line": 594, "column": 2 }, "end": { "line": 596, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 19723, "end": 19855, "loc": { "start": { "line": 597, "column": 2 }, "end": { "line": 602, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19723, "end": 19736, "loc": { "start": { "line": 597, "column": 2 }, "end": { "line": 597, "column": 15 }, "identifierName": "getModuleProp" }, "name": "getModuleProp", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 19739, "end": 19855, "loc": { "start": { "line": 597, "column": 18 }, "end": { "line": 602, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19740, "end": 19744, "loc": { "start": { "line": 597, "column": 19 }, "end": { "line": 597, "column": 23 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 19746, "end": 19750, "loc": { "start": { "line": 597, "column": 25 }, "end": { "line": 597, "column": 29 }, "identifierName": "prop" }, "name": "prop" } ], "body": { "type": "BlockStatement", "start": 19755, "end": 19855, "loc": { "start": { "line": 597, "column": 34 }, "end": { "line": 602, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19762, "end": 19806, "loc": { "start": { "line": 598, "column": 4 }, "end": { "line": 599, "column": 19 } }, "test": { "type": "UnaryExpression", "start": 19765, "end": 19784, "loc": { "start": { "line": 598, "column": 7 }, "end": { "line": 598, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 19766, "end": 19784, "loc": { "start": { "line": 598, "column": 8 }, "end": { "line": 598, "column": 26 } }, "object": { "type": "MemberExpression", "start": 19766, "end": 19778, "loc": { "start": { "line": 598, "column": 8 }, "end": { "line": 598, "column": 20 } }, "object": { "type": "ThisExpression", "start": 19766, "end": 19770, "loc": { "start": { "line": 598, "column": 8 }, "end": { "line": 598, "column": 12 } } }, "property": { "type": "Identifier", "start": 19771, "end": 19778, "loc": { "start": { "line": 598, "column": 13 }, "end": { "line": 598, "column": 20 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19779, "end": 19783, "loc": { "start": { "line": 598, "column": 21 }, "end": { "line": 598, "column": 25 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ReturnStatement", "start": 19793, "end": 19806, "loc": { "start": { "line": 599, "column": 6 }, "end": { "line": 599, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 19800, "end": 19805, "loc": { "start": { "line": 599, "column": 13 }, "end": { "line": 599, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ReturnStatement", "start": 19818, "end": 19850, "loc": { "start": { "line": 601, "column": 4 }, "end": { "line": 601, "column": 36 } }, "argument": { "type": "MemberExpression", "start": 19825, "end": 19849, "loc": { "start": { "line": 601, "column": 11 }, "end": { "line": 601, "column": 35 } }, "object": { "type": "MemberExpression", "start": 19825, "end": 19843, "loc": { "start": { "line": 601, "column": 11 }, "end": { "line": 601, "column": 29 } }, "object": { "type": "MemberExpression", "start": 19825, "end": 19837, "loc": { "start": { "line": 601, "column": 11 }, "end": { "line": 601, "column": 23 } }, "object": { "type": "ThisExpression", "start": 19825, "end": 19829, "loc": { "start": { "line": 601, "column": 11 }, "end": { "line": 601, "column": 15 } } }, "property": { "type": "Identifier", "start": 19830, "end": 19837, "loc": { "start": { "line": 601, "column": 16 }, "end": { "line": 601, "column": 23 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19838, "end": 19842, "loc": { "start": { "line": 601, "column": 24 }, "end": { "line": 601, "column": 28 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "property": { "type": "Identifier", "start": 19844, "end": 19848, "loc": { "start": { "line": 601, "column": 30 }, "end": { "line": 601, "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": 19687, "end": 19719, "loc": { "start": { "line": 594, "column": 2 }, "end": { "line": 596, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 19861, "end": 19892, "loc": { "start": { "line": 604, "column": 2 }, "end": { "line": 606, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 19896, "end": 19964, "loc": { "start": { "line": 607, "column": 2 }, "end": { "line": 609, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19896, "end": 19910, "loc": { "start": { "line": 607, "column": 2 }, "end": { "line": 607, "column": 16 }, "identifierName": "getModulesList" }, "name": "getModulesList", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 19913, "end": 19964, "loc": { "start": { "line": 607, "column": 19 }, "end": { "line": 609, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19919, "end": 19964, "loc": { "start": { "line": 607, "column": 25 }, "end": { "line": 609, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 19926, "end": 19959, "loc": { "start": { "line": 608, "column": 4 }, "end": { "line": 608, "column": 37 } }, "argument": { "type": "CallExpression", "start": 19933, "end": 19958, "loc": { "start": { "line": 608, "column": 11 }, "end": { "line": 608, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 19933, "end": 19944, "loc": { "start": { "line": 608, "column": 11 }, "end": { "line": 608, "column": 22 } }, "object": { "type": "Identifier", "start": 19933, "end": 19939, "loc": { "start": { "line": 608, "column": 11 }, "end": { "line": 608, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 19940, "end": 19944, "loc": { "start": { "line": 608, "column": 18 }, "end": { "line": 608, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19945, "end": 19957, "loc": { "start": { "line": 608, "column": 23 }, "end": { "line": 608, "column": 35 } }, "object": { "type": "ThisExpression", "start": 19945, "end": 19949, "loc": { "start": { "line": 608, "column": 23 }, "end": { "line": 608, "column": 27 } } }, "property": { "type": "Identifier", "start": 19950, "end": 19957, "loc": { "start": { "line": 608, "column": 28 }, "end": { "line": 608, "column": 35 }, "identifierName": "modules" }, "name": "modules" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 19861, "end": 19892, "loc": { "start": { "line": 604, "column": 2 }, "end": { "line": 606, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 19970, "end": 20026, "loc": { "start": { "line": 611, "column": 2 }, "end": { "line": 613, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 20030, "end": 24374, "loc": { "start": { "line": 614, "column": 2 }, "end": { "line": 756, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 20030, "end": 20036, "loc": { "start": { "line": 614, "column": 2 }, "end": { "line": 614, "column": 8 }, "identifierName": "render" }, "name": "render", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 20038, "end": 24374, "loc": { "start": { "line": 614, "column": 10 }, "end": { "line": 756, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 20086, "end": 20099, "loc": { "start": { "line": 618, "column": 4 }, "end": { "line": 618, "column": 17 } }, "expression": { "type": "CallExpression", "start": 20086, "end": 20098, "loc": { "start": { "line": 618, "column": 4 }, "end": { "line": 618, "column": 16 } }, "callee": { "type": "MemberExpression", "start": 20086, "end": 20096, "loc": { "start": { "line": 618, "column": 4 }, "end": { "line": 618, "column": 14 } }, "object": { "type": "ThisExpression", "start": 20086, "end": 20090, "loc": { "start": { "line": 618, "column": 4 }, "end": { "line": 618, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 20091, "end": 20096, "loc": { "start": { "line": 618, "column": 9 }, "end": { "line": 618, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 20045, "end": 20080, "loc": { "start": { "line": 615, "column": 4 }, "end": { "line": 617, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 20107, "end": 20207, "loc": { "start": { "line": 620, "column": 4 }, "end": { "line": 620, "column": 104 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20111, "end": 20206, "loc": { "start": { "line": 620, "column": 8 }, "end": { "line": 620, "column": 103 } }, "id": { "type": "Identifier", "start": 20111, "end": 20122, "loc": { "start": { "line": 620, "column": 8 }, "end": { "line": 620, "column": 19 }, "identifierName": "layoutClass" }, "name": "layoutClass" }, "init": { "type": "ConditionalExpression", "start": 20125, "end": 20206, "loc": { "start": { "line": 620, "column": 22 }, "end": { "line": 620, "column": 103 } }, "test": { "type": "MemberExpression", "start": 20125, "end": 20144, "loc": { "start": { "line": 620, "column": 22 }, "end": { "line": 620, "column": 41 } }, "object": { "type": "MemberExpression", "start": 20125, "end": 20137, "loc": { "start": { "line": 620, "column": 22 }, "end": { "line": 620, "column": 34 } }, "object": { "type": "ThisExpression", "start": 20125, "end": 20129, "loc": { "start": { "line": 620, "column": 22 }, "end": { "line": 620, "column": 26 } } }, "property": { "type": "Identifier", "start": 20130, "end": 20137, "loc": { "start": { "line": 620, "column": 27 }, "end": { "line": 620, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20138, "end": 20144, "loc": { "start": { "line": 620, "column": 35 }, "end": { "line": 620, "column": 41 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "consequent": { "type": "StringLiteral", "start": 20147, "end": 20165, "loc": { "start": { "line": 620, "column": 44 }, "end": { "line": 620, "column": 62 } }, "extra": { "rawValue": "hg-layout-custom", "raw": "\"hg-layout-custom\"" }, "value": "hg-layout-custom" }, "alternate": { "type": "TemplateLiteral", "start": 20168, "end": 20206, "loc": { "start": { "line": 620, "column": 65 }, "end": { "line": 620, "column": 103 } }, "expressions": [ { "type": "MemberExpression", "start": 20181, "end": 20204, "loc": { "start": { "line": 620, "column": 78 }, "end": { "line": 620, "column": 101 } }, "object": { "type": "MemberExpression", "start": 20181, "end": 20193, "loc": { "start": { "line": 620, "column": 78 }, "end": { "line": 620, "column": 90 } }, "object": { "type": "ThisExpression", "start": 20181, "end": 20185, "loc": { "start": { "line": 620, "column": 78 }, "end": { "line": 620, "column": 82 } } }, "property": { "type": "Identifier", "start": 20186, "end": 20193, "loc": { "start": { "line": 620, "column": 83 }, "end": { "line": 620, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20194, "end": 20204, "loc": { "start": { "line": 620, "column": 91 }, "end": { "line": 620, "column": 101 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 20169, "end": 20179, "loc": { "start": { "line": 620, "column": 66 }, "end": { "line": 620, "column": 76 } }, "value": { "raw": "hg-layout-", "cooked": "hg-layout-" }, "tail": false }, { "type": "TemplateElement", "start": 20205, "end": 20205, "loc": { "start": { "line": 620, "column": 102 }, "end": { "line": 620, "column": 102 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 20213, "end": 20283, "loc": { "start": { "line": 621, "column": 4 }, "end": { "line": 621, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20217, "end": 20282, "loc": { "start": { "line": 621, "column": 8 }, "end": { "line": 621, "column": 73 } }, "id": { "type": "Identifier", "start": 20217, "end": 20223, "loc": { "start": { "line": 621, "column": 8 }, "end": { "line": 621, "column": 14 }, "identifierName": "layout" }, "name": "layout" }, "init": { "type": "LogicalExpression", "start": 20226, "end": 20282, "loc": { "start": { "line": 621, "column": 17 }, "end": { "line": 621, "column": 73 } }, "left": { "type": "MemberExpression", "start": 20226, "end": 20245, "loc": { "start": { "line": 621, "column": 17 }, "end": { "line": 621, "column": 36 } }, "object": { "type": "MemberExpression", "start": 20226, "end": 20238, "loc": { "start": { "line": 621, "column": 17 }, "end": { "line": 621, "column": 29 } }, "object": { "type": "ThisExpression", "start": 20226, "end": 20230, "loc": { "start": { "line": 621, "column": 17 }, "end": { "line": 621, "column": 21 } } }, "property": { "type": "Identifier", "start": 20231, "end": 20238, "loc": { "start": { "line": 621, "column": 22 }, "end": { "line": 621, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20239, "end": 20245, "loc": { "start": { "line": 621, "column": 30 }, "end": { "line": 621, "column": 36 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "operator": "||", "right": { "type": "CallExpression", "start": 20249, "end": 20282, "loc": { "start": { "line": 621, "column": 40 }, "end": { "line": 621, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 20249, "end": 20280, "loc": { "start": { "line": 621, "column": 40 }, "end": { "line": 621, "column": 71 } }, "object": { "type": "Identifier", "start": 20249, "end": 20263, "loc": { "start": { "line": 621, "column": 40 }, "end": { "line": 621, "column": 54 }, "identifierName": "KeyboardLayout" }, "name": "KeyboardLayout" }, "property": { "type": "Identifier", "start": 20264, "end": 20280, "loc": { "start": { "line": 621, "column": 55 }, "end": { "line": 621, "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": 20291, "end": 20343, "loc": { "start": { "line": 623, "column": 4 }, "end": { "line": 625, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 20349, "end": 20377, "loc": { "start": { "line": 626, "column": 4 }, "end": { "line": 626, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20353, "end": 20376, "loc": { "start": { "line": 626, "column": 8 }, "end": { "line": 626, "column": 31 } }, "id": { "type": "Identifier", "start": 20353, "end": 20371, "loc": { "start": { "line": 626, "column": 8 }, "end": { "line": 626, "column": 26 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed", "leadingComments": null }, "init": { "type": "ObjectExpression", "start": 20374, "end": 20376, "loc": { "start": { "line": 626, "column": 29 }, "end": { "line": 626, "column": 31 } }, "properties": [] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 20291, "end": 20343, "loc": { "start": { "line": 623, "column": 4 }, "end": { "line": 625, "column": 7 } } } ] }, { "type": "IfStatement", "start": 20383, "end": 21522, "loc": { "start": { "line": 627, "column": 4 }, "end": { "line": 655, "column": 5 } }, "test": { "type": "CallExpression", "start": 20386, "end": 20425, "loc": { "start": { "line": 627, "column": 7 }, "end": { "line": 627, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 20386, "end": 20399, "loc": { "start": { "line": 627, "column": 7 }, "end": { "line": 627, "column": 20 } }, "object": { "type": "Identifier", "start": 20386, "end": 20391, "loc": { "start": { "line": 627, "column": 7 }, "end": { "line": 627, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 20392, "end": 20399, "loc": { "start": { "line": 627, "column": 13 }, "end": { "line": 627, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 20400, "end": 20424, "loc": { "start": { "line": 627, "column": 21 }, "end": { "line": 627, "column": 45 } }, "object": { "type": "MemberExpression", "start": 20400, "end": 20412, "loc": { "start": { "line": 627, "column": 21 }, "end": { "line": 627, "column": 33 } }, "object": { "type": "ThisExpression", "start": 20400, "end": 20404, "loc": { "start": { "line": 627, "column": 21 }, "end": { "line": 627, "column": 25 } } }, "property": { "type": "Identifier", "start": 20405, "end": 20412, "loc": { "start": { "line": 627, "column": 26 }, "end": { "line": 627, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20413, "end": 20424, "loc": { "start": { "line": 627, "column": 34 }, "end": { "line": 627, "column": 45 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 20426, "end": 21522, "loc": { "start": { "line": 627, "column": 47 }, "end": { "line": 655, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 20435, "end": 21515, "loc": { "start": { "line": 628, "column": 6 }, "end": { "line": 654, "column": 9 } }, "expression": { "type": "CallExpression", "start": 20435, "end": 21514, "loc": { "start": { "line": 628, "column": 6 }, "end": { "line": 654, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 20435, "end": 20467, "loc": { "start": { "line": 628, "column": 6 }, "end": { "line": 628, "column": 38 } }, "object": { "type": "MemberExpression", "start": 20435, "end": 20459, "loc": { "start": { "line": 628, "column": 6 }, "end": { "line": 628, "column": 30 } }, "object": { "type": "MemberExpression", "start": 20435, "end": 20447, "loc": { "start": { "line": 628, "column": 6 }, "end": { "line": 628, "column": 18 } }, "object": { "type": "ThisExpression", "start": 20435, "end": 20439, "loc": { "start": { "line": 628, "column": 6 }, "end": { "line": 628, "column": 10 } } }, "property": { "type": "Identifier", "start": 20440, "end": 20447, "loc": { "start": { "line": 628, "column": 11 }, "end": { "line": 628, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20448, "end": 20459, "loc": { "start": { "line": 628, "column": 19 }, "end": { "line": 628, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 20460, "end": 20467, "loc": { "start": { "line": 628, "column": 31 }, "end": { "line": 628, "column": 38 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 20468, "end": 21513, "loc": { "start": { "line": 628, "column": 39 }, "end": { "line": 654, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 20468, "end": 20476, "loc": { "start": { "line": 628, "column": 39 }, "end": { "line": 628, "column": 47 }, "identifierName": "themeObj" }, "name": "themeObj" } ], "body": { "type": "BlockStatement", "start": 20480, "end": 21513, "loc": { "start": { "line": 628, "column": 51 }, "end": { "line": 654, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 20491, "end": 21504, "loc": { "start": { "line": 629, "column": 8 }, "end": { "line": 653, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 20494, "end": 20528, "loc": { "start": { "line": 629, "column": 11 }, "end": { "line": 629, "column": 45 } }, "left": { "type": "MemberExpression", "start": 20494, "end": 20510, "loc": { "start": { "line": 629, "column": 11 }, "end": { "line": 629, "column": 27 } }, "object": { "type": "Identifier", "start": 20494, "end": 20502, "loc": { "start": { "line": 629, "column": 11 }, "end": { "line": 629, "column": 19 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 20503, "end": 20510, "loc": { "start": { "line": 629, "column": 20 }, "end": { "line": 629, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "operator": "&&", "right": { "type": "MemberExpression", "start": 20514, "end": 20528, "loc": { "start": { "line": 629, "column": 31 }, "end": { "line": 629, "column": 45 } }, "object": { "type": "Identifier", "start": 20514, "end": 20522, "loc": { "start": { "line": 629, "column": 31 }, "end": { "line": 629, "column": 39 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 20523, "end": 20528, "loc": { "start": { "line": 629, "column": 40 }, "end": { "line": 629, "column": 45 }, "identifierName": "class" }, "name": "class" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 20529, "end": 21370, "loc": { "start": { "line": 629, "column": 46 }, "end": { "line": 651, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 20542, "end": 20559, "loc": { "start": { "line": 630, "column": 10 }, "end": { "line": 630, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20546, "end": 20558, "loc": { "start": { "line": 630, "column": 14 }, "end": { "line": 630, "column": 26 } }, "id": { "type": "Identifier", "start": 20546, "end": 20558, "loc": { "start": { "line": 630, "column": 14 }, "end": { "line": 630, "column": 26 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 20573, "end": 20684, "loc": { "start": { "line": 632, "column": 10 }, "end": { "line": 634, "column": 11 } }, "test": { "type": "BinaryExpression", "start": 20576, "end": 20612, "loc": { "start": { "line": 632, "column": 13 }, "end": { "line": 632, "column": 49 } }, "left": { "type": "UnaryExpression", "start": 20576, "end": 20599, "loc": { "start": { "line": 632, "column": 13 }, "end": { "line": 632, "column": 36 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 20583, "end": 20599, "loc": { "start": { "line": 632, "column": 20 }, "end": { "line": 632, "column": 36 } }, "object": { "type": "Identifier", "start": 20583, "end": 20591, "loc": { "start": { "line": 632, "column": 20 }, "end": { "line": 632, "column": 28 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 20592, "end": 20599, "loc": { "start": { "line": 632, "column": 29 }, "end": { "line": 632, "column": 36 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 20604, "end": 20612, "loc": { "start": { "line": 632, "column": 41 }, "end": { "line": 632, "column": 49 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "consequent": { "type": "BlockStatement", "start": 20613, "end": 20684, "loc": { "start": { "line": 632, "column": 50 }, "end": { "line": 634, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 20628, "end": 20671, "loc": { "start": { "line": 633, "column": 12 }, "end": { "line": 633, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 20628, "end": 20670, "loc": { "start": { "line": 633, "column": 12 }, "end": { "line": 633, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 20628, "end": 20640, "loc": { "start": { "line": 633, "column": 12 }, "end": { "line": 633, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "right": { "type": "CallExpression", "start": 20643, "end": 20670, "loc": { "start": { "line": 633, "column": 27 }, "end": { "line": 633, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 20643, "end": 20665, "loc": { "start": { "line": 633, "column": 27 }, "end": { "line": 633, "column": 49 } }, "object": { "type": "MemberExpression", "start": 20643, "end": 20659, "loc": { "start": { "line": 633, "column": 27 }, "end": { "line": 633, "column": 43 } }, "object": { "type": "Identifier", "start": 20643, "end": 20651, "loc": { "start": { "line": 633, "column": 27 }, "end": { "line": 633, "column": 35 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 20652, "end": 20659, "loc": { "start": { "line": 633, "column": 36 }, "end": { "line": 633, "column": 43 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 20660, "end": 20665, "loc": { "start": { "line": 633, "column": 44 }, "end": { "line": 633, "column": 49 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 20666, "end": 20669, "loc": { "start": { "line": 633, "column": 50 }, "end": { "line": 633, "column": 53 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 20698, "end": 21359, "loc": { "start": { "line": 636, "column": 10 }, "end": { "line": 650, "column": 11 } }, "test": { "type": "Identifier", "start": 20701, "end": 20713, "loc": { "start": { "line": 636, "column": 13 }, "end": { "line": 636, "column": 25 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "consequent": { "type": "BlockStatement", "start": 20714, "end": 21359, "loc": { "start": { "line": 636, "column": 26 }, "end": { "line": 650, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 20729, "end": 21346, "loc": { "start": { "line": 637, "column": 12 }, "end": { "line": 649, "column": 15 } }, "expression": { "type": "CallExpression", "start": 20729, "end": 21345, "loc": { "start": { "line": 637, "column": 12 }, "end": { "line": 649, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 20729, "end": 20749, "loc": { "start": { "line": 637, "column": 12 }, "end": { "line": 637, "column": 32 } }, "object": { "type": "Identifier", "start": 20729, "end": 20741, "loc": { "start": { "line": 637, "column": 12 }, "end": { "line": 637, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "property": { "type": "Identifier", "start": 20742, "end": 20749, "loc": { "start": { "line": 637, "column": 25 }, "end": { "line": 637, "column": 32 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 20750, "end": 21344, "loc": { "start": { "line": 637, "column": 33 }, "end": { "line": 649, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 20750, "end": 20761, "loc": { "start": { "line": 637, "column": 33 }, "end": { "line": 637, "column": 44 }, "identifierName": "themeButton" }, "name": "themeButton" } ], "body": { "type": "BlockStatement", "start": 20765, "end": 21344, "loc": { "start": { "line": 637, "column": 48 }, "end": { "line": 649, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 20782, "end": 20832, "loc": { "start": { "line": 638, "column": 14 }, "end": { "line": 638, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20786, "end": 20831, "loc": { "start": { "line": 638, "column": 18 }, "end": { "line": 638, "column": 63 } }, "id": { "type": "Identifier", "start": 20786, "end": 20797, "loc": { "start": { "line": 638, "column": 18 }, "end": { "line": 638, "column": 29 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "init": { "type": "MemberExpression", "start": 20800, "end": 20831, "loc": { "start": { "line": 638, "column": 32 }, "end": { "line": 638, "column": 63 } }, "object": { "type": "Identifier", "start": 20800, "end": 20818, "loc": { "start": { "line": 638, "column": 32 }, "end": { "line": 638, "column": 50 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 20819, "end": 20830, "loc": { "start": { "line": 638, "column": 51 }, "end": { "line": 638, "column": 62 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 20850, "end": 20889, "loc": { "start": { "line": 640, "column": 14 }, "end": { "line": 640, "column": 53 } } } ] }, { "type": "IfStatement", "start": 20905, "end": 21329, "loc": { "start": { "line": 641, "column": 14 }, "end": { "line": 648, "column": 15 } }, "test": { "type": "Identifier", "start": 20908, "end": 20919, "loc": { "start": { "line": 641, "column": 17 }, "end": { "line": 641, "column": 28 }, "identifierName": "themeParsed" }, "name": "themeParsed", "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 20920, "end": 21238, "loc": { "start": { "line": 641, "column": 29 }, "end": { "line": 646, "column": 15 } }, "body": [ { "type": "IfStatement", "start": 21040, "end": 21221, "loc": { "start": { "line": 643, "column": 16 }, "end": { "line": 645, "column": 17 } }, "test": { "type": "UnaryExpression", "start": 21043, "end": 21111, "loc": { "start": { "line": 643, "column": 19 }, "end": { "line": 643, "column": 87 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 21044, "end": 21111, "loc": { "start": { "line": 643, "column": 20 }, "end": { "line": 643, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 21044, "end": 21071, "loc": { "start": { "line": 643, "column": 20 }, "end": { "line": 643, "column": 47 } }, "object": { "type": "MemberExpression", "start": 21044, "end": 21058, "loc": { "start": { "line": 643, "column": 20 }, "end": { "line": 643, "column": 34 } }, "object": { "type": "ThisExpression", "start": 21044, "end": 21048, "loc": { "start": { "line": 643, "column": 20 }, "end": { "line": 643, "column": 24 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 21049, "end": 21058, "loc": { "start": { "line": 643, "column": 25 }, "end": { "line": 643, "column": 34 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 21059, "end": 21071, "loc": { "start": { "line": 643, "column": 35 }, "end": { "line": 643, "column": 47 }, "identifierName": "countInArray" }, "name": "countInArray" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "CallExpression", "start": 21072, "end": 21094, "loc": { "start": { "line": 643, "column": 48 }, "end": { "line": 643, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 21072, "end": 21089, "loc": { "start": { "line": 643, "column": 48 }, "end": { "line": 643, "column": 65 } }, "object": { "type": "Identifier", "start": 21072, "end": 21083, "loc": { "start": { "line": 643, "column": 48 }, "end": { "line": 643, "column": 59 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "property": { "type": "Identifier", "start": 21084, "end": 21089, "loc": { "start": { "line": 643, "column": 60 }, "end": { "line": 643, "column": 65 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21090, "end": 21093, "loc": { "start": { "line": 643, "column": 66 }, "end": { "line": 643, "column": 69 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, { "type": "MemberExpression", "start": 21096, "end": 21110, "loc": { "start": { "line": 643, "column": 72 }, "end": { "line": 643, "column": 86 } }, "object": { "type": "Identifier", "start": 21096, "end": 21104, "loc": { "start": { "line": 643, "column": 72 }, "end": { "line": 643, "column": 80 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21105, "end": 21110, "loc": { "start": { "line": 643, "column": 81 }, "end": { "line": 643, "column": 86 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 21112, "end": 21221, "loc": { "start": { "line": 643, "column": 88 }, "end": { "line": 645, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 21133, "end": 21202, "loc": { "start": { "line": 644, "column": 18 }, "end": { "line": 644, "column": 87 } }, "expression": { "type": "AssignmentExpression", "start": 21133, "end": 21201, "loc": { "start": { "line": 644, "column": 18 }, "end": { "line": 644, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 21133, "end": 21164, "loc": { "start": { "line": 644, "column": 18 }, "end": { "line": 644, "column": 49 } }, "object": { "type": "Identifier", "start": 21133, "end": 21151, "loc": { "start": { "line": 644, "column": 18 }, "end": { "line": 644, "column": 36 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 21152, "end": 21163, "loc": { "start": { "line": 644, "column": 37 }, "end": { "line": 644, "column": 48 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "TemplateLiteral", "start": 21167, "end": 21201, "loc": { "start": { "line": 644, "column": 52 }, "end": { "line": 644, "column": 86 } }, "expressions": [ { "type": "Identifier", "start": 21170, "end": 21181, "loc": { "start": { "line": 644, "column": 55 }, "end": { "line": 644, "column": 66 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, { "type": "MemberExpression", "start": 21185, "end": 21199, "loc": { "start": { "line": 644, "column": 70 }, "end": { "line": 644, "column": 84 } }, "object": { "type": "Identifier", "start": 21185, "end": 21193, "loc": { "start": { "line": 644, "column": 70 }, "end": { "line": 644, "column": 78 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21194, "end": 21199, "loc": { "start": { "line": 644, "column": 79 }, "end": { "line": 644, "column": 84 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 21168, "end": 21168, "loc": { "start": { "line": 644, "column": 53 }, "end": { "line": 644, "column": 53 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 21182, "end": 21183, "loc": { "start": { "line": 644, "column": 67 }, "end": { "line": 644, "column": 68 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 21200, "end": 21200, "loc": { "start": { "line": 644, "column": 85 }, "end": { "line": 644, "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": 20939, "end": 21022, "loc": { "start": { "line": 642, "column": 16 }, "end": { "line": 642, "column": 99 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 21244, "end": 21329, "loc": { "start": { "line": 646, "column": 21 }, "end": { "line": 648, "column": 15 } }, "body": [ { "type": "ExpressionStatement", "start": 21263, "end": 21312, "loc": { "start": { "line": 647, "column": 16 }, "end": { "line": 647, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 21263, "end": 21311, "loc": { "start": { "line": 647, "column": 16 }, "end": { "line": 647, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 21263, "end": 21294, "loc": { "start": { "line": 647, "column": 16 }, "end": { "line": 647, "column": 47 } }, "object": { "type": "Identifier", "start": 21263, "end": 21281, "loc": { "start": { "line": 647, "column": 16 }, "end": { "line": 647, "column": 34 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 21282, "end": 21293, "loc": { "start": { "line": 647, "column": 35 }, "end": { "line": 647, "column": 46 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "MemberExpression", "start": 21297, "end": 21311, "loc": { "start": { "line": 647, "column": 50 }, "end": { "line": 647, "column": 64 } }, "object": { "type": "Identifier", "start": 21297, "end": 21305, "loc": { "start": { "line": 647, "column": 50 }, "end": { "line": 647, "column": 58 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21306, "end": 21311, "loc": { "start": { "line": 647, "column": 59 }, "end": { "line": 647, "column": 64 }, "identifierName": "class" }, "name": "class" }, "computed": false } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 20850, "end": 20889, "loc": { "start": { "line": 640, "column": 14 }, "end": { "line": 640, "column": 53 } } } ] } ], "directives": [] } } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 21376, "end": 21504, "loc": { "start": { "line": 651, "column": 15 }, "end": { "line": 653, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 21389, "end": 21493, "loc": { "start": { "line": 652, "column": 10 }, "end": { "line": 652, "column": 114 } }, "expression": { "type": "CallExpression", "start": 21389, "end": 21493, "loc": { "start": { "line": 652, "column": 10 }, "end": { "line": 652, "column": 114 } }, "callee": { "type": "MemberExpression", "start": 21389, "end": 21401, "loc": { "start": { "line": 652, "column": 10 }, "end": { "line": 652, "column": 22 } }, "object": { "type": "Identifier", "start": 21389, "end": 21396, "loc": { "start": { "line": 652, "column": 10 }, "end": { "line": 652, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 21397, "end": 21401, "loc": { "start": { "line": 652, "column": 18 }, "end": { "line": 652, "column": 22 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 21402, "end": 21492, "loc": { "start": { "line": 652, "column": 23 }, "end": { "line": 652, "column": 113 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 21403, "end": 21491, "loc": { "start": { "line": 652, "column": 24 }, "end": { "line": 652, "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": 21530, "end": 21596, "loc": { "start": { "line": 657, "column": 4 }, "end": { "line": 659, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 21602, "end": 21702, "loc": { "start": { "line": 660, "column": 4 }, "end": { "line": 660, "column": 104 } }, "expression": { "type": "AssignmentExpression", "start": 21602, "end": 21701, "loc": { "start": { "line": 660, "column": 4 }, "end": { "line": 660, "column": 103 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 21602, "end": 21628, "loc": { "start": { "line": 660, "column": 4 }, "end": { "line": 660, "column": 30 } }, "object": { "type": "MemberExpression", "start": 21602, "end": 21618, "loc": { "start": { "line": 660, "column": 4 }, "end": { "line": 660, "column": 20 } }, "object": { "type": "ThisExpression", "start": 21602, "end": 21606, "loc": { "start": { "line": 660, "column": 4 }, "end": { "line": 660, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 21607, "end": 21618, "loc": { "start": { "line": 660, "column": 9 }, "end": { "line": 660, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 21619, "end": 21628, "loc": { "start": { "line": 660, "column": 21 }, "end": { "line": 660, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false, "leadingComments": null }, "right": { "type": "TemplateLiteral", "start": 21632, "end": 21701, "loc": { "start": { "line": 660, "column": 34 }, "end": { "line": 660, "column": 103 } }, "expressions": [ { "type": "MemberExpression", "start": 21636, "end": 21654, "loc": { "start": { "line": 660, "column": 38 }, "end": { "line": 660, "column": 56 } }, "object": { "type": "MemberExpression", "start": 21636, "end": 21648, "loc": { "start": { "line": 660, "column": 38 }, "end": { "line": 660, "column": 50 } }, "object": { "type": "ThisExpression", "start": 21636, "end": 21640, "loc": { "start": { "line": 660, "column": 38 }, "end": { "line": 660, "column": 42 } } }, "property": { "type": "Identifier", "start": 21641, "end": 21648, "loc": { "start": { "line": 660, "column": 43 }, "end": { "line": 660, "column": 50 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21649, "end": 21654, "loc": { "start": { "line": 660, "column": 51 }, "end": { "line": 660, "column": 56 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, { "type": "Identifier", "start": 21658, "end": 21669, "loc": { "start": { "line": 660, "column": 60 }, "end": { "line": 660, "column": 71 }, "identifierName": "layoutClass" }, "name": "layoutClass" }, { "type": "MemberExpression", "start": 21673, "end": 21699, "loc": { "start": { "line": 660, "column": 75 }, "end": { "line": 660, "column": 101 } }, "object": { "type": "ThisExpression", "start": 21673, "end": 21677, "loc": { "start": { "line": 660, "column": 75 }, "end": { "line": 660, "column": 79 } } }, "property": { "type": "Identifier", "start": 21678, "end": 21699, "loc": { "start": { "line": 660, "column": 80 }, "end": { "line": 660, "column": 101 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 21633, "end": 21634, "loc": { "start": { "line": 660, "column": 35 }, "end": { "line": 660, "column": 36 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 21655, "end": 21656, "loc": { "start": { "line": 660, "column": 57 }, "end": { "line": 660, "column": 58 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 21670, "end": 21671, "loc": { "start": { "line": 660, "column": 72 }, "end": { "line": 660, "column": 73 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 21700, "end": 21700, "loc": { "start": { "line": 660, "column": 102 }, "end": { "line": 660, "column": 102 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 21530, "end": 21596, "loc": { "start": { "line": 657, "column": 4 }, "end": { "line": 659, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 21710, "end": 21757, "loc": { "start": { "line": 662, "column": 4 }, "end": { "line": 664, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 21763, "end": 23959, "loc": { "start": { "line": 665, "column": 4 }, "end": { "line": 733, "column": 7 } }, "expression": { "type": "CallExpression", "start": 21763, "end": 23958, "loc": { "start": { "line": 665, "column": 4 }, "end": { "line": 733, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 21763, "end": 21802, "loc": { "start": { "line": 665, "column": 4 }, "end": { "line": 665, "column": 43 } }, "object": { "type": "MemberExpression", "start": 21763, "end": 21794, "loc": { "start": { "line": 665, "column": 4 }, "end": { "line": 665, "column": 35 } }, "object": { "type": "Identifier", "start": 21763, "end": 21769, "loc": { "start": { "line": 665, "column": 4 }, "end": { "line": 665, "column": 10 }, "identifierName": "layout" }, "name": "layout", "leadingComments": null }, "property": { "type": "MemberExpression", "start": 21770, "end": 21793, "loc": { "start": { "line": 665, "column": 11 }, "end": { "line": 665, "column": 34 } }, "object": { "type": "MemberExpression", "start": 21770, "end": 21782, "loc": { "start": { "line": 665, "column": 11 }, "end": { "line": 665, "column": 23 } }, "object": { "type": "ThisExpression", "start": 21770, "end": 21774, "loc": { "start": { "line": 665, "column": 11 }, "end": { "line": 665, "column": 15 } } }, "property": { "type": "Identifier", "start": 21775, "end": 21782, "loc": { "start": { "line": 665, "column": 16 }, "end": { "line": 665, "column": 23 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21783, "end": 21793, "loc": { "start": { "line": 665, "column": 24 }, "end": { "line": 665, "column": 34 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 21795, "end": 21802, "loc": { "start": { "line": 665, "column": 36 }, "end": { "line": 665, "column": 43 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 21803, "end": 23957, "loc": { "start": { "line": 665, "column": 44 }, "end": { "line": 733, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 21804, "end": 21807, "loc": { "start": { "line": 665, "column": 45 }, "end": { "line": 665, "column": 48 }, "identifierName": "row" }, "name": "row" }, { "type": "Identifier", "start": 21809, "end": 21815, "loc": { "start": { "line": 665, "column": 50 }, "end": { "line": 665, "column": 56 }, "identifierName": "rIndex" }, "name": "rIndex" } ], "body": { "type": "BlockStatement", "start": 21820, "end": 23957, "loc": { "start": { "line": 665, "column": 61 }, "end": { "line": 733, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 21829, "end": 21859, "loc": { "start": { "line": 666, "column": 6 }, "end": { "line": 666, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21833, "end": 21858, "loc": { "start": { "line": 666, "column": 10 }, "end": { "line": 666, "column": 35 } }, "id": { "type": "Identifier", "start": 21833, "end": 21841, "loc": { "start": { "line": 666, "column": 10 }, "end": { "line": 666, "column": 18 }, "identifierName": "rowArray" }, "name": "rowArray" }, "init": { "type": "CallExpression", "start": 21844, "end": 21858, "loc": { "start": { "line": 666, "column": 21 }, "end": { "line": 666, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 21844, "end": 21853, "loc": { "start": { "line": 666, "column": 21 }, "end": { "line": 666, "column": 30 } }, "object": { "type": "Identifier", "start": 21844, "end": 21847, "loc": { "start": { "line": 666, "column": 21 }, "end": { "line": 666, "column": 24 }, "identifierName": "row" }, "name": "row" }, "property": { "type": "Identifier", "start": 21848, "end": 21853, "loc": { "start": { "line": 666, "column": 25 }, "end": { "line": 666, "column": 30 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21854, "end": 21857, "loc": { "start": { "line": 666, "column": 31 }, "end": { "line": 666, "column": 34 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 21869, "end": 21912, "loc": { "start": { "line": 668, "column": 6 }, "end": { "line": 670, "column": 9 } } } ] }, { "type": "VariableDeclaration", "start": 21920, "end": 21963, "loc": { "start": { "line": 671, "column": 6 }, "end": { "line": 671, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21924, "end": 21962, "loc": { "start": { "line": 671, "column": 10 }, "end": { "line": 671, "column": 48 } }, "id": { "type": "Identifier", "start": 21924, "end": 21930, "loc": { "start": { "line": 671, "column": 10 }, "end": { "line": 671, "column": 16 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 21933, "end": 21962, "loc": { "start": { "line": 671, "column": 19 }, "end": { "line": 671, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 21933, "end": 21955, "loc": { "start": { "line": 671, "column": 19 }, "end": { "line": 671, "column": 41 } }, "object": { "type": "Identifier", "start": 21933, "end": 21941, "loc": { "start": { "line": 671, "column": 19 }, "end": { "line": 671, "column": 27 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 21942, "end": 21955, "loc": { "start": { "line": 671, "column": 28 }, "end": { "line": 671, "column": 41 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21956, "end": 21961, "loc": { "start": { "line": 671, "column": 42 }, "end": { "line": 671, "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": 21869, "end": 21912, "loc": { "start": { "line": 668, "column": 6 }, "end": { "line": 670, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 21971, "end": 22000, "loc": { "start": { "line": 672, "column": 6 }, "end": { "line": 672, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 21971, "end": 21999, "loc": { "start": { "line": 672, "column": 6 }, "end": { "line": 672, "column": 34 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 21971, "end": 21987, "loc": { "start": { "line": 672, "column": 6 }, "end": { "line": 672, "column": 22 } }, "object": { "type": "Identifier", "start": 21971, "end": 21977, "loc": { "start": { "line": 672, "column": 6 }, "end": { "line": 672, "column": 12 }, "identifierName": "rowDOM" }, "name": "rowDOM" }, "property": { "type": "Identifier", "start": 21978, "end": 21987, "loc": { "start": { "line": 672, "column": 13 }, "end": { "line": 672, "column": 22 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "StringLiteral", "start": 21991, "end": 21999, "loc": { "start": { "line": 672, "column": 26 }, "end": { "line": 672, "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": 22010, "end": 22071, "loc": { "start": { "line": 674, "column": 6 }, "end": { "line": 676, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 22079, "end": 23845, "loc": { "start": { "line": 677, "column": 6 }, "end": { "line": 727, "column": 9 } }, "expression": { "type": "CallExpression", "start": 22079, "end": 23844, "loc": { "start": { "line": 677, "column": 6 }, "end": { "line": 727, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 22079, "end": 22095, "loc": { "start": { "line": 677, "column": 6 }, "end": { "line": 677, "column": 22 } }, "object": { "type": "Identifier", "start": 22079, "end": 22087, "loc": { "start": { "line": 677, "column": 6 }, "end": { "line": 677, "column": 14 }, "identifierName": "rowArray" }, "name": "rowArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 22088, "end": 22095, "loc": { "start": { "line": 677, "column": 15 }, "end": { "line": 677, "column": 22 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 22096, "end": 23843, "loc": { "start": { "line": 677, "column": 23 }, "end": { "line": 727, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 22097, "end": 22103, "loc": { "start": { "line": 677, "column": 24 }, "end": { "line": 677, "column": 30 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 22105, "end": 22111, "loc": { "start": { "line": 677, "column": 32 }, "end": { "line": 677, "column": 38 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "body": { "type": "BlockStatement", "start": 22116, "end": 23843, "loc": { "start": { "line": 677, "column": 43 }, "end": { "line": 727, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 22127, "end": 22183, "loc": { "start": { "line": 678, "column": 8 }, "end": { "line": 678, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22131, "end": 22182, "loc": { "start": { "line": 678, "column": 12 }, "end": { "line": 678, "column": 63 } }, "id": { "type": "Identifier", "start": 22131, "end": 22142, "loc": { "start": { "line": 678, "column": 12 }, "end": { "line": 678, "column": 23 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, "init": { "type": "CallExpression", "start": 22145, "end": 22182, "loc": { "start": { "line": 678, "column": 26 }, "end": { "line": 678, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 22145, "end": 22174, "loc": { "start": { "line": 678, "column": 26 }, "end": { "line": 678, "column": 55 } }, "object": { "type": "MemberExpression", "start": 22145, "end": 22159, "loc": { "start": { "line": 678, "column": 26 }, "end": { "line": 678, "column": 40 } }, "object": { "type": "ThisExpression", "start": 22145, "end": 22149, "loc": { "start": { "line": 678, "column": 26 }, "end": { "line": 678, "column": 30 } } }, "property": { "type": "Identifier", "start": 22150, "end": 22159, "loc": { "start": { "line": 678, "column": 31 }, "end": { "line": 678, "column": 40 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 22160, "end": 22174, "loc": { "start": { "line": 678, "column": 41 }, "end": { "line": 678, "column": 55 }, "identifierName": "getButtonClass" }, "name": "getButtonClass" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22175, "end": 22181, "loc": { "start": { "line": 678, "column": 56 }, "end": { "line": 678, "column": 62 }, "identifierName": "button" }, "name": "button" } ] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 22193, "end": 22243, "loc": { "start": { "line": 679, "column": 8 }, "end": { "line": 679, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22197, "end": 22242, "loc": { "start": { "line": 679, "column": 12 }, "end": { "line": 679, "column": 57 } }, "id": { "type": "Identifier", "start": 22197, "end": 22213, "loc": { "start": { "line": 679, "column": 12 }, "end": { "line": 679, "column": 28 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "init": { "type": "MemberExpression", "start": 22216, "end": 22242, "loc": { "start": { "line": 679, "column": 31 }, "end": { "line": 679, "column": 57 } }, "object": { "type": "Identifier", "start": 22216, "end": 22234, "loc": { "start": { "line": 679, "column": 31 }, "end": { "line": 679, "column": 49 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 22235, "end": 22241, "loc": { "start": { "line": 679, "column": 50 }, "end": { "line": 679, "column": 56 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 22253, "end": 22370, "loc": { "start": { "line": 680, "column": 8 }, "end": { "line": 680, "column": 125 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22257, "end": 22369, "loc": { "start": { "line": 680, "column": 12 }, "end": { "line": 680, "column": 124 } }, "id": { "type": "Identifier", "start": 22257, "end": 22274, "loc": { "start": { "line": 680, "column": 12 }, "end": { "line": 680, "column": 29 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" }, "init": { "type": "CallExpression", "start": 22277, "end": 22369, "loc": { "start": { "line": 680, "column": 32 }, "end": { "line": 680, "column": 124 } }, "callee": { "type": "MemberExpression", "start": 22277, "end": 22312, "loc": { "start": { "line": 680, "column": 32 }, "end": { "line": 680, "column": 67 } }, "object": { "type": "MemberExpression", "start": 22277, "end": 22291, "loc": { "start": { "line": 680, "column": 32 }, "end": { "line": 680, "column": 46 } }, "object": { "type": "ThisExpression", "start": 22277, "end": 22281, "loc": { "start": { "line": 680, "column": 32 }, "end": { "line": 680, "column": 36 } } }, "property": { "type": "Identifier", "start": 22282, "end": 22291, "loc": { "start": { "line": 680, "column": 37 }, "end": { "line": 680, "column": 46 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 22292, "end": 22312, "loc": { "start": { "line": 680, "column": 47 }, "end": { "line": 680, "column": 67 }, "identifierName": "getButtonDisplayName" }, "name": "getButtonDisplayName" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22313, "end": 22319, "loc": { "start": { "line": 680, "column": 68 }, "end": { "line": 680, "column": 74 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 22321, "end": 22341, "loc": { "start": { "line": 680, "column": 76 }, "end": { "line": 680, "column": 96 } }, "object": { "type": "MemberExpression", "start": 22321, "end": 22333, "loc": { "start": { "line": 680, "column": 76 }, "end": { "line": 680, "column": 88 } }, "object": { "type": "ThisExpression", "start": 22321, "end": 22325, "loc": { "start": { "line": 680, "column": 76 }, "end": { "line": 680, "column": 80 } } }, "property": { "type": "Identifier", "start": 22326, "end": 22333, "loc": { "start": { "line": 680, "column": 81 }, "end": { "line": 680, "column": 88 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 22334, "end": 22341, "loc": { "start": { "line": 680, "column": 89 }, "end": { "line": 680, "column": 96 }, "identifierName": "display" }, "name": "display" }, "computed": false }, { "type": "MemberExpression", "start": 22343, "end": 22368, "loc": { "start": { "line": 680, "column": 98 }, "end": { "line": 680, "column": 123 } }, "object": { "type": "MemberExpression", "start": 22343, "end": 22355, "loc": { "start": { "line": 680, "column": 98 }, "end": { "line": 680, "column": 110 } }, "object": { "type": "ThisExpression", "start": 22343, "end": 22347, "loc": { "start": { "line": 680, "column": 98 }, "end": { "line": 680, "column": 102 } } }, "property": { "type": "Identifier", "start": 22348, "end": 22355, "loc": { "start": { "line": 680, "column": 103 }, "end": { "line": 680, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 22356, "end": 22368, "loc": { "start": { "line": 680, "column": 111 }, "end": { "line": 680, "column": 123 }, "identifierName": "mergeDisplay" }, "name": "mergeDisplay" }, "computed": false } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 22382, "end": 22426, "loc": { "start": { "line": 682, "column": 8 }, "end": { "line": 684, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 22436, "end": 22482, "loc": { "start": { "line": 685, "column": 8 }, "end": { "line": 685, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22440, "end": 22481, "loc": { "start": { "line": 685, "column": 12 }, "end": { "line": 685, "column": 53 } }, "id": { "type": "Identifier", "start": 22440, "end": 22449, "loc": { "start": { "line": 685, "column": 12 }, "end": { "line": 685, "column": 21 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 22452, "end": 22481, "loc": { "start": { "line": 685, "column": 24 }, "end": { "line": 685, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 22452, "end": 22474, "loc": { "start": { "line": 685, "column": 24 }, "end": { "line": 685, "column": 46 } }, "object": { "type": "Identifier", "start": 22452, "end": 22460, "loc": { "start": { "line": 685, "column": 24 }, "end": { "line": 685, "column": 32 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 22461, "end": 22474, "loc": { "start": { "line": 685, "column": 33 }, "end": { "line": 685, "column": 46 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22475, "end": 22480, "loc": { "start": { "line": 685, "column": 47 }, "end": { "line": 685, "column": 52 } }, "extra": { "rawValue": "div", "raw": "'div'" }, "value": "div" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 22382, "end": 22426, "loc": { "start": { "line": 682, "column": 8 }, "end": { "line": 684, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22492, "end": 22589, "loc": { "start": { "line": 686, "column": 8 }, "end": { "line": 686, "column": 105 } }, "expression": { "type": "AssignmentExpression", "start": 22492, "end": 22588, "loc": { "start": { "line": 686, "column": 8 }, "end": { "line": 686, "column": 104 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 22492, "end": 22511, "loc": { "start": { "line": 686, "column": 8 }, "end": { "line": 686, "column": 27 } }, "object": { "type": "Identifier", "start": 22492, "end": 22501, "loc": { "start": { "line": 686, "column": 8 }, "end": { "line": 686, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 22502, "end": 22511, "loc": { "start": { "line": 686, "column": 18 }, "end": { "line": 686, "column": 27 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "TemplateLiteral", "start": 22515, "end": 22588, "loc": { "start": { "line": 686, "column": 31 }, "end": { "line": 686, "column": 104 } }, "expressions": [ { "type": "Identifier", "start": 22528, "end": 22539, "loc": { "start": { "line": 686, "column": 44 }, "end": { "line": 686, "column": 55 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, { "type": "ConditionalExpression", "start": 22542, "end": 22586, "loc": { "start": { "line": 686, "column": 58 }, "end": { "line": 686, "column": 102 } }, "test": { "type": "Identifier", "start": 22542, "end": 22558, "loc": { "start": { "line": 686, "column": 58 }, "end": { "line": 686, "column": 74 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "consequent": { "type": "BinaryExpression", "start": 22561, "end": 22581, "loc": { "start": { "line": 686, "column": 77 }, "end": { "line": 686, "column": 97 } }, "left": { "type": "StringLiteral", "start": 22561, "end": 22564, "loc": { "start": { "line": 686, "column": 77 }, "end": { "line": 686, "column": 80 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " }, "operator": "+", "right": { "type": "Identifier", "start": 22565, "end": 22581, "loc": { "start": { "line": 686, "column": 81 }, "end": { "line": 686, "column": 97 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" } }, "alternate": { "type": "StringLiteral", "start": 22584, "end": 22586, "loc": { "start": { "line": 686, "column": 100 }, "end": { "line": 686, "column": 102 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "quasis": [ { "type": "TemplateElement", "start": 22516, "end": 22526, "loc": { "start": { "line": 686, "column": 32 }, "end": { "line": 686, "column": 42 } }, "value": { "raw": "hg-button ", "cooked": "hg-button " }, "tail": false }, { "type": "TemplateElement", "start": 22540, "end": 22540, "loc": { "start": { "line": 686, "column": 56 }, "end": { "line": 686, "column": 56 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 22587, "end": 22587, "loc": { "start": { "line": 686, "column": 103 }, "end": { "line": 686, "column": 103 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } }, { "type": "ExpressionStatement", "start": 22599, "end": 22658, "loc": { "start": { "line": 687, "column": 8 }, "end": { "line": 687, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 22599, "end": 22657, "loc": { "start": { "line": 687, "column": 8 }, "end": { "line": 687, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22599, "end": 22616, "loc": { "start": { "line": 687, "column": 8 }, "end": { "line": 687, "column": 25 } }, "object": { "type": "Identifier", "start": 22599, "end": 22608, "loc": { "start": { "line": 687, "column": 8 }, "end": { "line": 687, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 22609, "end": 22616, "loc": { "start": { "line": 687, "column": 18 }, "end": { "line": 687, "column": 25 }, "identifierName": "onclick" }, "name": "onclick" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 22619, "end": 22657, "loc": { "start": { "line": 687, "column": 28 }, "end": { "line": 687, "column": 66 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 22625, "end": 22657, "loc": { "start": { "line": 687, "column": 34 }, "end": { "line": 687, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 22625, "end": 22649, "loc": { "start": { "line": 687, "column": 34 }, "end": { "line": 687, "column": 58 } }, "object": { "type": "ThisExpression", "start": 22625, "end": 22629, "loc": { "start": { "line": 687, "column": 34 }, "end": { "line": 687, "column": 38 } } }, "property": { "type": "Identifier", "start": 22630, "end": 22649, "loc": { "start": { "line": 687, "column": 39 }, "end": { "line": 687, "column": 58 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22650, "end": 22656, "loc": { "start": { "line": 687, "column": 59 }, "end": { "line": 687, "column": 65 }, "identifierName": "button" }, "name": "button" } ] } } } }, { "type": "ExpressionStatement", "start": 22668, "end": 22737, "loc": { "start": { "line": 688, "column": 8 }, "end": { "line": 688, "column": 77 } }, "expression": { "type": "AssignmentExpression", "start": 22668, "end": 22736, "loc": { "start": { "line": 688, "column": 8 }, "end": { "line": 688, "column": 76 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22668, "end": 22689, "loc": { "start": { "line": 688, "column": 8 }, "end": { "line": 688, "column": 29 } }, "object": { "type": "Identifier", "start": 22668, "end": 22677, "loc": { "start": { "line": 688, "column": 8 }, "end": { "line": 688, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 22678, "end": 22689, "loc": { "start": { "line": 688, "column": 18 }, "end": { "line": 688, "column": 29 }, "identifierName": "onmousedown" }, "name": "onmousedown" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 22692, "end": 22736, "loc": { "start": { "line": 688, "column": 32 }, "end": { "line": 688, "column": 76 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 22693, "end": 22694, "loc": { "start": { "line": 688, "column": 33 }, "end": { "line": 688, "column": 34 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "CallExpression", "start": 22699, "end": 22736, "loc": { "start": { "line": 688, "column": 39 }, "end": { "line": 688, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 22699, "end": 22725, "loc": { "start": { "line": 688, "column": 39 }, "end": { "line": 688, "column": 65 } }, "object": { "type": "ThisExpression", "start": 22699, "end": 22703, "loc": { "start": { "line": 688, "column": 39 }, "end": { "line": 688, "column": 43 } } }, "property": { "type": "Identifier", "start": 22704, "end": 22725, "loc": { "start": { "line": 688, "column": 44 }, "end": { "line": 688, "column": 65 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22726, "end": 22732, "loc": { "start": { "line": 688, "column": 66 }, "end": { "line": 688, "column": 72 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 22734, "end": 22735, "loc": { "start": { "line": 688, "column": 74 }, "end": { "line": 688, "column": 75 }, "identifierName": "e" }, "name": "e" } ] } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 22749, "end": 22795, "loc": { "start": { "line": 690, "column": 8 }, "end": { "line": 692, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 22805, "end": 22850, "loc": { "start": { "line": 693, "column": 8 }, "end": { "line": 693, "column": 53 } }, "expression": { "type": "CallExpression", "start": 22805, "end": 22849, "loc": { "start": { "line": 693, "column": 8 }, "end": { "line": 693, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 22805, "end": 22827, "loc": { "start": { "line": 693, "column": 8 }, "end": { "line": 693, "column": 30 } }, "object": { "type": "Identifier", "start": 22805, "end": 22814, "loc": { "start": { "line": 693, "column": 8 }, "end": { "line": 693, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 22815, "end": 22827, "loc": { "start": { "line": 693, "column": 18 }, "end": { "line": 693, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 22828, "end": 22840, "loc": { "start": { "line": 693, "column": 31 }, "end": { "line": 693, "column": 43 } }, "extra": { "rawValue": "data-skBtn", "raw": "\"data-skBtn\"" }, "value": "data-skBtn" }, { "type": "Identifier", "start": 22842, "end": 22848, "loc": { "start": { "line": 693, "column": 45 }, "end": { "line": 693, "column": 51 }, "identifierName": "button" }, "name": "button" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 22749, "end": 22795, "loc": { "start": { "line": 690, "column": 8 }, "end": { "line": 692, "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": 22862, "end": 23017, "loc": { "start": { "line": 695, "column": 8 }, "end": { "line": 698, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 23027, "end": 23093, "loc": { "start": { "line": 699, "column": 8 }, "end": { "line": 699, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23031, "end": 23092, "loc": { "start": { "line": 699, "column": 12 }, "end": { "line": 699, "column": 73 } }, "id": { "type": "Identifier", "start": 23031, "end": 23040, "loc": { "start": { "line": 699, "column": 12 }, "end": { "line": 699, "column": 21 }, "identifierName": "buttonUID" }, "name": "buttonUID", "leadingComments": null }, "init": { "type": "TemplateLiteral", "start": 23043, "end": 23092, "loc": { "start": { "line": 699, "column": 24 }, "end": { "line": 699, "column": 73 } }, "expressions": [ { "type": "MemberExpression", "start": 23046, "end": 23069, "loc": { "start": { "line": 699, "column": 27 }, "end": { "line": 699, "column": 50 } }, "object": { "type": "MemberExpression", "start": 23046, "end": 23058, "loc": { "start": { "line": 699, "column": 27 }, "end": { "line": 699, "column": 39 } }, "object": { "type": "ThisExpression", "start": 23046, "end": 23050, "loc": { "start": { "line": 699, "column": 27 }, "end": { "line": 699, "column": 31 } } }, "property": { "type": "Identifier", "start": 23051, "end": 23058, "loc": { "start": { "line": 699, "column": 32 }, "end": { "line": 699, "column": 39 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 23059, "end": 23069, "loc": { "start": { "line": 699, "column": 40 }, "end": { "line": 699, "column": 50 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, { "type": "Identifier", "start": 23074, "end": 23080, "loc": { "start": { "line": 699, "column": 55 }, "end": { "line": 699, "column": 61 }, "identifierName": "rIndex" }, "name": "rIndex" }, { "type": "Identifier", "start": 23084, "end": 23090, "loc": { "start": { "line": 699, "column": 65 }, "end": { "line": 699, "column": 71 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "quasis": [ { "type": "TemplateElement", "start": 23044, "end": 23044, "loc": { "start": { "line": 699, "column": 25 }, "end": { "line": 699, "column": 25 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 23070, "end": 23072, "loc": { "start": { "line": 699, "column": 51 }, "end": { "line": 699, "column": 53 } }, "value": { "raw": "-r", "cooked": "-r" }, "tail": false }, { "type": "TemplateElement", "start": 23081, "end": 23082, "loc": { "start": { "line": 699, "column": 62 }, "end": { "line": 699, "column": 63 } }, "value": { "raw": "b", "cooked": "b" }, "tail": false }, { "type": "TemplateElement", "start": 23091, "end": 23091, "loc": { "start": { "line": 699, "column": 72 }, "end": { "line": 699, "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": 22862, "end": 23017, "loc": { "start": { "line": 695, "column": 8 }, "end": { "line": 698, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23103, "end": 23154, "loc": { "start": { "line": 700, "column": 8 }, "end": { "line": 700, "column": 59 } }, "expression": { "type": "CallExpression", "start": 23103, "end": 23153, "loc": { "start": { "line": 700, "column": 8 }, "end": { "line": 700, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 23103, "end": 23125, "loc": { "start": { "line": 700, "column": 8 }, "end": { "line": 700, "column": 30 } }, "object": { "type": "Identifier", "start": 23103, "end": 23112, "loc": { "start": { "line": 700, "column": 8 }, "end": { "line": 700, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 23113, "end": 23125, "loc": { "start": { "line": 700, "column": 18 }, "end": { "line": 700, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 23126, "end": 23141, "loc": { "start": { "line": 700, "column": 31 }, "end": { "line": 700, "column": 46 } }, "extra": { "rawValue": "data-skBtnUID", "raw": "\"data-skBtnUID\"" }, "value": "data-skBtnUID" }, { "type": "Identifier", "start": 23143, "end": 23152, "loc": { "start": { "line": 700, "column": 48 }, "end": { "line": 700, "column": 57 }, "identifierName": "buttonUID" }, "name": "buttonUID" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 23166, "end": 23215, "loc": { "start": { "line": 702, "column": 8 }, "end": { "line": 704, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23225, "end": 23288, "loc": { "start": { "line": 705, "column": 8 }, "end": { "line": 705, "column": 71 } }, "expression": { "type": "CallExpression", "start": 23225, "end": 23287, "loc": { "start": { "line": 705, "column": 8 }, "end": { "line": 705, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 23225, "end": 23247, "loc": { "start": { "line": 705, "column": 8 }, "end": { "line": 705, "column": 30 } }, "object": { "type": "Identifier", "start": 23225, "end": 23234, "loc": { "start": { "line": 705, "column": 8 }, "end": { "line": 705, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 23235, "end": 23247, "loc": { "start": { "line": 705, "column": 18 }, "end": { "line": 705, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 23248, "end": 23267, "loc": { "start": { "line": 705, "column": 31 }, "end": { "line": 705, "column": 50 } }, "extra": { "rawValue": "data-displayLabel", "raw": "\"data-displayLabel\"" }, "value": "data-displayLabel" }, { "type": "Identifier", "start": 23269, "end": 23286, "loc": { "start": { "line": 705, "column": 52 }, "end": { "line": 705, "column": 69 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 23166, "end": 23215, "loc": { "start": { "line": 702, "column": 8 }, "end": { "line": 704, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 23300, "end": 23358, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 709, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 23368, "end": 23419, "loc": { "start": { "line": 710, "column": 8 }, "end": { "line": 710, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23372, "end": 23418, "loc": { "start": { "line": 710, "column": 12 }, "end": { "line": 710, "column": 58 } }, "id": { "type": "Identifier", "start": 23372, "end": 23385, "loc": { "start": { "line": 710, "column": 12 }, "end": { "line": 710, "column": 25 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 23388, "end": 23418, "loc": { "start": { "line": 710, "column": 28 }, "end": { "line": 710, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 23388, "end": 23410, "loc": { "start": { "line": 710, "column": 28 }, "end": { "line": 710, "column": 50 } }, "object": { "type": "Identifier", "start": 23388, "end": 23396, "loc": { "start": { "line": 710, "column": 28 }, "end": { "line": 710, "column": 36 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 23397, "end": 23410, "loc": { "start": { "line": 710, "column": 37 }, "end": { "line": 710, "column": 50 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 23411, "end": 23417, "loc": { "start": { "line": 710, "column": 51 }, "end": { "line": 710, "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": 23300, "end": 23358, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 709, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23429, "end": 23473, "loc": { "start": { "line": 711, "column": 8 }, "end": { "line": 711, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 23429, "end": 23472, "loc": { "start": { "line": 711, "column": 8 }, "end": { "line": 711, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23429, "end": 23452, "loc": { "start": { "line": 711, "column": 8 }, "end": { "line": 711, "column": 31 } }, "object": { "type": "Identifier", "start": 23429, "end": 23442, "loc": { "start": { "line": 711, "column": 8 }, "end": { "line": 711, "column": 21 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" }, "property": { "type": "Identifier", "start": 23443, "end": 23452, "loc": { "start": { "line": 711, "column": 22 }, "end": { "line": 711, "column": 31 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "Identifier", "start": 23455, "end": 23472, "loc": { "start": { "line": 711, "column": 34 }, "end": { "line": 711, "column": 51 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } } }, { "type": "ExpressionStatement", "start": 23483, "end": 23520, "loc": { "start": { "line": 712, "column": 8 }, "end": { "line": 712, "column": 45 } }, "expression": { "type": "CallExpression", "start": 23483, "end": 23519, "loc": { "start": { "line": 712, "column": 8 }, "end": { "line": 712, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 23483, "end": 23504, "loc": { "start": { "line": 712, "column": 8 }, "end": { "line": 712, "column": 29 } }, "object": { "type": "Identifier", "start": 23483, "end": 23492, "loc": { "start": { "line": 712, "column": 8 }, "end": { "line": 712, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 23493, "end": 23504, "loc": { "start": { "line": 712, "column": 18 }, "end": { "line": 712, "column": 29 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23505, "end": 23518, "loc": { "start": { "line": 712, "column": 30 }, "end": { "line": 712, "column": 43 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 23532, "end": 23585, "loc": { "start": { "line": 714, "column": 8 }, "end": { "line": 716, "column": 11 } } } ] }, { "type": "IfStatement", "start": 23595, "end": 23672, "loc": { "start": { "line": 717, "column": 8 }, "end": { "line": 718, "column": 43 } }, "test": { "type": "UnaryExpression", "start": 23598, "end": 23626, "loc": { "start": { "line": 717, "column": 11 }, "end": { "line": 717, "column": 39 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 23599, "end": 23626, "loc": { "start": { "line": 717, "column": 12 }, "end": { "line": 717, "column": 39 } }, "object": { "type": "MemberExpression", "start": 23599, "end": 23618, "loc": { "start": { "line": 717, "column": 12 }, "end": { "line": 717, "column": 31 } }, "object": { "type": "ThisExpression", "start": 23599, "end": 23603, "loc": { "start": { "line": 717, "column": 12 }, "end": { "line": 717, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 23604, "end": 23618, "loc": { "start": { "line": 717, "column": 17 }, "end": { "line": 717, "column": 31 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 23619, "end": 23625, "loc": { "start": { "line": 717, "column": 32 }, "end": { "line": 717, "column": 38 }, "identifierName": "button" }, "name": "button" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 23639, "end": 23672, "loc": { "start": { "line": 718, "column": 10 }, "end": { "line": 718, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 23639, "end": 23671, "loc": { "start": { "line": 718, "column": 10 }, "end": { "line": 718, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23639, "end": 23666, "loc": { "start": { "line": 718, "column": 10 }, "end": { "line": 718, "column": 37 } }, "object": { "type": "MemberExpression", "start": 23639, "end": 23658, "loc": { "start": { "line": 718, "column": 10 }, "end": { "line": 718, "column": 29 } }, "object": { "type": "ThisExpression", "start": 23639, "end": 23643, "loc": { "start": { "line": 718, "column": 10 }, "end": { "line": 718, "column": 14 } } }, "property": { "type": "Identifier", "start": 23644, "end": 23658, "loc": { "start": { "line": 718, "column": 15 }, "end": { "line": 718, "column": 29 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 23659, "end": 23665, "loc": { "start": { "line": 718, "column": 30 }, "end": { "line": 718, "column": 36 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "right": { "type": "ArrayExpression", "start": 23669, "end": 23671, "loc": { "start": { "line": 718, "column": 40 }, "end": { "line": 718, "column": 42 } }, "elements": [] } } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 23532, "end": 23585, "loc": { "start": { "line": 714, "column": 8 }, "end": { "line": 716, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23684, "end": 23728, "loc": { "start": { "line": 720, "column": 8 }, "end": { "line": 720, "column": 52 } }, "expression": { "type": "CallExpression", "start": 23684, "end": 23727, "loc": { "start": { "line": 720, "column": 8 }, "end": { "line": 720, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 23684, "end": 23716, "loc": { "start": { "line": 720, "column": 8 }, "end": { "line": 720, "column": 40 } }, "object": { "type": "MemberExpression", "start": 23684, "end": 23711, "loc": { "start": { "line": 720, "column": 8 }, "end": { "line": 720, "column": 35 } }, "object": { "type": "MemberExpression", "start": 23684, "end": 23703, "loc": { "start": { "line": 720, "column": 8 }, "end": { "line": 720, "column": 27 } }, "object": { "type": "ThisExpression", "start": 23684, "end": 23688, "loc": { "start": { "line": 720, "column": 8 }, "end": { "line": 720, "column": 12 } } }, "property": { "type": "Identifier", "start": 23689, "end": 23703, "loc": { "start": { "line": 720, "column": 13 }, "end": { "line": 720, "column": 27 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 23704, "end": 23710, "loc": { "start": { "line": 720, "column": 28 }, "end": { "line": 720, "column": 34 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "property": { "type": "Identifier", "start": 23712, "end": 23716, "loc": { "start": { "line": 720, "column": 36 }, "end": { "line": 720, "column": 40 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23717, "end": 23726, "loc": { "start": { "line": 720, "column": 41 }, "end": { "line": 720, "column": 50 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 23740, "end": 23792, "loc": { "start": { "line": 722, "column": 8 }, "end": { "line": 724, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23802, "end": 23832, "loc": { "start": { "line": 725, "column": 8 }, "end": { "line": 725, "column": 38 } }, "expression": { "type": "CallExpression", "start": 23802, "end": 23831, "loc": { "start": { "line": 725, "column": 8 }, "end": { "line": 725, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 23802, "end": 23820, "loc": { "start": { "line": 725, "column": 8 }, "end": { "line": 725, "column": 26 } }, "object": { "type": "Identifier", "start": 23802, "end": 23808, "loc": { "start": { "line": 725, "column": 8 }, "end": { "line": 725, "column": 14 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 23809, "end": 23820, "loc": { "start": { "line": 725, "column": 15 }, "end": { "line": 725, "column": 26 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 23821, "end": 23830, "loc": { "start": { "line": 725, "column": 27 }, "end": { "line": 725, "column": 36 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 23740, "end": 23792, "loc": { "start": { "line": 722, "column": 8 }, "end": { "line": 724, "column": 11 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 22010, "end": 22071, "loc": { "start": { "line": 674, "column": 6 }, "end": { "line": 676, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 23855, "end": 23905, "loc": { "start": { "line": 729, "column": 6 }, "end": { "line": 731, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 23913, "end": 23950, "loc": { "start": { "line": 732, "column": 6 }, "end": { "line": 732, "column": 43 } }, "expression": { "type": "CallExpression", "start": 23913, "end": 23949, "loc": { "start": { "line": 732, "column": 6 }, "end": { "line": 732, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 23913, "end": 23941, "loc": { "start": { "line": 732, "column": 6 }, "end": { "line": 732, "column": 34 } }, "object": { "type": "MemberExpression", "start": 23913, "end": 23929, "loc": { "start": { "line": 732, "column": 6 }, "end": { "line": 732, "column": 22 } }, "object": { "type": "ThisExpression", "start": 23913, "end": 23917, "loc": { "start": { "line": 732, "column": 6 }, "end": { "line": 732, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 23918, "end": 23929, "loc": { "start": { "line": 732, "column": 11 }, "end": { "line": 732, "column": 22 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 23930, "end": 23941, "loc": { "start": { "line": 732, "column": 23 }, "end": { "line": 732, "column": 34 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 23942, "end": 23948, "loc": { "start": { "line": 732, "column": 35 }, "end": { "line": 732, "column": 41 }, "identifierName": "rowDOM" }, "name": "rowDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 23855, "end": 23905, "loc": { "start": { "line": 729, "column": 6 }, "end": { "line": 731, "column": 9 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 21710, "end": 21757, "loc": { "start": { "line": 662, "column": 4 }, "end": { "line": 664, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 23967, "end": 24004, "loc": { "start": { "line": 735, "column": 4 }, "end": { "line": 737, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 24010, "end": 24026, "loc": { "start": { "line": 738, "column": 4 }, "end": { "line": 738, "column": 20 } }, "expression": { "type": "CallExpression", "start": 24010, "end": 24025, "loc": { "start": { "line": 738, "column": 4 }, "end": { "line": 738, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 24010, "end": 24023, "loc": { "start": { "line": 738, "column": 4 }, "end": { "line": 738, "column": 17 } }, "object": { "type": "ThisExpression", "start": 24010, "end": 24014, "loc": { "start": { "line": 738, "column": 4 }, "end": { "line": 738, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 24015, "end": 24023, "loc": { "start": { "line": 738, "column": 9 }, "end": { "line": 738, "column": 17 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 23967, "end": 24004, "loc": { "start": { "line": 735, "column": 4 }, "end": { "line": 737, "column": 7 } } } ] }, { "type": "IfStatement", "start": 24034, "end": 24369, "loc": { "start": { "line": 740, "column": 4 }, "end": { "line": 755, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 24037, "end": 24054, "loc": { "start": { "line": 740, "column": 7 }, "end": { "line": 740, "column": 24 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 24038, "end": 24054, "loc": { "start": { "line": 740, "column": 8 }, "end": { "line": 740, "column": 24 } }, "object": { "type": "ThisExpression", "start": 24038, "end": 24042, "loc": { "start": { "line": 740, "column": 8 }, "end": { "line": 740, "column": 12 } } }, "property": { "type": "Identifier", "start": 24043, "end": 24054, "loc": { "start": { "line": 740, "column": 13 }, "end": { "line": 740, "column": 24 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 24055, "end": 24369, "loc": { "start": { "line": 740, "column": 25 }, "end": { "line": 755, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 24154, "end": 24178, "loc": { "start": { "line": 744, "column": 6 }, "end": { "line": 744, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 24154, "end": 24177, "loc": { "start": { "line": 744, "column": 6 }, "end": { "line": 744, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24154, "end": 24170, "loc": { "start": { "line": 744, "column": 6 }, "end": { "line": 744, "column": 22 } }, "object": { "type": "ThisExpression", "start": 24154, "end": 24158, "loc": { "start": { "line": 744, "column": 6 }, "end": { "line": 744, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 24159, "end": 24170, "loc": { "start": { "line": 744, "column": 11 }, "end": { "line": 744, "column": 22 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 24173, "end": 24177, "loc": { "start": { "line": 744, "column": 25 }, "end": { "line": 744, "column": 29 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 24064, "end": 24146, "loc": { "start": { "line": 741, "column": 6 }, "end": { "line": 743, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 24188, "end": 24229, "loc": { "start": { "line": 746, "column": 6 }, "end": { "line": 748, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 24237, "end": 24291, "loc": { "start": { "line": 749, "column": 6 }, "end": { "line": 749, "column": 60 } }, "expression": { "type": "AssignmentExpression", "start": 24237, "end": 24290, "loc": { "start": { "line": 749, "column": 6 }, "end": { "line": 749, "column": 59 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24237, "end": 24255, "loc": { "start": { "line": 749, "column": 6 }, "end": { "line": 749, "column": 24 } }, "object": { "type": "Identifier", "start": 24237, "end": 24245, "loc": { "start": { "line": 749, "column": 6 }, "end": { "line": 749, "column": 14 }, "identifierName": "document" }, "name": "document", "leadingComments": null }, "property": { "type": "Identifier", "start": 24246, "end": 24255, "loc": { "start": { "line": 749, "column": 15 }, "end": { "line": 749, "column": 24 }, "identifierName": "onmouseup" }, "name": "onmouseup" }, "computed": false, "leadingComments": null }, "right": { "type": "ArrowFunctionExpression", "start": 24258, "end": 24290, "loc": { "start": { "line": 749, "column": 27 }, "end": { "line": 749, "column": 59 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 24264, "end": 24290, "loc": { "start": { "line": 749, "column": 33 }, "end": { "line": 749, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 24264, "end": 24288, "loc": { "start": { "line": 749, "column": 33 }, "end": { "line": 749, "column": 57 } }, "object": { "type": "ThisExpression", "start": 24264, "end": 24268, "loc": { "start": { "line": 749, "column": 33 }, "end": { "line": 749, "column": 37 } } }, "property": { "type": "Identifier", "start": 24269, "end": 24288, "loc": { "start": { "line": 749, "column": 38 }, "end": { "line": 749, "column": 57 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "arguments": [] } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 24188, "end": 24229, "loc": { "start": { "line": 746, "column": 6 }, "end": { "line": 748, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 24301, "end": 24340, "loc": { "start": { "line": 751, "column": 6 }, "end": { "line": 753, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 24348, "end": 24362, "loc": { "start": { "line": 754, "column": 6 }, "end": { "line": 754, "column": 20 } }, "expression": { "type": "CallExpression", "start": 24348, "end": 24361, "loc": { "start": { "line": 754, "column": 6 }, "end": { "line": 754, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 24348, "end": 24359, "loc": { "start": { "line": 754, "column": 6 }, "end": { "line": 754, "column": 17 } }, "object": { "type": "ThisExpression", "start": 24348, "end": 24352, "loc": { "start": { "line": 754, "column": 6 }, "end": { "line": 754, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 24353, "end": 24359, "loc": { "start": { "line": 754, "column": 11 }, "end": { "line": 754, "column": 17 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 24301, "end": 24340, "loc": { "start": { "line": 751, "column": 6 }, "end": { "line": 753, "column": 9 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 19970, "end": 20026, "loc": { "start": { "line": 611, "column": 2 }, "end": { "line": 613, "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 * @type {object} Classes identifying loaded plugins\r\n ", "start": 4184, "end": 4254, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 68, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4300, "end": 4329, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 73, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", "start": 5518, "end": 6177, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 109, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", "start": 6253, "end": 6362, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 115, "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": 6437, "end": 6582, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 120, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 6621, "end": 6660, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 125, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 6853, "end": 6966, "loc": { "start": { "line": 133, "column": 4 }, "end": { "line": 136, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 7169, "end": 7215, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 144, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Modules\r\n ", "start": 7289, "end": 7317, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 149, "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": 7377, "end": 7489, "loc": { "start": { "line": 154, "column": 2 }, "end": { "line": 157, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 7566, "end": 7615, "loc": { "start": { "line": 161, "column": 4 }, "end": { "line": 163, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 7671, "end": 7710, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 169, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", "start": 8114, "end": 8191, "loc": { "start": { "line": 180, "column": 6 }, "end": { "line": 182, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8473, "end": 8532, "loc": { "start": { "line": 192, "column": 6 }, "end": { "line": 194, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 8631, "end": 8672, "loc": { "start": { "line": 198, "column": 6 }, "end": { "line": 200, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", "start": 8886, "end": 8927, "loc": { "start": { "line": 210, "column": 2 }, "end": { "line": 212, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 8931, "end": 8957, "loc": { "start": { "line": 213, "column": 2 }, "end": { "line": 213, "column": 28 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n ", "start": 9000, "end": 9079, "loc": { "start": { "line": 215, "column": 4 }, "end": { "line": 217, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", "start": 9273, "end": 9350, "loc": { "start": { "line": 226, "column": 4 }, "end": { "line": 228, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", "start": 9826, "end": 9865, "loc": { "start": { "line": 248, "column": 2 }, "end": { "line": 250, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", "start": 10020, "end": 10056, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 259, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 10060, "end": 10086, "loc": { "start": { "line": 260, "column": 2 }, "end": { "line": 260, "column": 28 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", "start": 10121, "end": 10207, "loc": { "start": { "line": 262, "column": 4 }, "end": { "line": 264, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 10365, "end": 10462, "loc": { "start": { "line": 271, "column": 2 }, "end": { "line": 273, "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": 10586, "end": 10704, "loc": { "start": { "line": 280, "column": 2 }, "end": { "line": 283, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10838, "end": 10893, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 290, "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": 10989, "end": 11151, "loc": { "start": { "line": 295, "column": 2 }, "end": { "line": 298, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11237, "end": 11292, "loc": { "start": { "line": 302, "column": 4 }, "end": { "line": 304, "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": 11438, "end": 11598, "loc": { "start": { "line": 311, "column": 2 }, "end": { "line": 315, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11727, "end": 11782, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 322, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 11880, "end": 11989, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 330, "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": 12055, "end": 12181, "loc": { "start": { "line": 335, "column": 2 }, "end": { "line": 338, "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": 12325, "end": 12434, "loc": { "start": { "line": 345, "column": 2 }, "end": { "line": 348, "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": 12583, "end": 12788, "loc": { "start": { "line": 355, "column": 2 }, "end": { "line": 358, "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": 13166, "end": 13447, "loc": { "start": { "line": 370, "column": 2 }, "end": { "line": 374, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 13774, "end": 13865, "loc": { "start": { "line": 386, "column": 8 }, "end": { "line": 388, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 14395, "end": 14470, "loc": { "start": { "line": 404, "column": 8 }, "end": { "line": 406, "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": 14689, "end": 15029, "loc": { "start": { "line": 420, "column": 2 }, "end": { "line": 424, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", "start": 15077, "end": 15157, "loc": { "start": { "line": 426, "column": 4 }, "end": { "line": 428, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 15286, "end": 15354, "loc": { "start": { "line": 435, "column": 4 }, "end": { "line": 437, "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": 15619, "end": 15760, "loc": { "start": { "line": 443, "column": 10 }, "end": { "line": 446, "column": 13 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 16001, "end": 16098, "loc": { "start": { "line": 453, "column": 12 }, "end": { "line": 455, "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": 16456, "end": 16659, "loc": { "start": { "line": 473, "column": 2 }, "end": { "line": 476, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 16936, "end": 17026, "loc": { "start": { "line": 492, "column": 2 }, "end": { "line": 494, "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": 17339, "end": 17451, "loc": { "start": { "line": 505, "column": 2 }, "end": { "line": 507, "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": 17640, "end": 17788, "loc": { "start": { "line": 515, "column": 6 }, "end": { "line": 518, "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": 18011, "end": 18131, "loc": { "start": { "line": 527, "column": 2 }, "end": { "line": 529, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 18223, "end": 18258, "loc": { "start": { "line": 535, "column": 4 }, "end": { "line": 537, "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": 18377, "end": 18495, "loc": { "start": { "line": 544, "column": 2 }, "end": { "line": 546, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", "start": 18605, "end": 18684, "loc": { "start": { "line": 552, "column": 1 }, "end": { "line": 554, "column": 4 } } }, { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 18816, "end": 18848, "loc": { "start": { "line": 560, "column": 2 }, "end": { "line": 562, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 19007, "end": 19036, "loc": { "start": { "line": 570, "column": 2 }, "end": { "line": 572, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 19196, "end": 19222, "loc": { "start": { "line": 578, "column": 8 }, "end": { "line": 578, "column": 34 } } }, { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 19687, "end": 19719, "loc": { "start": { "line": 594, "column": 2 }, "end": { "line": 596, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 19861, "end": 19892, "loc": { "start": { "line": 604, "column": 2 }, "end": { "line": 606, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 19970, "end": 20026, "loc": { "start": { "line": 611, "column": 2 }, "end": { "line": 613, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 20045, "end": 20080, "loc": { "start": { "line": 615, "column": 4 }, "end": { "line": 617, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 20291, "end": 20343, "loc": { "start": { "line": 623, "column": 4 }, "end": { "line": 625, "column": 7 } } }, { "type": "CommentLine", "value": " If the button has already been added", "start": 20850, "end": 20889, "loc": { "start": { "line": 640, "column": 14 }, "end": { "line": 640, "column": 53 } } }, { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", "start": 20939, "end": 21022, "loc": { "start": { "line": 642, "column": 16 }, "end": { "line": 642, "column": 99 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 21530, "end": 21596, "loc": { "start": { "line": 657, "column": 4 }, "end": { "line": 659, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 21710, "end": 21757, "loc": { "start": { "line": 662, "column": 4 }, "end": { "line": 664, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 21869, "end": 21912, "loc": { "start": { "line": 668, "column": 6 }, "end": { "line": 670, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 22010, "end": 22071, "loc": { "start": { "line": 674, "column": 6 }, "end": { "line": 676, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 22382, "end": 22426, "loc": { "start": { "line": 682, "column": 8 }, "end": { "line": 684, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 22749, "end": 22795, "loc": { "start": { "line": 690, "column": 8 }, "end": { "line": 692, "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": 22862, "end": 23017, "loc": { "start": { "line": 695, "column": 8 }, "end": { "line": 698, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 23166, "end": 23215, "loc": { "start": { "line": 702, "column": 8 }, "end": { "line": 704, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 23300, "end": 23358, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 709, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 23532, "end": 23585, "loc": { "start": { "line": 714, "column": 8 }, "end": { "line": 716, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 23740, "end": 23792, "loc": { "start": { "line": 722, "column": 8 }, "end": { "line": 724, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 23855, "end": 23905, "loc": { "start": { "line": 729, "column": 6 }, "end": { "line": 731, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 23967, "end": 24004, "loc": { "start": { "line": 735, "column": 4 }, "end": { "line": 737, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 24064, "end": 24146, "loc": { "start": { "line": 741, "column": 6 }, "end": { "line": 743, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 24188, "end": 24229, "loc": { "start": { "line": 746, "column": 6 }, "end": { "line": 748, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 24301, "end": 24340, "loc": { "start": { "line": 751, "column": 6 }, "end": { "line": 753, "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 * @type {object} Classes identifying loaded plugins\r\n ", "start": 4184, "end": 4254, "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": 4260, "end": 4264, "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": 4264, "end": 4265, "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": "keyboardPluginClasses", "start": 4265, "end": 4286, "loc": { "start": { "line": 69, "column": 9 }, "end": { "line": 69, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4287, "end": 4288, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "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": 4289, "end": 4291, "loc": { "start": { "line": 69, "column": 33 }, "end": { "line": 69, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4291, "end": 4292, "loc": { "start": { "line": 69, "column": 35 }, "end": { "line": 69, "column": 36 } } }, { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4300, "end": 4329, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 73, "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": 4335, "end": 4339, "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": 4339, "end": 4340, "loc": { "start": { "line": 74, "column": 8 }, "end": { "line": 74, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 4340, "end": 4359, "loc": { "start": { "line": 74, "column": 9 }, "end": { "line": 74, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4360, "end": 4361, "loc": { "start": { "line": 74, "column": 29 }, "end": { "line": 74, "column": 30 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4362, "end": 4366, "loc": { "start": { "line": 74, "column": 31 }, "end": { "line": 74, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4366, "end": 4367, "loc": { "start": { "line": 74, "column": 35 }, "end": { "line": 74, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 4367, "end": 4386, "loc": { "start": { "line": 74, "column": 36 }, "end": { "line": 74, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4386, "end": 4387, "loc": { "start": { "line": 74, "column": 55 }, "end": { "line": 74, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4387, "end": 4391, "loc": { "start": { "line": 74, "column": 56 }, "end": { "line": 74, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4391, "end": 4392, "loc": { "start": { "line": 74, "column": 60 }, "end": { "line": 74, "column": 61 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4392, "end": 4396, "loc": { "start": { "line": 74, "column": 61 }, "end": { "line": 74, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4396, "end": 4397, "loc": { "start": { "line": 74, "column": 65 }, "end": { "line": 74, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4397, "end": 4398, "loc": { "start": { "line": 74, "column": 66 }, "end": { "line": 74, "column": 67 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4404, "end": 4408, "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": 4408, "end": 4409, "loc": { "start": { "line": 75, "column": 8 }, "end": { "line": 75, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 4409, "end": 4427, "loc": { "start": { "line": 75, "column": 9 }, "end": { "line": 75, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4428, "end": 4429, "loc": { "start": { "line": 75, "column": 28 }, "end": { "line": 75, "column": 29 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4430, "end": 4434, "loc": { "start": { "line": 75, "column": 30 }, "end": { "line": 75, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4434, "end": 4435, "loc": { "start": { "line": 75, "column": 34 }, "end": { "line": 75, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 4435, "end": 4453, "loc": { "start": { "line": 75, "column": 35 }, "end": { "line": 75, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4453, "end": 4454, "loc": { "start": { "line": 75, "column": 53 }, "end": { "line": 75, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4454, "end": 4458, "loc": { "start": { "line": 75, "column": 54 }, "end": { "line": 75, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4458, "end": 4459, "loc": { "start": { "line": 75, "column": 58 }, "end": { "line": 75, "column": 59 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4459, "end": 4463, "loc": { "start": { "line": 75, "column": 59 }, "end": { "line": 75, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4463, "end": 4464, "loc": { "start": { "line": 75, "column": 63 }, "end": { "line": 75, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4464, "end": 4465, "loc": { "start": { "line": 75, "column": 64 }, "end": { "line": 75, "column": 65 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4471, "end": 4475, "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": 4475, "end": 4476, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearInput", "start": 4476, "end": 4486, "loc": { "start": { "line": 76, "column": 9 }, "end": { "line": 76, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4487, "end": 4488, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 21 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4489, "end": 4493, "loc": { "start": { "line": 76, "column": 22 }, "end": { "line": 76, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4493, "end": 4494, "loc": { "start": { "line": 76, "column": 26 }, "end": { "line": 76, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearInput", "start": 4494, "end": 4504, "loc": { "start": { "line": 76, "column": 27 }, "end": { "line": 76, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4504, "end": 4505, "loc": { "start": { "line": 76, "column": 37 }, "end": { "line": 76, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4505, "end": 4509, "loc": { "start": { "line": 76, "column": 38 }, "end": { "line": 76, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4509, "end": 4510, "loc": { "start": { "line": 76, "column": 42 }, "end": { "line": 76, "column": 43 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4510, "end": 4514, "loc": { "start": { "line": 76, "column": 43 }, "end": { "line": 76, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4514, "end": 4515, "loc": { "start": { "line": 76, "column": 47 }, "end": { "line": 76, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4515, "end": 4516, "loc": { "start": { "line": 76, "column": 48 }, "end": { "line": 76, "column": 49 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4522, "end": 4526, "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": 4526, "end": 4527, "loc": { "start": { "line": 77, "column": 8 }, "end": { "line": 77, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getInput", "start": 4527, "end": 4535, "loc": { "start": { "line": 77, "column": 9 }, "end": { "line": 77, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4536, "end": 4537, "loc": { "start": { "line": 77, "column": 18 }, "end": { "line": 77, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4538, "end": 4542, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4542, "end": 4543, "loc": { "start": { "line": 77, "column": 24 }, "end": { "line": 77, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getInput", "start": 4543, "end": 4551, "loc": { "start": { "line": 77, "column": 25 }, "end": { "line": 77, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4551, "end": 4552, "loc": { "start": { "line": 77, "column": 33 }, "end": { "line": 77, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4552, "end": 4556, "loc": { "start": { "line": 77, "column": 34 }, "end": { "line": 77, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4556, "end": 4557, "loc": { "start": { "line": 77, "column": 38 }, "end": { "line": 77, "column": 39 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4557, "end": 4561, "loc": { "start": { "line": 77, "column": 39 }, "end": { "line": 77, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4561, "end": 4562, "loc": { "start": { "line": 77, "column": 43 }, "end": { "line": 77, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4562, "end": 4563, "loc": { "start": { "line": 77, "column": 44 }, "end": { "line": 77, "column": 45 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4569, "end": 4573, "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": 4573, "end": 4574, "loc": { "start": { "line": 78, "column": 8 }, "end": { "line": 78, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setInput", "start": 4574, "end": 4582, "loc": { "start": { "line": 78, "column": 9 }, "end": { "line": 78, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4583, "end": 4584, "loc": { "start": { "line": 78, "column": 18 }, "end": { "line": 78, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4585, "end": 4589, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4589, "end": 4590, "loc": { "start": { "line": 78, "column": 24 }, "end": { "line": 78, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setInput", "start": 4590, "end": 4598, "loc": { "start": { "line": 78, "column": 25 }, "end": { "line": 78, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4598, "end": 4599, "loc": { "start": { "line": 78, "column": 33 }, "end": { "line": 78, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4599, "end": 4603, "loc": { "start": { "line": 78, "column": 34 }, "end": { "line": 78, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4603, "end": 4604, "loc": { "start": { "line": 78, "column": 38 }, "end": { "line": 78, "column": 39 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4604, "end": 4608, "loc": { "start": { "line": 78, "column": 39 }, "end": { "line": 78, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4608, "end": 4609, "loc": { "start": { "line": 78, "column": 43 }, "end": { "line": 78, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4609, "end": 4610, "loc": { "start": { "line": 78, "column": 44 }, "end": { "line": 78, "column": 45 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4616, "end": 4620, "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": 4620, "end": 4621, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 79, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceInput", "start": 4621, "end": 4633, "loc": { "start": { "line": 79, "column": 9 }, "end": { "line": 79, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4634, "end": 4635, "loc": { "start": { "line": 79, "column": 22 }, "end": { "line": 79, "column": 23 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4636, "end": 4640, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4640, "end": 4641, "loc": { "start": { "line": 79, "column": 28 }, "end": { "line": 79, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceInput", "start": 4641, "end": 4653, "loc": { "start": { "line": 79, "column": 29 }, "end": { "line": 79, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4653, "end": 4654, "loc": { "start": { "line": 79, "column": 41 }, "end": { "line": 79, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4654, "end": 4658, "loc": { "start": { "line": 79, "column": 42 }, "end": { "line": 79, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4658, "end": 4659, "loc": { "start": { "line": 79, "column": 46 }, "end": { "line": 79, "column": 47 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4659, "end": 4663, "loc": { "start": { "line": 79, "column": 47 }, "end": { "line": 79, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4663, "end": 4664, "loc": { "start": { "line": 79, "column": 51 }, "end": { "line": 79, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4664, "end": 4665, "loc": { "start": { "line": 79, "column": 52 }, "end": { "line": 79, "column": 53 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4671, "end": 4675, "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": 4675, "end": 4676, "loc": { "start": { "line": 80, "column": 8 }, "end": { "line": 80, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clear", "start": 4676, "end": 4681, "loc": { "start": { "line": 80, "column": 9 }, "end": { "line": 80, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4682, "end": 4683, "loc": { "start": { "line": 80, "column": 15 }, "end": { "line": 80, "column": 16 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4684, "end": 4688, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4688, "end": 4689, "loc": { "start": { "line": 80, "column": 21 }, "end": { "line": 80, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clear", "start": 4689, "end": 4694, "loc": { "start": { "line": 80, "column": 22 }, "end": { "line": 80, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4694, "end": 4695, "loc": { "start": { "line": 80, "column": 27 }, "end": { "line": 80, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4695, "end": 4699, "loc": { "start": { "line": 80, "column": 28 }, "end": { "line": 80, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4699, "end": 4700, "loc": { "start": { "line": 80, "column": 32 }, "end": { "line": 80, "column": 33 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4700, "end": 4704, "loc": { "start": { "line": 80, "column": 33 }, "end": { "line": 80, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4704, "end": 4705, "loc": { "start": { "line": 80, "column": 37 }, "end": { "line": 80, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4705, "end": 4706, "loc": { "start": { "line": 80, "column": 38 }, "end": { "line": 80, "column": 39 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4712, "end": 4716, "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": 4716, "end": 4717, "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": "dispatch", "start": 4717, "end": 4725, "loc": { "start": { "line": 81, "column": 9 }, "end": { "line": 81, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4726, "end": 4727, "loc": { "start": { "line": 81, "column": 18 }, "end": { "line": 81, "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": 4728, "end": 4732, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4732, "end": 4733, "loc": { "start": { "line": 81, "column": 24 }, "end": { "line": 81, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 4733, "end": 4741, "loc": { "start": { "line": 81, "column": 25 }, "end": { "line": 81, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4741, "end": 4742, "loc": { "start": { "line": 81, "column": 33 }, "end": { "line": 81, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4742, "end": 4746, "loc": { "start": { "line": 81, "column": 34 }, "end": { "line": 81, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4746, "end": 4747, "loc": { "start": { "line": 81, "column": 38 }, "end": { "line": 81, "column": 39 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4747, "end": 4751, "loc": { "start": { "line": 81, "column": 39 }, "end": { "line": 81, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4751, "end": 4752, "loc": { "start": { "line": 81, "column": 43 }, "end": { "line": 81, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4752, "end": 4753, "loc": { "start": { "line": 81, "column": 44 }, "end": { "line": 81, "column": 45 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4759, "end": 4763, "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": 4763, "end": 4764, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addButtonTheme", "start": 4764, "end": 4778, "loc": { "start": { "line": 82, "column": 9 }, "end": { "line": 82, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4779, "end": 4780, "loc": { "start": { "line": 82, "column": 24 }, "end": { "line": 82, "column": 25 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4781, "end": 4785, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4785, "end": 4786, "loc": { "start": { "line": 82, "column": 30 }, "end": { "line": 82, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addButtonTheme", "start": 4786, "end": 4800, "loc": { "start": { "line": 82, "column": 31 }, "end": { "line": 82, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4800, "end": 4801, "loc": { "start": { "line": 82, "column": 45 }, "end": { "line": 82, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4801, "end": 4805, "loc": { "start": { "line": 82, "column": 46 }, "end": { "line": 82, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4805, "end": 4806, "loc": { "start": { "line": 82, "column": 50 }, "end": { "line": 82, "column": 51 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4806, "end": 4810, "loc": { "start": { "line": 82, "column": 51 }, "end": { "line": 82, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4810, "end": 4811, "loc": { "start": { "line": 82, "column": 55 }, "end": { "line": 82, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4811, "end": 4812, "loc": { "start": { "line": 82, "column": 56 }, "end": { "line": 82, "column": 57 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4818, "end": 4822, "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": 4822, "end": 4823, "loc": { "start": { "line": 83, "column": 8 }, "end": { "line": 83, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeButtonTheme", "start": 4823, "end": 4840, "loc": { "start": { "line": 83, "column": 9 }, "end": { "line": 83, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4841, "end": 4842, "loc": { "start": { "line": 83, "column": 27 }, "end": { "line": 83, "column": 28 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4843, "end": 4847, "loc": { "start": { "line": 83, "column": 29 }, "end": { "line": 83, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4847, "end": 4848, "loc": { "start": { "line": 83, "column": 33 }, "end": { "line": 83, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeButtonTheme", "start": 4848, "end": 4865, "loc": { "start": { "line": 83, "column": 34 }, "end": { "line": 83, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4865, "end": 4866, "loc": { "start": { "line": 83, "column": 51 }, "end": { "line": 83, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4866, "end": 4870, "loc": { "start": { "line": 83, "column": 52 }, "end": { "line": 83, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4870, "end": 4871, "loc": { "start": { "line": 83, "column": 56 }, "end": { "line": 83, "column": 57 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4871, "end": 4875, "loc": { "start": { "line": 83, "column": 57 }, "end": { "line": 83, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4875, "end": 4876, "loc": { "start": { "line": 83, "column": 61 }, "end": { "line": 83, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4876, "end": 4877, "loc": { "start": { "line": 83, "column": 62 }, "end": { "line": 83, "column": 63 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4883, "end": 4887, "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": 4887, "end": 4888, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonElement", "start": 4888, "end": 4904, "loc": { "start": { "line": 84, "column": 9 }, "end": { "line": 84, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4905, "end": 4906, "loc": { "start": { "line": 84, "column": 26 }, "end": { "line": 84, "column": 27 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4907, "end": 4911, "loc": { "start": { "line": 84, "column": 28 }, "end": { "line": 84, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4911, "end": 4912, "loc": { "start": { "line": 84, "column": 32 }, "end": { "line": 84, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonElement", "start": 4912, "end": 4928, "loc": { "start": { "line": 84, "column": 33 }, "end": { "line": 84, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4928, "end": 4929, "loc": { "start": { "line": 84, "column": 49 }, "end": { "line": 84, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4929, "end": 4933, "loc": { "start": { "line": 84, "column": 50 }, "end": { "line": 84, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4933, "end": 4934, "loc": { "start": { "line": 84, "column": 54 }, "end": { "line": 84, "column": 55 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4934, "end": 4938, "loc": { "start": { "line": 84, "column": 55 }, "end": { "line": 84, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4938, "end": 4939, "loc": { "start": { "line": 84, "column": 59 }, "end": { "line": 84, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4939, "end": 4940, "loc": { "start": { "line": 84, "column": 60 }, "end": { "line": 84, "column": 61 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4946, "end": 4950, "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": 4950, "end": 4951, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleCaret", "start": 4951, "end": 4962, "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": 4963, "end": 4964, "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": 4965, "end": 4969, "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": 4969, "end": 4970, "loc": { "start": { "line": 85, "column": 27 }, "end": { "line": 85, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleCaret", "start": 4970, "end": 4981, "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": 4981, "end": 4982, "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": 4982, "end": 4986, "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": 4986, "end": 4987, "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": 4987, "end": 4991, "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": 4991, "end": 4992, "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": 4992, "end": 4993, "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": 4999, "end": 5003, "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": 5003, "end": 5004, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 5004, "end": 5021, "loc": { "start": { "line": 86, "column": 9 }, "end": { "line": 86, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5022, "end": 5023, "loc": { "start": { "line": 86, "column": 27 }, "end": { "line": 86, "column": 28 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5024, "end": 5028, "loc": { "start": { "line": 86, "column": 29 }, "end": { "line": 86, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5028, "end": 5029, "loc": { "start": { "line": 86, "column": 33 }, "end": { "line": 86, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 5029, "end": 5046, "loc": { "start": { "line": 86, "column": 34 }, "end": { "line": 86, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5046, "end": 5047, "loc": { "start": { "line": 86, "column": 51 }, "end": { "line": 86, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5047, "end": 5051, "loc": { "start": { "line": 86, "column": 52 }, "end": { "line": 86, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5051, "end": 5052, "loc": { "start": { "line": 86, "column": 56 }, "end": { "line": 86, "column": 57 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5052, "end": 5056, "loc": { "start": { "line": 86, "column": 57 }, "end": { "line": 86, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5056, "end": 5057, "loc": { "start": { "line": 86, "column": 61 }, "end": { "line": 86, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5057, "end": 5058, "loc": { "start": { "line": 86, "column": 62 }, "end": { "line": 86, "column": 63 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5064, "end": 5068, "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": 5068, "end": 5069, "loc": { "start": { "line": 87, "column": 8 }, "end": { "line": 87, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 5069, "end": 5075, "loc": { "start": { "line": 87, "column": 9 }, "end": { "line": 87, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5076, "end": 5077, "loc": { "start": { "line": 87, "column": 16 }, "end": { "line": 87, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5078, "end": 5082, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5082, "end": 5083, "loc": { "start": { "line": 87, "column": 22 }, "end": { "line": 87, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 5083, "end": 5089, "loc": { "start": { "line": 87, "column": 23 }, "end": { "line": 87, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5089, "end": 5090, "loc": { "start": { "line": 87, "column": 29 }, "end": { "line": 87, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5090, "end": 5094, "loc": { "start": { "line": 87, "column": 30 }, "end": { "line": 87, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5094, "end": 5095, "loc": { "start": { "line": 87, "column": 34 }, "end": { "line": 87, "column": 35 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5095, "end": 5099, "loc": { "start": { "line": 87, "column": 35 }, "end": { "line": 87, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5099, "end": 5100, "loc": { "start": { "line": 87, "column": 39 }, "end": { "line": 87, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5100, "end": 5101, "loc": { "start": { "line": 87, "column": 40 }, "end": { "line": 87, "column": 41 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5107, "end": 5111, "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": 5111, "end": 5112, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 5112, "end": 5120, "loc": { "start": { "line": 88, "column": 9 }, "end": { "line": 88, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5121, "end": 5122, "loc": { "start": { "line": 88, "column": 18 }, "end": { "line": 88, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5123, "end": 5127, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 88, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5127, "end": 5128, "loc": { "start": { "line": 88, "column": 24 }, "end": { "line": 88, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 5128, "end": 5136, "loc": { "start": { "line": 88, "column": 25 }, "end": { "line": 88, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5136, "end": 5137, "loc": { "start": { "line": 88, "column": 33 }, "end": { "line": 88, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5137, "end": 5141, "loc": { "start": { "line": 88, "column": 34 }, "end": { "line": 88, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5141, "end": 5142, "loc": { "start": { "line": 88, "column": 38 }, "end": { "line": 88, "column": 39 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5142, "end": 5146, "loc": { "start": { "line": 88, "column": 39 }, "end": { "line": 88, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5146, "end": 5147, "loc": { "start": { "line": 88, "column": 43 }, "end": { "line": 88, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5147, "end": 5148, "loc": { "start": { "line": 88, "column": 44 }, "end": { "line": 88, "column": 45 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5154, "end": 5158, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5158, "end": 5159, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 89, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 5159, "end": 5165, "loc": { "start": { "line": 89, "column": 9 }, "end": { "line": 89, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5166, "end": 5167, "loc": { "start": { "line": 89, "column": 16 }, "end": { "line": 89, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5168, "end": 5172, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5172, "end": 5173, "loc": { "start": { "line": 89, "column": 22 }, "end": { "line": 89, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 5173, "end": 5179, "loc": { "start": { "line": 89, "column": 23 }, "end": { "line": 89, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5179, "end": 5180, "loc": { "start": { "line": 89, "column": 29 }, "end": { "line": 89, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5180, "end": 5184, "loc": { "start": { "line": 89, "column": 30 }, "end": { "line": 89, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5184, "end": 5185, "loc": { "start": { "line": 89, "column": 34 }, "end": { "line": 89, "column": 35 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5185, "end": 5189, "loc": { "start": { "line": 89, "column": 35 }, "end": { "line": 89, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5189, "end": 5190, "loc": { "start": { "line": 89, "column": 39 }, "end": { "line": 89, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5190, "end": 5191, "loc": { "start": { "line": 89, "column": 40 }, "end": { "line": 89, "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": 5197, "end": 5201, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5201, "end": 5202, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loadModules", "start": 5202, "end": 5213, "loc": { "start": { "line": 90, "column": 9 }, "end": { "line": 90, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5214, "end": 5215, "loc": { "start": { "line": 90, "column": 21 }, "end": { "line": 90, "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": 5216, "end": 5220, "loc": { "start": { "line": 90, "column": 23 }, "end": { "line": 90, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5220, "end": 5221, "loc": { "start": { "line": 90, "column": 27 }, "end": { "line": 90, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loadModules", "start": 5221, "end": 5232, "loc": { "start": { "line": 90, "column": 28 }, "end": { "line": 90, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5232, "end": 5233, "loc": { "start": { "line": 90, "column": 39 }, "end": { "line": 90, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5233, "end": 5237, "loc": { "start": { "line": 90, "column": 40 }, "end": { "line": 90, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5237, "end": 5238, "loc": { "start": { "line": 90, "column": 44 }, "end": { "line": 90, "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": 5238, "end": 5242, "loc": { "start": { "line": 90, "column": 45 }, "end": { "line": 90, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5242, "end": 5243, "loc": { "start": { "line": 90, "column": 49 }, "end": { "line": 90, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5243, "end": 5244, "loc": { "start": { "line": 90, "column": 50 }, "end": { "line": 90, "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": 5250, "end": 5254, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5254, "end": 5255, "loc": { "start": { "line": 91, "column": 8 }, "end": { "line": 91, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseUp", "start": 5255, "end": 5274, "loc": { "start": { "line": 91, "column": 9 }, "end": { "line": 91, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5275, "end": 5276, "loc": { "start": { "line": 91, "column": 29 }, "end": { "line": 91, "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": 5277, "end": 5281, "loc": { "start": { "line": 91, "column": 31 }, "end": { "line": 91, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5281, "end": 5282, "loc": { "start": { "line": 91, "column": 35 }, "end": { "line": 91, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseUp", "start": 5282, "end": 5301, "loc": { "start": { "line": 91, "column": 36 }, "end": { "line": 91, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5301, "end": 5302, "loc": { "start": { "line": 91, "column": 55 }, "end": { "line": 91, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5302, "end": 5306, "loc": { "start": { "line": 91, "column": 56 }, "end": { "line": 91, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5306, "end": 5307, "loc": { "start": { "line": 91, "column": 60 }, "end": { "line": 91, "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": 5307, "end": 5311, "loc": { "start": { "line": 91, "column": 61 }, "end": { "line": 91, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5311, "end": 5312, "loc": { "start": { "line": 91, "column": 65 }, "end": { "line": 91, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5312, "end": 5313, "loc": { "start": { "line": 91, "column": 66 }, "end": { "line": 91, "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": 5319, "end": 5323, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5323, "end": 5324, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseDown", "start": 5324, "end": 5345, "loc": { "start": { "line": 92, "column": 9 }, "end": { "line": 92, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5346, "end": 5347, "loc": { "start": { "line": 92, "column": 31 }, "end": { "line": 92, "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": 5348, "end": 5352, "loc": { "start": { "line": 92, "column": 33 }, "end": { "line": 92, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5352, "end": 5353, "loc": { "start": { "line": 92, "column": 37 }, "end": { "line": 92, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseDown", "start": 5353, "end": 5374, "loc": { "start": { "line": 92, "column": 38 }, "end": { "line": 92, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5374, "end": 5375, "loc": { "start": { "line": 92, "column": 59 }, "end": { "line": 92, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5375, "end": 5379, "loc": { "start": { "line": 92, "column": 60 }, "end": { "line": 92, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5379, "end": 5380, "loc": { "start": { "line": 92, "column": 64 }, "end": { "line": 92, "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": 5380, "end": 5384, "loc": { "start": { "line": 92, "column": 65 }, "end": { "line": 92, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5384, "end": 5385, "loc": { "start": { "line": 92, "column": 69 }, "end": { "line": 92, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5385, "end": 5386, "loc": { "start": { "line": 92, "column": 70 }, "end": { "line": 92, "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": 5392, "end": 5396, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5396, "end": 5397, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonHold", "start": 5397, "end": 5413, "loc": { "start": { "line": 93, "column": 9 }, "end": { "line": 93, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5414, "end": 5415, "loc": { "start": { "line": 93, "column": 26 }, "end": { "line": 93, "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": 5416, "end": 5420, "loc": { "start": { "line": 93, "column": 28 }, "end": { "line": 93, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5420, "end": 5421, "loc": { "start": { "line": 93, "column": 32 }, "end": { "line": 93, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonHold", "start": 5421, "end": 5437, "loc": { "start": { "line": 93, "column": 33 }, "end": { "line": 93, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5437, "end": 5438, "loc": { "start": { "line": 93, "column": 49 }, "end": { "line": 93, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5438, "end": 5442, "loc": { "start": { "line": 93, "column": 50 }, "end": { "line": 93, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5442, "end": 5443, "loc": { "start": { "line": 93, "column": 54 }, "end": { "line": 93, "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": 5443, "end": 5447, "loc": { "start": { "line": 93, "column": 55 }, "end": { "line": 93, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5447, "end": 5448, "loc": { "start": { "line": 93, "column": 59 }, "end": { "line": 93, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5448, "end": 5449, "loc": { "start": { "line": 93, "column": 60 }, "end": { "line": 93, "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": 5455, "end": 5459, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5459, "end": 5460, "loc": { "start": { "line": 94, "column": 8 }, "end": { "line": 94, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onModulesLoaded", "start": 5460, "end": 5475, "loc": { "start": { "line": 94, "column": 9 }, "end": { "line": 94, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5476, "end": 5477, "loc": { "start": { "line": 94, "column": 25 }, "end": { "line": 94, "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": 5478, "end": 5482, "loc": { "start": { "line": 94, "column": 27 }, "end": { "line": 94, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5482, "end": 5483, "loc": { "start": { "line": 94, "column": 31 }, "end": { "line": 94, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onModulesLoaded", "start": 5483, "end": 5498, "loc": { "start": { "line": 94, "column": 32 }, "end": { "line": 94, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5498, "end": 5499, "loc": { "start": { "line": 94, "column": 47 }, "end": { "line": 94, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5499, "end": 5503, "loc": { "start": { "line": 94, "column": 48 }, "end": { "line": 94, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5503, "end": 5504, "loc": { "start": { "line": 94, "column": 52 }, "end": { "line": 94, "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": 5504, "end": 5508, "loc": { "start": { "line": 94, "column": 53 }, "end": { "line": 94, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5508, "end": 5509, "loc": { "start": { "line": 94, "column": 57 }, "end": { "line": 94, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5509, "end": 5510, "loc": { "start": { "line": 94, "column": 58 }, "end": { "line": 94, "column": 59 } } }, { "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": 5518, "end": 6177, "loc": { "start": { "line": 96, "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": 6183, "end": 6187, "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": 6187, "end": 6188, "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": "input", "start": 6188, "end": 6193, "loc": { "start": { "line": 110, "column": 9 }, "end": { "line": 110, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6194, "end": 6195, "loc": { "start": { "line": 110, "column": 15 }, "end": { "line": 110, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6196, "end": 6197, "loc": { "start": { "line": 110, "column": 17 }, "end": { "line": 110, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6197, "end": 6198, "loc": { "start": { "line": 110, "column": 18 }, "end": { "line": 110, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6198, "end": 6199, "loc": { "start": { "line": 110, "column": 19 }, "end": { "line": 110, "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": 6205, "end": 6209, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 111, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6209, "end": 6210, "loc": { "start": { "line": 111, "column": 8 }, "end": { "line": 111, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 6210, "end": 6215, "loc": { "start": { "line": 111, "column": 9 }, "end": { "line": 111, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6215, "end": 6216, "loc": { "start": { "line": 111, "column": 14 }, "end": { "line": 111, "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": 6216, "end": 6220, "loc": { "start": { "line": 111, "column": 15 }, "end": { "line": 111, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6220, "end": 6221, "loc": { "start": { "line": 111, "column": 19 }, "end": { "line": 111, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6221, "end": 6228, "loc": { "start": { "line": 111, "column": 20 }, "end": { "line": 111, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6228, "end": 6229, "loc": { "start": { "line": 111, "column": 27 }, "end": { "line": 111, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 6229, "end": 6238, "loc": { "start": { "line": 111, "column": 28 }, "end": { "line": 111, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6238, "end": 6239, "loc": { "start": { "line": 111, "column": 37 }, "end": { "line": 111, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6240, "end": 6241, "loc": { "start": { "line": 111, "column": 39 }, "end": { "line": 111, "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": 6242, "end": 6244, "loc": { "start": { "line": 111, "column": 41 }, "end": { "line": 111, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6244, "end": 6245, "loc": { "start": { "line": 111, "column": 43 }, "end": { "line": 111, "column": 44 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", "start": 6253, "end": 6362, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 115, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6368, "end": 6372, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6372, "end": 6373, "loc": { "start": { "line": 116, "column": 8 }, "end": { "line": 116, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMClass", "start": 6373, "end": 6389, "loc": { "start": { "line": 116, "column": 9 }, "end": { "line": 116, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6390, "end": 6391, "loc": { "start": { "line": 116, "column": 26 }, "end": { "line": 116, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMQuery", "start": 6392, "end": 6408, "loc": { "start": { "line": 116, "column": 28 }, "end": { "line": 116, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6408, "end": 6409, "loc": { "start": { "line": 116, "column": 44 }, "end": { "line": 116, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 6409, "end": 6414, "loc": { "start": { "line": 116, "column": 45 }, "end": { "line": 116, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6414, "end": 6415, "loc": { "start": { "line": 116, "column": 50 }, "end": { "line": 116, "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": 6415, "end": 6418, "loc": { "start": { "line": 116, "column": 51 }, "end": { "line": 116, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6418, "end": 6419, "loc": { "start": { "line": 116, "column": 54 }, "end": { "line": 116, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6419, "end": 6420, "loc": { "start": { "line": 116, "column": 55 }, "end": { "line": 116, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 6420, "end": 6424, "loc": { "start": { "line": 116, "column": 56 }, "end": { "line": 116, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6424, "end": 6425, "loc": { "start": { "line": 116, "column": 60 }, "end": { "line": 116, "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": 6425, "end": 6427, "loc": { "start": { "line": 116, "column": 61 }, "end": { "line": 116, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6427, "end": 6428, "loc": { "start": { "line": 116, "column": 63 }, "end": { "line": 116, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6428, "end": 6429, "loc": { "start": { "line": 116, "column": 64 }, "end": { "line": 116, "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": 6437, "end": 6582, "loc": { "start": { "line": 118, "column": 4 }, "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": 6588, "end": 6592, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6592, "end": 6593, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 6593, "end": 6607, "loc": { "start": { "line": 121, "column": 9 }, "end": { "line": 121, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6608, "end": 6609, "loc": { "start": { "line": 121, "column": 24 }, "end": { "line": 121, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6610, "end": 6611, "loc": { "start": { "line": 121, "column": 26 }, "end": { "line": 121, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6611, "end": 6612, "loc": { "start": { "line": 121, "column": 27 }, "end": { "line": 121, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6612, "end": 6613, "loc": { "start": { "line": 121, "column": 28 }, "end": { "line": 121, "column": 29 } } }, { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 6621, "end": 6660, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 125, "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": 6666, "end": 6668, "loc": { "start": { "line": 126, "column": 4 }, "end": { "line": 126, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6668, "end": 6669, "loc": { "start": { "line": 126, "column": 6 }, "end": { "line": 126, "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": 6669, "end": 6673, "loc": { "start": { "line": 126, "column": 7 }, "end": { "line": 126, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6673, "end": 6674, "loc": { "start": { "line": 126, "column": 11 }, "end": { "line": 126, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 6674, "end": 6685, "loc": { "start": { "line": 126, "column": 12 }, "end": { "line": 126, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6685, "end": 6686, "loc": { "start": { "line": 126, "column": 23 }, "end": { "line": 126, "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": 6694, "end": 6698, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6698, "end": 6699, "loc": { "start": { "line": 127, "column": 10 }, "end": { "line": 127, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 6699, "end": 6705, "loc": { "start": { "line": 127, "column": 11 }, "end": { "line": 127, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6705, "end": 6706, "loc": { "start": { "line": 127, "column": 17 }, "end": { "line": 127, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6706, "end": 6707, "loc": { "start": { "line": 127, "column": 18 }, "end": { "line": 127, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6707, "end": 6708, "loc": { "start": { "line": 127, "column": 19 }, "end": { "line": 127, "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": 6714, "end": 6718, "loc": { "start": { "line": 128, "column": 4 }, "end": { "line": 128, "column": 8 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6719, "end": 6720, "loc": { "start": { "line": 128, "column": 9 }, "end": { "line": 128, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 6728, "end": 6735, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6735, "end": 6736, "loc": { "start": { "line": 129, "column": 13 }, "end": { "line": 129, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 6736, "end": 6740, "loc": { "start": { "line": 129, "column": 14 }, "end": { "line": 129, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6740, "end": 6741, "loc": { "start": { "line": 129, "column": 18 }, "end": { "line": 129, "column": 19 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6741, "end": 6742, "loc": { "start": { "line": 129, "column": 19 }, "end": { "line": 129, "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": 6742, "end": 6743, "loc": { "start": { "line": 129, "column": 20 }, "end": { "line": 129, "column": 21 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6743, "end": 6745, "loc": { "start": { "line": 129, "column": 21 }, "end": { "line": 129, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMQuery", "start": 6745, "end": 6761, "loc": { "start": { "line": 129, "column": 23 }, "end": { "line": 129, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6761, "end": 6762, "loc": { "start": { "line": 129, "column": 39 }, "end": { "line": 129, "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": 6762, "end": 6789, "loc": { "start": { "line": 129, "column": 40 }, "end": { "line": 129, "column": 67 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6789, "end": 6790, "loc": { "start": { "line": 129, "column": 67 }, "end": { "line": 129, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6790, "end": 6791, "loc": { "start": { "line": 129, "column": 68 }, "end": { "line": 129, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6791, "end": 6792, "loc": { "start": { "line": 129, "column": 69 }, "end": { "line": 129, "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": 6800, "end": 6805, "loc": { "start": { "line": 130, "column": 6 }, "end": { "line": 130, "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": 6806, "end": 6809, "loc": { "start": { "line": 130, "column": 12 }, "end": { "line": 130, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 6810, "end": 6815, "loc": { "start": { "line": 130, "column": 16 }, "end": { "line": 130, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6815, "end": 6816, "loc": { "start": { "line": 130, "column": 21 }, "end": { "line": 130, "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": 6816, "end": 6836, "loc": { "start": { "line": 130, "column": 22 }, "end": { "line": 130, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6836, "end": 6837, "loc": { "start": { "line": 130, "column": 42 }, "end": { "line": 130, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6837, "end": 6838, "loc": { "start": { "line": 130, "column": 43 }, "end": { "line": 130, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6844, "end": 6845, "loc": { "start": { "line": 131, "column": 4 }, "end": { "line": 131, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 6853, "end": 6966, "loc": { "start": { "line": 133, "column": 4 }, "end": { "line": 136, "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": 6972, "end": 6974, "loc": { "start": { "line": 137, "column": 4 }, "end": { "line": 137, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6974, "end": 6975, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "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": 6975, "end": 6976, "loc": { "start": { "line": 137, "column": 7 }, "end": { "line": 137, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 6976, "end": 6982, "loc": { "start": { "line": 137, "column": 8 }, "end": { "line": 137, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6982, "end": 6983, "loc": { "start": { "line": 137, "column": 14 }, "end": { "line": 137, "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": 6983, "end": 7008, "loc": { "start": { "line": 137, "column": 15 }, "end": { "line": 137, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7008, "end": 7009, "loc": { "start": { "line": 137, "column": 40 }, "end": { "line": 137, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7009, "end": 7010, "loc": { "start": { "line": 137, "column": 41 }, "end": { "line": 137, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 7018, "end": 7024, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 12 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7024, "end": 7025, "loc": { "start": { "line": 138, "column": 12 }, "end": { "line": 138, "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": 7025, "end": 7050, "loc": { "start": { "line": 138, "column": 13 }, "end": { "line": 138, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7050, "end": 7051, "loc": { "start": { "line": 138, "column": 38 }, "end": { "line": 138, "column": 39 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7052, "end": 7053, "loc": { "start": { "line": 138, "column": 40 }, "end": { "line": 138, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7054, "end": 7055, "loc": { "start": { "line": 138, "column": 42 }, "end": { "line": 138, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7055, "end": 7056, "loc": { "start": { "line": 138, "column": 43 }, "end": { "line": 138, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7056, "end": 7057, "loc": { "start": { "line": 138, "column": 44 }, "end": { "line": 138, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 7071, "end": 7077, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 10 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7077, "end": 7078, "loc": { "start": { "line": 140, "column": 10 }, "end": { "line": 140, "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": 7078, "end": 7103, "loc": { "start": { "line": 140, "column": 11 }, "end": { "line": 140, "column": 36 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7103, "end": 7104, "loc": { "start": { "line": 140, "column": 36 }, "end": { "line": 140, "column": 37 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7104, "end": 7105, "loc": { "start": { "line": 140, "column": 37 }, "end": { "line": 140, "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": 7105, "end": 7109, "loc": { "start": { "line": 140, "column": 38 }, "end": { "line": 140, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7109, "end": 7110, "loc": { "start": { "line": 140, "column": 42 }, "end": { "line": 140, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 7110, "end": 7119, "loc": { "start": { "line": 140, "column": 43 }, "end": { "line": 140, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7119, "end": 7120, "loc": { "start": { "line": 140, "column": 52 }, "end": { "line": 140, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camelCase", "start": 7120, "end": 7129, "loc": { "start": { "line": 140, "column": 53 }, "end": { "line": 140, "column": 62 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7129, "end": 7130, "loc": { "start": { "line": 140, "column": 62 }, "end": { "line": 140, "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": 7130, "end": 7134, "loc": { "start": { "line": 140, "column": 63 }, "end": { "line": 140, "column": 67 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7134, "end": 7135, "loc": { "start": { "line": 140, "column": 67 }, "end": { "line": 140, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMClass", "start": 7135, "end": 7151, "loc": { "start": { "line": 140, "column": 68 }, "end": { "line": 140, "column": 84 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7151, "end": 7152, "loc": { "start": { "line": 140, "column": 84 }, "end": { "line": 140, "column": 85 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7152, "end": 7153, "loc": { "start": { "line": 140, "column": 85 }, "end": { "line": 140, "column": 86 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7154, "end": 7155, "loc": { "start": { "line": 140, "column": 87 }, "end": { "line": 140, "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": 7156, "end": 7160, "loc": { "start": { "line": 140, "column": 89 }, "end": { "line": 140, "column": 93 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7160, "end": 7161, "loc": { "start": { "line": 140, "column": 93 }, "end": { "line": 140, "column": 94 } } }, { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 7169, "end": 7215, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 144, "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": 7221, "end": 7225, "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": 7225, "end": 7226, "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": "physicalKeyboardInterface", "start": 7226, "end": 7251, "loc": { "start": { "line": 145, "column": 9 }, "end": { "line": 145, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7252, "end": 7253, "loc": { "start": { "line": 145, "column": 35 }, "end": { "line": 145, "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": 7254, "end": 7257, "loc": { "start": { "line": 145, "column": 37 }, "end": { "line": 145, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "PhysicalKeyboard", "start": 7258, "end": 7274, "loc": { "start": { "line": 145, "column": 41 }, "end": { "line": 145, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7274, "end": 7275, "loc": { "start": { "line": 145, "column": 57 }, "end": { "line": 145, "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": 7275, "end": 7279, "loc": { "start": { "line": 145, "column": 58 }, "end": { "line": 145, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7279, "end": 7280, "loc": { "start": { "line": 145, "column": 62 }, "end": { "line": 145, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7280, "end": 7281, "loc": { "start": { "line": 145, "column": 63 }, "end": { "line": 145, "column": 64 } } }, { "type": "CommentBlock", "value": "*\r\n * Modules\r\n ", "start": 7289, "end": 7317, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 149, "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": 7323, "end": 7327, "loc": { "start": { "line": 150, "column": 4 }, "end": { "line": 150, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7327, "end": 7328, "loc": { "start": { "line": 150, "column": 8 }, "end": { "line": 150, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 7328, "end": 7335, "loc": { "start": { "line": 150, "column": 9 }, "end": { "line": 150, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7336, "end": 7337, "loc": { "start": { "line": 150, "column": 17 }, "end": { "line": 150, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7338, "end": 7339, "loc": { "start": { "line": 150, "column": 19 }, "end": { "line": 150, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7339, "end": 7340, "loc": { "start": { "line": 150, "column": 20 }, "end": { "line": 150, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7340, "end": 7341, "loc": { "start": { "line": 150, "column": 21 }, "end": { "line": 150, "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": 7347, "end": 7351, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 151, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7351, "end": 7352, "loc": { "start": { "line": 151, "column": 8 }, "end": { "line": 151, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loadModules", "start": 7352, "end": 7363, "loc": { "start": { "line": 151, "column": 9 }, "end": { "line": 151, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7363, "end": 7364, "loc": { "start": { "line": 151, "column": 20 }, "end": { "line": 151, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7364, "end": 7365, "loc": { "start": { "line": 151, "column": 21 }, "end": { "line": 151, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7365, "end": 7366, "loc": { "start": { "line": 151, "column": 22 }, "end": { "line": 151, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7370, "end": 7371, "loc": { "start": { "line": 152, "column": 2 }, "end": { "line": 152, "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": 7377, "end": 7489, "loc": { "start": { "line": 154, "column": 2 }, "end": { "line": 157, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 7493, "end": 7512, "loc": { "start": { "line": 158, "column": 2 }, "end": { "line": 158, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7512, "end": 7513, "loc": { "start": { "line": 158, "column": 21 }, "end": { "line": 158, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 7513, "end": 7519, "loc": { "start": { "line": 158, "column": 22 }, "end": { "line": 158, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7519, "end": 7520, "loc": { "start": { "line": 158, "column": 28 }, "end": { "line": 158, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7520, "end": 7521, "loc": { "start": { "line": 158, "column": 29 }, "end": { "line": 158, "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": 7527, "end": 7530, "loc": { "start": { "line": 159, "column": 4 }, "end": { "line": 159, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 7531, "end": 7536, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7537, "end": 7538, "loc": { "start": { "line": 159, "column": 14 }, "end": { "line": 159, "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": 7539, "end": 7543, "loc": { "start": { "line": 159, "column": 16 }, "end": { "line": 159, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7543, "end": 7544, "loc": { "start": { "line": 159, "column": 20 }, "end": { "line": 159, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7544, "end": 7551, "loc": { "start": { "line": 159, "column": 21 }, "end": { "line": 159, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7551, "end": 7552, "loc": { "start": { "line": 159, "column": 28 }, "end": { "line": 159, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 7552, "end": 7557, "loc": { "start": { "line": 159, "column": 29 }, "end": { "line": 159, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7557, "end": 7558, "loc": { "start": { "line": 159, "column": 34 }, "end": { "line": 159, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 7566, "end": 7615, "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": 7621, "end": 7623, "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": 7623, "end": 7624, "loc": { "start": { "line": 164, "column": 6 }, "end": { "line": 164, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 7624, "end": 7630, "loc": { "start": { "line": 164, "column": 7 }, "end": { "line": 164, "column": 13 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 7631, "end": 7634, "loc": { "start": { "line": 164, "column": 14 }, "end": { "line": 164, "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": 7635, "end": 7641, "loc": { "start": { "line": 164, "column": 18 }, "end": { "line": 164, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7641, "end": 7642, "loc": { "start": { "line": 164, "column": 24 }, "end": { "line": 164, "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": 7650, "end": 7656, "loc": { "start": { "line": 165, "column": 6 }, "end": { "line": 165, "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": 7657, "end": 7662, "loc": { "start": { "line": 165, "column": 13 }, "end": { "line": 165, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7662, "end": 7663, "loc": { "start": { "line": 165, "column": 18 }, "end": { "line": 165, "column": 19 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 7671, "end": 7710, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 169, "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": 7716, "end": 7718, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 170, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7718, "end": 7719, "loc": { "start": { "line": 170, "column": 6 }, "end": { "line": 170, "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": 7719, "end": 7725, "loc": { "start": { "line": 170, "column": 7 }, "end": { "line": 170, "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": 7726, "end": 7730, "loc": { "start": { "line": 170, "column": 14 }, "end": { "line": 170, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7730, "end": 7731, "loc": { "start": { "line": 170, "column": 18 }, "end": { "line": 170, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7731, "end": 7738, "loc": { "start": { "line": 170, "column": 19 }, "end": { "line": 170, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7738, "end": 7739, "loc": { "start": { "line": 170, "column": 26 }, "end": { "line": 170, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onKeyPress", "start": 7739, "end": 7749, "loc": { "start": { "line": 170, "column": 27 }, "end": { "line": 170, "column": 37 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 7750, "end": 7753, "loc": { "start": { "line": 170, "column": 38 }, "end": { "line": 170, "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": 7754, "end": 7764, "loc": { "start": { "line": 170, "column": 42 }, "end": { "line": 170, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7764, "end": 7765, "loc": { "start": { "line": 170, "column": 52 }, "end": { "line": 170, "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": 7773, "end": 7777, "loc": { "start": { "line": 171, "column": 6 }, "end": { "line": 171, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7777, "end": 7778, "loc": { "start": { "line": 171, "column": 10 }, "end": { "line": 171, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7778, "end": 7785, "loc": { "start": { "line": 171, "column": 11 }, "end": { "line": 171, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7785, "end": 7786, "loc": { "start": { "line": 171, "column": 18 }, "end": { "line": 171, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onKeyPress", "start": 7786, "end": 7796, "loc": { "start": { "line": 171, "column": 19 }, "end": { "line": 171, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7796, "end": 7797, "loc": { "start": { "line": 171, "column": 29 }, "end": { "line": 171, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 7797, "end": 7803, "loc": { "start": { "line": 171, "column": 30 }, "end": { "line": 171, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7803, "end": 7804, "loc": { "start": { "line": 171, "column": 36 }, "end": { "line": 171, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7804, "end": 7805, "loc": { "start": { "line": 171, "column": 37 }, "end": { "line": 171, "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": 7817, "end": 7819, "loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 173, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7819, "end": 7820, "loc": { "start": { "line": 173, "column": 6 }, "end": { "line": 173, "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": 7820, "end": 7821, "loc": { "start": { "line": 173, "column": 7 }, "end": { "line": 173, "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": 7821, "end": 7825, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7825, "end": 7826, "loc": { "start": { "line": 173, "column": 12 }, "end": { "line": 173, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 7826, "end": 7831, "loc": { "start": { "line": 173, "column": 13 }, "end": { "line": 173, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7831, "end": 7832, "loc": { "start": { "line": 173, "column": 18 }, "end": { "line": 173, "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": 7832, "end": 7836, "loc": { "start": { "line": 173, "column": 19 }, "end": { "line": 173, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7836, "end": 7837, "loc": { "start": { "line": 173, "column": 23 }, "end": { "line": 173, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7837, "end": 7844, "loc": { "start": { "line": 173, "column": 24 }, "end": { "line": 173, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7844, "end": 7845, "loc": { "start": { "line": 173, "column": 31 }, "end": { "line": 173, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7845, "end": 7854, "loc": { "start": { "line": 173, "column": 32 }, "end": { "line": 173, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7854, "end": 7855, "loc": { "start": { "line": 173, "column": 41 }, "end": { "line": 173, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7855, "end": 7856, "loc": { "start": { "line": 173, "column": 42 }, "end": { "line": 173, "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": 7864, "end": 7868, "loc": { "start": { "line": 174, "column": 6 }, "end": { "line": 174, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7868, "end": 7869, "loc": { "start": { "line": 174, "column": 10 }, "end": { "line": 174, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 7869, "end": 7874, "loc": { "start": { "line": 174, "column": 11 }, "end": { "line": 174, "column": 16 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7874, "end": 7875, "loc": { "start": { "line": 174, "column": 16 }, "end": { "line": 174, "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": 7875, "end": 7879, "loc": { "start": { "line": 174, "column": 17 }, "end": { "line": 174, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7879, "end": 7880, "loc": { "start": { "line": 174, "column": 21 }, "end": { "line": 174, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7880, "end": 7887, "loc": { "start": { "line": 174, "column": 22 }, "end": { "line": 174, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7887, "end": 7888, "loc": { "start": { "line": 174, "column": 29 }, "end": { "line": 174, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7888, "end": 7897, "loc": { "start": { "line": 174, "column": 30 }, "end": { "line": 174, "column": 39 } } }, { "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": 174, "column": 39 }, "end": { "line": 174, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7899, "end": 7900, "loc": { "start": { "line": 174, "column": 41 }, "end": { "line": 174, "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": 7901, "end": 7903, "loc": { "start": { "line": 174, "column": 43 }, "end": { "line": 174, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7903, "end": 7904, "loc": { "start": { "line": 174, "column": 45 }, "end": { "line": 174, "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": 7912, "end": 7915, "loc": { "start": { "line": 176, "column": 4 }, "end": { "line": 176, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 7916, "end": 7928, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7929, "end": 7930, "loc": { "start": { "line": 176, "column": 21 }, "end": { "line": 176, "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": 7931, "end": 7935, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 176, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7935, "end": 7936, "loc": { "start": { "line": 176, "column": 27 }, "end": { "line": 176, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 7936, "end": 7945, "loc": { "start": { "line": 176, "column": 28 }, "end": { "line": 176, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7945, "end": 7946, "loc": { "start": { "line": 176, "column": 37 }, "end": { "line": 176, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getUpdatedInput", "start": 7946, "end": 7961, "loc": { "start": { "line": 176, "column": 38 }, "end": { "line": 176, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7961, "end": 7962, "loc": { "start": { "line": 176, "column": 53 }, "end": { "line": 176, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 7962, "end": 7968, "loc": { "start": { "line": 176, "column": 54 }, "end": { "line": 176, "column": 60 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7968, "end": 7969, "loc": { "start": { "line": 176, "column": 60 }, "end": { "line": 176, "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": 7970, "end": 7974, "loc": { "start": { "line": 176, "column": 62 }, "end": { "line": 176, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7974, "end": 7975, "loc": { "start": { "line": 176, "column": 66 }, "end": { "line": 176, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 7975, "end": 7980, "loc": { "start": { "line": 176, "column": 67 }, "end": { "line": 176, "column": 72 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7980, "end": 7981, "loc": { "start": { "line": 176, "column": 72 }, "end": { "line": 176, "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": 7981, "end": 7985, "loc": { "start": { "line": 176, "column": 73 }, "end": { "line": 176, "column": 77 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7985, "end": 7986, "loc": { "start": { "line": 176, "column": 77 }, "end": { "line": 176, "column": 78 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7986, "end": 7993, "loc": { "start": { "line": 176, "column": 78 }, "end": { "line": 176, "column": 85 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7993, "end": 7994, "loc": { "start": { "line": 176, "column": 85 }, "end": { "line": 176, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7994, "end": 8003, "loc": { "start": { "line": 176, "column": 86 }, "end": { "line": 176, "column": 95 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8003, "end": 8004, "loc": { "start": { "line": 176, "column": 95 }, "end": { "line": 176, "column": 96 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8004, "end": 8005, "loc": { "start": { "line": 176, "column": 96 }, "end": { "line": 176, "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": 8006, "end": 8010, "loc": { "start": { "line": 176, "column": 98 }, "end": { "line": 176, "column": 102 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8010, "end": 8011, "loc": { "start": { "line": 176, "column": 102 }, "end": { "line": 176, "column": 103 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8011, "end": 8018, "loc": { "start": { "line": 176, "column": 103 }, "end": { "line": 176, "column": 110 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8018, "end": 8019, "loc": { "start": { "line": 176, "column": 110 }, "end": { "line": 176, "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": 8020, "end": 8024, "loc": { "start": { "line": 176, "column": 112 }, "end": { "line": 176, "column": 116 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8024, "end": 8025, "loc": { "start": { "line": 176, "column": 116 }, "end": { "line": 176, "column": 117 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPosition", "start": 8025, "end": 8038, "loc": { "start": { "line": 176, "column": 117 }, "end": { "line": 176, "column": 130 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8038, "end": 8039, "loc": { "start": { "line": 176, "column": 130 }, "end": { "line": 176, "column": 131 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8039, "end": 8040, "loc": { "start": { "line": 176, "column": 131 }, "end": { "line": 176, "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": 8048, "end": 8050, "loc": { "start": { "line": 178, "column": 4 }, "end": { "line": 178, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8050, "end": 8051, "loc": { "start": { "line": 178, "column": 6 }, "end": { "line": 178, "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": 8051, "end": 8055, "loc": { "start": { "line": 178, "column": 7 }, "end": { "line": 178, "column": 11 } } }, { "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": 178, "column": 11 }, "end": { "line": 178, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8056, "end": 8061, "loc": { "start": { "line": 178, "column": 12 }, "end": { "line": 178, "column": 17 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8061, "end": 8062, "loc": { "start": { "line": 178, "column": 17 }, "end": { "line": 178, "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": 8062, "end": 8066, "loc": { "start": { "line": 178, "column": 18 }, "end": { "line": 178, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8066, "end": 8067, "loc": { "start": { "line": 178, "column": 22 }, "end": { "line": 178, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8067, "end": 8074, "loc": { "start": { "line": 178, "column": 23 }, "end": { "line": 178, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8074, "end": 8075, "loc": { "start": { "line": 178, "column": 30 }, "end": { "line": 178, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8075, "end": 8084, "loc": { "start": { "line": 178, "column": 31 }, "end": { "line": 178, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8084, "end": 8085, "loc": { "start": { "line": 178, "column": 40 }, "end": { "line": 178, "column": 41 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 8086, "end": 8089, "loc": { "start": { "line": 178, "column": 42 }, "end": { "line": 178, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 8090, "end": 8102, "loc": { "start": { "line": 178, "column": 46 }, "end": { "line": 178, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8102, "end": 8103, "loc": { "start": { "line": 178, "column": 58 }, "end": { "line": 178, "column": 59 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8103, "end": 8104, "loc": { "start": { "line": 178, "column": 59 }, "end": { "line": 178, "column": 60 } } }, { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", "start": 8114, "end": 8191, "loc": { "start": { "line": 180, "column": 6 }, "end": { "line": 182, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 8199, "end": 8201, "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": 8201, "end": 8202, "loc": { "start": { "line": 183, "column": 8 }, "end": { "line": 183, "column": 9 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8202, "end": 8206, "loc": { "start": { "line": 183, "column": 9 }, "end": { "line": 183, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8206, "end": 8207, "loc": { "start": { "line": 183, "column": 13 }, "end": { "line": 183, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8207, "end": 8214, "loc": { "start": { "line": 183, "column": 14 }, "end": { "line": 183, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8214, "end": 8215, "loc": { "start": { "line": 183, "column": 21 }, "end": { "line": 183, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxLength", "start": 8215, "end": 8224, "loc": { "start": { "line": 183, "column": 22 }, "end": { "line": 183, "column": 31 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 8225, "end": 8227, "loc": { "start": { "line": 183, "column": 32 }, "end": { "line": 183, "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": 8228, "end": 8232, "loc": { "start": { "line": 183, "column": 35 }, "end": { "line": 183, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8232, "end": 8233, "loc": { "start": { "line": 183, "column": 39 }, "end": { "line": 183, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 8233, "end": 8242, "loc": { "start": { "line": 183, "column": 40 }, "end": { "line": 183, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8242, "end": 8243, "loc": { "start": { "line": 183, "column": 49 }, "end": { "line": 183, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleMaxLength", "start": 8243, "end": 8258, "loc": { "start": { "line": 183, "column": 50 }, "end": { "line": 183, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8258, "end": 8259, "loc": { "start": { "line": 183, "column": 65 }, "end": { "line": 183, "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": 8259, "end": 8263, "loc": { "start": { "line": 183, "column": 66 }, "end": { "line": 183, "column": 70 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8263, "end": 8264, "loc": { "start": { "line": 183, "column": 70 }, "end": { "line": 183, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8264, "end": 8269, "loc": { "start": { "line": 183, "column": 71 }, "end": { "line": 183, "column": 76 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8269, "end": 8270, "loc": { "start": { "line": 183, "column": 76 }, "end": { "line": 183, "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": 8271, "end": 8275, "loc": { "start": { "line": 183, "column": 78 }, "end": { "line": 183, "column": 82 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8275, "end": 8276, "loc": { "start": { "line": 183, "column": 82 }, "end": { "line": 183, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8276, "end": 8283, "loc": { "start": { "line": 183, "column": 83 }, "end": { "line": 183, "column": 90 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8283, "end": 8284, "loc": { "start": { "line": 183, "column": 90 }, "end": { "line": 183, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 8285, "end": 8297, "loc": { "start": { "line": 183, "column": 92 }, "end": { "line": 183, "column": 104 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8297, "end": 8298, "loc": { "start": { "line": 183, "column": 104 }, "end": { "line": 183, "column": 105 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8298, "end": 8299, "loc": { "start": { "line": 183, "column": 105 }, "end": { "line": 183, "column": 106 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8299, "end": 8300, "loc": { "start": { "line": 183, "column": 106 }, "end": { "line": 183, "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": 8310, "end": 8316, "loc": { "start": { "line": 184, "column": 8 }, "end": { "line": 184, "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": 8317, "end": 8322, "loc": { "start": { "line": 184, "column": 15 }, "end": { "line": 184, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8322, "end": 8323, "loc": { "start": { "line": 184, "column": 20 }, "end": { "line": 184, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8331, "end": 8332, "loc": { "start": { "line": 185, "column": 6 }, "end": { "line": 185, "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": 8342, "end": 8346, "loc": { "start": { "line": 187, "column": 6 }, "end": { "line": 187, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8346, "end": 8347, "loc": { "start": { "line": 187, "column": 10 }, "end": { "line": 187, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8347, "end": 8352, "loc": { "start": { "line": 187, "column": 11 }, "end": { "line": 187, "column": 16 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8352, "end": 8353, "loc": { "start": { "line": 187, "column": 16 }, "end": { "line": 187, "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": 8353, "end": 8357, "loc": { "start": { "line": 187, "column": 17 }, "end": { "line": 187, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8357, "end": 8358, "loc": { "start": { "line": 187, "column": 21 }, "end": { "line": 187, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8358, "end": 8365, "loc": { "start": { "line": 187, "column": 22 }, "end": { "line": 187, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8365, "end": 8366, "loc": { "start": { "line": 187, "column": 29 }, "end": { "line": 187, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8366, "end": 8375, "loc": { "start": { "line": 187, "column": 30 }, "end": { "line": 187, "column": 39 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8375, "end": 8376, "loc": { "start": { "line": 187, "column": 39 }, "end": { "line": 187, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8377, "end": 8378, "loc": { "start": { "line": 187, "column": 41 }, "end": { "line": 187, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 8379, "end": 8391, "loc": { "start": { "line": 187, "column": 43 }, "end": { "line": 187, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8391, "end": 8392, "loc": { "start": { "line": 187, "column": 55 }, "end": { "line": 187, "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": 8402, "end": 8404, "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": 8404, "end": 8405, "loc": { "start": { "line": 189, "column": 8 }, "end": { "line": 189, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 8405, "end": 8410, "loc": { "start": { "line": 189, "column": 9 }, "end": { "line": 189, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8410, "end": 8411, "loc": { "start": { "line": 189, "column": 14 }, "end": { "line": 189, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 8421, "end": 8428, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8428, "end": 8429, "loc": { "start": { "line": 190, "column": 15 }, "end": { "line": 190, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 8429, "end": 8432, "loc": { "start": { "line": 190, "column": 16 }, "end": { "line": 190, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8432, "end": 8433, "loc": { "start": { "line": 190, "column": 19 }, "end": { "line": 190, "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": 8433, "end": 8449, "loc": { "start": { "line": 190, "column": 20 }, "end": { "line": 190, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8449, "end": 8450, "loc": { "start": { "line": 190, "column": 36 }, "end": { "line": 190, "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": 8451, "end": 8455, "loc": { "start": { "line": 190, "column": 38 }, "end": { "line": 190, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8455, "end": 8456, "loc": { "start": { "line": 190, "column": 42 }, "end": { "line": 190, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8456, "end": 8461, "loc": { "start": { "line": 190, "column": 43 }, "end": { "line": 190, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8461, "end": 8462, "loc": { "start": { "line": 190, "column": 48 }, "end": { "line": 190, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8462, "end": 8463, "loc": { "start": { "line": 190, "column": 49 }, "end": { "line": 190, "column": 50 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8473, "end": 8532, "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": 8540, "end": 8542, "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": 8542, "end": 8543, "loc": { "start": { "line": 195, "column": 8 }, "end": { "line": 195, "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": 8543, "end": 8547, "loc": { "start": { "line": 195, "column": 9 }, "end": { "line": 195, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8547, "end": 8548, "loc": { "start": { "line": 195, "column": 13 }, "end": { "line": 195, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8548, "end": 8555, "loc": { "start": { "line": 195, "column": 14 }, "end": { "line": 195, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8555, "end": 8556, "loc": { "start": { "line": 195, "column": 21 }, "end": { "line": 195, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 8556, "end": 8574, "loc": { "start": { "line": 195, "column": 22 }, "end": { "line": 195, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8574, "end": 8575, "loc": { "start": { "line": 195, "column": 40 }, "end": { "line": 195, "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": 8585, "end": 8589, "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": 8589, "end": 8590, "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": "syncInstanceInputs", "start": 8590, "end": 8608, "loc": { "start": { "line": 196, "column": 13 }, "end": { "line": 196, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8608, "end": 8609, "loc": { "start": { "line": 196, "column": 31 }, "end": { "line": 196, "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": 8609, "end": 8613, "loc": { "start": { "line": 196, "column": 32 }, "end": { "line": 196, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8613, "end": 8614, "loc": { "start": { "line": 196, "column": 36 }, "end": { "line": 196, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8614, "end": 8619, "loc": { "start": { "line": 196, "column": 37 }, "end": { "line": 196, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8619, "end": 8620, "loc": { "start": { "line": 196, "column": 42 }, "end": { "line": 196, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8620, "end": 8621, "loc": { "start": { "line": 196, "column": 43 }, "end": { "line": 196, "column": 44 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 8631, "end": 8672, "loc": { "start": { "line": 198, "column": 6 }, "end": { "line": 200, "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": 8680, "end": 8682, "loc": { "start": { "line": 201, "column": 6 }, "end": { "line": 201, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8682, "end": 8683, "loc": { "start": { "line": 201, "column": 8 }, "end": { "line": 201, "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": 8683, "end": 8689, "loc": { "start": { "line": 201, "column": 9 }, "end": { "line": 201, "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": 8690, "end": 8694, "loc": { "start": { "line": 201, "column": 16 }, "end": { "line": 201, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8694, "end": 8695, "loc": { "start": { "line": 201, "column": 20 }, "end": { "line": 201, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8695, "end": 8702, "loc": { "start": { "line": 201, "column": 21 }, "end": { "line": 201, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8702, "end": 8703, "loc": { "start": { "line": 201, "column": 28 }, "end": { "line": 201, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onChange", "start": 8703, "end": 8711, "loc": { "start": { "line": 201, "column": 29 }, "end": { "line": 201, "column": 37 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 8712, "end": 8715, "loc": { "start": { "line": 201, "column": 38 }, "end": { "line": 201, "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": 8716, "end": 8726, "loc": { "start": { "line": 201, "column": 42 }, "end": { "line": 201, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8726, "end": 8727, "loc": { "start": { "line": 201, "column": 52 }, "end": { "line": 201, "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": 8737, "end": 8741, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8741, "end": 8742, "loc": { "start": { "line": 202, "column": 12 }, "end": { "line": 202, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8742, "end": 8749, "loc": { "start": { "line": 202, "column": 13 }, "end": { "line": 202, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8749, "end": 8750, "loc": { "start": { "line": 202, "column": 20 }, "end": { "line": 202, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onChange", "start": 8750, "end": 8758, "loc": { "start": { "line": 202, "column": 21 }, "end": { "line": 202, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8758, "end": 8759, "loc": { "start": { "line": 202, "column": 29 }, "end": { "line": 202, "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": 8759, "end": 8763, "loc": { "start": { "line": 202, "column": 30 }, "end": { "line": 202, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8763, "end": 8764, "loc": { "start": { "line": 202, "column": 34 }, "end": { "line": 202, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8764, "end": 8769, "loc": { "start": { "line": 202, "column": 35 }, "end": { "line": 202, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8769, "end": 8770, "loc": { "start": { "line": 202, "column": 40 }, "end": { "line": 202, "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": 8770, "end": 8774, "loc": { "start": { "line": 202, "column": 41 }, "end": { "line": 202, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8774, "end": 8775, "loc": { "start": { "line": 202, "column": 45 }, "end": { "line": 202, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8775, "end": 8782, "loc": { "start": { "line": 202, "column": 46 }, "end": { "line": 202, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8782, "end": 8783, "loc": { "start": { "line": 202, "column": 53 }, "end": { "line": 202, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8783, "end": 8792, "loc": { "start": { "line": 202, "column": 54 }, "end": { "line": 202, "column": 63 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8792, "end": 8793, "loc": { "start": { "line": 202, "column": 63 }, "end": { "line": 202, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8793, "end": 8794, "loc": { "start": { "line": 202, "column": 64 }, "end": { "line": 202, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8794, "end": 8795, "loc": { "start": { "line": 202, "column": 65 }, "end": { "line": 202, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8801, "end": 8802, "loc": { "start": { "line": 203, "column": 4 }, "end": { "line": 203, "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": 8814, "end": 8816, "loc": { "start": { "line": 205, "column": 4 }, "end": { "line": 205, "column": 6 } } }, { "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": 205, "column": 6 }, "end": { "line": 205, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 8817, "end": 8822, "loc": { "start": { "line": 205, "column": 7 }, "end": { "line": 205, "column": 12 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8822, "end": 8823, "loc": { "start": { "line": 205, "column": 12 }, "end": { "line": 205, "column": 13 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8823, "end": 8824, "loc": { "start": { "line": 205, "column": 13 }, "end": { "line": 205, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 8832, "end": 8839, "loc": { "start": { "line": 206, "column": 6 }, "end": { "line": 206, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8839, "end": 8840, "loc": { "start": { "line": 206, "column": 13 }, "end": { "line": 206, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 8840, "end": 8843, "loc": { "start": { "line": 206, "column": 14 }, "end": { "line": 206, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8843, "end": 8844, "loc": { "start": { "line": 206, "column": 17 }, "end": { "line": 206, "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": 8844, "end": 8858, "loc": { "start": { "line": 206, "column": 18 }, "end": { "line": 206, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8858, "end": 8859, "loc": { "start": { "line": 206, "column": 32 }, "end": { "line": 206, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 8860, "end": 8866, "loc": { "start": { "line": 206, "column": 34 }, "end": { "line": 206, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8866, "end": 8867, "loc": { "start": { "line": 206, "column": 40 }, "end": { "line": 206, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8867, "end": 8868, "loc": { "start": { "line": 206, "column": 41 }, "end": { "line": 206, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8874, "end": 8875, "loc": { "start": { "line": 207, "column": 4 }, "end": { "line": 207, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8879, "end": 8880, "loc": { "start": { "line": 208, "column": 2 }, "end": { "line": 208, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", "start": 8886, "end": 8927, "loc": { "start": { "line": 210, "column": 2 }, "end": { "line": 212, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 8931, "end": 8957, "loc": { "start": { "line": 213, "column": 2 }, "end": { "line": 213, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseDown", "start": 8961, "end": 8982, "loc": { "start": { "line": 214, "column": 2 }, "end": { "line": 214, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8982, "end": 8983, "loc": { "start": { "line": 214, "column": 23 }, "end": { "line": 214, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 8983, "end": 8989, "loc": { "start": { "line": 214, "column": 24 }, "end": { "line": 214, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8989, "end": 8990, "loc": { "start": { "line": 214, "column": 30 }, "end": { "line": 214, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 8991, "end": 8992, "loc": { "start": { "line": 214, "column": 32 }, "end": { "line": 214, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8992, "end": 8993, "loc": { "start": { "line": 214, "column": 33 }, "end": { "line": 214, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8993, "end": 8994, "loc": { "start": { "line": 214, "column": 34 }, "end": { "line": 214, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n ", "start": 9000, "end": 9079, "loc": { "start": { "line": 215, "column": 4 }, "end": { "line": 217, "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": 9085, "end": 9089, "loc": { "start": { "line": 218, "column": 4 }, "end": { "line": 218, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9089, "end": 9090, "loc": { "start": { "line": 218, "column": 8 }, "end": { "line": 218, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isMouseHold", "start": 9090, "end": 9101, "loc": { "start": { "line": 218, "column": 9 }, "end": { "line": 218, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9102, "end": 9103, "loc": { "start": { "line": 218, "column": 21 }, "end": { "line": 218, "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": 9104, "end": 9108, "loc": { "start": { "line": 218, "column": 23 }, "end": { "line": 218, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9108, "end": 9109, "loc": { "start": { "line": 218, "column": 27 }, "end": { "line": 218, "column": 28 } } }, { "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": 9117, "end": 9119, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9119, "end": 9120, "loc": { "start": { "line": 220, "column": 6 }, "end": { "line": 220, "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": 9120, "end": 9124, "loc": { "start": { "line": 220, "column": 7 }, "end": { "line": 220, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9124, "end": 9125, "loc": { "start": { "line": 220, "column": 11 }, "end": { "line": 220, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdInteractionTimeout", "start": 9125, "end": 9147, "loc": { "start": { "line": 220, "column": 12 }, "end": { "line": 220, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9147, "end": 9148, "loc": { "start": { "line": 220, "column": 34 }, "end": { "line": 220, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearTimeout", "start": 9156, "end": 9168, "loc": { "start": { "line": 221, "column": 6 }, "end": { "line": 221, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9168, "end": 9169, "loc": { "start": { "line": 221, "column": 18 }, "end": { "line": 221, "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": 9169, "end": 9173, "loc": { "start": { "line": 221, "column": 19 }, "end": { "line": 221, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9173, "end": 9174, "loc": { "start": { "line": 221, "column": 23 }, "end": { "line": 221, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdInteractionTimeout", "start": 9174, "end": 9196, "loc": { "start": { "line": 221, "column": 24 }, "end": { "line": 221, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9196, "end": 9197, "loc": { "start": { "line": 221, "column": 46 }, "end": { "line": 221, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9197, "end": 9198, "loc": { "start": { "line": 221, "column": 47 }, "end": { "line": 221, "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": 9206, "end": 9208, "loc": { "start": { "line": 223, "column": 4 }, "end": { "line": 223, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9208, "end": 9209, "loc": { "start": { "line": 223, "column": 6 }, "end": { "line": 223, "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": 9209, "end": 9213, "loc": { "start": { "line": 223, "column": 7 }, "end": { "line": 223, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9213, "end": 9214, "loc": { "start": { "line": 223, "column": 11 }, "end": { "line": 223, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdTimeout", "start": 9214, "end": 9225, "loc": { "start": { "line": 223, "column": 12 }, "end": { "line": 223, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9225, "end": 9226, "loc": { "start": { "line": 223, "column": 23 }, "end": { "line": 223, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearTimeout", "start": 9234, "end": 9246, "loc": { "start": { "line": 224, "column": 6 }, "end": { "line": 224, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9246, "end": 9247, "loc": { "start": { "line": 224, "column": 18 }, "end": { "line": 224, "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": 9247, "end": 9251, "loc": { "start": { "line": 224, "column": 19 }, "end": { "line": 224, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9251, "end": 9252, "loc": { "start": { "line": 224, "column": 23 }, "end": { "line": 224, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdTimeout", "start": 9252, "end": 9263, "loc": { "start": { "line": 224, "column": 24 }, "end": { "line": 224, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9263, "end": 9264, "loc": { "start": { "line": 224, "column": 35 }, "end": { "line": 224, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9264, "end": 9265, "loc": { "start": { "line": 224, "column": 36 }, "end": { "line": 224, "column": 37 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", "start": 9273, "end": 9350, "loc": { "start": { "line": 226, "column": 4 }, "end": { "line": 228, "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": 9356, "end": 9360, "loc": { "start": { "line": 229, "column": 4 }, "end": { "line": 229, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9360, "end": 9361, "loc": { "start": { "line": 229, "column": 8 }, "end": { "line": 229, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdTimeout", "start": 9361, "end": 9372, "loc": { "start": { "line": 229, "column": 9 }, "end": { "line": 229, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9373, "end": 9374, "loc": { "start": { "line": 229, "column": 21 }, "end": { "line": 229, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setTimeout", "start": 9375, "end": 9385, "loc": { "start": { "line": 229, "column": 23 }, "end": { "line": 229, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9385, "end": 9386, "loc": { "start": { "line": 229, "column": 33 }, "end": { "line": 229, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9386, "end": 9387, "loc": { "start": { "line": 229, "column": 34 }, "end": { "line": 229, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9387, "end": 9388, "loc": { "start": { "line": 229, "column": 35 }, "end": { "line": 229, "column": 36 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9389, "end": 9391, "loc": { "start": { "line": 229, "column": 37 }, "end": { "line": 229, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9392, "end": 9393, "loc": { "start": { "line": 229, "column": 40 }, "end": { "line": 229, "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": 9401, "end": 9403, "loc": { "start": { "line": 230, "column": 6 }, "end": { "line": 230, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9403, "end": 9404, "loc": { "start": { "line": 230, "column": 8 }, "end": { "line": 230, "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": 9414, "end": 9418, "loc": { "start": { "line": 231, "column": 8 }, "end": { "line": 231, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9418, "end": 9419, "loc": { "start": { "line": 231, "column": 12 }, "end": { "line": 231, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isMouseHold", "start": 9419, "end": 9430, "loc": { "start": { "line": 231, "column": 13 }, "end": { "line": 231, "column": 24 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 9432, "end": 9434, "loc": { "start": { "line": 231, "column": 26 }, "end": { "line": 231, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9444, "end": 9445, "loc": { "start": { "line": 232, "column": 8 }, "end": { "line": 232, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9457, "end": 9458, "loc": { "start": { "line": 233, "column": 10 }, "end": { "line": 233, "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": 9458, "end": 9459, "loc": { "start": { "line": 233, "column": 11 }, "end": { "line": 233, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9459, "end": 9465, "loc": { "start": { "line": 233, "column": 12 }, "end": { "line": 233, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9465, "end": 9466, "loc": { "start": { "line": 233, "column": 18 }, "end": { "line": 233, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 9466, "end": 9474, "loc": { "start": { "line": 233, "column": 19 }, "end": { "line": 233, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9474, "end": 9475, "loc": { "start": { "line": 233, "column": 27 }, "end": { "line": 233, "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": 9475, "end": 9478, "loc": { "start": { "line": 233, "column": 28 }, "end": { "line": 233, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9478, "end": 9479, "loc": { "start": { "line": 233, "column": 31 }, "end": { "line": 233, "column": 32 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 9480, "end": 9482, "loc": { "start": { "line": 233, "column": 33 }, "end": { "line": 233, "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": 9483, "end": 9484, "loc": { "start": { "line": 233, "column": 36 }, "end": { "line": 233, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9484, "end": 9490, "loc": { "start": { "line": 233, "column": 37 }, "end": { "line": 233, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9490, "end": 9491, "loc": { "start": { "line": 233, "column": 43 }, "end": { "line": 233, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 9491, "end": 9499, "loc": { "start": { "line": 233, "column": 44 }, "end": { "line": 233, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9499, "end": 9500, "loc": { "start": { "line": 233, "column": 52 }, "end": { "line": 233, "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": 9500, "end": 9503, "loc": { "start": { "line": 233, "column": 53 }, "end": { "line": 233, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9503, "end": 9504, "loc": { "start": { "line": 233, "column": 56 }, "end": { "line": 233, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9504, "end": 9505, "loc": { "start": { "line": 233, "column": 57 }, "end": { "line": 233, "column": 58 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 9506, "end": 9508, "loc": { "start": { "line": 233, "column": 59 }, "end": { "line": 233, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9520, "end": 9526, "loc": { "start": { "line": 234, "column": 10 }, "end": { "line": 234, "column": 16 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9527, "end": 9530, "loc": { "start": { "line": 234, "column": 17 }, "end": { "line": 234, "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": 9531, "end": 9539, "loc": { "start": { "line": 234, "column": 21 }, "end": { "line": 234, "column": 29 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 9540, "end": 9542, "loc": { "start": { "line": 234, "column": 30 }, "end": { "line": 234, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9554, "end": 9560, "loc": { "start": { "line": 235, "column": 10 }, "end": { "line": 235, "column": 16 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9561, "end": 9564, "loc": { "start": { "line": 235, "column": 17 }, "end": { "line": 235, "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": 9565, "end": 9574, "loc": { "start": { "line": 235, "column": 21 }, "end": { "line": 235, "column": 30 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 9575, "end": 9577, "loc": { "start": { "line": 235, "column": 31 }, "end": { "line": 235, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9589, "end": 9595, "loc": { "start": { "line": 236, "column": 10 }, "end": { "line": 236, "column": 16 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9596, "end": 9599, "loc": { "start": { "line": 236, "column": 17 }, "end": { "line": 236, "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": 9600, "end": 9607, "loc": { "start": { "line": 236, "column": 21 }, "end": { "line": 236, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9617, "end": 9618, "loc": { "start": { "line": 237, "column": 8 }, "end": { "line": 237, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9626, "end": 9627, "loc": { "start": { "line": 238, "column": 6 }, "end": { "line": 238, "column": 7 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9627, "end": 9628, "loc": { "start": { "line": 238, "column": 7 }, "end": { "line": 238, "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": 9638, "end": 9640, "loc": { "start": { "line": 239, "column": 8 }, "end": { "line": 239, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9640, "end": 9641, "loc": { "start": { "line": 239, "column": 10 }, "end": { "line": 239, "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": 9641, "end": 9645, "loc": { "start": { "line": 239, "column": 11 }, "end": { "line": 239, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9645, "end": 9646, "loc": { "start": { "line": 239, "column": 15 }, "end": { "line": 239, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 9646, "end": 9653, "loc": { "start": { "line": 239, "column": 16 }, "end": { "line": 239, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9653, "end": 9654, "loc": { "start": { "line": 239, "column": 23 }, "end": { "line": 239, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 9654, "end": 9659, "loc": { "start": { "line": 239, "column": 24 }, "end": { "line": 239, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9659, "end": 9660, "loc": { "start": { "line": 239, "column": 29 }, "end": { "line": 239, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 9672, "end": 9679, "loc": { "start": { "line": 240, "column": 10 }, "end": { "line": 240, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9679, "end": 9680, "loc": { "start": { "line": 240, "column": 17 }, "end": { "line": 240, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 9680, "end": 9683, "loc": { "start": { "line": 240, "column": 18 }, "end": { "line": 240, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9683, "end": 9684, "loc": { "start": { "line": 240, "column": 21 }, "end": { "line": 240, "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": 9684, "end": 9698, "loc": { "start": { "line": 240, "column": 22 }, "end": { "line": 240, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9698, "end": 9699, "loc": { "start": { "line": 240, "column": 36 }, "end": { "line": 240, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9700, "end": 9706, "loc": { "start": { "line": 240, "column": 38 }, "end": { "line": 240, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9706, "end": 9707, "loc": { "start": { "line": 240, "column": 44 }, "end": { "line": 240, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9707, "end": 9708, "loc": { "start": { "line": 240, "column": 45 }, "end": { "line": 240, "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": 9720, "end": 9724, "loc": { "start": { "line": 242, "column": 8 }, "end": { "line": 242, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9724, "end": 9725, "loc": { "start": { "line": 242, "column": 12 }, "end": { "line": 242, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonHold", "start": 9725, "end": 9741, "loc": { "start": { "line": 242, "column": 13 }, "end": { "line": 242, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9741, "end": 9742, "loc": { "start": { "line": 242, "column": 29 }, "end": { "line": 242, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9742, "end": 9748, "loc": { "start": { "line": 242, "column": 30 }, "end": { "line": 242, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9748, "end": 9749, "loc": { "start": { "line": 242, "column": 36 }, "end": { "line": 242, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 9750, "end": 9751, "loc": { "start": { "line": 242, "column": 38 }, "end": { "line": 242, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9751, "end": 9752, "loc": { "start": { "line": 242, "column": 39 }, "end": { "line": 242, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9752, "end": 9753, "loc": { "start": { "line": 242, "column": 40 }, "end": { "line": 242, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9761, "end": 9762, "loc": { "start": { "line": 243, "column": 6 }, "end": { "line": 243, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearTimeout", "start": 9770, "end": 9782, "loc": { "start": { "line": 244, "column": 6 }, "end": { "line": 244, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9782, "end": 9783, "loc": { "start": { "line": 244, "column": 18 }, "end": { "line": 244, "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": 9783, "end": 9787, "loc": { "start": { "line": 244, "column": 19 }, "end": { "line": 244, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9787, "end": 9788, "loc": { "start": { "line": 244, "column": 23 }, "end": { "line": 244, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdTimeout", "start": 9788, "end": 9799, "loc": { "start": { "line": 244, "column": 24 }, "end": { "line": 244, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9799, "end": 9800, "loc": { "start": { "line": 244, "column": 35 }, "end": { "line": 244, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9800, "end": 9801, "loc": { "start": { "line": 244, "column": 36 }, "end": { "line": 244, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9807, "end": 9808, "loc": { "start": { "line": 245, "column": 4 }, "end": { "line": 245, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9808, "end": 9809, "loc": { "start": { "line": 245, "column": 5 }, "end": { "line": 245, "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": 9810, "end": 9813, "loc": { "start": { "line": 245, "column": 7 }, "end": { "line": 245, "column": 10 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9813, "end": 9814, "loc": { "start": { "line": 245, "column": 10 }, "end": { "line": 245, "column": 11 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9814, "end": 9815, "loc": { "start": { "line": 245, "column": 11 }, "end": { "line": 245, "column": 12 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9819, "end": 9820, "loc": { "start": { "line": 246, "column": 2 }, "end": { "line": 246, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", "start": 9826, "end": 9865, "loc": { "start": { "line": 248, "column": 2 }, "end": { "line": 250, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseUp", "start": 9869, "end": 9888, "loc": { "start": { "line": 251, "column": 2 }, "end": { "line": 251, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9888, "end": 9889, "loc": { "start": { "line": 251, "column": 21 }, "end": { "line": 251, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9889, "end": 9890, "loc": { "start": { "line": 251, "column": 22 }, "end": { "line": 251, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9890, "end": 9891, "loc": { "start": { "line": 251, "column": 23 }, "end": { "line": 251, "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": 9897, "end": 9901, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9901, "end": 9902, "loc": { "start": { "line": 252, "column": 8 }, "end": { "line": 252, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isMouseHold", "start": 9902, "end": 9913, "loc": { "start": { "line": 252, "column": 9 }, "end": { "line": 252, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9914, "end": 9915, "loc": { "start": { "line": 252, "column": 21 }, "end": { "line": 252, "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": 9916, "end": 9921, "loc": { "start": { "line": 252, "column": 23 }, "end": { "line": 252, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9921, "end": 9922, "loc": { "start": { "line": 252, "column": 28 }, "end": { "line": 252, "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": 9928, "end": 9930, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9930, "end": 9931, "loc": { "start": { "line": 253, "column": 6 }, "end": { "line": 253, "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": 9931, "end": 9935, "loc": { "start": { "line": 253, "column": 7 }, "end": { "line": 253, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9935, "end": 9936, "loc": { "start": { "line": 253, "column": 11 }, "end": { "line": 253, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdInteractionTimeout", "start": 9936, "end": 9958, "loc": { "start": { "line": 253, "column": 12 }, "end": { "line": 253, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9958, "end": 9959, "loc": { "start": { "line": 253, "column": 34 }, "end": { "line": 253, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearTimeout", "start": 9967, "end": 9979, "loc": { "start": { "line": 254, "column": 6 }, "end": { "line": 254, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9979, "end": 9980, "loc": { "start": { "line": 254, "column": 18 }, "end": { "line": 254, "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": 9980, "end": 9984, "loc": { "start": { "line": 254, "column": 19 }, "end": { "line": 254, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9984, "end": 9985, "loc": { "start": { "line": 254, "column": 23 }, "end": { "line": 254, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdInteractionTimeout", "start": 9985, "end": 10007, "loc": { "start": { "line": 254, "column": 24 }, "end": { "line": 254, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10007, "end": 10008, "loc": { "start": { "line": 254, "column": 46 }, "end": { "line": 254, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10008, "end": 10009, "loc": { "start": { "line": 254, "column": 47 }, "end": { "line": 254, "column": 48 } } }, { "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": 255, "column": 2 }, "end": { "line": 255, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", "start": 10020, "end": 10056, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 259, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 10060, "end": 10086, "loc": { "start": { "line": 260, "column": 2 }, "end": { "line": 260, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonHold", "start": 10090, "end": 10106, "loc": { "start": { "line": 261, "column": 2 }, "end": { "line": 261, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10106, "end": 10107, "loc": { "start": { "line": 261, "column": 18 }, "end": { "line": 261, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 10107, "end": 10113, "loc": { "start": { "line": 261, "column": 19 }, "end": { "line": 261, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10113, "end": 10114, "loc": { "start": { "line": 261, "column": 25 }, "end": { "line": 261, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10114, "end": 10115, "loc": { "start": { "line": 261, "column": 26 }, "end": { "line": 261, "column": 27 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", "start": 10121, "end": 10207, "loc": { "start": { "line": 262, "column": 4 }, "end": { "line": 264, "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": 10213, "end": 10217, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 265, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10217, "end": 10218, "loc": { "start": { "line": 265, "column": 8 }, "end": { "line": 265, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdInteractionTimeout", "start": 10218, "end": 10240, "loc": { "start": { "line": 265, "column": 9 }, "end": { "line": 265, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10241, "end": 10242, "loc": { "start": { "line": 265, "column": 32 }, "end": { "line": 265, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setTimeout", "start": 10243, "end": 10253, "loc": { "start": { "line": 265, "column": 34 }, "end": { "line": 265, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10253, "end": 10254, "loc": { "start": { "line": 265, "column": 44 }, "end": { "line": 265, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10254, "end": 10255, "loc": { "start": { "line": 265, "column": 45 }, "end": { "line": 265, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10255, "end": 10256, "loc": { "start": { "line": 265, "column": 46 }, "end": { "line": 265, "column": 47 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10257, "end": 10259, "loc": { "start": { "line": 265, "column": 48 }, "end": { "line": 265, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10260, "end": 10261, "loc": { "start": { "line": 265, "column": 51 }, "end": { "line": 265, "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": 10269, "end": 10273, "loc": { "start": { "line": 266, "column": 6 }, "end": { "line": 266, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10273, "end": 10274, "loc": { "start": { "line": 266, "column": 10 }, "end": { "line": 266, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 10274, "end": 10293, "loc": { "start": { "line": 266, "column": 11 }, "end": { "line": 266, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10293, "end": 10294, "loc": { "start": { "line": 266, "column": 30 }, "end": { "line": 266, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 10294, "end": 10300, "loc": { "start": { "line": 266, "column": 31 }, "end": { "line": 266, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10300, "end": 10301, "loc": { "start": { "line": 266, "column": 37 }, "end": { "line": 266, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10301, "end": 10302, "loc": { "start": { "line": 266, "column": 38 }, "end": { "line": 266, "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": 10310, "end": 10314, "loc": { "start": { "line": 267, "column": 6 }, "end": { "line": 267, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10314, "end": 10315, "loc": { "start": { "line": 267, "column": 10 }, "end": { "line": 267, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonHold", "start": 10315, "end": 10331, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 267, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10331, "end": 10332, "loc": { "start": { "line": 267, "column": 27 }, "end": { "line": 267, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 10332, "end": 10338, "loc": { "start": { "line": 267, "column": 28 }, "end": { "line": 267, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10338, "end": 10339, "loc": { "start": { "line": 267, "column": 34 }, "end": { "line": 267, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10339, "end": 10340, "loc": { "start": { "line": 267, "column": 35 }, "end": { "line": 267, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10346, "end": 10347, "loc": { "start": { "line": 268, "column": 4 }, "end": { "line": 268, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10347, "end": 10348, "loc": { "start": { "line": 268, "column": 5 }, "end": { "line": 268, "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": 10349, "end": 10352, "loc": { "start": { "line": 268, "column": 7 }, "end": { "line": 268, "column": 10 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10352, "end": 10353, "loc": { "start": { "line": 268, "column": 10 }, "end": { "line": 268, "column": 11 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10353, "end": 10354, "loc": { "start": { "line": 268, "column": 11 }, "end": { "line": 268, "column": 12 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10358, "end": 10359, "loc": { "start": { "line": 269, "column": 2 }, "end": { "line": 269, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 10365, "end": 10462, "loc": { "start": { "line": 271, "column": 2 }, "end": { "line": 273, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 10466, "end": 10484, "loc": { "start": { "line": 274, "column": 2 }, "end": { "line": 274, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10484, "end": 10485, "loc": { "start": { "line": 274, "column": 20 }, "end": { "line": 274, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10485, "end": 10486, "loc": { "start": { "line": 274, "column": 21 }, "end": { "line": 274, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10486, "end": 10487, "loc": { "start": { "line": 274, "column": 22 }, "end": { "line": 274, "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": 10493, "end": 10497, "loc": { "start": { "line": 275, "column": 4 }, "end": { "line": 275, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10497, "end": 10498, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 275, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 10498, "end": 10506, "loc": { "start": { "line": 275, "column": 9 }, "end": { "line": 275, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10506, "end": 10507, "loc": { "start": { "line": 275, "column": 17 }, "end": { "line": 275, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10507, "end": 10508, "loc": { "start": { "line": 275, "column": 18 }, "end": { "line": 275, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "instance", "start": 10508, "end": 10516, "loc": { "start": { "line": 275, "column": 19 }, "end": { "line": 275, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10516, "end": 10517, "loc": { "start": { "line": 275, "column": 27 }, "end": { "line": 275, "column": 28 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10518, "end": 10520, "loc": { "start": { "line": 275, "column": 29 }, "end": { "line": 275, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10521, "end": 10522, "loc": { "start": { "line": 275, "column": 32 }, "end": { "line": 275, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "instance", "start": 10530, "end": 10538, "loc": { "start": { "line": 276, "column": 6 }, "end": { "line": 276, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10538, "end": 10539, "loc": { "start": { "line": 276, "column": 14 }, "end": { "line": 276, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceInput", "start": 10539, "end": 10551, "loc": { "start": { "line": 276, "column": 15 }, "end": { "line": 276, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10551, "end": 10552, "loc": { "start": { "line": 276, "column": 27 }, "end": { "line": 276, "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": 10552, "end": 10556, "loc": { "start": { "line": 276, "column": 28 }, "end": { "line": 276, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10556, "end": 10557, "loc": { "start": { "line": 276, "column": 32 }, "end": { "line": 276, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 10557, "end": 10562, "loc": { "start": { "line": 276, "column": 33 }, "end": { "line": 276, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10562, "end": 10563, "loc": { "start": { "line": 276, "column": 38 }, "end": { "line": 276, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10563, "end": 10564, "loc": { "start": { "line": 276, "column": 39 }, "end": { "line": 276, "column": 40 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10570, "end": 10571, "loc": { "start": { "line": 277, "column": 4 }, "end": { "line": 277, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10571, "end": 10572, "loc": { "start": { "line": 277, "column": 5 }, "end": { "line": 277, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10572, "end": 10573, "loc": { "start": { "line": 277, "column": 6 }, "end": { "line": 277, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10577, "end": 10578, "loc": { "start": { "line": 278, "column": 2 }, "end": { "line": 278, "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": 10586, "end": 10704, "loc": { "start": { "line": 280, "column": 2 }, "end": { "line": 283, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearInput", "start": 10708, "end": 10718, "loc": { "start": { "line": 284, "column": 2 }, "end": { "line": 284, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10718, "end": 10719, "loc": { "start": { "line": 284, "column": 12 }, "end": { "line": 284, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 10719, "end": 10728, "loc": { "start": { "line": 284, "column": 13 }, "end": { "line": 284, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10728, "end": 10729, "loc": { "start": { "line": 284, "column": 22 }, "end": { "line": 284, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10729, "end": 10730, "loc": { "start": { "line": 284, "column": 23 }, "end": { "line": 284, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 10736, "end": 10745, "loc": { "start": { "line": 285, "column": 4 }, "end": { "line": 285, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10746, "end": 10747, "loc": { "start": { "line": 285, "column": 14 }, "end": { "line": 285, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 10748, "end": 10757, "loc": { "start": { "line": 285, "column": 16 }, "end": { "line": 285, "column": 25 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 10758, "end": 10760, "loc": { "start": { "line": 285, "column": 26 }, "end": { "line": 285, "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": 10761, "end": 10765, "loc": { "start": { "line": 285, "column": 29 }, "end": { "line": 285, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10765, "end": 10766, "loc": { "start": { "line": 285, "column": 33 }, "end": { "line": 285, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 10766, "end": 10773, "loc": { "start": { "line": 285, "column": 34 }, "end": { "line": 285, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10773, "end": 10774, "loc": { "start": { "line": 285, "column": 41 }, "end": { "line": 285, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 10774, "end": 10783, "loc": { "start": { "line": 285, "column": 42 }, "end": { "line": 285, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10783, "end": 10784, "loc": { "start": { "line": 285, "column": 51 }, "end": { "line": 285, "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": 10790, "end": 10794, "loc": { "start": { "line": 286, "column": 4 }, "end": { "line": 286, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10794, "end": 10795, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 286, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 10795, "end": 10800, "loc": { "start": { "line": 286, "column": 9 }, "end": { "line": 286, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10800, "end": 10801, "loc": { "start": { "line": 286, "column": 14 }, "end": { "line": 286, "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": 10801, "end": 10805, "loc": { "start": { "line": 286, "column": 15 }, "end": { "line": 286, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10805, "end": 10806, "loc": { "start": { "line": 286, "column": 19 }, "end": { "line": 286, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 10806, "end": 10813, "loc": { "start": { "line": 286, "column": 20 }, "end": { "line": 286, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10813, "end": 10814, "loc": { "start": { "line": 286, "column": 27 }, "end": { "line": 286, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 10814, "end": 10823, "loc": { "start": { "line": 286, "column": 28 }, "end": { "line": 286, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10823, "end": 10824, "loc": { "start": { "line": 286, "column": 37 }, "end": { "line": 286, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10825, "end": 10826, "loc": { "start": { "line": 286, "column": 39 }, "end": { "line": 286, "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": 10827, "end": 10829, "loc": { "start": { "line": 286, "column": 41 }, "end": { "line": 286, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10829, "end": 10830, "loc": { "start": { "line": 286, "column": 43 }, "end": { "line": 286, "column": 44 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 10838, "end": 10893, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 290, "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": 10899, "end": 10901, "loc": { "start": { "line": 291, "column": 4 }, "end": { "line": 291, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10901, "end": 10902, "loc": { "start": { "line": 291, "column": 6 }, "end": { "line": 291, "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": 10902, "end": 10906, "loc": { "start": { "line": 291, "column": 7 }, "end": { "line": 291, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10906, "end": 10907, "loc": { "start": { "line": 291, "column": 11 }, "end": { "line": 291, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 10907, "end": 10914, "loc": { "start": { "line": 291, "column": 12 }, "end": { "line": 291, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10914, "end": 10915, "loc": { "start": { "line": 291, "column": 19 }, "end": { "line": 291, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 10915, "end": 10933, "loc": { "start": { "line": 291, "column": 20 }, "end": { "line": 291, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10933, "end": 10934, "loc": { "start": { "line": 291, "column": 38 }, "end": { "line": 291, "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": 10942, "end": 10946, "loc": { "start": { "line": 292, "column": 6 }, "end": { "line": 292, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10946, "end": 10947, "loc": { "start": { "line": 292, "column": 10 }, "end": { "line": 292, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 10947, "end": 10965, "loc": { "start": { "line": 292, "column": 11 }, "end": { "line": 292, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10965, "end": 10966, "loc": { "start": { "line": 292, "column": 29 }, "end": { "line": 292, "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": 10966, "end": 10970, "loc": { "start": { "line": 292, "column": 30 }, "end": { "line": 292, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10970, "end": 10971, "loc": { "start": { "line": 292, "column": 34 }, "end": { "line": 292, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 10971, "end": 10976, "loc": { "start": { "line": 292, "column": 35 }, "end": { "line": 292, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10976, "end": 10977, "loc": { "start": { "line": 292, "column": 40 }, "end": { "line": 292, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10977, "end": 10978, "loc": { "start": { "line": 292, "column": 41 }, "end": { "line": 292, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10982, "end": 10983, "loc": { "start": { "line": 293, "column": 2 }, "end": { "line": 293, "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": 10989, "end": 11151, "loc": { "start": { "line": 295, "column": 2 }, "end": { "line": 298, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getInput", "start": 11155, "end": 11163, "loc": { "start": { "line": 299, "column": 2 }, "end": { "line": 299, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11163, "end": 11164, "loc": { "start": { "line": 299, "column": 10 }, "end": { "line": 299, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11164, "end": 11173, "loc": { "start": { "line": 299, "column": 11 }, "end": { "line": 299, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11173, "end": 11174, "loc": { "start": { "line": 299, "column": 20 }, "end": { "line": 299, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11174, "end": 11175, "loc": { "start": { "line": 299, "column": 21 }, "end": { "line": 299, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11181, "end": 11190, "loc": { "start": { "line": 300, "column": 4 }, "end": { "line": 300, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11191, "end": 11192, "loc": { "start": { "line": 300, "column": 14 }, "end": { "line": 300, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11193, "end": 11202, "loc": { "start": { "line": 300, "column": 16 }, "end": { "line": 300, "column": 25 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 11203, "end": 11205, "loc": { "start": { "line": 300, "column": 26 }, "end": { "line": 300, "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": 11206, "end": 11210, "loc": { "start": { "line": 300, "column": 29 }, "end": { "line": 300, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11210, "end": 11211, "loc": { "start": { "line": 300, "column": 33 }, "end": { "line": 300, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11211, "end": 11218, "loc": { "start": { "line": 300, "column": 34 }, "end": { "line": 300, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11218, "end": 11219, "loc": { "start": { "line": 300, "column": 41 }, "end": { "line": 300, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11219, "end": 11228, "loc": { "start": { "line": 300, "column": 42 }, "end": { "line": 300, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11228, "end": 11229, "loc": { "start": { "line": 300, "column": 51 }, "end": { "line": 300, "column": 52 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11237, "end": 11292, "loc": { "start": { "line": 302, "column": 4 }, "end": { "line": 304, "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": 11298, "end": 11300, "loc": { "start": { "line": 305, "column": 4 }, "end": { "line": 305, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11300, "end": 11301, "loc": { "start": { "line": 305, "column": 6 }, "end": { "line": 305, "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": 11301, "end": 11305, "loc": { "start": { "line": 305, "column": 7 }, "end": { "line": 305, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11305, "end": 11306, "loc": { "start": { "line": 305, "column": 11 }, "end": { "line": 305, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11306, "end": 11313, "loc": { "start": { "line": 305, "column": 12 }, "end": { "line": 305, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11313, "end": 11314, "loc": { "start": { "line": 305, "column": 19 }, "end": { "line": 305, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 11314, "end": 11332, "loc": { "start": { "line": 305, "column": 20 }, "end": { "line": 305, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11332, "end": 11333, "loc": { "start": { "line": 305, "column": 38 }, "end": { "line": 305, "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": 11341, "end": 11345, "loc": { "start": { "line": 306, "column": 6 }, "end": { "line": 306, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11345, "end": 11346, "loc": { "start": { "line": 306, "column": 10 }, "end": { "line": 306, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 11346, "end": 11364, "loc": { "start": { "line": 306, "column": 11 }, "end": { "line": 306, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11364, "end": 11365, "loc": { "start": { "line": 306, "column": 29 }, "end": { "line": 306, "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": 11365, "end": 11369, "loc": { "start": { "line": 306, "column": 30 }, "end": { "line": 306, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11369, "end": 11370, "loc": { "start": { "line": 306, "column": 34 }, "end": { "line": 306, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11370, "end": 11375, "loc": { "start": { "line": 306, "column": 35 }, "end": { "line": 306, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11375, "end": 11376, "loc": { "start": { "line": 306, "column": 40 }, "end": { "line": 306, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "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": 41 }, "end": { "line": 306, "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": 11385, "end": 11391, "loc": { "start": { "line": 308, "column": 4 }, "end": { "line": 308, "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": 11392, "end": 11396, "loc": { "start": { "line": 308, "column": 11 }, "end": { "line": 308, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11396, "end": 11397, "loc": { "start": { "line": 308, "column": 15 }, "end": { "line": 308, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11397, "end": 11402, "loc": { "start": { "line": 308, "column": 16 }, "end": { "line": 308, "column": 21 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11402, "end": 11403, "loc": { "start": { "line": 308, "column": 21 }, "end": { "line": 308, "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": 11403, "end": 11407, "loc": { "start": { "line": 308, "column": 22 }, "end": { "line": 308, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11407, "end": 11408, "loc": { "start": { "line": 308, "column": 26 }, "end": { "line": 308, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11408, "end": 11415, "loc": { "start": { "line": 308, "column": 27 }, "end": { "line": 308, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11415, "end": 11416, "loc": { "start": { "line": 308, "column": 34 }, "end": { "line": 308, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11416, "end": 11425, "loc": { "start": { "line": 308, "column": 35 }, "end": { "line": 308, "column": 44 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11425, "end": 11426, "loc": { "start": { "line": 308, "column": 44 }, "end": { "line": 308, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11426, "end": 11427, "loc": { "start": { "line": 308, "column": 45 }, "end": { "line": 308, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11431, "end": 11432, "loc": { "start": { "line": 309, "column": 2 }, "end": { "line": 309, "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": 11438, "end": 11598, "loc": { "start": { "line": 311, "column": 2 }, "end": { "line": 315, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setInput", "start": 11602, "end": 11610, "loc": { "start": { "line": 316, "column": 2 }, "end": { "line": 316, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11610, "end": 11611, "loc": { "start": { "line": 316, "column": 10 }, "end": { "line": 316, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11611, "end": 11616, "loc": { "start": { "line": 316, "column": 11 }, "end": { "line": 316, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11616, "end": 11617, "loc": { "start": { "line": 316, "column": 16 }, "end": { "line": 316, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11618, "end": 11627, "loc": { "start": { "line": 316, "column": 18 }, "end": { "line": 316, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11627, "end": 11628, "loc": { "start": { "line": 316, "column": 27 }, "end": { "line": 316, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11628, "end": 11629, "loc": { "start": { "line": 316, "column": 28 }, "end": { "line": 316, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11635, "end": 11644, "loc": { "start": { "line": 317, "column": 4 }, "end": { "line": 317, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11645, "end": 11646, "loc": { "start": { "line": 317, "column": 14 }, "end": { "line": 317, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11647, "end": 11656, "loc": { "start": { "line": 317, "column": 16 }, "end": { "line": 317, "column": 25 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 11657, "end": 11659, "loc": { "start": { "line": 317, "column": 26 }, "end": { "line": 317, "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": 11660, "end": 11664, "loc": { "start": { "line": 317, "column": 29 }, "end": { "line": 317, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11664, "end": 11665, "loc": { "start": { "line": 317, "column": 33 }, "end": { "line": 317, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11665, "end": 11672, "loc": { "start": { "line": 317, "column": 34 }, "end": { "line": 317, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11672, "end": 11673, "loc": { "start": { "line": 317, "column": 41 }, "end": { "line": 317, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11673, "end": 11682, "loc": { "start": { "line": 317, "column": 42 }, "end": { "line": 317, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11682, "end": 11683, "loc": { "start": { "line": 317, "column": 51 }, "end": { "line": 317, "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": 11689, "end": 11693, "loc": { "start": { "line": 318, "column": 4 }, "end": { "line": 318, "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": 318, "column": 8 }, "end": { "line": 318, "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": 318, "column": 9 }, "end": { "line": 318, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11699, "end": 11700, "loc": { "start": { "line": 318, "column": 14 }, "end": { "line": 318, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11700, "end": 11709, "loc": { "start": { "line": 318, "column": 15 }, "end": { "line": 318, "column": 24 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11709, "end": 11710, "loc": { "start": { "line": 318, "column": 24 }, "end": { "line": 318, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11711, "end": 11712, "loc": { "start": { "line": 318, "column": 26 }, "end": { "line": 318, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11713, "end": 11718, "loc": { "start": { "line": 318, "column": 28 }, "end": { "line": 318, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11718, "end": 11719, "loc": { "start": { "line": 318, "column": 33 }, "end": { "line": 318, "column": 34 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11727, "end": 11782, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 322, "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": 11788, "end": 11790, "loc": { "start": { "line": 323, "column": 4 }, "end": { "line": 323, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11790, "end": 11791, "loc": { "start": { "line": 323, "column": 6 }, "end": { "line": 323, "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": 11791, "end": 11795, "loc": { "start": { "line": 323, "column": 7 }, "end": { "line": 323, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11795, "end": 11796, "loc": { "start": { "line": 323, "column": 11 }, "end": { "line": 323, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11796, "end": 11803, "loc": { "start": { "line": 323, "column": 12 }, "end": { "line": 323, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11803, "end": 11804, "loc": { "start": { "line": 323, "column": 19 }, "end": { "line": 323, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 11804, "end": 11822, "loc": { "start": { "line": 323, "column": 20 }, "end": { "line": 323, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11822, "end": 11823, "loc": { "start": { "line": 323, "column": 38 }, "end": { "line": 323, "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": 11831, "end": 11835, "loc": { "start": { "line": 324, "column": 6 }, "end": { "line": 324, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11835, "end": 11836, "loc": { "start": { "line": 324, "column": 10 }, "end": { "line": 324, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 11836, "end": 11854, "loc": { "start": { "line": 324, "column": 11 }, "end": { "line": 324, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11854, "end": 11855, "loc": { "start": { "line": 324, "column": 29 }, "end": { "line": 324, "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": 11855, "end": 11859, "loc": { "start": { "line": 324, "column": 30 }, "end": { "line": 324, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11859, "end": 11860, "loc": { "start": { "line": 324, "column": 34 }, "end": { "line": 324, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11860, "end": 11865, "loc": { "start": { "line": 324, "column": 35 }, "end": { "line": 324, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11865, "end": 11866, "loc": { "start": { "line": 324, "column": 40 }, "end": { "line": 324, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11866, "end": 11867, "loc": { "start": { "line": 324, "column": 41 }, "end": { "line": 324, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11871, "end": 11872, "loc": { "start": { "line": 325, "column": 2 }, "end": { "line": 325, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 11880, "end": 11989, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 330, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceInput", "start": 11993, "end": 12005, "loc": { "start": { "line": 331, "column": 2 }, "end": { "line": 331, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12005, "end": 12006, "loc": { "start": { "line": 331, "column": 14 }, "end": { "line": 331, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputObj", "start": 12006, "end": 12014, "loc": { "start": { "line": 331, "column": 15 }, "end": { "line": 331, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12014, "end": 12015, "loc": { "start": { "line": 331, "column": 23 }, "end": { "line": 331, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12015, "end": 12016, "loc": { "start": { "line": 331, "column": 24 }, "end": { "line": 331, "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": 12022, "end": 12026, "loc": { "start": { "line": 332, "column": 4 }, "end": { "line": 332, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12026, "end": 12027, "loc": { "start": { "line": 332, "column": 8 }, "end": { "line": 332, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 12027, "end": 12032, "loc": { "start": { "line": 332, "column": 9 }, "end": { "line": 332, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12033, "end": 12034, "loc": { "start": { "line": 332, "column": 15 }, "end": { "line": 332, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputObj", "start": 12035, "end": 12043, "loc": { "start": { "line": 332, "column": 17 }, "end": { "line": 332, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12043, "end": 12044, "loc": { "start": { "line": 332, "column": 25 }, "end": { "line": 332, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12048, "end": 12049, "loc": { "start": { "line": 333, "column": 2 }, "end": { "line": 333, "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": 12055, "end": 12181, "loc": { "start": { "line": 335, "column": 2 }, "end": { "line": 338, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setOptions", "start": 12185, "end": 12195, "loc": { "start": { "line": 339, "column": 2 }, "end": { "line": 339, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12196, "end": 12197, "loc": { "start": { "line": 339, "column": 13 }, "end": { "line": 339, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 12198, "end": 12204, "loc": { "start": { "line": 339, "column": 15 }, "end": { "line": 339, "column": 21 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12205, "end": 12207, "loc": { "start": { "line": 339, "column": 22 }, "end": { "line": 339, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12208, "end": 12209, "loc": { "start": { "line": 339, "column": 25 }, "end": { "line": 339, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 12215, "end": 12221, "loc": { "start": { "line": 340, "column": 4 }, "end": { "line": 340, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12222, "end": 12223, "loc": { "start": { "line": 340, "column": 11 }, "end": { "line": 340, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 12224, "end": 12230, "loc": { "start": { "line": 340, "column": 13 }, "end": { "line": 340, "column": 19 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 12231, "end": 12233, "loc": { "start": { "line": 340, "column": 20 }, "end": { "line": 340, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12234, "end": 12235, "loc": { "start": { "line": 340, "column": 23 }, "end": { "line": 340, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12235, "end": 12236, "loc": { "start": { "line": 340, "column": 24 }, "end": { "line": 340, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12236, "end": 12237, "loc": { "start": { "line": 340, "column": 25 }, "end": { "line": 340, "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": 12243, "end": 12247, "loc": { "start": { "line": 341, "column": 4 }, "end": { "line": 341, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12247, "end": 12248, "loc": { "start": { "line": 341, "column": 8 }, "end": { "line": 341, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 12248, "end": 12255, "loc": { "start": { "line": 341, "column": 9 }, "end": { "line": 341, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12256, "end": 12257, "loc": { "start": { "line": 341, "column": 17 }, "end": { "line": 341, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 12258, "end": 12264, "loc": { "start": { "line": 341, "column": 19 }, "end": { "line": 341, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12264, "end": 12265, "loc": { "start": { "line": 341, "column": 25 }, "end": { "line": 341, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assign", "start": 12265, "end": 12271, "loc": { "start": { "line": 341, "column": 26 }, "end": { "line": 341, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12271, "end": 12272, "loc": { "start": { "line": 341, "column": 32 }, "end": { "line": 341, "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": 12272, "end": 12276, "loc": { "start": { "line": 341, "column": 33 }, "end": { "line": 341, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12276, "end": 12277, "loc": { "start": { "line": 341, "column": 37 }, "end": { "line": 341, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 12277, "end": 12284, "loc": { "start": { "line": 341, "column": 38 }, "end": { "line": 341, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12284, "end": 12285, "loc": { "start": { "line": 341, "column": 45 }, "end": { "line": 341, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 12286, "end": 12292, "loc": { "start": { "line": 341, "column": 47 }, "end": { "line": 341, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12292, "end": 12293, "loc": { "start": { "line": 341, "column": 53 }, "end": { "line": 341, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12293, "end": 12294, "loc": { "start": { "line": 341, "column": 54 }, "end": { "line": 341, "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": 12300, "end": 12304, "loc": { "start": { "line": 342, "column": 4 }, "end": { "line": 342, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12304, "end": 12305, "loc": { "start": { "line": 342, "column": 8 }, "end": { "line": 342, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 12305, "end": 12311, "loc": { "start": { "line": 342, "column": 9 }, "end": { "line": 342, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12311, "end": 12312, "loc": { "start": { "line": 342, "column": 15 }, "end": { "line": 342, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12312, "end": 12313, "loc": { "start": { "line": 342, "column": 16 }, "end": { "line": 342, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12313, "end": 12314, "loc": { "start": { "line": 342, "column": 17 }, "end": { "line": 342, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12318, "end": 12319, "loc": { "start": { "line": 343, "column": 2 }, "end": { "line": 343, "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": 12325, "end": 12434, "loc": { "start": { "line": 345, "column": 2 }, "end": { "line": 348, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clear", "start": 12438, "end": 12443, "loc": { "start": { "line": 349, "column": 2 }, "end": { "line": 349, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12443, "end": 12444, "loc": { "start": { "line": 349, "column": 7 }, "end": { "line": 349, "column": 8 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12444, "end": 12445, "loc": { "start": { "line": 349, "column": 8 }, "end": { "line": 349, "column": 9 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12445, "end": 12446, "loc": { "start": { "line": 349, "column": 9 }, "end": { "line": 349, "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": 12452, "end": 12456, "loc": { "start": { "line": 350, "column": 4 }, "end": { "line": 350, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12456, "end": 12457, "loc": { "start": { "line": 350, "column": 8 }, "end": { "line": 350, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 12457, "end": 12468, "loc": { "start": { "line": 350, "column": 9 }, "end": { "line": 350, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12468, "end": 12469, "loc": { "start": { "line": 350, "column": 20 }, "end": { "line": 350, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 12469, "end": 12478, "loc": { "start": { "line": 350, "column": 21 }, "end": { "line": 350, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12479, "end": 12480, "loc": { "start": { "line": 350, "column": 31 }, "end": { "line": 350, "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": 12481, "end": 12483, "loc": { "start": { "line": 350, "column": 33 }, "end": { "line": 350, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12483, "end": 12484, "loc": { "start": { "line": 350, "column": 35 }, "end": { "line": 350, "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": 12490, "end": 12494, "loc": { "start": { "line": 351, "column": 4 }, "end": { "line": 351, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12494, "end": 12495, "loc": { "start": { "line": 351, "column": 8 }, "end": { "line": 351, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 12495, "end": 12506, "loc": { "start": { "line": 351, "column": 9 }, "end": { "line": 351, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12506, "end": 12507, "loc": { "start": { "line": 351, "column": 20 }, "end": { "line": 351, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 12507, "end": 12516, "loc": { "start": { "line": 351, "column": 21 }, "end": { "line": 351, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12517, "end": 12518, "loc": { "start": { "line": 351, "column": 31 }, "end": { "line": 351, "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": 12519, "end": 12523, "loc": { "start": { "line": 351, "column": 33 }, "end": { "line": 351, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12523, "end": 12524, "loc": { "start": { "line": 351, "column": 37 }, "end": { "line": 351, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMClass", "start": 12524, "end": 12540, "loc": { "start": { "line": 351, "column": 38 }, "end": { "line": 351, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12540, "end": 12541, "loc": { "start": { "line": 351, "column": 54 }, "end": { "line": 351, "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": 12547, "end": 12551, "loc": { "start": { "line": 352, "column": 4 }, "end": { "line": 352, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12551, "end": 12552, "loc": { "start": { "line": 352, "column": 8 }, "end": { "line": 352, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 12552, "end": 12566, "loc": { "start": { "line": 352, "column": 9 }, "end": { "line": 352, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12567, "end": 12568, "loc": { "start": { "line": 352, "column": 24 }, "end": { "line": 352, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12569, "end": 12570, "loc": { "start": { "line": 352, "column": 26 }, "end": { "line": 352, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12570, "end": 12571, "loc": { "start": { "line": 352, "column": 27 }, "end": { "line": 352, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12571, "end": 12572, "loc": { "start": { "line": 352, "column": 28 }, "end": { "line": 352, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12576, "end": 12577, "loc": { "start": { "line": 353, "column": 2 }, "end": { "line": 353, "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": 12583, "end": 12788, "loc": { "start": { "line": 355, "column": 2 }, "end": { "line": 358, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 12792, "end": 12800, "loc": { "start": { "line": 359, "column": 2 }, "end": { "line": 359, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12800, "end": 12801, "loc": { "start": { "line": 359, "column": 10 }, "end": { "line": 359, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "callback", "start": 12801, "end": 12809, "loc": { "start": { "line": 359, "column": 11 }, "end": { "line": 359, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12809, "end": 12810, "loc": { "start": { "line": 359, "column": 19 }, "end": { "line": 359, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12810, "end": 12811, "loc": { "start": { "line": 359, "column": 20 }, "end": { "line": 359, "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": 12817, "end": 12819, "loc": { "start": { "line": 360, "column": 4 }, "end": { "line": 360, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12819, "end": 12820, "loc": { "start": { "line": 360, "column": 6 }, "end": { "line": 360, "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": 12820, "end": 12821, "loc": { "start": { "line": 360, "column": 7 }, "end": { "line": 360, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 12821, "end": 12827, "loc": { "start": { "line": 360, "column": 8 }, "end": { "line": 360, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12827, "end": 12828, "loc": { "start": { "line": 360, "column": 14 }, "end": { "line": 360, "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": 12828, "end": 12853, "loc": { "start": { "line": 360, "column": 15 }, "end": { "line": 360, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12853, "end": 12854, "loc": { "start": { "line": 360, "column": 40 }, "end": { "line": 360, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12854, "end": 12855, "loc": { "start": { "line": 360, "column": 41 }, "end": { "line": 360, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12855, "end": 12856, "loc": { "start": { "line": 360, "column": 42 }, "end": { "line": 360, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 12864, "end": 12871, "loc": { "start": { "line": 361, "column": 6 }, "end": { "line": 361, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12871, "end": 12872, "loc": { "start": { "line": 361, "column": 13 }, "end": { "line": 361, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 12872, "end": 12876, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12876, "end": 12877, "loc": { "start": { "line": 361, "column": 18 }, "end": { "line": 361, "column": 19 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12877, "end": 12878, "loc": { "start": { "line": 361, "column": 19 }, "end": { "line": 361, "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": 12878, "end": 12944, "loc": { "start": { "line": 361, "column": 20 }, "end": { "line": 361, "column": 86 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12944, "end": 12945, "loc": { "start": { "line": 361, "column": 86 }, "end": { "line": 361, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12945, "end": 12946, "loc": { "start": { "line": 361, "column": 87 }, "end": { "line": 361, "column": 88 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12946, "end": 12947, "loc": { "start": { "line": 361, "column": 88 }, "end": { "line": 361, "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": 12955, "end": 12960, "loc": { "start": { "line": 362, "column": 6 }, "end": { "line": 362, "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": 12961, "end": 12964, "loc": { "start": { "line": 362, "column": 12 }, "end": { "line": 362, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 12965, "end": 12970, "loc": { "start": { "line": 362, "column": 16 }, "end": { "line": 362, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12970, "end": 12971, "loc": { "start": { "line": 362, "column": 21 }, "end": { "line": 362, "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": 12971, "end": 12992, "loc": { "start": { "line": 362, "column": 22 }, "end": { "line": 362, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12992, "end": 12993, "loc": { "start": { "line": 362, "column": 43 }, "end": { "line": 362, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12993, "end": 12994, "loc": { "start": { "line": 362, "column": 44 }, "end": { "line": 362, "column": 45 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13000, "end": 13001, "loc": { "start": { "line": 363, "column": 4 }, "end": { "line": 363, "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": 13013, "end": 13019, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 365, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 13020, "end": 13026, "loc": { "start": { "line": 365, "column": 11 }, "end": { "line": 365, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13026, "end": 13027, "loc": { "start": { "line": 365, "column": 17 }, "end": { "line": 365, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keys", "start": 13027, "end": 13031, "loc": { "start": { "line": 365, "column": 18 }, "end": { "line": 365, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13031, "end": 13032, "loc": { "start": { "line": 365, "column": 22 }, "end": { "line": 365, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 13032, "end": 13038, "loc": { "start": { "line": 365, "column": 23 }, "end": { "line": 365, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13038, "end": 13039, "loc": { "start": { "line": 365, "column": 29 }, "end": { "line": 365, "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": 13039, "end": 13064, "loc": { "start": { "line": 365, "column": 30 }, "end": { "line": 365, "column": 55 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13064, "end": 13065, "loc": { "start": { "line": 365, "column": 55 }, "end": { "line": 365, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13065, "end": 13066, "loc": { "start": { "line": 365, "column": 56 }, "end": { "line": 365, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13066, "end": 13067, "loc": { "start": { "line": 365, "column": 57 }, "end": { "line": 365, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 13067, "end": 13074, "loc": { "start": { "line": 365, "column": 58 }, "end": { "line": 365, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13074, "end": 13075, "loc": { "start": { "line": 365, "column": 65 }, "end": { "line": 365, "column": 66 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13075, "end": 13076, "loc": { "start": { "line": 365, "column": 66 }, "end": { "line": 365, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 13076, "end": 13079, "loc": { "start": { "line": 365, "column": 67 }, "end": { "line": 365, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13079, "end": 13080, "loc": { "start": { "line": 365, "column": 70 }, "end": { "line": 365, "column": 71 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13081, "end": 13083, "loc": { "start": { "line": 365, "column": 72 }, "end": { "line": 365, "column": 74 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13084, "end": 13085, "loc": { "start": { "line": 365, "column": 75 }, "end": { "line": 365, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "callback", "start": 13093, "end": 13101, "loc": { "start": { "line": 366, "column": 6 }, "end": { "line": 366, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13101, "end": 13102, "loc": { "start": { "line": 366, "column": 14 }, "end": { "line": 366, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 13102, "end": 13108, "loc": { "start": { "line": 366, "column": 15 }, "end": { "line": 366, "column": 21 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13108, "end": 13109, "loc": { "start": { "line": 366, "column": 21 }, "end": { "line": 366, "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": 13109, "end": 13134, "loc": { "start": { "line": 366, "column": 22 }, "end": { "line": 366, "column": 47 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13134, "end": 13135, "loc": { "start": { "line": 366, "column": 47 }, "end": { "line": 366, "column": 48 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13135, "end": 13136, "loc": { "start": { "line": 366, "column": 48 }, "end": { "line": 366, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 13136, "end": 13139, "loc": { "start": { "line": 366, "column": 49 }, "end": { "line": 366, "column": 52 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13139, "end": 13140, "loc": { "start": { "line": 366, "column": 52 }, "end": { "line": 366, "column": 53 } } }, { "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": 366, "column": 53 }, "end": { "line": 366, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 13142, "end": 13145, "loc": { "start": { "line": 366, "column": 55 }, "end": { "line": 366, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13145, "end": 13146, "loc": { "start": { "line": 366, "column": 58 }, "end": { "line": 366, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13146, "end": 13147, "loc": { "start": { "line": 366, "column": 59 }, "end": { "line": 366, "column": 60 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13153, "end": 13154, "loc": { "start": { "line": 367, "column": 4 }, "end": { "line": 367, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13154, "end": 13155, "loc": { "start": { "line": 367, "column": 5 }, "end": { "line": 367, "column": 6 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13159, "end": 13160, "loc": { "start": { "line": 368, "column": 2 }, "end": { "line": 368, "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": 13166, "end": 13447, "loc": { "start": { "line": 370, "column": 2 }, "end": { "line": 374, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addButtonTheme", "start": 13451, "end": 13465, "loc": { "start": { "line": 375, "column": 2 }, "end": { "line": 375, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13465, "end": 13466, "loc": { "start": { "line": 375, "column": 16 }, "end": { "line": 375, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 13466, "end": 13473, "loc": { "start": { "line": 375, "column": 17 }, "end": { "line": 375, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13473, "end": 13474, "loc": { "start": { "line": 375, "column": 24 }, "end": { "line": 375, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 13475, "end": 13484, "loc": { "start": { "line": 375, "column": 26 }, "end": { "line": 375, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13484, "end": 13485, "loc": { "start": { "line": 375, "column": 35 }, "end": { "line": 375, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13485, "end": 13486, "loc": { "start": { "line": 375, "column": 36 }, "end": { "line": 375, "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": 13492, "end": 13494, "loc": { "start": { "line": 376, "column": 4 }, "end": { "line": 376, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13494, "end": 13495, "loc": { "start": { "line": 376, "column": 6 }, "end": { "line": 376, "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": 13495, "end": 13496, "loc": { "start": { "line": 376, "column": 7 }, "end": { "line": 376, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 13496, "end": 13505, "loc": { "start": { "line": 376, "column": 8 }, "end": { "line": 376, "column": 17 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 13506, "end": 13508, "loc": { "start": { "line": 376, "column": 18 }, "end": { "line": 376, "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": 13509, "end": 13510, "loc": { "start": { "line": 376, "column": 21 }, "end": { "line": 376, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 13510, "end": 13517, "loc": { "start": { "line": 376, "column": 22 }, "end": { "line": 376, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13517, "end": 13518, "loc": { "start": { "line": 376, "column": 29 }, "end": { "line": 376, "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": 13526, "end": 13532, "loc": { "start": { "line": 377, "column": 6 }, "end": { "line": 377, "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": 13533, "end": 13538, "loc": { "start": { "line": 377, "column": 13 }, "end": { "line": 377, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13538, "end": 13539, "loc": { "start": { "line": 377, "column": 18 }, "end": { "line": 377, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 13547, "end": 13554, "loc": { "start": { "line": 379, "column": 4 }, "end": { "line": 379, "column": 11 } } }, { "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": 379, "column": 11 }, "end": { "line": 379, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 13555, "end": 13560, "loc": { "start": { "line": 379, "column": 12 }, "end": { "line": 379, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13560, "end": 13561, "loc": { "start": { "line": 379, "column": 17 }, "end": { "line": 379, "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": 13561, "end": 13564, "loc": { "start": { "line": 379, "column": 18 }, "end": { "line": 379, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13564, "end": 13565, "loc": { "start": { "line": 379, "column": 21 }, "end": { "line": 379, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13565, "end": 13566, "loc": { "start": { "line": 379, "column": 22 }, "end": { "line": 379, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 13566, "end": 13573, "loc": { "start": { "line": 379, "column": 23 }, "end": { "line": 379, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13573, "end": 13574, "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": "button", "start": 13574, "end": 13580, "loc": { "start": { "line": 379, "column": 31 }, "end": { "line": 379, "column": 37 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13581, "end": 13583, "loc": { "start": { "line": 379, "column": 38 }, "end": { "line": 379, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13584, "end": 13585, "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": "className", "start": 13593, "end": 13602, "loc": { "start": { "line": 380, "column": 6 }, "end": { "line": 380, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13602, "end": 13603, "loc": { "start": { "line": 380, "column": 15 }, "end": { "line": 380, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 13603, "end": 13608, "loc": { "start": { "line": 380, "column": 16 }, "end": { "line": 380, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13608, "end": 13609, "loc": { "start": { "line": 380, "column": 21 }, "end": { "line": 380, "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": 13609, "end": 13612, "loc": { "start": { "line": 380, "column": 22 }, "end": { "line": 380, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13612, "end": 13613, "loc": { "start": { "line": 380, "column": 25 }, "end": { "line": 380, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13613, "end": 13614, "loc": { "start": { "line": 380, "column": 26 }, "end": { "line": 380, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 13614, "end": 13621, "loc": { "start": { "line": 380, "column": 27 }, "end": { "line": 380, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13621, "end": 13622, "loc": { "start": { "line": 380, "column": 34 }, "end": { "line": 380, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameItem", "start": 13622, "end": 13635, "loc": { "start": { "line": 380, "column": 35 }, "end": { "line": 380, "column": 48 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13636, "end": 13638, "loc": { "start": { "line": 380, "column": 49 }, "end": { "line": 380, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13639, "end": 13640, "loc": { "start": { "line": 380, "column": 52 }, "end": { "line": 380, "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": 13650, "end": 13652, "loc": { "start": { "line": 381, "column": 8 }, "end": { "line": 381, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13652, "end": 13653, "loc": { "start": { "line": 381, "column": 10 }, "end": { "line": 381, "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": 13653, "end": 13654, "loc": { "start": { "line": 381, "column": 11 }, "end": { "line": 381, "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": 13654, "end": 13658, "loc": { "start": { "line": 381, "column": 12 }, "end": { "line": 381, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13658, "end": 13659, "loc": { "start": { "line": 381, "column": 16 }, "end": { "line": 381, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 13659, "end": 13666, "loc": { "start": { "line": 381, "column": 17 }, "end": { "line": 381, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13666, "end": 13667, "loc": { "start": { "line": 381, "column": 24 }, "end": { "line": 381, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13667, "end": 13678, "loc": { "start": { "line": 381, "column": 25 }, "end": { "line": 381, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13678, "end": 13679, "loc": { "start": { "line": 381, "column": 36 }, "end": { "line": 381, "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": 13691, "end": 13695, "loc": { "start": { "line": 382, "column": 10 }, "end": { "line": 382, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13695, "end": 13696, "loc": { "start": { "line": 382, "column": 14 }, "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": "options", "start": 13696, "end": 13703, "loc": { "start": { "line": 382, "column": 15 }, "end": { "line": 382, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13703, "end": 13704, "loc": { "start": { "line": 382, "column": 22 }, "end": { "line": 382, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13704, "end": 13715, "loc": { "start": { "line": 382, "column": 23 }, "end": { "line": 382, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13716, "end": 13717, "loc": { "start": { "line": 382, "column": 35 }, "end": { "line": 382, "column": 36 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13718, "end": 13719, "loc": { "start": { "line": 382, "column": 37 }, "end": { "line": 382, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13719, "end": 13720, "loc": { "start": { "line": 382, "column": 38 }, "end": { "line": 382, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13720, "end": 13721, "loc": { "start": { "line": 382, "column": 39 }, "end": { "line": 382, "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": 13733, "end": 13736, "loc": { "start": { "line": 384, "column": 8 }, "end": { "line": 384, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 13737, "end": 13751, "loc": { "start": { "line": 384, "column": 12 }, "end": { "line": 384, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13752, "end": 13753, "loc": { "start": { "line": 384, "column": 27 }, "end": { "line": 384, "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": 13754, "end": 13759, "loc": { "start": { "line": 384, "column": 29 }, "end": { "line": 384, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13759, "end": 13760, "loc": { "start": { "line": 384, "column": 34 }, "end": { "line": 384, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 13774, "end": 13865, "loc": { "start": { "line": 386, "column": 8 }, "end": { "line": 388, "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": 13875, "end": 13879, "loc": { "start": { "line": 389, "column": 8 }, "end": { "line": 389, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13879, "end": 13880, "loc": { "start": { "line": 389, "column": 12 }, "end": { "line": 389, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 13880, "end": 13887, "loc": { "start": { "line": 389, "column": 13 }, "end": { "line": 389, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13887, "end": 13888, "loc": { "start": { "line": 389, "column": 20 }, "end": { "line": 389, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13888, "end": 13899, "loc": { "start": { "line": 389, "column": 21 }, "end": { "line": 389, "column": 32 } } }, { "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": 389, "column": 32 }, "end": { "line": 389, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 13900, "end": 13903, "loc": { "start": { "line": 389, "column": 33 }, "end": { "line": 389, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13903, "end": 13904, "loc": { "start": { "line": 389, "column": 36 }, "end": { "line": 389, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13904, "end": 13915, "loc": { "start": { "line": 389, "column": 37 }, "end": { "line": 389, "column": 48 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13916, "end": 13918, "loc": { "start": { "line": 389, "column": 49 }, "end": { "line": 389, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13919, "end": 13920, "loc": { "start": { "line": 389, "column": 52 }, "end": { "line": 389, "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": 13934, "end": 13936, "loc": { "start": { "line": 391, "column": 10 }, "end": { "line": 391, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13936, "end": 13937, "loc": { "start": { "line": 391, "column": 12 }, "end": { "line": 391, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13937, "end": 13948, "loc": { "start": { "line": 391, "column": 13 }, "end": { "line": 391, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13948, "end": 13949, "loc": { "start": { "line": 391, "column": 24 }, "end": { "line": 391, "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": 13949, "end": 13954, "loc": { "start": { "line": 391, "column": 25 }, "end": { "line": 391, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13954, "end": 13955, "loc": { "start": { "line": 391, "column": 30 }, "end": { "line": 391, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 13955, "end": 13960, "loc": { "start": { "line": 391, "column": 31 }, "end": { "line": 391, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13960, "end": 13961, "loc": { "start": { "line": 391, "column": 36 }, "end": { "line": 391, "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": 13961, "end": 13964, "loc": { "start": { "line": 391, "column": 37 }, "end": { "line": 391, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13964, "end": 13965, "loc": { "start": { "line": 391, "column": 40 }, "end": { "line": 391, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13965, "end": 13966, "loc": { "start": { "line": 391, "column": 41 }, "end": { "line": 391, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 13966, "end": 13974, "loc": { "start": { "line": 391, "column": 42 }, "end": { "line": 391, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13974, "end": 13975, "loc": { "start": { "line": 391, "column": 50 }, "end": { "line": 391, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameItem", "start": 13975, "end": 13988, "loc": { "start": { "line": 391, "column": 51 }, "end": { "line": 391, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13988, "end": 13989, "loc": { "start": { "line": 391, "column": 64 }, "end": { "line": 391, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13989, "end": 13990, "loc": { "start": { "line": 391, "column": 65 }, "end": { "line": 391, "column": 66 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13990, "end": 13991, "loc": { "start": { "line": 391, "column": 66 }, "end": { "line": 391, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 14005, "end": 14019, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14020, "end": 14021, "loc": { "start": { "line": 392, "column": 27 }, "end": { "line": 392, "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": 14022, "end": 14026, "loc": { "start": { "line": 392, "column": 29 }, "end": { "line": 392, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14026, "end": 14027, "loc": { "start": { "line": 392, "column": 33 }, "end": { "line": 392, "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": 14055, "end": 14058, "loc": { "start": { "line": 394, "column": 12 }, "end": { "line": 394, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 14059, "end": 14075, "loc": { "start": { "line": 394, "column": 16 }, "end": { "line": 394, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14076, "end": 14077, "loc": { "start": { "line": 394, "column": 33 }, "end": { "line": 394, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14078, "end": 14089, "loc": { "start": { "line": 394, "column": 35 }, "end": { "line": 394, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14089, "end": 14090, "loc": { "start": { "line": 394, "column": 46 }, "end": { "line": 394, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 14090, "end": 14097, "loc": { "start": { "line": 394, "column": 47 }, "end": { "line": 394, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14097, "end": 14098, "loc": { "start": { "line": 394, "column": 54 }, "end": { "line": 394, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 14098, "end": 14103, "loc": { "start": { "line": 394, "column": 55 }, "end": { "line": 394, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14103, "end": 14104, "loc": { "start": { "line": 394, "column": 60 }, "end": { "line": 394, "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": 14104, "end": 14107, "loc": { "start": { "line": 394, "column": 61 }, "end": { "line": 394, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14107, "end": 14108, "loc": { "start": { "line": 394, "column": 64 }, "end": { "line": 394, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14108, "end": 14109, "loc": { "start": { "line": 394, "column": 65 }, "end": { "line": 394, "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": 14123, "end": 14125, "loc": { "start": { "line": 395, "column": 12 }, "end": { "line": 395, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14125, "end": 14126, "loc": { "start": { "line": 395, "column": 14 }, "end": { "line": 395, "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": 14126, "end": 14127, "loc": { "start": { "line": 395, "column": 15 }, "end": { "line": 395, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 14127, "end": 14143, "loc": { "start": { "line": 395, "column": 16 }, "end": { "line": 395, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14143, "end": 14144, "loc": { "start": { "line": 395, "column": 32 }, "end": { "line": 395, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 14144, "end": 14152, "loc": { "start": { "line": 395, "column": 33 }, "end": { "line": 395, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14152, "end": 14153, "loc": { "start": { "line": 395, "column": 41 }, "end": { "line": 395, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 14153, "end": 14159, "loc": { "start": { "line": 395, "column": 42 }, "end": { "line": 395, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14159, "end": 14160, "loc": { "start": { "line": 395, "column": 48 }, "end": { "line": 395, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14160, "end": 14161, "loc": { "start": { "line": 395, "column": 49 }, "end": { "line": 395, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14161, "end": 14162, "loc": { "start": { "line": 395, "column": 50 }, "end": { "line": 395, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 14178, "end": 14192, "loc": { "start": { "line": 396, "column": 14 }, "end": { "line": 396, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14193, "end": 14194, "loc": { "start": { "line": 396, "column": 29 }, "end": { "line": 396, "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": 14195, "end": 14199, "loc": { "start": { "line": 396, "column": 31 }, "end": { "line": 396, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14199, "end": 14200, "loc": { "start": { "line": 396, "column": 35 }, "end": { "line": 396, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 14216, "end": 14232, "loc": { "start": { "line": 397, "column": 14 }, "end": { "line": 397, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14232, "end": 14233, "loc": { "start": { "line": 397, "column": 30 }, "end": { "line": 397, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 14233, "end": 14237, "loc": { "start": { "line": 397, "column": 31 }, "end": { "line": 397, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14237, "end": 14238, "loc": { "start": { "line": 397, "column": 35 }, "end": { "line": 397, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 14238, "end": 14244, "loc": { "start": { "line": 397, "column": 36 }, "end": { "line": 397, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14244, "end": 14245, "loc": { "start": { "line": 397, "column": 42 }, "end": { "line": 397, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14245, "end": 14246, "loc": { "start": { "line": 397, "column": 43 }, "end": { "line": 397, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14262, "end": 14273, "loc": { "start": { "line": 398, "column": 14 }, "end": { "line": 398, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14273, "end": 14274, "loc": { "start": { "line": 398, "column": 25 }, "end": { "line": 398, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 14274, "end": 14281, "loc": { "start": { "line": 398, "column": 26 }, "end": { "line": 398, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14282, "end": 14283, "loc": { "start": { "line": 398, "column": 34 }, "end": { "line": 398, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 14284, "end": 14300, "loc": { "start": { "line": 398, "column": 36 }, "end": { "line": 398, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14300, "end": 14301, "loc": { "start": { "line": 398, "column": 52 }, "end": { "line": 398, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 14301, "end": 14305, "loc": { "start": { "line": 398, "column": 53 }, "end": { "line": 398, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14305, "end": 14306, "loc": { "start": { "line": 398, "column": 57 }, "end": { "line": 398, "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": 14306, "end": 14309, "loc": { "start": { "line": 398, "column": 58 }, "end": { "line": 398, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14309, "end": 14310, "loc": { "start": { "line": 398, "column": 61 }, "end": { "line": 398, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14310, "end": 14311, "loc": { "start": { "line": 398, "column": 62 }, "end": { "line": 398, "column": 63 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14325, "end": 14326, "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": 14338, "end": 14339, "loc": { "start": { "line": 400, "column": 10 }, "end": { "line": 400, "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": 14351, "end": 14357, "loc": { "start": { "line": 401, "column": 10 }, "end": { "line": 401, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14358, "end": 14369, "loc": { "start": { "line": 401, "column": 17 }, "end": { "line": 401, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14369, "end": 14370, "loc": { "start": { "line": 401, "column": 28 }, "end": { "line": 401, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14380, "end": 14381, "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": 14381, "end": 14382, "loc": { "start": { "line": 402, "column": 9 }, "end": { "line": 402, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14382, "end": 14383, "loc": { "start": { "line": 402, "column": 10 }, "end": { "line": 402, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 14395, "end": 14470, "loc": { "start": { "line": 404, "column": 8 }, "end": { "line": 406, "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": 14480, "end": 14482, "loc": { "start": { "line": 407, "column": 8 }, "end": { "line": 407, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14482, "end": 14483, "loc": { "start": { "line": 407, "column": 10 }, "end": { "line": 407, "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": 14483, "end": 14484, "loc": { "start": { "line": 407, "column": 11 }, "end": { "line": 407, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 14484, "end": 14498, "loc": { "start": { "line": 407, "column": 12 }, "end": { "line": 407, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14498, "end": 14499, "loc": { "start": { "line": 407, "column": 26 }, "end": { "line": 407, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14499, "end": 14500, "loc": { "start": { "line": 407, "column": 27 }, "end": { "line": 407, "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": 14512, "end": 14516, "loc": { "start": { "line": 408, "column": 10 }, "end": { "line": 408, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14516, "end": 14517, "loc": { "start": { "line": 408, "column": 14 }, "end": { "line": 408, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 14517, "end": 14524, "loc": { "start": { "line": 408, "column": 15 }, "end": { "line": 408, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14524, "end": 14525, "loc": { "start": { "line": 408, "column": 22 }, "end": { "line": 408, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14525, "end": 14536, "loc": { "start": { "line": 408, "column": 23 }, "end": { "line": 408, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14536, "end": 14537, "loc": { "start": { "line": 408, "column": 34 }, "end": { "line": 408, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 14537, "end": 14541, "loc": { "start": { "line": 408, "column": 35 }, "end": { "line": 408, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14541, "end": 14542, "loc": { "start": { "line": 408, "column": 39 }, "end": { "line": 408, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14542, "end": 14543, "loc": { "start": { "line": 408, "column": 40 }, "end": { "line": 408, "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": 14557, "end": 14562, "loc": { "start": { "line": 409, "column": 12 }, "end": { "line": 409, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14562, "end": 14563, "loc": { "start": { "line": 409, "column": 17 }, "end": { "line": 409, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameItem", "start": 14564, "end": 14577, "loc": { "start": { "line": 409, "column": 19 }, "end": { "line": 409, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14577, "end": 14578, "loc": { "start": { "line": 409, "column": 32 }, "end": { "line": 409, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 14592, "end": 14599, "loc": { "start": { "line": 410, "column": 12 }, "end": { "line": 410, "column": 19 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14599, "end": 14600, "loc": { "start": { "line": 410, "column": 19 }, "end": { "line": 410, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 14601, "end": 14608, "loc": { "start": { "line": 410, "column": 21 }, "end": { "line": 410, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14620, "end": 14621, "loc": { "start": { "line": 411, "column": 10 }, "end": { "line": 411, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14621, "end": 14622, "loc": { "start": { "line": 411, "column": 11 }, "end": { "line": 411, "column": 12 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14622, "end": 14623, "loc": { "start": { "line": 411, "column": 12 }, "end": { "line": 411, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14633, "end": 14634, "loc": { "start": { "line": 412, "column": 8 }, "end": { "line": 412, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14644, "end": 14645, "loc": { "start": { "line": 414, "column": 6 }, "end": { "line": 414, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14645, "end": 14646, "loc": { "start": { "line": 414, "column": 7 }, "end": { "line": 414, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14646, "end": 14647, "loc": { "start": { "line": 414, "column": 8 }, "end": { "line": 414, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14653, "end": 14654, "loc": { "start": { "line": 415, "column": 4 }, "end": { "line": 415, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14654, "end": 14655, "loc": { "start": { "line": 415, "column": 5 }, "end": { "line": 415, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14655, "end": 14656, "loc": { "start": { "line": 415, "column": 6 }, "end": { "line": 415, "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": 14664, "end": 14668, "loc": { "start": { "line": 417, "column": 4 }, "end": { "line": 417, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14668, "end": 14669, "loc": { "start": { "line": 417, "column": 8 }, "end": { "line": 417, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 14669, "end": 14675, "loc": { "start": { "line": 417, "column": 9 }, "end": { "line": 417, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14675, "end": 14676, "loc": { "start": { "line": 417, "column": 15 }, "end": { "line": 417, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14676, "end": 14677, "loc": { "start": { "line": 417, "column": 16 }, "end": { "line": 417, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14677, "end": 14678, "loc": { "start": { "line": 417, "column": 17 }, "end": { "line": 417, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14682, "end": 14683, "loc": { "start": { "line": 418, "column": 2 }, "end": { "line": 418, "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": 14689, "end": 15029, "loc": { "start": { "line": 420, "column": 2 }, "end": { "line": 424, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeButtonTheme", "start": 15033, "end": 15050, "loc": { "start": { "line": 425, "column": 2 }, "end": { "line": 425, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15050, "end": 15051, "loc": { "start": { "line": 425, "column": 19 }, "end": { "line": 425, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 15051, "end": 15058, "loc": { "start": { "line": 425, "column": 20 }, "end": { "line": 425, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15058, "end": 15059, "loc": { "start": { "line": 425, "column": 27 }, "end": { "line": 425, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 15060, "end": 15069, "loc": { "start": { "line": 425, "column": 29 }, "end": { "line": 425, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15069, "end": 15070, "loc": { "start": { "line": 425, "column": 38 }, "end": { "line": 425, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15070, "end": 15071, "loc": { "start": { "line": 425, "column": 39 }, "end": { "line": 425, "column": 40 } } }, { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", "start": 15077, "end": 15157, "loc": { "start": { "line": 426, "column": 4 }, "end": { "line": 428, "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": 15163, "end": 15165, "loc": { "start": { "line": 429, "column": 4 }, "end": { "line": 429, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15165, "end": 15166, "loc": { "start": { "line": 429, "column": 6 }, "end": { "line": 429, "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": 15166, "end": 15167, "loc": { "start": { "line": 429, "column": 7 }, "end": { "line": 429, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 15167, "end": 15174, "loc": { "start": { "line": 429, "column": 8 }, "end": { "line": 429, "column": 15 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 15175, "end": 15177, "loc": { "start": { "line": 429, "column": 16 }, "end": { "line": 429, "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": 15178, "end": 15179, "loc": { "start": { "line": 429, "column": 19 }, "end": { "line": 429, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 15179, "end": 15188, "loc": { "start": { "line": 429, "column": 20 }, "end": { "line": 429, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15188, "end": 15189, "loc": { "start": { "line": 429, "column": 29 }, "end": { "line": 429, "column": 30 } } }, { "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": 429, "column": 30 }, "end": { "line": 429, "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": 15198, "end": 15202, "loc": { "start": { "line": 430, "column": 6 }, "end": { "line": 430, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15202, "end": 15203, "loc": { "start": { "line": 430, "column": 10 }, "end": { "line": 430, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15203, "end": 15210, "loc": { "start": { "line": 430, "column": 11 }, "end": { "line": 430, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15210, "end": 15211, "loc": { "start": { "line": 430, "column": 18 }, "end": { "line": 430, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15211, "end": 15222, "loc": { "start": { "line": 430, "column": 19 }, "end": { "line": 430, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15223, "end": 15224, "loc": { "start": { "line": 430, "column": 31 }, "end": { "line": 430, "column": 32 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15225, "end": 15226, "loc": { "start": { "line": 430, "column": 33 }, "end": { "line": 430, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15226, "end": 15227, "loc": { "start": { "line": 430, "column": 34 }, "end": { "line": 430, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15227, "end": 15228, "loc": { "start": { "line": 430, "column": 35 }, "end": { "line": 430, "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": 15236, "end": 15240, "loc": { "start": { "line": 431, "column": 6 }, "end": { "line": 431, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15240, "end": 15241, "loc": { "start": { "line": 431, "column": 10 }, "end": { "line": 431, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 15241, "end": 15247, "loc": { "start": { "line": 431, "column": 11 }, "end": { "line": 431, "column": 17 } } }, { "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": 431, "column": 17 }, "end": { "line": 431, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15248, "end": 15249, "loc": { "start": { "line": 431, "column": 18 }, "end": { "line": 431, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15249, "end": 15250, "loc": { "start": { "line": 431, "column": 19 }, "end": { "line": 431, "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": 15258, "end": 15264, "loc": { "start": { "line": 432, "column": 6 }, "end": { "line": 432, "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": 15265, "end": 15270, "loc": { "start": { "line": 432, "column": 13 }, "end": { "line": 432, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15270, "end": 15271, "loc": { "start": { "line": 432, "column": 18 }, "end": { "line": 432, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15277, "end": 15278, "loc": { "start": { "line": 433, "column": 4 }, "end": { "line": 433, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 15286, "end": 15354, "loc": { "start": { "line": 435, "column": 4 }, "end": { "line": 437, "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": 15360, "end": 15362, "loc": { "start": { "line": 438, "column": 4 }, "end": { "line": 438, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15362, "end": 15363, "loc": { "start": { "line": 438, "column": 6 }, "end": { "line": 438, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 15363, "end": 15370, "loc": { "start": { "line": 438, "column": 7 }, "end": { "line": 438, "column": 14 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 15371, "end": 15373, "loc": { "start": { "line": 438, "column": 15 }, "end": { "line": 438, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 15374, "end": 15379, "loc": { "start": { "line": 438, "column": 18 }, "end": { "line": 438, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15379, "end": 15380, "loc": { "start": { "line": 438, "column": 23 }, "end": { "line": 438, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isArray", "start": 15380, "end": 15387, "loc": { "start": { "line": 438, "column": 24 }, "end": { "line": 438, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15387, "end": 15388, "loc": { "start": { "line": 438, "column": 31 }, "end": { "line": 438, "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": 15388, "end": 15392, "loc": { "start": { "line": 438, "column": 32 }, "end": { "line": 438, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15392, "end": 15393, "loc": { "start": { "line": 438, "column": 36 }, "end": { "line": 438, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15393, "end": 15400, "loc": { "start": { "line": 438, "column": 37 }, "end": { "line": 438, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15400, "end": 15401, "loc": { "start": { "line": 438, "column": 44 }, "end": { "line": 438, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15401, "end": 15412, "loc": { "start": { "line": 438, "column": 45 }, "end": { "line": 438, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15412, "end": 15413, "loc": { "start": { "line": 438, "column": 56 }, "end": { "line": 438, "column": 57 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 15414, "end": 15416, "loc": { "start": { "line": 438, "column": 58 }, "end": { "line": 438, "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": 15417, "end": 15421, "loc": { "start": { "line": 438, "column": 61 }, "end": { "line": 438, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15421, "end": 15422, "loc": { "start": { "line": 438, "column": 65 }, "end": { "line": 438, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15422, "end": 15429, "loc": { "start": { "line": 438, "column": 66 }, "end": { "line": 438, "column": 73 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15429, "end": 15430, "loc": { "start": { "line": 438, "column": 73 }, "end": { "line": 438, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15430, "end": 15441, "loc": { "start": { "line": 438, "column": 74 }, "end": { "line": 438, "column": 85 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15441, "end": 15442, "loc": { "start": { "line": 438, "column": 85 }, "end": { "line": 438, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 15442, "end": 15448, "loc": { "start": { "line": 438, "column": 86 }, "end": { "line": 438, "column": 92 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15448, "end": 15449, "loc": { "start": { "line": 438, "column": 92 }, "end": { "line": 438, "column": 93 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15449, "end": 15450, "loc": { "start": { "line": 438, "column": 93 }, "end": { "line": 438, "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": 15458, "end": 15461, "loc": { "start": { "line": 439, "column": 6 }, "end": { "line": 439, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArray", "start": 15462, "end": 15473, "loc": { "start": { "line": 439, "column": 10 }, "end": { "line": 439, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15474, "end": 15475, "loc": { "start": { "line": 439, "column": 22 }, "end": { "line": 439, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 15476, "end": 15483, "loc": { "start": { "line": 439, "column": 24 }, "end": { "line": 439, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15483, "end": 15484, "loc": { "start": { "line": 439, "column": 31 }, "end": { "line": 439, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 15484, "end": 15489, "loc": { "start": { "line": 439, "column": 32 }, "end": { "line": 439, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15489, "end": 15490, "loc": { "start": { "line": 439, "column": 37 }, "end": { "line": 439, "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": 15490, "end": 15493, "loc": { "start": { "line": 439, "column": 38 }, "end": { "line": 439, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15493, "end": 15494, "loc": { "start": { "line": 439, "column": 41 }, "end": { "line": 439, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15494, "end": 15495, "loc": { "start": { "line": 439, "column": 42 }, "end": { "line": 439, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArray", "start": 15503, "end": 15514, "loc": { "start": { "line": 440, "column": 6 }, "end": { "line": 440, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15514, "end": 15515, "loc": { "start": { "line": 440, "column": 17 }, "end": { "line": 440, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 15515, "end": 15522, "loc": { "start": { "line": 440, "column": 18 }, "end": { "line": 440, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15522, "end": 15523, "loc": { "start": { "line": 440, "column": 25 }, "end": { "line": 440, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15523, "end": 15524, "loc": { "start": { "line": 440, "column": 26 }, "end": { "line": 440, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 15524, "end": 15530, "loc": { "start": { "line": 440, "column": 27 }, "end": { "line": 440, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15530, "end": 15531, "loc": { "start": { "line": 440, "column": 33 }, "end": { "line": 440, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 15532, "end": 15535, "loc": { "start": { "line": 440, "column": 35 }, "end": { "line": 440, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15535, "end": 15536, "loc": { "start": { "line": 440, "column": 38 }, "end": { "line": 440, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15537, "end": 15539, "loc": { "start": { "line": 440, "column": 40 }, "end": { "line": 440, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15540, "end": 15541, "loc": { "start": { "line": 440, "column": 43 }, "end": { "line": 440, "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": 15551, "end": 15555, "loc": { "start": { "line": 441, "column": 8 }, "end": { "line": 441, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15555, "end": 15556, "loc": { "start": { "line": 441, "column": 12 }, "end": { "line": 441, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15556, "end": 15563, "loc": { "start": { "line": 441, "column": 13 }, "end": { "line": 441, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15563, "end": 15564, "loc": { "start": { "line": 441, "column": 20 }, "end": { "line": 441, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15564, "end": 15575, "loc": { "start": { "line": 441, "column": 21 }, "end": { "line": 441, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15575, "end": 15576, "loc": { "start": { "line": 441, "column": 32 }, "end": { "line": 441, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 15576, "end": 15579, "loc": { "start": { "line": 441, "column": 33 }, "end": { "line": 441, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15579, "end": 15580, "loc": { "start": { "line": 441, "column": 36 }, "end": { "line": 441, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15580, "end": 15581, "loc": { "start": { "line": 441, "column": 37 }, "end": { "line": 441, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15581, "end": 15592, "loc": { "start": { "line": 441, "column": 38 }, "end": { "line": 441, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15592, "end": 15593, "loc": { "start": { "line": 441, "column": 49 }, "end": { "line": 441, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 15594, "end": 15599, "loc": { "start": { "line": 441, "column": 51 }, "end": { "line": 441, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15599, "end": 15600, "loc": { "start": { "line": 441, "column": 56 }, "end": { "line": 441, "column": 57 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15601, "end": 15603, "loc": { "start": { "line": 441, "column": 58 }, "end": { "line": 441, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15604, "end": 15605, "loc": { "start": { "line": 441, "column": 61 }, "end": { "line": 441, "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": 15619, "end": 15760, "loc": { "start": { "line": 443, "column": 10 }, "end": { "line": 446, "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": 15772, "end": 15774, "loc": { "start": { "line": 447, "column": 10 }, "end": { "line": 447, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15774, "end": 15775, "loc": { "start": { "line": 447, "column": 12 }, "end": { "line": 447, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15789, "end": 15790, "loc": { "start": { "line": 448, "column": 12 }, "end": { "line": 448, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 15790, "end": 15799, "loc": { "start": { "line": 448, "column": 13 }, "end": { "line": 448, "column": 22 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 15800, "end": 15802, "loc": { "start": { "line": 448, "column": 23 }, "end": { "line": 448, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 15803, "end": 15812, "loc": { "start": { "line": 448, "column": 26 }, "end": { "line": 448, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15812, "end": 15813, "loc": { "start": { "line": 448, "column": 35 }, "end": { "line": 448, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 15813, "end": 15821, "loc": { "start": { "line": 448, "column": 36 }, "end": { "line": 448, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15821, "end": 15822, "loc": { "start": { "line": 448, "column": 44 }, "end": { "line": 448, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15822, "end": 15833, "loc": { "start": { "line": 448, "column": 45 }, "end": { "line": 448, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15833, "end": 15834, "loc": { "start": { "line": 448, "column": 56 }, "end": { "line": 448, "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": 15834, "end": 15839, "loc": { "start": { "line": 448, "column": 57 }, "end": { "line": 448, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15839, "end": 15840, "loc": { "start": { "line": 448, "column": 62 }, "end": { "line": 448, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15840, "end": 15841, "loc": { "start": { "line": 448, "column": 63 }, "end": { "line": 448, "column": 64 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 15842, "end": 15844, "loc": { "start": { "line": 448, "column": 65 }, "end": { "line": 448, "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": 15858, "end": 15859, "loc": { "start": { "line": 449, "column": 12 }, "end": { "line": 449, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 15859, "end": 15868, "loc": { "start": { "line": 449, "column": 13 }, "end": { "line": 449, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15880, "end": 15881, "loc": { "start": { "line": 450, "column": 10 }, "end": { "line": 450, "column": 11 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15881, "end": 15882, "loc": { "start": { "line": 450, "column": 11 }, "end": { "line": 450, "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": 15896, "end": 15899, "loc": { "start": { "line": 451, "column": 12 }, "end": { "line": 451, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filteredButtonArray", "start": 15900, "end": 15919, "loc": { "start": { "line": 451, "column": 16 }, "end": { "line": 451, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15920, "end": 15921, "loc": { "start": { "line": 451, "column": 36 }, "end": { "line": 451, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15922, "end": 15933, "loc": { "start": { "line": 451, "column": 38 }, "end": { "line": 451, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15933, "end": 15934, "loc": { "start": { "line": 451, "column": 49 }, "end": { "line": 451, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 15934, "end": 15941, "loc": { "start": { "line": 451, "column": 50 }, "end": { "line": 451, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15941, "end": 15942, "loc": { "start": { "line": 451, "column": 57 }, "end": { "line": 451, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 15942, "end": 15947, "loc": { "start": { "line": 451, "column": 58 }, "end": { "line": 451, "column": 63 } } }, { "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": 451, "column": 63 }, "end": { "line": 451, "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": 15948, "end": 15951, "loc": { "start": { "line": 451, "column": 64 }, "end": { "line": 451, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15951, "end": 15952, "loc": { "start": { "line": 451, "column": 67 }, "end": { "line": 451, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15952, "end": 15953, "loc": { "start": { "line": 451, "column": 68 }, "end": { "line": 451, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filter", "start": 15953, "end": 15959, "loc": { "start": { "line": 451, "column": 69 }, "end": { "line": 451, "column": 75 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15959, "end": 15960, "loc": { "start": { "line": 451, "column": 75 }, "end": { "line": 451, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 15960, "end": 15964, "loc": { "start": { "line": 451, "column": 76 }, "end": { "line": 451, "column": 80 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15965, "end": 15967, "loc": { "start": { "line": 451, "column": 81 }, "end": { "line": 451, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 15968, "end": 15972, "loc": { "start": { "line": 451, "column": 84 }, "end": { "line": 451, "column": 88 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 15973, "end": 15976, "loc": { "start": { "line": 451, "column": 89 }, "end": { "line": 451, "column": 92 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 15977, "end": 15983, "loc": { "start": { "line": 451, "column": 93 }, "end": { "line": 451, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15983, "end": 15984, "loc": { "start": { "line": 451, "column": 99 }, "end": { "line": 451, "column": 100 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15984, "end": 15985, "loc": { "start": { "line": 451, "column": 100 }, "end": { "line": 451, "column": 101 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 16001, "end": 16098, "loc": { "start": { "line": 453, "column": 12 }, "end": { "line": 455, "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": 16112, "end": 16114, "loc": { "start": { "line": 456, "column": 12 }, "end": { "line": 456, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16114, "end": 16115, "loc": { "start": { "line": 456, "column": 14 }, "end": { "line": 456, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filteredButtonArray", "start": 16115, "end": 16134, "loc": { "start": { "line": 456, "column": 15 }, "end": { "line": 456, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16134, "end": 16135, "loc": { "start": { "line": 456, "column": 34 }, "end": { "line": 456, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 16135, "end": 16141, "loc": { "start": { "line": 456, "column": 35 }, "end": { "line": 456, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16141, "end": 16142, "loc": { "start": { "line": 456, "column": 41 }, "end": { "line": 456, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16142, "end": 16143, "loc": { "start": { "line": 456, "column": 42 }, "end": { "line": 456, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16159, "end": 16170, "loc": { "start": { "line": 457, "column": 14 }, "end": { "line": 457, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16170, "end": 16171, "loc": { "start": { "line": 457, "column": 25 }, "end": { "line": 457, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 16171, "end": 16178, "loc": { "start": { "line": 457, "column": 26 }, "end": { "line": 457, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16179, "end": 16180, "loc": { "start": { "line": 457, "column": 34 }, "end": { "line": 457, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filteredButtonArray", "start": 16181, "end": 16200, "loc": { "start": { "line": 457, "column": 36 }, "end": { "line": 457, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16200, "end": 16201, "loc": { "start": { "line": 457, "column": 55 }, "end": { "line": 457, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 16201, "end": 16205, "loc": { "start": { "line": 457, "column": 56 }, "end": { "line": 457, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16205, "end": 16206, "loc": { "start": { "line": 457, "column": 60 }, "end": { "line": 457, "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": 16206, "end": 16209, "loc": { "start": { "line": 457, "column": 61 }, "end": { "line": 457, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16209, "end": 16210, "loc": { "start": { "line": 457, "column": 64 }, "end": { "line": 457, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16210, "end": 16211, "loc": { "start": { "line": 457, "column": 65 }, "end": { "line": 457, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16225, "end": 16226, "loc": { "start": { "line": 458, "column": 12 }, "end": { "line": 458, "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": 16227, "end": 16231, "loc": { "start": { "line": 458, "column": 14 }, "end": { "line": 458, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16232, "end": 16233, "loc": { "start": { "line": 458, "column": 19 }, "end": { "line": 458, "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": 16249, "end": 16253, "loc": { "start": { "line": 459, "column": 14 }, "end": { "line": 459, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16253, "end": 16254, "loc": { "start": { "line": 459, "column": 18 }, "end": { "line": 459, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 16254, "end": 16261, "loc": { "start": { "line": 459, "column": 19 }, "end": { "line": 459, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16261, "end": 16262, "loc": { "start": { "line": 459, "column": 26 }, "end": { "line": 459, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16262, "end": 16273, "loc": { "start": { "line": 459, "column": 27 }, "end": { "line": 459, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16273, "end": 16274, "loc": { "start": { "line": 459, "column": 38 }, "end": { "line": 459, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "splice", "start": 16274, "end": 16280, "loc": { "start": { "line": 459, "column": 39 }, "end": { "line": 459, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16280, "end": 16281, "loc": { "start": { "line": 459, "column": 45 }, "end": { "line": 459, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 16281, "end": 16286, "loc": { "start": { "line": 459, "column": 46 }, "end": { "line": 459, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16286, "end": 16287, "loc": { "start": { "line": 459, "column": 51 }, "end": { "line": 459, "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": 16288, "end": 16289, "loc": { "start": { "line": 459, "column": 53 }, "end": { "line": 459, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16289, "end": 16290, "loc": { "start": { "line": 459, "column": 54 }, "end": { "line": 459, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16290, "end": 16291, "loc": { "start": { "line": 459, "column": 55 }, "end": { "line": 459, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16307, "end": 16318, "loc": { "start": { "line": 460, "column": 14 }, "end": { "line": 460, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16319, "end": 16320, "loc": { "start": { "line": 460, "column": 26 }, "end": { "line": 460, "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": 16321, "end": 16325, "loc": { "start": { "line": 460, "column": 28 }, "end": { "line": 460, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16325, "end": 16326, "loc": { "start": { "line": 460, "column": 32 }, "end": { "line": 460, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16340, "end": 16341, "loc": { "start": { "line": 461, "column": 12 }, "end": { "line": 461, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16356, "end": 16357, "loc": { "start": { "line": 463, "column": 10 }, "end": { "line": 463, "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": 16371, "end": 16377, "loc": { "start": { "line": 465, "column": 10 }, "end": { "line": 465, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16378, "end": 16389, "loc": { "start": { "line": 465, "column": 17 }, "end": { "line": 465, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16389, "end": 16390, "loc": { "start": { "line": 465, "column": 28 }, "end": { "line": 465, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16400, "end": 16401, "loc": { "start": { "line": 466, "column": 8 }, "end": { "line": 466, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16401, "end": 16402, "loc": { "start": { "line": 466, "column": 9 }, "end": { "line": 466, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16402, "end": 16403, "loc": { "start": { "line": 466, "column": 10 }, "end": { "line": 466, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16411, "end": 16412, "loc": { "start": { "line": 467, "column": 6 }, "end": { "line": 467, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16412, "end": 16413, "loc": { "start": { "line": 467, "column": 7 }, "end": { "line": 467, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16413, "end": 16414, "loc": { "start": { "line": 467, "column": 8 }, "end": { "line": 467, "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": 16424, "end": 16428, "loc": { "start": { "line": 469, "column": 6 }, "end": { "line": 469, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16428, "end": 16429, "loc": { "start": { "line": 469, "column": 10 }, "end": { "line": 469, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 16429, "end": 16435, "loc": { "start": { "line": 469, "column": 11 }, "end": { "line": 469, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16435, "end": 16436, "loc": { "start": { "line": 469, "column": 17 }, "end": { "line": 469, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16436, "end": 16437, "loc": { "start": { "line": 469, "column": 18 }, "end": { "line": 469, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16437, "end": 16438, "loc": { "start": { "line": 469, "column": 19 }, "end": { "line": 469, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16444, "end": 16445, "loc": { "start": { "line": 470, "column": 4 }, "end": { "line": 470, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16449, "end": 16450, "loc": { "start": { "line": 471, "column": 2 }, "end": { "line": 471, "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": 16456, "end": 16659, "loc": { "start": { "line": 473, "column": 2 }, "end": { "line": 476, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonElement", "start": 16663, "end": 16679, "loc": { "start": { "line": 477, "column": 2 }, "end": { "line": 477, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16679, "end": 16680, "loc": { "start": { "line": 477, "column": 18 }, "end": { "line": 477, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 16680, "end": 16686, "loc": { "start": { "line": 477, "column": 19 }, "end": { "line": 477, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16686, "end": 16687, "loc": { "start": { "line": 477, "column": 25 }, "end": { "line": 477, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16687, "end": 16688, "loc": { "start": { "line": 477, "column": 26 }, "end": { "line": 477, "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": 16694, "end": 16697, "loc": { "start": { "line": 478, "column": 4 }, "end": { "line": 478, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 16698, "end": 16704, "loc": { "start": { "line": 478, "column": 8 }, "end": { "line": 478, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16704, "end": 16705, "loc": { "start": { "line": 478, "column": 14 }, "end": { "line": 478, "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": 16713, "end": 16716, "loc": { "start": { "line": 480, "column": 4 }, "end": { "line": 480, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 16717, "end": 16726, "loc": { "start": { "line": 480, "column": 8 }, "end": { "line": 480, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16727, "end": 16728, "loc": { "start": { "line": 480, "column": 18 }, "end": { "line": 480, "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": 16729, "end": 16733, "loc": { "start": { "line": 480, "column": 20 }, "end": { "line": 480, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16733, "end": 16734, "loc": { "start": { "line": 480, "column": 24 }, "end": { "line": 480, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 16734, "end": 16748, "loc": { "start": { "line": 480, "column": 25 }, "end": { "line": 480, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16748, "end": 16749, "loc": { "start": { "line": 480, "column": 39 }, "end": { "line": 480, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 16749, "end": 16755, "loc": { "start": { "line": 480, "column": 40 }, "end": { "line": 480, "column": 46 } } }, { "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": 480, "column": 46 }, "end": { "line": 480, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16756, "end": 16757, "loc": { "start": { "line": 480, "column": 47 }, "end": { "line": 480, "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": 16763, "end": 16765, "loc": { "start": { "line": 481, "column": 4 }, "end": { "line": 481, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16765, "end": 16766, "loc": { "start": { "line": 481, "column": 6 }, "end": { "line": 481, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 16766, "end": 16775, "loc": { "start": { "line": 481, "column": 7 }, "end": { "line": 481, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16775, "end": 16776, "loc": { "start": { "line": 481, "column": 16 }, "end": { "line": 481, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16776, "end": 16777, "loc": { "start": { "line": 481, "column": 17 }, "end": { "line": 481, "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": 16785, "end": 16787, "loc": { "start": { "line": 482, "column": 6 }, "end": { "line": 482, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16787, "end": 16788, "loc": { "start": { "line": 482, "column": 8 }, "end": { "line": 482, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 16788, "end": 16797, "loc": { "start": { "line": 482, "column": 9 }, "end": { "line": 482, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16797, "end": 16798, "loc": { "start": { "line": 482, "column": 18 }, "end": { "line": 482, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 16798, "end": 16804, "loc": { "start": { "line": 482, "column": 19 }, "end": { "line": 482, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 16805, "end": 16806, "loc": { "start": { "line": 482, "column": 26 }, "end": { "line": 482, "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": 16807, "end": 16808, "loc": { "start": { "line": 482, "column": 28 }, "end": { "line": 482, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16808, "end": 16809, "loc": { "start": { "line": 482, "column": 29 }, "end": { "line": 482, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16809, "end": 16810, "loc": { "start": { "line": 482, "column": 30 }, "end": { "line": 482, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 16820, "end": 16826, "loc": { "start": { "line": 483, "column": 8 }, "end": { "line": 483, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16827, "end": 16828, "loc": { "start": { "line": 483, "column": 15 }, "end": { "line": 483, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 16829, "end": 16838, "loc": { "start": { "line": 483, "column": 17 }, "end": { "line": 483, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16838, "end": 16839, "loc": { "start": { "line": 483, "column": 26 }, "end": { "line": 483, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16847, "end": 16848, "loc": { "start": { "line": 484, "column": 6 }, "end": { "line": 484, "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": 16849, "end": 16853, "loc": { "start": { "line": 484, "column": 8 }, "end": { "line": 484, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16854, "end": 16855, "loc": { "start": { "line": 484, "column": 13 }, "end": { "line": 484, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 16865, "end": 16871, "loc": { "start": { "line": 485, "column": 8 }, "end": { "line": 485, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16872, "end": 16873, "loc": { "start": { "line": 485, "column": 15 }, "end": { "line": 485, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 16874, "end": 16883, "loc": { "start": { "line": 485, "column": 17 }, "end": { "line": 485, "column": 26 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16883, "end": 16884, "loc": { "start": { "line": 485, "column": 26 }, "end": { "line": 485, "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": 16884, "end": 16885, "loc": { "start": { "line": 485, "column": 27 }, "end": { "line": 485, "column": 28 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16885, "end": 16886, "loc": { "start": { "line": 485, "column": 28 }, "end": { "line": 485, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16886, "end": 16887, "loc": { "start": { "line": 485, "column": 29 }, "end": { "line": 485, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16895, "end": 16896, "loc": { "start": { "line": 486, "column": 6 }, "end": { "line": 486, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16902, "end": 16903, "loc": { "start": { "line": 487, "column": 4 }, "end": { "line": 487, "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": 16911, "end": 16917, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 489, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 16918, "end": 16924, "loc": { "start": { "line": 489, "column": 11 }, "end": { "line": 489, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16924, "end": 16925, "loc": { "start": { "line": 489, "column": 17 }, "end": { "line": 489, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16929, "end": 16930, "loc": { "start": { "line": 490, "column": 2 }, "end": { "line": 490, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 16936, "end": 17026, "loc": { "start": { "line": 492, "column": 2 }, "end": { "line": 494, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleCaret", "start": 17030, "end": 17041, "loc": { "start": { "line": 495, "column": 2 }, "end": { "line": 495, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17041, "end": 17042, "loc": { "start": { "line": 495, "column": 13 }, "end": { "line": 495, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17042, "end": 17043, "loc": { "start": { "line": 495, "column": 14 }, "end": { "line": 495, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17043, "end": 17044, "loc": { "start": { "line": 495, "column": 15 }, "end": { "line": 495, "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": 17050, "end": 17052, "loc": { "start": { "line": 496, "column": 4 }, "end": { "line": 496, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17052, "end": 17053, "loc": { "start": { "line": 496, "column": 6 }, "end": { "line": 496, "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": 17053, "end": 17057, "loc": { "start": { "line": 496, "column": 7 }, "end": { "line": 496, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17057, "end": 17058, "loc": { "start": { "line": 496, "column": 11 }, "end": { "line": 496, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 17058, "end": 17065, "loc": { "start": { "line": 496, "column": 12 }, "end": { "line": 496, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17065, "end": 17066, "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": "debug", "start": 17066, "end": 17071, "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": 17071, "end": 17072, "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": 17072, "end": 17073, "loc": { "start": { "line": 496, "column": 26 }, "end": { "line": 496, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 17081, "end": 17088, "loc": { "start": { "line": 497, "column": 6 }, "end": { "line": 497, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17088, "end": 17089, "loc": { "start": { "line": 497, "column": 13 }, "end": { "line": 497, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 17089, "end": 17092, "loc": { "start": { "line": 497, "column": 14 }, "end": { "line": 497, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17092, "end": 17093, "loc": { "start": { "line": 497, "column": 17 }, "end": { "line": 497, "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": 17093, "end": 17117, "loc": { "start": { "line": 497, "column": 18 }, "end": { "line": 497, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17117, "end": 17118, "loc": { "start": { "line": 497, "column": 42 }, "end": { "line": 497, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17118, "end": 17119, "loc": { "start": { "line": 497, "column": 43 }, "end": { "line": 497, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17125, "end": 17126, "loc": { "start": { "line": 498, "column": 4 }, "end": { "line": 498, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 17134, "end": 17142, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 500, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17142, "end": 17143, "loc": { "start": { "line": 500, "column": 12 }, "end": { "line": 500, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 17143, "end": 17159, "loc": { "start": { "line": 500, "column": 13 }, "end": { "line": 500, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17159, "end": 17160, "loc": { "start": { "line": 500, "column": 29 }, "end": { "line": 500, "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": 17160, "end": 17167, "loc": { "start": { "line": 500, "column": 30 }, "end": { "line": 500, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17167, "end": 17168, "loc": { "start": { "line": 500, "column": 37 }, "end": { "line": 500, "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": 17169, "end": 17173, "loc": { "start": { "line": 500, "column": 39 }, "end": { "line": 500, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17173, "end": 17174, "loc": { "start": { "line": 500, "column": 43 }, "end": { "line": 500, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 17174, "end": 17191, "loc": { "start": { "line": 500, "column": 44 }, "end": { "line": 500, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17191, "end": 17192, "loc": { "start": { "line": 500, "column": 61 }, "end": { "line": 500, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17192, "end": 17193, "loc": { "start": { "line": 500, "column": 62 }, "end": { "line": 500, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 17199, "end": 17207, "loc": { "start": { "line": 501, "column": 4 }, "end": { "line": 501, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17207, "end": 17208, "loc": { "start": { "line": 501, "column": 12 }, "end": { "line": 501, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 17208, "end": 17224, "loc": { "start": { "line": 501, "column": 13 }, "end": { "line": 501, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17224, "end": 17225, "loc": { "start": { "line": 501, "column": 29 }, "end": { "line": 501, "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": 17225, "end": 17234, "loc": { "start": { "line": 501, "column": 30 }, "end": { "line": 501, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17234, "end": 17235, "loc": { "start": { "line": 501, "column": 39 }, "end": { "line": 501, "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": 17236, "end": 17240, "loc": { "start": { "line": 501, "column": 41 }, "end": { "line": 501, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17240, "end": 17241, "loc": { "start": { "line": 501, "column": 45 }, "end": { "line": 501, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 17241, "end": 17258, "loc": { "start": { "line": 501, "column": 46 }, "end": { "line": 501, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17258, "end": 17259, "loc": { "start": { "line": 501, "column": 63 }, "end": { "line": 501, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17259, "end": 17260, "loc": { "start": { "line": 501, "column": 64 }, "end": { "line": 501, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 17266, "end": 17274, "loc": { "start": { "line": 502, "column": 4 }, "end": { "line": 502, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17274, "end": 17275, "loc": { "start": { "line": 502, "column": 12 }, "end": { "line": 502, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 17275, "end": 17291, "loc": { "start": { "line": 502, "column": 13 }, "end": { "line": 502, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17291, "end": 17292, "loc": { "start": { "line": 502, "column": 29 }, "end": { "line": 502, "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": 17292, "end": 17302, "loc": { "start": { "line": 502, "column": 30 }, "end": { "line": 502, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17302, "end": 17303, "loc": { "start": { "line": 502, "column": 40 }, "end": { "line": 502, "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": 17304, "end": 17308, "loc": { "start": { "line": 502, "column": 42 }, "end": { "line": 502, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17308, "end": 17309, "loc": { "start": { "line": 502, "column": 46 }, "end": { "line": 502, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 17309, "end": 17326, "loc": { "start": { "line": 502, "column": 47 }, "end": { "line": 502, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17326, "end": 17327, "loc": { "start": { "line": 502, "column": 64 }, "end": { "line": 502, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17327, "end": 17328, "loc": { "start": { "line": 502, "column": 65 }, "end": { "line": 502, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17332, "end": 17333, "loc": { "start": { "line": 503, "column": 2 }, "end": { "line": 503, "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": 17339, "end": 17451, "loc": { "start": { "line": 505, "column": 2 }, "end": { "line": 507, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 17455, "end": 17472, "loc": { "start": { "line": 508, "column": 2 }, "end": { "line": 508, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17472, "end": 17473, "loc": { "start": { "line": 508, "column": 19 }, "end": { "line": 508, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17473, "end": 17478, "loc": { "start": { "line": 508, "column": 20 }, "end": { "line": 508, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17478, "end": 17479, "loc": { "start": { "line": 508, "column": 25 }, "end": { "line": 508, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17479, "end": 17480, "loc": { "start": { "line": 508, "column": 26 }, "end": { "line": 508, "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": 17486, "end": 17489, "loc": { "start": { "line": 509, "column": 4 }, "end": { "line": 509, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 17490, "end": 17503, "loc": { "start": { "line": 509, "column": 8 }, "end": { "line": 509, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17504, "end": 17505, "loc": { "start": { "line": 509, "column": 22 }, "end": { "line": 509, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17506, "end": 17511, "loc": { "start": { "line": 509, "column": 24 }, "end": { "line": 509, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17511, "end": 17512, "loc": { "start": { "line": 509, "column": 29 }, "end": { "line": 509, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 17512, "end": 17518, "loc": { "start": { "line": 509, "column": 30 }, "end": { "line": 509, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17518, "end": 17519, "loc": { "start": { "line": 509, "column": 36 }, "end": { "line": 509, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tagName", "start": 17519, "end": 17526, "loc": { "start": { "line": 509, "column": 37 }, "end": { "line": 509, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17526, "end": 17527, "loc": { "start": { "line": 509, "column": 44 }, "end": { "line": 509, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toLowerCase", "start": 17527, "end": 17538, "loc": { "start": { "line": 509, "column": 45 }, "end": { "line": 509, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17538, "end": 17539, "loc": { "start": { "line": 509, "column": 56 }, "end": { "line": 509, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17539, "end": 17540, "loc": { "start": { "line": 509, "column": 57 }, "end": { "line": 509, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17540, "end": 17541, "loc": { "start": { "line": 509, "column": 58 }, "end": { "line": 509, "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": 17549, "end": 17551, "loc": { "start": { "line": 511, "column": 4 }, "end": { "line": 511, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17551, "end": 17552, "loc": { "start": { "line": 511, "column": 6 }, "end": { "line": 511, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 17560, "end": 17573, "loc": { "start": { "line": 512, "column": 6 }, "end": { "line": 512, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 17574, "end": 17577, "loc": { "start": { "line": 512, "column": 20 }, "end": { "line": 512, "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": 17578, "end": 17588, "loc": { "start": { "line": 512, "column": 24 }, "end": { "line": 512, "column": 34 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 17589, "end": 17591, "loc": { "start": { "line": 512, "column": 35 }, "end": { "line": 512, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 17599, "end": 17612, "loc": { "start": { "line": 513, "column": 6 }, "end": { "line": 513, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 17613, "end": 17616, "loc": { "start": { "line": 513, "column": 20 }, "end": { "line": 513, "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": 17617, "end": 17624, "loc": { "start": { "line": 513, "column": 24 }, "end": { "line": 513, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17630, "end": 17631, "loc": { "start": { "line": 514, "column": 4 }, "end": { "line": 514, "column": 5 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17631, "end": 17632, "loc": { "start": { "line": 514, "column": 5 }, "end": { "line": 514, "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": 17640, "end": 17788, "loc": { "start": { "line": 515, "column": 6 }, "end": { "line": 518, "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": 17796, "end": 17800, "loc": { "start": { "line": 519, "column": 6 }, "end": { "line": 519, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17800, "end": 17801, "loc": { "start": { "line": 519, "column": 10 }, "end": { "line": 519, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPosition", "start": 17801, "end": 17814, "loc": { "start": { "line": 519, "column": 11 }, "end": { "line": 519, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17815, "end": 17816, "loc": { "start": { "line": 519, "column": 25 }, "end": { "line": 519, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17817, "end": 17822, "loc": { "start": { "line": 519, "column": 27 }, "end": { "line": 519, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17822, "end": 17823, "loc": { "start": { "line": 519, "column": 32 }, "end": { "line": 519, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 17823, "end": 17829, "loc": { "start": { "line": 519, "column": 33 }, "end": { "line": 519, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17829, "end": 17830, "loc": { "start": { "line": 519, "column": 39 }, "end": { "line": 519, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "selectionStart", "start": 17830, "end": 17844, "loc": { "start": { "line": 519, "column": 40 }, "end": { "line": 519, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17844, "end": 17845, "loc": { "start": { "line": 519, "column": 54 }, "end": { "line": 519, "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": 17855, "end": 17857, "loc": { "start": { "line": 521, "column": 6 }, "end": { "line": 521, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17857, "end": 17858, "loc": { "start": { "line": 521, "column": 8 }, "end": { "line": 521, "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": 17858, "end": 17862, "loc": { "start": { "line": 521, "column": 9 }, "end": { "line": 521, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17862, "end": 17863, "loc": { "start": { "line": 521, "column": 13 }, "end": { "line": 521, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 17863, "end": 17870, "loc": { "start": { "line": 521, "column": 14 }, "end": { "line": 521, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17870, "end": 17871, "loc": { "start": { "line": 521, "column": 21 }, "end": { "line": 521, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 17871, "end": 17876, "loc": { "start": { "line": 521, "column": 22 }, "end": { "line": 521, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17876, "end": 17877, "loc": { "start": { "line": 521, "column": 27 }, "end": { "line": 521, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17877, "end": 17878, "loc": { "start": { "line": 521, "column": 28 }, "end": { "line": 521, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 17888, "end": 17895, "loc": { "start": { "line": 522, "column": 8 }, "end": { "line": 522, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17895, "end": 17896, "loc": { "start": { "line": 522, "column": 15 }, "end": { "line": 522, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 17896, "end": 17899, "loc": { "start": { "line": 522, "column": 16 }, "end": { "line": 522, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17899, "end": 17900, "loc": { "start": { "line": 522, "column": 19 }, "end": { "line": 522, "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": 17900, "end": 17912, "loc": { "start": { "line": 522, "column": 20 }, "end": { "line": 522, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17912, "end": 17913, "loc": { "start": { "line": 522, "column": 32 }, "end": { "line": 522, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17914, "end": 17919, "loc": { "start": { "line": 522, "column": 34 }, "end": { "line": 522, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17919, "end": 17920, "loc": { "start": { "line": 522, "column": 39 }, "end": { "line": 522, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 17920, "end": 17926, "loc": { "start": { "line": 522, "column": 40 }, "end": { "line": 522, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17926, "end": 17927, "loc": { "start": { "line": 522, "column": 46 }, "end": { "line": 522, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "selectionStart", "start": 17927, "end": 17941, "loc": { "start": { "line": 522, "column": 47 }, "end": { "line": 522, "column": 61 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17941, "end": 17942, "loc": { "start": { "line": 522, "column": 61 }, "end": { "line": 522, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17943, "end": 17948, "loc": { "start": { "line": 522, "column": 63 }, "end": { "line": 522, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17948, "end": 17949, "loc": { "start": { "line": 522, "column": 68 }, "end": { "line": 522, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 17949, "end": 17955, "loc": { "start": { "line": 522, "column": 69 }, "end": { "line": 522, "column": 75 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17955, "end": 17956, "loc": { "start": { "line": 522, "column": 75 }, "end": { "line": 522, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tagName", "start": 17956, "end": 17963, "loc": { "start": { "line": 522, "column": 76 }, "end": { "line": 522, "column": 83 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17963, "end": 17964, "loc": { "start": { "line": 522, "column": 83 }, "end": { "line": 522, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toLowerCase", "start": 17964, "end": 17975, "loc": { "start": { "line": 522, "column": 84 }, "end": { "line": 522, "column": 95 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17975, "end": 17976, "loc": { "start": { "line": 522, "column": 95 }, "end": { "line": 522, "column": 96 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17976, "end": 17977, "loc": { "start": { "line": 522, "column": 96 }, "end": { "line": 522, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17977, "end": 17978, "loc": { "start": { "line": 522, "column": 97 }, "end": { "line": 522, "column": 98 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17978, "end": 17979, "loc": { "start": { "line": 522, "column": 98 }, "end": { "line": 522, "column": 99 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17987, "end": 17988, "loc": { "start": { "line": 523, "column": 6 }, "end": { "line": 523, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17999, "end": 18000, "loc": { "start": { "line": 524, "column": 4 }, "end": { "line": 524, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18004, "end": 18005, "loc": { "start": { "line": 525, "column": 2 }, "end": { "line": 525, "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": 18011, "end": 18131, "loc": { "start": { "line": 527, "column": 2 }, "end": { "line": 529, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 18135, "end": 18141, "loc": { "start": { "line": 530, "column": 2 }, "end": { "line": 530, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18141, "end": 18142, "loc": { "start": { "line": 530, "column": 8 }, "end": { "line": 530, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18142, "end": 18143, "loc": { "start": { "line": 530, "column": 9 }, "end": { "line": 530, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18143, "end": 18144, "loc": { "start": { "line": 530, "column": 10 }, "end": { "line": 530, "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": 18150, "end": 18152, "loc": { "start": { "line": 531, "column": 4 }, "end": { "line": 531, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18152, "end": 18153, "loc": { "start": { "line": 531, "column": 6 }, "end": { "line": 531, "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": 18153, "end": 18157, "loc": { "start": { "line": 531, "column": 7 }, "end": { "line": 531, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18157, "end": 18158, "loc": { "start": { "line": 531, "column": 11 }, "end": { "line": 531, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18158, "end": 18165, "loc": { "start": { "line": 531, "column": 12 }, "end": { "line": 531, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18165, "end": 18166, "loc": { "start": { "line": 531, "column": 19 }, "end": { "line": 531, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 18166, "end": 18171, "loc": { "start": { "line": 531, "column": 20 }, "end": { "line": 531, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18171, "end": 18172, "loc": { "start": { "line": 531, "column": 25 }, "end": { "line": 531, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18172, "end": 18173, "loc": { "start": { "line": 531, "column": 26 }, "end": { "line": 531, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 18181, "end": 18188, "loc": { "start": { "line": 532, "column": 6 }, "end": { "line": 532, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18188, "end": 18189, "loc": { "start": { "line": 532, "column": 13 }, "end": { "line": 532, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 18189, "end": 18192, "loc": { "start": { "line": 532, "column": 14 }, "end": { "line": 532, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18192, "end": 18193, "loc": { "start": { "line": 532, "column": 17 }, "end": { "line": 532, "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": 18193, "end": 18206, "loc": { "start": { "line": 532, "column": 18 }, "end": { "line": 532, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18206, "end": 18207, "loc": { "start": { "line": 532, "column": 31 }, "end": { "line": 532, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18207, "end": 18208, "loc": { "start": { "line": 532, "column": 32 }, "end": { "line": 532, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18214, "end": 18215, "loc": { "start": { "line": 533, "column": 4 }, "end": { "line": 533, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 18223, "end": 18258, "loc": { "start": { "line": 535, "column": 4 }, "end": { "line": 537, "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": 18264, "end": 18268, "loc": { "start": { "line": 538, "column": 4 }, "end": { "line": 538, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18268, "end": 18269, "loc": { "start": { "line": 538, "column": 8 }, "end": { "line": 538, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleCaret", "start": 18269, "end": 18280, "loc": { "start": { "line": 538, "column": 9 }, "end": { "line": 538, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18280, "end": 18281, "loc": { "start": { "line": 538, "column": 20 }, "end": { "line": 538, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18281, "end": 18282, "loc": { "start": { "line": 538, "column": 21 }, "end": { "line": 538, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18282, "end": 18283, "loc": { "start": { "line": 538, "column": 22 }, "end": { "line": 538, "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": 18291, "end": 18293, "loc": { "start": { "line": 540, "column": 4 }, "end": { "line": 540, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18293, "end": 18294, "loc": { "start": { "line": 540, "column": 6 }, "end": { "line": 540, "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": 18294, "end": 18300, "loc": { "start": { "line": 540, "column": 7 }, "end": { "line": 540, "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": 18301, "end": 18305, "loc": { "start": { "line": 540, "column": 14 }, "end": { "line": 540, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18305, "end": 18306, "loc": { "start": { "line": 540, "column": 18 }, "end": { "line": 540, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18306, "end": 18313, "loc": { "start": { "line": 540, "column": 19 }, "end": { "line": 540, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18313, "end": 18314, "loc": { "start": { "line": 540, "column": 26 }, "end": { "line": 540, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 18314, "end": 18320, "loc": { "start": { "line": 540, "column": 27 }, "end": { "line": 540, "column": 33 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 18321, "end": 18324, "loc": { "start": { "line": 540, "column": 34 }, "end": { "line": 540, "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": 18325, "end": 18335, "loc": { "start": { "line": 540, "column": 38 }, "end": { "line": 540, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18335, "end": 18336, "loc": { "start": { "line": 540, "column": 48 }, "end": { "line": 540, "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": 18344, "end": 18348, "loc": { "start": { "line": 541, "column": 6 }, "end": { "line": 541, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18348, "end": 18349, "loc": { "start": { "line": 541, "column": 10 }, "end": { "line": 541, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18349, "end": 18356, "loc": { "start": { "line": 541, "column": 11 }, "end": { "line": 541, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18356, "end": 18357, "loc": { "start": { "line": 541, "column": 18 }, "end": { "line": 541, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 18357, "end": 18363, "loc": { "start": { "line": 541, "column": 19 }, "end": { "line": 541, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18363, "end": 18364, "loc": { "start": { "line": 541, "column": 25 }, "end": { "line": 541, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18364, "end": 18365, "loc": { "start": { "line": 541, "column": 26 }, "end": { "line": 541, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18365, "end": 18366, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18370, "end": 18371, "loc": { "start": { "line": 542, "column": 2 }, "end": { "line": 542, "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": 18377, "end": 18495, "loc": { "start": { "line": 544, "column": 2 }, "end": { "line": 546, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 18499, "end": 18507, "loc": { "start": { "line": 547, "column": 2 }, "end": { "line": 547, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18507, "end": 18508, "loc": { "start": { "line": 547, "column": 10 }, "end": { "line": 547, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18508, "end": 18509, "loc": { "start": { "line": 547, "column": 11 }, "end": { "line": 547, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18509, "end": 18510, "loc": { "start": { "line": 547, "column": 12 }, "end": { "line": 547, "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": 18516, "end": 18518, "loc": { "start": { "line": 548, "column": 4 }, "end": { "line": 548, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18518, "end": 18519, "loc": { "start": { "line": 548, "column": 6 }, "end": { "line": 548, "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": 18519, "end": 18525, "loc": { "start": { "line": 548, "column": 7 }, "end": { "line": 548, "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": 18526, "end": 18530, "loc": { "start": { "line": 548, "column": 14 }, "end": { "line": 548, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18530, "end": 18531, "loc": { "start": { "line": 548, "column": 18 }, "end": { "line": 548, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18531, "end": 18538, "loc": { "start": { "line": 548, "column": 19 }, "end": { "line": 548, "column": 26 } } }, { "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": 548, "column": 26 }, "end": { "line": 548, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 18539, "end": 18547, "loc": { "start": { "line": 548, "column": 27 }, "end": { "line": 548, "column": 35 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 18548, "end": 18551, "loc": { "start": { "line": 548, "column": 36 }, "end": { "line": 548, "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": 18552, "end": 18562, "loc": { "start": { "line": 548, "column": 40 }, "end": { "line": 548, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18562, "end": 18563, "loc": { "start": { "line": 548, "column": 50 }, "end": { "line": 548, "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": 18571, "end": 18575, "loc": { "start": { "line": 549, "column": 6 }, "end": { "line": 549, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18575, "end": 18576, "loc": { "start": { "line": 549, "column": 10 }, "end": { "line": 549, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18576, "end": 18583, "loc": { "start": { "line": 549, "column": 11 }, "end": { "line": 549, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18583, "end": 18584, "loc": { "start": { "line": 549, "column": 18 }, "end": { "line": 549, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 18584, "end": 18592, "loc": { "start": { "line": 549, "column": 19 }, "end": { "line": 549, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18592, "end": 18593, "loc": { "start": { "line": 549, "column": 27 }, "end": { "line": 549, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18593, "end": 18594, "loc": { "start": { "line": 549, "column": 28 }, "end": { "line": 549, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18594, "end": 18595, "loc": { "start": { "line": 549, "column": 29 }, "end": { "line": 549, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18599, "end": 18600, "loc": { "start": { "line": 550, "column": 2 }, "end": { "line": 550, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", "start": 18605, "end": 18684, "loc": { "start": { "line": 552, "column": 1 }, "end": { "line": 554, "column": 4 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onModulesLoaded", "start": 18688, "end": 18703, "loc": { "start": { "line": 555, "column": 2 }, "end": { "line": 555, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18703, "end": 18704, "loc": { "start": { "line": 555, "column": 17 }, "end": { "line": 555, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18704, "end": 18705, "loc": { "start": { "line": 555, "column": 18 }, "end": { "line": 555, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18705, "end": 18706, "loc": { "start": { "line": 555, "column": 19 }, "end": { "line": 555, "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": 18712, "end": 18714, "loc": { "start": { "line": 556, "column": 4 }, "end": { "line": 556, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18714, "end": 18715, "loc": { "start": { "line": 556, "column": 6 }, "end": { "line": 556, "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": 18715, "end": 18721, "loc": { "start": { "line": 556, "column": 7 }, "end": { "line": 556, "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": 18722, "end": 18726, "loc": { "start": { "line": 556, "column": 14 }, "end": { "line": 556, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18726, "end": 18727, "loc": { "start": { "line": 556, "column": 18 }, "end": { "line": 556, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18727, "end": 18734, "loc": { "start": { "line": 556, "column": 19 }, "end": { "line": 556, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18734, "end": 18735, "loc": { "start": { "line": 556, "column": 26 }, "end": { "line": 556, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onModulesLoaded", "start": 18735, "end": 18750, "loc": { "start": { "line": 556, "column": 27 }, "end": { "line": 556, "column": 42 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 18751, "end": 18754, "loc": { "start": { "line": 556, "column": 43 }, "end": { "line": 556, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "function", "start": 18755, "end": 18765, "loc": { "start": { "line": 556, "column": 47 }, "end": { "line": 556, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18765, "end": 18766, "loc": { "start": { "line": 556, "column": 57 }, "end": { "line": 556, "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": 18774, "end": 18778, "loc": { "start": { "line": 557, "column": 6 }, "end": { "line": 557, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18778, "end": 18779, "loc": { "start": { "line": 557, "column": 10 }, "end": { "line": 557, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18779, "end": 18786, "loc": { "start": { "line": 557, "column": 11 }, "end": { "line": 557, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18786, "end": 18787, "loc": { "start": { "line": 557, "column": 18 }, "end": { "line": 557, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onModulesLoaded", "start": 18787, "end": 18802, "loc": { "start": { "line": 557, "column": 19 }, "end": { "line": 557, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18802, "end": 18803, "loc": { "start": { "line": 557, "column": 34 }, "end": { "line": 557, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18803, "end": 18804, "loc": { "start": { "line": 557, "column": 35 }, "end": { "line": 557, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18804, "end": 18805, "loc": { "start": { "line": 557, "column": 36 }, "end": { "line": 557, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18809, "end": 18810, "loc": { "start": { "line": 558, "column": 2 }, "end": { "line": 558, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 18816, "end": 18848, "loc": { "start": { "line": 560, "column": 2 }, "end": { "line": 562, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerModule", "start": 18852, "end": 18866, "loc": { "start": { "line": 563, "column": 2 }, "end": { "line": 563, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18867, "end": 18868, "loc": { "start": { "line": 563, "column": 17 }, "end": { "line": 563, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18869, "end": 18870, "loc": { "start": { "line": 563, "column": 19 }, "end": { "line": 563, "column": 20 } } }, { "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": 563, "column": 20 }, "end": { "line": 563, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18874, "end": 18875, "loc": { "start": { "line": 563, "column": 24 }, "end": { "line": 563, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initCallback", "start": 18876, "end": 18888, "loc": { "start": { "line": 563, "column": 26 }, "end": { "line": 563, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18888, "end": 18889, "loc": { "start": { "line": 563, "column": 38 }, "end": { "line": 563, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18890, "end": 18892, "loc": { "start": { "line": 563, "column": 40 }, "end": { "line": 563, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18893, "end": 18894, "loc": { "start": { "line": 563, "column": 43 }, "end": { "line": 563, "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": 18900, "end": 18902, "loc": { "start": { "line": 564, "column": 4 }, "end": { "line": 564, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18902, "end": 18903, "loc": { "start": { "line": 564, "column": 6 }, "end": { "line": 564, "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": 18903, "end": 18904, "loc": { "start": { "line": 564, "column": 7 }, "end": { "line": 564, "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": 18904, "end": 18908, "loc": { "start": { "line": 564, "column": 8 }, "end": { "line": 564, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18908, "end": 18909, "loc": { "start": { "line": 564, "column": 12 }, "end": { "line": 564, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 18909, "end": 18916, "loc": { "start": { "line": 564, "column": 13 }, "end": { "line": 564, "column": 20 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18916, "end": 18917, "loc": { "start": { "line": 564, "column": 20 }, "end": { "line": 564, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 18917, "end": 18921, "loc": { "start": { "line": 564, "column": 21 }, "end": { "line": 564, "column": 25 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18921, "end": 18922, "loc": { "start": { "line": 564, "column": 25 }, "end": { "line": 564, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18922, "end": 18923, "loc": { "start": { "line": 564, "column": 26 }, "end": { "line": 564, "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": 18931, "end": 18935, "loc": { "start": { "line": 565, "column": 6 }, "end": { "line": 565, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18935, "end": 18936, "loc": { "start": { "line": 565, "column": 10 }, "end": { "line": 565, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 18936, "end": 18943, "loc": { "start": { "line": 565, "column": 11 }, "end": { "line": 565, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18943, "end": 18944, "loc": { "start": { "line": 565, "column": 18 }, "end": { "line": 565, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 18944, "end": 18948, "loc": { "start": { "line": 565, "column": 19 }, "end": { "line": 565, "column": 23 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18948, "end": 18949, "loc": { "start": { "line": 565, "column": 23 }, "end": { "line": 565, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18950, "end": 18951, "loc": { "start": { "line": 565, "column": 25 }, "end": { "line": 565, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18952, "end": 18953, "loc": { "start": { "line": 565, "column": 27 }, "end": { "line": 565, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18953, "end": 18954, "loc": { "start": { "line": 565, "column": 28 }, "end": { "line": 565, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18954, "end": 18955, "loc": { "start": { "line": 565, "column": 29 }, "end": { "line": 565, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initCallback", "start": 18963, "end": 18975, "loc": { "start": { "line": 567, "column": 4 }, "end": { "line": 567, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18975, "end": 18976, "loc": { "start": { "line": 567, "column": 16 }, "end": { "line": 567, "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": 18976, "end": 18980, "loc": { "start": { "line": 567, "column": 17 }, "end": { "line": 567, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18980, "end": 18981, "loc": { "start": { "line": 567, "column": 21 }, "end": { "line": 567, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 18981, "end": 18988, "loc": { "start": { "line": 567, "column": 22 }, "end": { "line": 567, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18988, "end": 18989, "loc": { "start": { "line": 567, "column": 29 }, "end": { "line": 567, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 18989, "end": 18993, "loc": { "start": { "line": 567, "column": 30 }, "end": { "line": 567, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18993, "end": 18994, "loc": { "start": { "line": 567, "column": 34 }, "end": { "line": 567, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18994, "end": 18995, "loc": { "start": { "line": 567, "column": 35 }, "end": { "line": 567, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18995, "end": 18996, "loc": { "start": { "line": 567, "column": 36 }, "end": { "line": 567, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19000, "end": 19001, "loc": { "start": { "line": 568, "column": 2 }, "end": { "line": 568, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 19007, "end": 19036, "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": "loadModules", "start": 19040, "end": 19051, "loc": { "start": { "line": 573, "column": 2 }, "end": { "line": 573, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19051, "end": 19052, "loc": { "start": { "line": 573, "column": 13 }, "end": { "line": 573, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19052, "end": 19053, "loc": { "start": { "line": 573, "column": 14 }, "end": { "line": 573, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19053, "end": 19054, "loc": { "start": { "line": 573, "column": 15 }, "end": { "line": 573, "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": 19060, "end": 19062, "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": 19062, "end": 19063, "loc": { "start": { "line": 574, "column": 6 }, "end": { "line": 574, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 19063, "end": 19068, "loc": { "start": { "line": 574, "column": 7 }, "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": 19068, "end": 19069, "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": "isArray", "start": 19069, "end": 19076, "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 }, "start": 19076, "end": 19077, "loc": { "start": { "line": 574, "column": 20 }, "end": { "line": 574, "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": 19077, "end": 19081, "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": 19081, "end": 19082, "loc": { "start": { "line": 574, "column": 25 }, "end": { "line": 574, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19082, "end": 19089, "loc": { "start": { "line": 574, "column": 26 }, "end": { "line": 574, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19089, "end": 19090, "loc": { "start": { "line": 574, "column": 33 }, "end": { "line": 574, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 19090, "end": 19097, "loc": { "start": { "line": 574, "column": 34 }, "end": { "line": 574, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19097, "end": 19098, "loc": { "start": { "line": 574, "column": 41 }, "end": { "line": 574, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19098, "end": 19099, "loc": { "start": { "line": 574, "column": 42 }, "end": { "line": 574, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19099, "end": 19100, "loc": { "start": { "line": 574, "column": 43 }, "end": { "line": 574, "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": 19108, "end": 19112, "loc": { "start": { "line": 575, "column": 6 }, "end": { "line": 575, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19112, "end": 19113, "loc": { "start": { "line": 575, "column": 10 }, "end": { "line": 575, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19113, "end": 19120, "loc": { "start": { "line": 575, "column": 11 }, "end": { "line": 575, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19120, "end": 19121, "loc": { "start": { "line": 575, "column": 18 }, "end": { "line": 575, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 19121, "end": 19128, "loc": { "start": { "line": 575, "column": 19 }, "end": { "line": 575, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19128, "end": 19129, "loc": { "start": { "line": 575, "column": 26 }, "end": { "line": 575, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 19129, "end": 19136, "loc": { "start": { "line": 575, "column": 27 }, "end": { "line": 575, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19136, "end": 19137, "loc": { "start": { "line": 575, "column": 34 }, "end": { "line": 575, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Module", "start": 19137, "end": 19143, "loc": { "start": { "line": 575, "column": 35 }, "end": { "line": 575, "column": 41 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19144, "end": 19146, "loc": { "start": { "line": 575, "column": 42 }, "end": { "line": 575, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19147, "end": 19148, "loc": { "start": { "line": 575, "column": 45 }, "end": { "line": 575, "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": 19158, "end": 19161, "loc": { "start": { "line": 576, "column": 8 }, "end": { "line": 576, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 19162, "end": 19168, "loc": { "start": { "line": 576, "column": 12 }, "end": { "line": 576, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19169, "end": 19170, "loc": { "start": { "line": 576, "column": 19 }, "end": { "line": 576, "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": 19171, "end": 19174, "loc": { "start": { "line": 576, "column": 21 }, "end": { "line": 576, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Module", "start": 19175, "end": 19181, "loc": { "start": { "line": 576, "column": 25 }, "end": { "line": 576, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19181, "end": 19182, "loc": { "start": { "line": 576, "column": 31 }, "end": { "line": 576, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19182, "end": 19183, "loc": { "start": { "line": 576, "column": 32 }, "end": { "line": 576, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19183, "end": 19184, "loc": { "start": { "line": 576, "column": 33 }, "end": { "line": 576, "column": 34 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 19196, "end": 19222, "loc": { "start": { "line": 578, "column": 8 }, "end": { "line": 578, "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": 19232, "end": 19234, "loc": { "start": { "line": 579, "column": 8 }, "end": { "line": 579, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19234, "end": 19235, "loc": { "start": { "line": 579, "column": 10 }, "end": { "line": 579, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 19235, "end": 19241, "loc": { "start": { "line": 579, "column": 11 }, "end": { "line": 579, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19241, "end": 19242, "loc": { "start": { "line": 579, "column": 17 }, "end": { "line": 579, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 19242, "end": 19253, "loc": { "start": { "line": 579, "column": 18 }, "end": { "line": 579, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19253, "end": 19254, "loc": { "start": { "line": 579, "column": 29 }, "end": { "line": 579, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 19254, "end": 19258, "loc": { "start": { "line": 579, "column": 30 }, "end": { "line": 579, "column": 34 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 19259, "end": 19261, "loc": { "start": { "line": 579, "column": 35 }, "end": { "line": 579, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 19262, "end": 19268, "loc": { "start": { "line": 579, "column": 38 }, "end": { "line": 579, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19268, "end": 19269, "loc": { "start": { "line": 579, "column": 44 }, "end": { "line": 579, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 19269, "end": 19280, "loc": { "start": { "line": 579, "column": 45 }, "end": { "line": 579, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19280, "end": 19281, "loc": { "start": { "line": 579, "column": 56 }, "end": { "line": 579, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 19281, "end": 19285, "loc": { "start": { "line": 579, "column": 57 }, "end": { "line": 579, "column": 61 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 19286, "end": 19289, "loc": { "start": { "line": 579, "column": 62 }, "end": { "line": 579, "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": 19290, "end": 19300, "loc": { "start": { "line": 579, "column": 66 }, "end": { "line": 579, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19300, "end": 19301, "loc": { "start": { "line": 579, "column": 76 }, "end": { "line": 579, "column": 77 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19301, "end": 19302, "loc": { "start": { "line": 579, "column": 77 }, "end": { "line": 579, "column": 78 } } }, { "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": 19314, "end": 19317, "loc": { "start": { "line": 580, "column": 10 }, "end": { "line": 580, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classStr", "start": 19318, "end": 19326, "loc": { "start": { "line": 580, "column": 14 }, "end": { "line": 580, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19327, "end": 19328, "loc": { "start": { "line": 580, "column": 23 }, "end": { "line": 580, "column": 24 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19329, "end": 19330, "loc": { "start": { "line": 580, "column": 25 }, "end": { "line": 580, "column": 26 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "module-", "start": 19330, "end": 19337, "loc": { "start": { "line": 580, "column": 26 }, "end": { "line": 580, "column": 33 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19337, "end": 19339, "loc": { "start": { "line": 580, "column": 33 }, "end": { "line": 580, "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": 19339, "end": 19343, "loc": { "start": { "line": 580, "column": 35 }, "end": { "line": 580, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19343, "end": 19344, "loc": { "start": { "line": 580, "column": 39 }, "end": { "line": 580, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 19344, "end": 19353, "loc": { "start": { "line": 580, "column": 40 }, "end": { "line": 580, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19353, "end": 19354, "loc": { "start": { "line": 580, "column": 49 }, "end": { "line": 580, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camelCase", "start": 19354, "end": 19363, "loc": { "start": { "line": 580, "column": 50 }, "end": { "line": 580, "column": 59 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19363, "end": 19364, "loc": { "start": { "line": 580, "column": 59 }, "end": { "line": 580, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 19364, "end": 19370, "loc": { "start": { "line": 580, "column": 60 }, "end": { "line": 580, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19370, "end": 19371, "loc": { "start": { "line": 580, "column": 66 }, "end": { "line": 580, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 19371, "end": 19382, "loc": { "start": { "line": 580, "column": 67 }, "end": { "line": 580, "column": 78 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19382, "end": 19383, "loc": { "start": { "line": 580, "column": 78 }, "end": { "line": 580, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 19383, "end": 19387, "loc": { "start": { "line": 580, "column": 79 }, "end": { "line": 580, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19387, "end": 19388, "loc": { "start": { "line": 580, "column": 83 }, "end": { "line": 580, "column": 84 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19388, "end": 19389, "loc": { "start": { "line": 580, "column": 84 }, "end": { "line": 580, "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": 19389, "end": 19389, "loc": { "start": { "line": 580, "column": 85 }, "end": { "line": 580, "column": 85 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19389, "end": 19390, "loc": { "start": { "line": 580, "column": 85 }, "end": { "line": 580, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19390, "end": 19391, "loc": { "start": { "line": 580, "column": 86 }, "end": { "line": 580, "column": 87 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 19403, "end": 19407, "loc": { "start": { "line": 581, "column": 10 }, "end": { "line": 581, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19407, "end": 19408, "loc": { "start": { "line": 581, "column": 14 }, "end": { "line": 581, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardPluginClasses", "start": 19408, "end": 19429, "loc": { "start": { "line": 581, "column": 15 }, "end": { "line": 581, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19430, "end": 19431, "loc": { "start": { "line": 581, "column": 37 }, "end": { "line": 581, "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": 19432, "end": 19436, "loc": { "start": { "line": 581, "column": 39 }, "end": { "line": 581, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19436, "end": 19437, "loc": { "start": { "line": 581, "column": 43 }, "end": { "line": 581, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardPluginClasses", "start": 19437, "end": 19458, "loc": { "start": { "line": 581, "column": 44 }, "end": { "line": 581, "column": 65 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 19459, "end": 19460, "loc": { "start": { "line": 581, "column": 66 }, "end": { "line": 581, "column": 67 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19461, "end": 19462, "loc": { "start": { "line": 581, "column": 68 }, "end": { "line": 581, "column": 69 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 19462, "end": 19463, "loc": { "start": { "line": 581, "column": 69 }, "end": { "line": 581, "column": 70 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19463, "end": 19465, "loc": { "start": { "line": 581, "column": 70 }, "end": { "line": 581, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classStr", "start": 19465, "end": 19473, "loc": { "start": { "line": 581, "column": 72 }, "end": { "line": 581, "column": 80 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19473, "end": 19474, "loc": { "start": { "line": 581, "column": 80 }, "end": { "line": 581, "column": 81 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 19474, "end": 19474, "loc": { "start": { "line": 581, "column": 81 }, "end": { "line": 581, "column": 81 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19474, "end": 19475, "loc": { "start": { "line": 581, "column": 81 }, "end": { "line": 581, "column": 82 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19475, "end": 19476, "loc": { "start": { "line": 581, "column": 82 }, "end": { "line": 581, "column": 83 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19486, "end": 19487, "loc": { "start": { "line": 582, "column": 8 }, "end": { "line": 582, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 19499, "end": 19505, "loc": { "start": { "line": 584, "column": 8 }, "end": { "line": 584, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19505, "end": 19506, "loc": { "start": { "line": 584, "column": 14 }, "end": { "line": 584, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "init", "start": 19506, "end": 19510, "loc": { "start": { "line": 584, "column": 15 }, "end": { "line": 584, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19510, "end": 19511, "loc": { "start": { "line": 584, "column": 19 }, "end": { "line": 584, "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": 19511, "end": 19515, "loc": { "start": { "line": 584, "column": 20 }, "end": { "line": 584, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19515, "end": 19516, "loc": { "start": { "line": 584, "column": 24 }, "end": { "line": 584, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19516, "end": 19517, "loc": { "start": { "line": 584, "column": 25 }, "end": { "line": 584, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19525, "end": 19526, "loc": { "start": { "line": 585, "column": 6 }, "end": { "line": 585, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19526, "end": 19527, "loc": { "start": { "line": 585, "column": 7 }, "end": { "line": 585, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19527, "end": 19528, "loc": { "start": { "line": 585, "column": 8 }, "end": { "line": 585, "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": 19538, "end": 19542, "loc": { "start": { "line": 587, "column": 6 }, "end": { "line": 587, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19542, "end": 19543, "loc": { "start": { "line": 587, "column": 10 }, "end": { "line": 587, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardPluginClasses", "start": 19543, "end": 19564, "loc": { "start": { "line": 587, "column": 11 }, "end": { "line": 587, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19565, "end": 19566, "loc": { "start": { "line": 587, "column": 33 }, "end": { "line": 587, "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": 19567, "end": 19571, "loc": { "start": { "line": 587, "column": 35 }, "end": { "line": 587, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19571, "end": 19572, "loc": { "start": { "line": 587, "column": 39 }, "end": { "line": 587, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardPluginClasses", "start": 19572, "end": 19593, "loc": { "start": { "line": 587, "column": 40 }, "end": { "line": 587, "column": 61 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 19594, "end": 19595, "loc": { "start": { "line": 587, "column": 62 }, "end": { "line": 587, "column": 63 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " modules-loaded", "start": 19596, "end": 19613, "loc": { "start": { "line": 587, "column": 64 }, "end": { "line": 587, "column": 81 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19613, "end": 19614, "loc": { "start": { "line": 587, "column": 81 }, "end": { "line": 587, "column": 82 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 19624, "end": 19628, "loc": { "start": { "line": 589, "column": 6 }, "end": { "line": 589, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19628, "end": 19629, "loc": { "start": { "line": 589, "column": 10 }, "end": { "line": 589, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 19629, "end": 19635, "loc": { "start": { "line": 589, "column": 11 }, "end": { "line": 589, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19635, "end": 19636, "loc": { "start": { "line": 589, "column": 17 }, "end": { "line": 589, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19636, "end": 19637, "loc": { "start": { "line": 589, "column": 18 }, "end": { "line": 589, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19637, "end": 19638, "loc": { "start": { "line": 589, "column": 19 }, "end": { "line": 589, "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": 19646, "end": 19650, "loc": { "start": { "line": 590, "column": 6 }, "end": { "line": 590, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19650, "end": 19651, "loc": { "start": { "line": 590, "column": 10 }, "end": { "line": 590, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onModulesLoaded", "start": 19651, "end": 19666, "loc": { "start": { "line": 590, "column": 11 }, "end": { "line": 590, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19666, "end": 19667, "loc": { "start": { "line": 590, "column": 26 }, "end": { "line": 590, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19667, "end": 19668, "loc": { "start": { "line": 590, "column": 27 }, "end": { "line": 590, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19668, "end": 19669, "loc": { "start": { "line": 590, "column": 28 }, "end": { "line": 590, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19675, "end": 19676, "loc": { "start": { "line": 591, "column": 4 }, "end": { "line": 591, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19680, "end": 19681, "loc": { "start": { "line": 592, "column": 2 }, "end": { "line": 592, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 19687, "end": 19719, "loc": { "start": { "line": 594, "column": 2 }, "end": { "line": 596, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getModuleProp", "start": 19723, "end": 19736, "loc": { "start": { "line": 597, "column": 2 }, "end": { "line": 597, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19737, "end": 19738, "loc": { "start": { "line": 597, "column": 16 }, "end": { "line": 597, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19739, "end": 19740, "loc": { "start": { "line": 597, "column": 18 }, "end": { "line": 597, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 19740, "end": 19744, "loc": { "start": { "line": 597, "column": 19 }, "end": { "line": 597, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19744, "end": 19745, "loc": { "start": { "line": 597, "column": 23 }, "end": { "line": 597, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prop", "start": 19746, "end": 19750, "loc": { "start": { "line": 597, "column": 25 }, "end": { "line": 597, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19750, "end": 19751, "loc": { "start": { "line": 597, "column": 29 }, "end": { "line": 597, "column": 30 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19752, "end": 19754, "loc": { "start": { "line": 597, "column": 31 }, "end": { "line": 597, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19755, "end": 19756, "loc": { "start": { "line": 597, "column": 34 }, "end": { "line": 597, "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": 19762, "end": 19764, "loc": { "start": { "line": 598, "column": 4 }, "end": { "line": 598, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19764, "end": 19765, "loc": { "start": { "line": 598, "column": 6 }, "end": { "line": 598, "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": 19765, "end": 19766, "loc": { "start": { "line": 598, "column": 7 }, "end": { "line": 598, "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": 19766, "end": 19770, "loc": { "start": { "line": 598, "column": 8 }, "end": { "line": 598, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19770, "end": 19771, "loc": { "start": { "line": 598, "column": 12 }, "end": { "line": 598, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 19771, "end": 19778, "loc": { "start": { "line": 598, "column": 13 }, "end": { "line": 598, "column": 20 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19778, "end": 19779, "loc": { "start": { "line": 598, "column": 20 }, "end": { "line": 598, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 19779, "end": 19783, "loc": { "start": { "line": 598, "column": 21 }, "end": { "line": 598, "column": 25 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19783, "end": 19784, "loc": { "start": { "line": 598, "column": 25 }, "end": { "line": 598, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19784, "end": 19785, "loc": { "start": { "line": 598, "column": 26 }, "end": { "line": 598, "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": 19793, "end": 19799, "loc": { "start": { "line": 599, "column": 6 }, "end": { "line": 599, "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": 19800, "end": 19805, "loc": { "start": { "line": 599, "column": 13 }, "end": { "line": 599, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19805, "end": 19806, "loc": { "start": { "line": 599, "column": 18 }, "end": { "line": 599, "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": 19818, "end": 19824, "loc": { "start": { "line": 601, "column": 4 }, "end": { "line": 601, "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": 19825, "end": 19829, "loc": { "start": { "line": 601, "column": 11 }, "end": { "line": 601, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19829, "end": 19830, "loc": { "start": { "line": 601, "column": 15 }, "end": { "line": 601, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 19830, "end": 19837, "loc": { "start": { "line": 601, "column": 16 }, "end": { "line": 601, "column": 23 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19837, "end": 19838, "loc": { "start": { "line": 601, "column": 23 }, "end": { "line": 601, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 19838, "end": 19842, "loc": { "start": { "line": 601, "column": 24 }, "end": { "line": 601, "column": 28 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19842, "end": 19843, "loc": { "start": { "line": 601, "column": 28 }, "end": { "line": 601, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19843, "end": 19844, "loc": { "start": { "line": 601, "column": 29 }, "end": { "line": 601, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prop", "start": 19844, "end": 19848, "loc": { "start": { "line": 601, "column": 30 }, "end": { "line": 601, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19848, "end": 19849, "loc": { "start": { "line": 601, "column": 34 }, "end": { "line": 601, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19849, "end": 19850, "loc": { "start": { "line": 601, "column": 35 }, "end": { "line": 601, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19854, "end": 19855, "loc": { "start": { "line": 602, "column": 2 }, "end": { "line": 602, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 19861, "end": 19892, "loc": { "start": { "line": 604, "column": 2 }, "end": { "line": 606, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getModulesList", "start": 19896, "end": 19910, "loc": { "start": { "line": 607, "column": 2 }, "end": { "line": 607, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19911, "end": 19912, "loc": { "start": { "line": 607, "column": 17 }, "end": { "line": 607, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19913, "end": 19914, "loc": { "start": { "line": 607, "column": 19 }, "end": { "line": 607, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19914, "end": 19915, "loc": { "start": { "line": 607, "column": 20 }, "end": { "line": 607, "column": 21 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19916, "end": 19918, "loc": { "start": { "line": 607, "column": 22 }, "end": { "line": 607, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19919, "end": 19920, "loc": { "start": { "line": 607, "column": 25 }, "end": { "line": 607, "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": 19926, "end": 19932, "loc": { "start": { "line": 608, "column": 4 }, "end": { "line": 608, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 19933, "end": 19939, "loc": { "start": { "line": 608, "column": 11 }, "end": { "line": 608, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19939, "end": 19940, "loc": { "start": { "line": 608, "column": 17 }, "end": { "line": 608, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keys", "start": 19940, "end": 19944, "loc": { "start": { "line": 608, "column": 18 }, "end": { "line": 608, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19944, "end": 19945, "loc": { "start": { "line": 608, "column": 22 }, "end": { "line": 608, "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": 19945, "end": 19949, "loc": { "start": { "line": 608, "column": 23 }, "end": { "line": 608, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19949, "end": 19950, "loc": { "start": { "line": 608, "column": 27 }, "end": { "line": 608, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 19950, "end": 19957, "loc": { "start": { "line": 608, "column": 28 }, "end": { "line": 608, "column": 35 } } }, { "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": 608, "column": 35 }, "end": { "line": 608, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19958, "end": 19959, "loc": { "start": { "line": 608, "column": 36 }, "end": { "line": 608, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19963, "end": 19964, "loc": { "start": { "line": 609, "column": 2 }, "end": { "line": 609, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 19970, "end": 20026, "loc": { "start": { "line": 611, "column": 2 }, "end": { "line": 613, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 20030, "end": 20036, "loc": { "start": { "line": 614, "column": 2 }, "end": { "line": 614, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20036, "end": 20037, "loc": { "start": { "line": 614, "column": 8 }, "end": { "line": 614, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20037, "end": 20038, "loc": { "start": { "line": 614, "column": 9 }, "end": { "line": 614, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20038, "end": 20039, "loc": { "start": { "line": 614, "column": 10 }, "end": { "line": 614, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 20045, "end": 20080, "loc": { "start": { "line": 615, "column": 4 }, "end": { "line": 617, "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": 20086, "end": 20090, "loc": { "start": { "line": 618, "column": 4 }, "end": { "line": 618, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20090, "end": 20091, "loc": { "start": { "line": 618, "column": 8 }, "end": { "line": 618, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clear", "start": 20091, "end": 20096, "loc": { "start": { "line": 618, "column": 9 }, "end": { "line": 618, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20096, "end": 20097, "loc": { "start": { "line": 618, "column": 14 }, "end": { "line": 618, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20097, "end": 20098, "loc": { "start": { "line": 618, "column": 15 }, "end": { "line": 618, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20098, "end": 20099, "loc": { "start": { "line": 618, "column": 16 }, "end": { "line": 618, "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": 20107, "end": 20110, "loc": { "start": { "line": 620, "column": 4 }, "end": { "line": 620, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutClass", "start": 20111, "end": 20122, "loc": { "start": { "line": 620, "column": 8 }, "end": { "line": 620, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20123, "end": 20124, "loc": { "start": { "line": 620, "column": 20 }, "end": { "line": 620, "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": 20125, "end": 20129, "loc": { "start": { "line": 620, "column": 22 }, "end": { "line": 620, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20129, "end": 20130, "loc": { "start": { "line": 620, "column": 26 }, "end": { "line": 620, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 20130, "end": 20137, "loc": { "start": { "line": 620, "column": 27 }, "end": { "line": 620, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20137, "end": 20138, "loc": { "start": { "line": 620, "column": 34 }, "end": { "line": 620, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 20138, "end": 20144, "loc": { "start": { "line": 620, "column": 35 }, "end": { "line": 620, "column": 41 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20145, "end": 20146, "loc": { "start": { "line": 620, "column": 42 }, "end": { "line": 620, "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": 20147, "end": 20165, "loc": { "start": { "line": 620, "column": 44 }, "end": { "line": 620, "column": 62 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20166, "end": 20167, "loc": { "start": { "line": 620, "column": 63 }, "end": { "line": 620, "column": 64 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20168, "end": 20169, "loc": { "start": { "line": 620, "column": 65 }, "end": { "line": 620, "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": 20169, "end": 20179, "loc": { "start": { "line": 620, "column": 66 }, "end": { "line": 620, "column": 76 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20179, "end": 20181, "loc": { "start": { "line": 620, "column": 76 }, "end": { "line": 620, "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": 20181, "end": 20185, "loc": { "start": { "line": 620, "column": 78 }, "end": { "line": 620, "column": 82 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20185, "end": 20186, "loc": { "start": { "line": 620, "column": 82 }, "end": { "line": 620, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 20186, "end": 20193, "loc": { "start": { "line": 620, "column": 83 }, "end": { "line": 620, "column": 90 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20193, "end": 20194, "loc": { "start": { "line": 620, "column": 90 }, "end": { "line": 620, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 20194, "end": 20204, "loc": { "start": { "line": 620, "column": 91 }, "end": { "line": 620, "column": 101 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20204, "end": 20205, "loc": { "start": { "line": 620, "column": 101 }, "end": { "line": 620, "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": 20205, "end": 20205, "loc": { "start": { "line": 620, "column": 102 }, "end": { "line": 620, "column": 102 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20205, "end": 20206, "loc": { "start": { "line": 620, "column": 102 }, "end": { "line": 620, "column": 103 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20206, "end": 20207, "loc": { "start": { "line": 620, "column": 103 }, "end": { "line": 620, "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": 20213, "end": 20216, "loc": { "start": { "line": 621, "column": 4 }, "end": { "line": 621, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 20217, "end": 20223, "loc": { "start": { "line": 621, "column": 8 }, "end": { "line": 621, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20224, "end": 20225, "loc": { "start": { "line": 621, "column": 15 }, "end": { "line": 621, "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": 20226, "end": 20230, "loc": { "start": { "line": 621, "column": 17 }, "end": { "line": 621, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20230, "end": 20231, "loc": { "start": { "line": 621, "column": 21 }, "end": { "line": 621, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 20231, "end": 20238, "loc": { "start": { "line": 621, "column": 22 }, "end": { "line": 621, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20238, "end": 20239, "loc": { "start": { "line": 621, "column": 29 }, "end": { "line": 621, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 20239, "end": 20245, "loc": { "start": { "line": 621, "column": 30 }, "end": { "line": 621, "column": 36 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 20246, "end": 20248, "loc": { "start": { "line": 621, "column": 37 }, "end": { "line": 621, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KeyboardLayout", "start": 20249, "end": 20263, "loc": { "start": { "line": 621, "column": 40 }, "end": { "line": 621, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20263, "end": 20264, "loc": { "start": { "line": 621, "column": 54 }, "end": { "line": 621, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getDefaultLayout", "start": 20264, "end": 20280, "loc": { "start": { "line": 621, "column": 55 }, "end": { "line": 621, "column": 71 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20280, "end": 20281, "loc": { "start": { "line": 621, "column": 71 }, "end": { "line": 621, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20281, "end": 20282, "loc": { "start": { "line": 621, "column": 72 }, "end": { "line": 621, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20282, "end": 20283, "loc": { "start": { "line": 621, "column": 73 }, "end": { "line": 621, "column": 74 } } }, { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 20291, "end": 20343, "loc": { "start": { "line": 623, "column": 4 }, "end": { "line": 625, "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": 20349, "end": 20352, "loc": { "start": { "line": 626, "column": 4 }, "end": { "line": 626, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 20353, "end": 20371, "loc": { "start": { "line": 626, "column": 8 }, "end": { "line": 626, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20372, "end": 20373, "loc": { "start": { "line": 626, "column": 27 }, "end": { "line": 626, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20374, "end": 20375, "loc": { "start": { "line": 626, "column": 29 }, "end": { "line": 626, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20375, "end": 20376, "loc": { "start": { "line": 626, "column": 30 }, "end": { "line": 626, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20376, "end": 20377, "loc": { "start": { "line": 626, "column": 31 }, "end": { "line": 626, "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": 20383, "end": 20385, "loc": { "start": { "line": 627, "column": 4 }, "end": { "line": 627, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20385, "end": 20386, "loc": { "start": { "line": 627, "column": 6 }, "end": { "line": 627, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 20386, "end": 20391, "loc": { "start": { "line": 627, "column": 7 }, "end": { "line": 627, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20391, "end": 20392, "loc": { "start": { "line": 627, "column": 12 }, "end": { "line": 627, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isArray", "start": 20392, "end": 20399, "loc": { "start": { "line": 627, "column": 13 }, "end": { "line": 627, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20399, "end": 20400, "loc": { "start": { "line": 627, "column": 20 }, "end": { "line": 627, "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": 20400, "end": 20404, "loc": { "start": { "line": 627, "column": 21 }, "end": { "line": 627, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20404, "end": 20405, "loc": { "start": { "line": 627, "column": 25 }, "end": { "line": 627, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 20405, "end": 20412, "loc": { "start": { "line": 627, "column": 26 }, "end": { "line": 627, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20412, "end": 20413, "loc": { "start": { "line": 627, "column": 33 }, "end": { "line": 627, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 20413, "end": 20424, "loc": { "start": { "line": 627, "column": 34 }, "end": { "line": 627, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20424, "end": 20425, "loc": { "start": { "line": 627, "column": 45 }, "end": { "line": 627, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20425, "end": 20426, "loc": { "start": { "line": 627, "column": 46 }, "end": { "line": 627, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20426, "end": 20427, "loc": { "start": { "line": 627, "column": 47 }, "end": { "line": 627, "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": 20435, "end": 20439, "loc": { "start": { "line": 628, "column": 6 }, "end": { "line": 628, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20439, "end": 20440, "loc": { "start": { "line": 628, "column": 10 }, "end": { "line": 628, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 20440, "end": 20447, "loc": { "start": { "line": 628, "column": 11 }, "end": { "line": 628, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20447, "end": 20448, "loc": { "start": { "line": 628, "column": 18 }, "end": { "line": 628, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 20448, "end": 20459, "loc": { "start": { "line": 628, "column": 19 }, "end": { "line": 628, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20459, "end": 20460, "loc": { "start": { "line": 628, "column": 30 }, "end": { "line": 628, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 20460, "end": 20467, "loc": { "start": { "line": 628, "column": 31 }, "end": { "line": 628, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20467, "end": 20468, "loc": { "start": { "line": 628, "column": 38 }, "end": { "line": 628, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 20468, "end": 20476, "loc": { "start": { "line": 628, "column": 39 }, "end": { "line": 628, "column": 47 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20477, "end": 20479, "loc": { "start": { "line": 628, "column": 48 }, "end": { "line": 628, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20480, "end": 20481, "loc": { "start": { "line": 628, "column": 51 }, "end": { "line": 628, "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": 20491, "end": 20493, "loc": { "start": { "line": 629, "column": 8 }, "end": { "line": 629, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20493, "end": 20494, "loc": { "start": { "line": 629, "column": 10 }, "end": { "line": 629, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 20494, "end": 20502, "loc": { "start": { "line": 629, "column": 11 }, "end": { "line": 629, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20502, "end": 20503, "loc": { "start": { "line": 629, "column": 19 }, "end": { "line": 629, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 20503, "end": 20510, "loc": { "start": { "line": 629, "column": 20 }, "end": { "line": 629, "column": 27 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 20511, "end": 20513, "loc": { "start": { "line": 629, "column": 28 }, "end": { "line": 629, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 20514, "end": 20522, "loc": { "start": { "line": 629, "column": 31 }, "end": { "line": 629, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20522, "end": 20523, "loc": { "start": { "line": 629, "column": 39 }, "end": { "line": 629, "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": 20523, "end": 20528, "loc": { "start": { "line": 629, "column": 40 }, "end": { "line": 629, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20528, "end": 20529, "loc": { "start": { "line": 629, "column": 45 }, "end": { "line": 629, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20529, "end": 20530, "loc": { "start": { "line": 629, "column": 46 }, "end": { "line": 629, "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": 20542, "end": 20545, "loc": { "start": { "line": 630, "column": 10 }, "end": { "line": 630, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 20546, "end": 20558, "loc": { "start": { "line": 630, "column": 14 }, "end": { "line": 630, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20558, "end": 20559, "loc": { "start": { "line": 630, "column": 26 }, "end": { "line": 630, "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": 20573, "end": 20575, "loc": { "start": { "line": 632, "column": 10 }, "end": { "line": 632, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20575, "end": 20576, "loc": { "start": { "line": 632, "column": 12 }, "end": { "line": 632, "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": 20576, "end": 20582, "loc": { "start": { "line": 632, "column": 13 }, "end": { "line": 632, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 20583, "end": 20591, "loc": { "start": { "line": 632, "column": 20 }, "end": { "line": 632, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20591, "end": 20592, "loc": { "start": { "line": 632, "column": 28 }, "end": { "line": 632, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 20592, "end": 20599, "loc": { "start": { "line": 632, "column": 29 }, "end": { "line": 632, "column": 36 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 20600, "end": 20603, "loc": { "start": { "line": 632, "column": 37 }, "end": { "line": 632, "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": 20604, "end": 20612, "loc": { "start": { "line": 632, "column": 41 }, "end": { "line": 632, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20612, "end": 20613, "loc": { "start": { "line": 632, "column": 49 }, "end": { "line": 632, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20613, "end": 20614, "loc": { "start": { "line": 632, "column": 50 }, "end": { "line": 632, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 20628, "end": 20640, "loc": { "start": { "line": 633, "column": 12 }, "end": { "line": 633, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20641, "end": 20642, "loc": { "start": { "line": 633, "column": 25 }, "end": { "line": 633, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 20643, "end": 20651, "loc": { "start": { "line": 633, "column": 27 }, "end": { "line": 633, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20651, "end": 20652, "loc": { "start": { "line": 633, "column": 35 }, "end": { "line": 633, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 20652, "end": 20659, "loc": { "start": { "line": 633, "column": 36 }, "end": { "line": 633, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20659, "end": 20660, "loc": { "start": { "line": 633, "column": 43 }, "end": { "line": 633, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 20660, "end": 20665, "loc": { "start": { "line": 633, "column": 44 }, "end": { "line": 633, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20665, "end": 20666, "loc": { "start": { "line": 633, "column": 49 }, "end": { "line": 633, "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": 20666, "end": 20669, "loc": { "start": { "line": 633, "column": 50 }, "end": { "line": 633, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20669, "end": 20670, "loc": { "start": { "line": 633, "column": 53 }, "end": { "line": 633, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20670, "end": 20671, "loc": { "start": { "line": 633, "column": 54 }, "end": { "line": 633, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20683, "end": 20684, "loc": { "start": { "line": 634, "column": 10 }, "end": { "line": 634, "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": 20698, "end": 20700, "loc": { "start": { "line": 636, "column": 10 }, "end": { "line": 636, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20700, "end": 20701, "loc": { "start": { "line": 636, "column": 12 }, "end": { "line": 636, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 20701, "end": 20713, "loc": { "start": { "line": 636, "column": 13 }, "end": { "line": 636, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20713, "end": 20714, "loc": { "start": { "line": 636, "column": 25 }, "end": { "line": 636, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20714, "end": 20715, "loc": { "start": { "line": 636, "column": 26 }, "end": { "line": 636, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 20729, "end": 20741, "loc": { "start": { "line": 637, "column": 12 }, "end": { "line": 637, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20741, "end": 20742, "loc": { "start": { "line": 637, "column": 24 }, "end": { "line": 637, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 20742, "end": 20749, "loc": { "start": { "line": 637, "column": 25 }, "end": { "line": 637, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20749, "end": 20750, "loc": { "start": { "line": 637, "column": 32 }, "end": { "line": 637, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 20750, "end": 20761, "loc": { "start": { "line": 637, "column": 33 }, "end": { "line": 637, "column": 44 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20762, "end": 20764, "loc": { "start": { "line": 637, "column": 45 }, "end": { "line": 637, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20765, "end": 20766, "loc": { "start": { "line": 637, "column": 48 }, "end": { "line": 637, "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": 20782, "end": 20785, "loc": { "start": { "line": 638, "column": 14 }, "end": { "line": 638, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 20786, "end": 20797, "loc": { "start": { "line": 638, "column": 18 }, "end": { "line": 638, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20798, "end": 20799, "loc": { "start": { "line": 638, "column": 30 }, "end": { "line": 638, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 20800, "end": 20818, "loc": { "start": { "line": 638, "column": 32 }, "end": { "line": 638, "column": 50 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20818, "end": 20819, "loc": { "start": { "line": 638, "column": 50 }, "end": { "line": 638, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 20819, "end": 20830, "loc": { "start": { "line": 638, "column": 51 }, "end": { "line": 638, "column": 62 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20830, "end": 20831, "loc": { "start": { "line": 638, "column": 62 }, "end": { "line": 638, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20831, "end": 20832, "loc": { "start": { "line": 638, "column": 63 }, "end": { "line": 638, "column": 64 } } }, { "type": "CommentLine", "value": " If the button has already been added", "start": 20850, "end": 20889, "loc": { "start": { "line": 640, "column": 14 }, "end": { "line": 640, "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": 20905, "end": 20907, "loc": { "start": { "line": 641, "column": 14 }, "end": { "line": 641, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20907, "end": 20908, "loc": { "start": { "line": 641, "column": 16 }, "end": { "line": 641, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 20908, "end": 20919, "loc": { "start": { "line": 641, "column": 17 }, "end": { "line": 641, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20919, "end": 20920, "loc": { "start": { "line": 641, "column": 28 }, "end": { "line": 641, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20920, "end": 20921, "loc": { "start": { "line": 641, "column": 29 }, "end": { "line": 641, "column": 30 } } }, { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", "start": 20939, "end": 21022, "loc": { "start": { "line": 642, "column": 16 }, "end": { "line": 642, "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": 21040, "end": 21042, "loc": { "start": { "line": 643, "column": 16 }, "end": { "line": 643, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21042, "end": 21043, "loc": { "start": { "line": 643, "column": 18 }, "end": { "line": 643, "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": 21043, "end": 21044, "loc": { "start": { "line": 643, "column": 19 }, "end": { "line": 643, "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": 21044, "end": 21048, "loc": { "start": { "line": 643, "column": 20 }, "end": { "line": 643, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21048, "end": 21049, "loc": { "start": { "line": 643, "column": 24 }, "end": { "line": 643, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 21049, "end": 21058, "loc": { "start": { "line": 643, "column": 25 }, "end": { "line": 643, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21058, "end": 21059, "loc": { "start": { "line": 643, "column": 34 }, "end": { "line": 643, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "countInArray", "start": 21059, "end": 21071, "loc": { "start": { "line": 643, "column": 35 }, "end": { "line": 643, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21071, "end": 21072, "loc": { "start": { "line": 643, "column": 47 }, "end": { "line": 643, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 21072, "end": 21083, "loc": { "start": { "line": 643, "column": 48 }, "end": { "line": 643, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21083, "end": 21084, "loc": { "start": { "line": 643, "column": 59 }, "end": { "line": 643, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 21084, "end": 21089, "loc": { "start": { "line": 643, "column": 60 }, "end": { "line": 643, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21089, "end": 21090, "loc": { "start": { "line": 643, "column": 65 }, "end": { "line": 643, "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": 21090, "end": 21093, "loc": { "start": { "line": 643, "column": 66 }, "end": { "line": 643, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21093, "end": 21094, "loc": { "start": { "line": 643, "column": 69 }, "end": { "line": 643, "column": 70 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21094, "end": 21095, "loc": { "start": { "line": 643, "column": 70 }, "end": { "line": 643, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 21096, "end": 21104, "loc": { "start": { "line": 643, "column": 72 }, "end": { "line": 643, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21104, "end": 21105, "loc": { "start": { "line": 643, "column": 80 }, "end": { "line": 643, "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": 21105, "end": 21110, "loc": { "start": { "line": 643, "column": 81 }, "end": { "line": 643, "column": 86 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21110, "end": 21111, "loc": { "start": { "line": 643, "column": 86 }, "end": { "line": 643, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21111, "end": 21112, "loc": { "start": { "line": 643, "column": 87 }, "end": { "line": 643, "column": 88 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21112, "end": 21113, "loc": { "start": { "line": 643, "column": 88 }, "end": { "line": 643, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 21133, "end": 21151, "loc": { "start": { "line": 644, "column": 18 }, "end": { "line": 644, "column": 36 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21151, "end": 21152, "loc": { "start": { "line": 644, "column": 36 }, "end": { "line": 644, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 21152, "end": 21163, "loc": { "start": { "line": 644, "column": 37 }, "end": { "line": 644, "column": 48 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21163, "end": 21164, "loc": { "start": { "line": 644, "column": 48 }, "end": { "line": 644, "column": 49 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21165, "end": 21166, "loc": { "start": { "line": 644, "column": 50 }, "end": { "line": 644, "column": 51 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21167, "end": 21168, "loc": { "start": { "line": 644, "column": 52 }, "end": { "line": 644, "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": 21168, "end": 21168, "loc": { "start": { "line": 644, "column": 53 }, "end": { "line": 644, "column": 53 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21168, "end": 21170, "loc": { "start": { "line": 644, "column": 53 }, "end": { "line": 644, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 21170, "end": 21181, "loc": { "start": { "line": 644, "column": 55 }, "end": { "line": 644, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21181, "end": 21182, "loc": { "start": { "line": 644, "column": 66 }, "end": { "line": 644, "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": 21182, "end": 21183, "loc": { "start": { "line": 644, "column": 67 }, "end": { "line": 644, "column": 68 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21183, "end": 21185, "loc": { "start": { "line": 644, "column": 68 }, "end": { "line": 644, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 21185, "end": 21193, "loc": { "start": { "line": 644, "column": 70 }, "end": { "line": 644, "column": 78 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21193, "end": 21194, "loc": { "start": { "line": 644, "column": 78 }, "end": { "line": 644, "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": 21194, "end": 21199, "loc": { "start": { "line": 644, "column": 79 }, "end": { "line": 644, "column": 84 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21199, "end": 21200, "loc": { "start": { "line": 644, "column": 84 }, "end": { "line": 644, "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": 21200, "end": 21200, "loc": { "start": { "line": 644, "column": 85 }, "end": { "line": 644, "column": 85 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21200, "end": 21201, "loc": { "start": { "line": 644, "column": 85 }, "end": { "line": 644, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21201, "end": 21202, "loc": { "start": { "line": 644, "column": 86 }, "end": { "line": 644, "column": 87 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21220, "end": 21221, "loc": { "start": { "line": 645, "column": 16 }, "end": { "line": 645, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21237, "end": 21238, "loc": { "start": { "line": 646, "column": 14 }, "end": { "line": 646, "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": 21239, "end": 21243, "loc": { "start": { "line": 646, "column": 16 }, "end": { "line": 646, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21244, "end": 21245, "loc": { "start": { "line": 646, "column": 21 }, "end": { "line": 646, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 21263, "end": 21281, "loc": { "start": { "line": 647, "column": 16 }, "end": { "line": 647, "column": 34 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21281, "end": 21282, "loc": { "start": { "line": 647, "column": 34 }, "end": { "line": 647, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 21282, "end": 21293, "loc": { "start": { "line": 647, "column": 35 }, "end": { "line": 647, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21293, "end": 21294, "loc": { "start": { "line": 647, "column": 46 }, "end": { "line": 647, "column": 47 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21295, "end": 21296, "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": "themeObj", "start": 21297, "end": 21305, "loc": { "start": { "line": 647, "column": 50 }, "end": { "line": 647, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21305, "end": 21306, "loc": { "start": { "line": 647, "column": 58 }, "end": { "line": 647, "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": 21306, "end": 21311, "loc": { "start": { "line": 647, "column": 59 }, "end": { "line": 647, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21311, "end": 21312, "loc": { "start": { "line": 647, "column": 64 }, "end": { "line": 647, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21328, "end": 21329, "loc": { "start": { "line": 648, "column": 14 }, "end": { "line": 648, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21343, "end": 21344, "loc": { "start": { "line": 649, "column": 12 }, "end": { "line": 649, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21344, "end": 21345, "loc": { "start": { "line": 649, "column": 13 }, "end": { "line": 649, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21345, "end": 21346, "loc": { "start": { "line": 649, "column": 14 }, "end": { "line": 649, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21358, "end": 21359, "loc": { "start": { "line": 650, "column": 10 }, "end": { "line": 650, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21369, "end": 21370, "loc": { "start": { "line": 651, "column": 8 }, "end": { "line": 651, "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": 21371, "end": 21375, "loc": { "start": { "line": 651, "column": 10 }, "end": { "line": 651, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21376, "end": 21377, "loc": { "start": { "line": 651, "column": 15 }, "end": { "line": 651, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 21389, "end": 21396, "loc": { "start": { "line": 652, "column": 10 }, "end": { "line": 652, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21396, "end": 21397, "loc": { "start": { "line": 652, "column": 17 }, "end": { "line": 652, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 21397, "end": 21401, "loc": { "start": { "line": 652, "column": 18 }, "end": { "line": 652, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21401, "end": 21402, "loc": { "start": { "line": 652, "column": 22 }, "end": { "line": 652, "column": 23 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21402, "end": 21403, "loc": { "start": { "line": 652, "column": 23 }, "end": { "line": 652, "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": 21403, "end": 21491, "loc": { "start": { "line": 652, "column": 24 }, "end": { "line": 652, "column": 112 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21491, "end": 21492, "loc": { "start": { "line": 652, "column": 112 }, "end": { "line": 652, "column": 113 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21492, "end": 21493, "loc": { "start": { "line": 652, "column": 113 }, "end": { "line": 652, "column": 114 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21503, "end": 21504, "loc": { "start": { "line": 653, "column": 8 }, "end": { "line": 653, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21512, "end": 21513, "loc": { "start": { "line": 654, "column": 6 }, "end": { "line": 654, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21513, "end": 21514, "loc": { "start": { "line": 654, "column": 7 }, "end": { "line": 654, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21514, "end": 21515, "loc": { "start": { "line": 654, "column": 8 }, "end": { "line": 654, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21521, "end": 21522, "loc": { "start": { "line": 655, "column": 4 }, "end": { "line": 655, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 21530, "end": 21596, "loc": { "start": { "line": 657, "column": 4 }, "end": { "line": 659, "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": 21602, "end": 21606, "loc": { "start": { "line": 660, "column": 4 }, "end": { "line": 660, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21606, "end": 21607, "loc": { "start": { "line": 660, "column": 8 }, "end": { "line": 660, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 21607, "end": 21618, "loc": { "start": { "line": 660, "column": 9 }, "end": { "line": 660, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21618, "end": 21619, "loc": { "start": { "line": 660, "column": 20 }, "end": { "line": 660, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 21619, "end": 21628, "loc": { "start": { "line": 660, "column": 21 }, "end": { "line": 660, "column": 30 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 21629, "end": 21631, "loc": { "start": { "line": 660, "column": 31 }, "end": { "line": 660, "column": 33 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21632, "end": 21633, "loc": { "start": { "line": 660, "column": 34 }, "end": { "line": 660, "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": 21633, "end": 21634, "loc": { "start": { "line": 660, "column": 35 }, "end": { "line": 660, "column": 36 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21634, "end": 21636, "loc": { "start": { "line": 660, "column": 36 }, "end": { "line": 660, "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": 21636, "end": 21640, "loc": { "start": { "line": 660, "column": 38 }, "end": { "line": 660, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21640, "end": 21641, "loc": { "start": { "line": 660, "column": 42 }, "end": { "line": 660, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 21641, "end": 21648, "loc": { "start": { "line": 660, "column": 43 }, "end": { "line": 660, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21648, "end": 21649, "loc": { "start": { "line": 660, "column": 50 }, "end": { "line": 660, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "theme", "start": 21649, "end": 21654, "loc": { "start": { "line": 660, "column": 51 }, "end": { "line": 660, "column": 56 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21654, "end": 21655, "loc": { "start": { "line": 660, "column": 56 }, "end": { "line": 660, "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": 21655, "end": 21656, "loc": { "start": { "line": 660, "column": 57 }, "end": { "line": 660, "column": 58 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21656, "end": 21658, "loc": { "start": { "line": 660, "column": 58 }, "end": { "line": 660, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutClass", "start": 21658, "end": 21669, "loc": { "start": { "line": 660, "column": 60 }, "end": { "line": 660, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21669, "end": 21670, "loc": { "start": { "line": 660, "column": 71 }, "end": { "line": 660, "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": 21670, "end": 21671, "loc": { "start": { "line": 660, "column": 72 }, "end": { "line": 660, "column": 73 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21671, "end": 21673, "loc": { "start": { "line": 660, "column": 73 }, "end": { "line": 660, "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": 21673, "end": 21677, "loc": { "start": { "line": 660, "column": 75 }, "end": { "line": 660, "column": 79 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21677, "end": 21678, "loc": { "start": { "line": 660, "column": 79 }, "end": { "line": 660, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardPluginClasses", "start": 21678, "end": 21699, "loc": { "start": { "line": 660, "column": 80 }, "end": { "line": 660, "column": 101 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21699, "end": 21700, "loc": { "start": { "line": 660, "column": 101 }, "end": { "line": 660, "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": 21700, "end": 21700, "loc": { "start": { "line": 660, "column": 102 }, "end": { "line": 660, "column": 102 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21700, "end": 21701, "loc": { "start": { "line": 660, "column": 102 }, "end": { "line": 660, "column": 103 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21701, "end": 21702, "loc": { "start": { "line": 660, "column": 103 }, "end": { "line": 660, "column": 104 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 21710, "end": 21757, "loc": { "start": { "line": 662, "column": 4 }, "end": { "line": 664, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 21763, "end": 21769, "loc": { "start": { "line": 665, "column": 4 }, "end": { "line": 665, "column": 10 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21769, "end": 21770, "loc": { "start": { "line": 665, "column": 10 }, "end": { "line": 665, "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": 21770, "end": 21774, "loc": { "start": { "line": 665, "column": 11 }, "end": { "line": 665, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21774, "end": 21775, "loc": { "start": { "line": 665, "column": 15 }, "end": { "line": 665, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 21775, "end": 21782, "loc": { "start": { "line": 665, "column": 16 }, "end": { "line": 665, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21782, "end": 21783, "loc": { "start": { "line": 665, "column": 23 }, "end": { "line": 665, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 21783, "end": 21793, "loc": { "start": { "line": 665, "column": 24 }, "end": { "line": 665, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21793, "end": 21794, "loc": { "start": { "line": 665, "column": 34 }, "end": { "line": 665, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21794, "end": 21795, "loc": { "start": { "line": 665, "column": 35 }, "end": { "line": 665, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 21795, "end": 21802, "loc": { "start": { "line": 665, "column": 36 }, "end": { "line": 665, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21802, "end": 21803, "loc": { "start": { "line": 665, "column": 43 }, "end": { "line": 665, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21803, "end": 21804, "loc": { "start": { "line": 665, "column": 44 }, "end": { "line": 665, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "row", "start": 21804, "end": 21807, "loc": { "start": { "line": 665, "column": 45 }, "end": { "line": 665, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21807, "end": 21808, "loc": { "start": { "line": 665, "column": 48 }, "end": { "line": 665, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rIndex", "start": 21809, "end": 21815, "loc": { "start": { "line": 665, "column": 50 }, "end": { "line": 665, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21815, "end": 21816, "loc": { "start": { "line": 665, "column": 56 }, "end": { "line": 665, "column": 57 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21817, "end": 21819, "loc": { "start": { "line": 665, "column": 58 }, "end": { "line": 665, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21820, "end": 21821, "loc": { "start": { "line": 665, "column": 61 }, "end": { "line": 665, "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": 21829, "end": 21832, "loc": { "start": { "line": 666, "column": 6 }, "end": { "line": 666, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowArray", "start": 21833, "end": 21841, "loc": { "start": { "line": 666, "column": 10 }, "end": { "line": 666, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21842, "end": 21843, "loc": { "start": { "line": 666, "column": 19 }, "end": { "line": 666, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "row", "start": 21844, "end": 21847, "loc": { "start": { "line": 666, "column": 21 }, "end": { "line": 666, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21847, "end": 21848, "loc": { "start": { "line": 666, "column": 24 }, "end": { "line": 666, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 21848, "end": 21853, "loc": { "start": { "line": 666, "column": 25 }, "end": { "line": 666, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21853, "end": 21854, "loc": { "start": { "line": 666, "column": 30 }, "end": { "line": 666, "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": 21854, "end": 21857, "loc": { "start": { "line": 666, "column": 31 }, "end": { "line": 666, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21857, "end": 21858, "loc": { "start": { "line": 666, "column": 34 }, "end": { "line": 666, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21858, "end": 21859, "loc": { "start": { "line": 666, "column": 35 }, "end": { "line": 666, "column": 36 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 21869, "end": 21912, "loc": { "start": { "line": 668, "column": 6 }, "end": { "line": 670, "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": 21920, "end": 21923, "loc": { "start": { "line": 671, "column": 6 }, "end": { "line": 671, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 21924, "end": 21930, "loc": { "start": { "line": 671, "column": 10 }, "end": { "line": 671, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21931, "end": 21932, "loc": { "start": { "line": 671, "column": 17 }, "end": { "line": 671, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 21933, "end": 21941, "loc": { "start": { "line": 671, "column": 19 }, "end": { "line": 671, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21941, "end": 21942, "loc": { "start": { "line": 671, "column": 27 }, "end": { "line": 671, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 21942, "end": 21955, "loc": { "start": { "line": 671, "column": 28 }, "end": { "line": 671, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21955, "end": 21956, "loc": { "start": { "line": 671, "column": 41 }, "end": { "line": 671, "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": 21956, "end": 21961, "loc": { "start": { "line": 671, "column": 42 }, "end": { "line": 671, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21961, "end": 21962, "loc": { "start": { "line": 671, "column": 47 }, "end": { "line": 671, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21962, "end": 21963, "loc": { "start": { "line": 671, "column": 48 }, "end": { "line": 671, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 21971, "end": 21977, "loc": { "start": { "line": 672, "column": 6 }, "end": { "line": 672, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21977, "end": 21978, "loc": { "start": { "line": 672, "column": 12 }, "end": { "line": 672, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 21978, "end": 21987, "loc": { "start": { "line": 672, "column": 13 }, "end": { "line": 672, "column": 22 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 21988, "end": 21990, "loc": { "start": { "line": 672, "column": 23 }, "end": { "line": 672, "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": 21991, "end": 21999, "loc": { "start": { "line": 672, "column": 26 }, "end": { "line": 672, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21999, "end": 22000, "loc": { "start": { "line": 672, "column": 34 }, "end": { "line": 672, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 22010, "end": 22071, "loc": { "start": { "line": 674, "column": 6 }, "end": { "line": 676, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowArray", "start": 22079, "end": 22087, "loc": { "start": { "line": 677, "column": 6 }, "end": { "line": 677, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22087, "end": 22088, "loc": { "start": { "line": 677, "column": 14 }, "end": { "line": 677, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 22088, "end": 22095, "loc": { "start": { "line": 677, "column": 15 }, "end": { "line": 677, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22095, "end": 22096, "loc": { "start": { "line": 677, "column": 22 }, "end": { "line": 677, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22096, "end": 22097, "loc": { "start": { "line": 677, "column": 23 }, "end": { "line": 677, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 22097, "end": 22103, "loc": { "start": { "line": 677, "column": 24 }, "end": { "line": 677, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22103, "end": 22104, "loc": { "start": { "line": 677, "column": 30 }, "end": { "line": 677, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bIndex", "start": 22105, "end": 22111, "loc": { "start": { "line": 677, "column": 32 }, "end": { "line": 677, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22111, "end": 22112, "loc": { "start": { "line": 677, "column": 38 }, "end": { "line": 677, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22113, "end": 22115, "loc": { "start": { "line": 677, "column": 40 }, "end": { "line": 677, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22116, "end": 22117, "loc": { "start": { "line": 677, "column": 43 }, "end": { "line": 677, "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": 22127, "end": 22130, "loc": { "start": { "line": 678, "column": 8 }, "end": { "line": 678, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fctBtnClass", "start": 22131, "end": 22142, "loc": { "start": { "line": 678, "column": 12 }, "end": { "line": 678, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22143, "end": 22144, "loc": { "start": { "line": 678, "column": 24 }, "end": { "line": 678, "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": 22145, "end": 22149, "loc": { "start": { "line": 678, "column": 26 }, "end": { "line": 678, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22149, "end": 22150, "loc": { "start": { "line": 678, "column": 30 }, "end": { "line": 678, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 22150, "end": 22159, "loc": { "start": { "line": 678, "column": 31 }, "end": { "line": 678, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22159, "end": 22160, "loc": { "start": { "line": 678, "column": 40 }, "end": { "line": 678, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonClass", "start": 22160, "end": 22174, "loc": { "start": { "line": 678, "column": 41 }, "end": { "line": 678, "column": 55 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22174, "end": 22175, "loc": { "start": { "line": 678, "column": 55 }, "end": { "line": 678, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 22175, "end": 22181, "loc": { "start": { "line": 678, "column": 56 }, "end": { "line": 678, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22181, "end": 22182, "loc": { "start": { "line": 678, "column": 62 }, "end": { "line": 678, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22182, "end": 22183, "loc": { "start": { "line": 678, "column": 63 }, "end": { "line": 678, "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": 22193, "end": 22196, "loc": { "start": { "line": 679, "column": 8 }, "end": { "line": 679, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeClass", "start": 22197, "end": 22213, "loc": { "start": { "line": 679, "column": 12 }, "end": { "line": 679, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22214, "end": 22215, "loc": { "start": { "line": 679, "column": 29 }, "end": { "line": 679, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 22216, "end": 22234, "loc": { "start": { "line": 679, "column": 31 }, "end": { "line": 679, "column": 49 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22234, "end": 22235, "loc": { "start": { "line": 679, "column": 49 }, "end": { "line": 679, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 22235, "end": 22241, "loc": { "start": { "line": 679, "column": 50 }, "end": { "line": 679, "column": 56 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22241, "end": 22242, "loc": { "start": { "line": 679, "column": 56 }, "end": { "line": 679, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22242, "end": 22243, "loc": { "start": { "line": 679, "column": 57 }, "end": { "line": 679, "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": 22253, "end": 22256, "loc": { "start": { "line": 680, "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": "buttonDisplayName", "start": 22257, "end": 22274, "loc": { "start": { "line": 680, "column": 12 }, "end": { "line": 680, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22275, "end": 22276, "loc": { "start": { "line": 680, "column": 30 }, "end": { "line": 680, "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": 22277, "end": 22281, "loc": { "start": { "line": 680, "column": 32 }, "end": { "line": 680, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22281, "end": 22282, "loc": { "start": { "line": 680, "column": 36 }, "end": { "line": 680, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 22282, "end": 22291, "loc": { "start": { "line": 680, "column": 37 }, "end": { "line": 680, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22291, "end": 22292, "loc": { "start": { "line": 680, "column": 46 }, "end": { "line": 680, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonDisplayName", "start": 22292, "end": 22312, "loc": { "start": { "line": 680, "column": 47 }, "end": { "line": 680, "column": 67 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22312, "end": 22313, "loc": { "start": { "line": 680, "column": 67 }, "end": { "line": 680, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 22313, "end": 22319, "loc": { "start": { "line": 680, "column": 68 }, "end": { "line": 680, "column": 74 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22319, "end": 22320, "loc": { "start": { "line": 680, "column": 74 }, "end": { "line": 680, "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": 22321, "end": 22325, "loc": { "start": { "line": 680, "column": 76 }, "end": { "line": 680, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22325, "end": 22326, "loc": { "start": { "line": 680, "column": 80 }, "end": { "line": 680, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 22326, "end": 22333, "loc": { "start": { "line": 680, "column": 81 }, "end": { "line": 680, "column": 88 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22333, "end": 22334, "loc": { "start": { "line": 680, "column": 88 }, "end": { "line": 680, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "display", "start": 22334, "end": 22341, "loc": { "start": { "line": 680, "column": 89 }, "end": { "line": 680, "column": 96 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22341, "end": 22342, "loc": { "start": { "line": 680, "column": 96 }, "end": { "line": 680, "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": 22343, "end": 22347, "loc": { "start": { "line": 680, "column": 98 }, "end": { "line": 680, "column": 102 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22347, "end": 22348, "loc": { "start": { "line": 680, "column": 102 }, "end": { "line": 680, "column": 103 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 22348, "end": 22355, "loc": { "start": { "line": 680, "column": 103 }, "end": { "line": 680, "column": 110 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22355, "end": 22356, "loc": { "start": { "line": 680, "column": 110 }, "end": { "line": 680, "column": 111 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mergeDisplay", "start": 22356, "end": 22368, "loc": { "start": { "line": 680, "column": 111 }, "end": { "line": 680, "column": 123 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22368, "end": 22369, "loc": { "start": { "line": 680, "column": 123 }, "end": { "line": 680, "column": 124 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22369, "end": 22370, "loc": { "start": { "line": 680, "column": 124 }, "end": { "line": 680, "column": 125 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 22382, "end": 22426, "loc": { "start": { "line": 682, "column": 8 }, "end": { "line": 684, "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": 22436, "end": 22439, "loc": { "start": { "line": 685, "column": 8 }, "end": { "line": 685, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 22440, "end": 22449, "loc": { "start": { "line": 685, "column": 12 }, "end": { "line": 685, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22450, "end": 22451, "loc": { "start": { "line": 685, "column": 22 }, "end": { "line": 685, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 22452, "end": 22460, "loc": { "start": { "line": 685, "column": 24 }, "end": { "line": 685, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22460, "end": 22461, "loc": { "start": { "line": 685, "column": 32 }, "end": { "line": 685, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 22461, "end": 22474, "loc": { "start": { "line": 685, "column": 33 }, "end": { "line": 685, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22474, "end": 22475, "loc": { "start": { "line": 685, "column": 46 }, "end": { "line": 685, "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": 22475, "end": 22480, "loc": { "start": { "line": 685, "column": 47 }, "end": { "line": 685, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22480, "end": 22481, "loc": { "start": { "line": 685, "column": 52 }, "end": { "line": 685, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22481, "end": 22482, "loc": { "start": { "line": 685, "column": 53 }, "end": { "line": 685, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 22492, "end": 22501, "loc": { "start": { "line": 686, "column": 8 }, "end": { "line": 686, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22501, "end": 22502, "loc": { "start": { "line": 686, "column": 17 }, "end": { "line": 686, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 22502, "end": 22511, "loc": { "start": { "line": 686, "column": 18 }, "end": { "line": 686, "column": 27 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 22512, "end": 22514, "loc": { "start": { "line": 686, "column": 28 }, "end": { "line": 686, "column": 30 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22515, "end": 22516, "loc": { "start": { "line": 686, "column": 31 }, "end": { "line": 686, "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": 22516, "end": 22526, "loc": { "start": { "line": 686, "column": 32 }, "end": { "line": 686, "column": 42 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22526, "end": 22528, "loc": { "start": { "line": 686, "column": 42 }, "end": { "line": 686, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fctBtnClass", "start": 22528, "end": 22539, "loc": { "start": { "line": 686, "column": 44 }, "end": { "line": 686, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22539, "end": 22540, "loc": { "start": { "line": 686, "column": 55 }, "end": { "line": 686, "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": 22540, "end": 22540, "loc": { "start": { "line": 686, "column": 56 }, "end": { "line": 686, "column": 56 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22540, "end": 22542, "loc": { "start": { "line": 686, "column": 56 }, "end": { "line": 686, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeClass", "start": 22542, "end": 22558, "loc": { "start": { "line": 686, "column": 58 }, "end": { "line": 686, "column": 74 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22559, "end": 22560, "loc": { "start": { "line": 686, "column": 75 }, "end": { "line": 686, "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": 22561, "end": 22564, "loc": { "start": { "line": 686, "column": 77 }, "end": { "line": 686, "column": 80 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 22564, "end": 22565, "loc": { "start": { "line": 686, "column": 80 }, "end": { "line": 686, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeClass", "start": 22565, "end": 22581, "loc": { "start": { "line": 686, "column": 81 }, "end": { "line": 686, "column": 97 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22582, "end": 22583, "loc": { "start": { "line": 686, "column": 98 }, "end": { "line": 686, "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": 22584, "end": 22586, "loc": { "start": { "line": 686, "column": 100 }, "end": { "line": 686, "column": 102 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22586, "end": 22587, "loc": { "start": { "line": 686, "column": 102 }, "end": { "line": 686, "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": 22587, "end": 22587, "loc": { "start": { "line": 686, "column": 103 }, "end": { "line": 686, "column": 103 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22587, "end": 22588, "loc": { "start": { "line": 686, "column": 103 }, "end": { "line": 686, "column": 104 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22588, "end": 22589, "loc": { "start": { "line": 686, "column": 104 }, "end": { "line": 686, "column": 105 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 22599, "end": 22608, "loc": { "start": { "line": 687, "column": 8 }, "end": { "line": 687, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22608, "end": 22609, "loc": { "start": { "line": 687, "column": 17 }, "end": { "line": 687, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onclick", "start": 22609, "end": 22616, "loc": { "start": { "line": 687, "column": 18 }, "end": { "line": 687, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22617, "end": 22618, "loc": { "start": { "line": 687, "column": 26 }, "end": { "line": 687, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22619, "end": 22620, "loc": { "start": { "line": 687, "column": 28 }, "end": { "line": 687, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22620, "end": 22621, "loc": { "start": { "line": 687, "column": 29 }, "end": { "line": 687, "column": 30 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22622, "end": 22624, "loc": { "start": { "line": 687, "column": 31 }, "end": { "line": 687, "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": 22625, "end": 22629, "loc": { "start": { "line": 687, "column": 34 }, "end": { "line": 687, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22629, "end": 22630, "loc": { "start": { "line": 687, "column": 38 }, "end": { "line": 687, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 22630, "end": 22649, "loc": { "start": { "line": 687, "column": 39 }, "end": { "line": 687, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22649, "end": 22650, "loc": { "start": { "line": 687, "column": 58 }, "end": { "line": 687, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 22650, "end": 22656, "loc": { "start": { "line": 687, "column": 59 }, "end": { "line": 687, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22656, "end": 22657, "loc": { "start": { "line": 687, "column": 65 }, "end": { "line": 687, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22657, "end": 22658, "loc": { "start": { "line": 687, "column": 66 }, "end": { "line": 687, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 22668, "end": 22677, "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": 22677, "end": 22678, "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": "onmousedown", "start": 22678, "end": 22689, "loc": { "start": { "line": 688, "column": 18 }, "end": { "line": 688, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22690, "end": 22691, "loc": { "start": { "line": 688, "column": 30 }, "end": { "line": 688, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22692, "end": 22693, "loc": { "start": { "line": 688, "column": 32 }, "end": { "line": 688, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 22693, "end": 22694, "loc": { "start": { "line": 688, "column": 33 }, "end": { "line": 688, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22694, "end": 22695, "loc": { "start": { "line": 688, "column": 34 }, "end": { "line": 688, "column": 35 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22696, "end": 22698, "loc": { "start": { "line": 688, "column": 36 }, "end": { "line": 688, "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": 22699, "end": 22703, "loc": { "start": { "line": 688, "column": 39 }, "end": { "line": 688, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22703, "end": 22704, "loc": { "start": { "line": 688, "column": 43 }, "end": { "line": 688, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseDown", "start": 22704, "end": 22725, "loc": { "start": { "line": 688, "column": 44 }, "end": { "line": 688, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22725, "end": 22726, "loc": { "start": { "line": 688, "column": 65 }, "end": { "line": 688, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 22726, "end": 22732, "loc": { "start": { "line": 688, "column": 66 }, "end": { "line": 688, "column": 72 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22732, "end": 22733, "loc": { "start": { "line": 688, "column": 72 }, "end": { "line": 688, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 22734, "end": 22735, "loc": { "start": { "line": 688, "column": 74 }, "end": { "line": 688, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22735, "end": 22736, "loc": { "start": { "line": 688, "column": 75 }, "end": { "line": 688, "column": 76 } } }, { "type": { "label": ";", "beforeExpr": true, "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": 76 }, "end": { "line": 688, "column": 77 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 22749, "end": 22795, "loc": { "start": { "line": 690, "column": 8 }, "end": { "line": 692, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 22805, "end": 22814, "loc": { "start": { "line": 693, "column": 8 }, "end": { "line": 693, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22814, "end": 22815, "loc": { "start": { "line": 693, "column": 17 }, "end": { "line": 693, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 22815, "end": 22827, "loc": { "start": { "line": 693, "column": 18 }, "end": { "line": 693, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22827, "end": 22828, "loc": { "start": { "line": 693, "column": 30 }, "end": { "line": 693, "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": 22828, "end": 22840, "loc": { "start": { "line": 693, "column": 31 }, "end": { "line": 693, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22840, "end": 22841, "loc": { "start": { "line": 693, "column": 43 }, "end": { "line": 693, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 22842, "end": 22848, "loc": { "start": { "line": 693, "column": 45 }, "end": { "line": 693, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22848, "end": 22849, "loc": { "start": { "line": 693, "column": 51 }, "end": { "line": 693, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22849, "end": 22850, "loc": { "start": { "line": 693, "column": 52 }, "end": { "line": 693, "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": 22862, "end": 23017, "loc": { "start": { "line": 695, "column": 8 }, "end": { "line": 698, "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": 23027, "end": 23030, "loc": { "start": { "line": 699, "column": 8 }, "end": { "line": 699, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonUID", "start": 23031, "end": 23040, "loc": { "start": { "line": 699, "column": 12 }, "end": { "line": 699, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23041, "end": 23042, "loc": { "start": { "line": 699, "column": 22 }, "end": { "line": 699, "column": 23 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23043, "end": 23044, "loc": { "start": { "line": 699, "column": 24 }, "end": { "line": 699, "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": 23044, "end": 23044, "loc": { "start": { "line": 699, "column": 25 }, "end": { "line": 699, "column": 25 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23044, "end": 23046, "loc": { "start": { "line": 699, "column": 25 }, "end": { "line": 699, "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": 23046, "end": 23050, "loc": { "start": { "line": 699, "column": 27 }, "end": { "line": 699, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23050, "end": 23051, "loc": { "start": { "line": 699, "column": 31 }, "end": { "line": 699, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 23051, "end": 23058, "loc": { "start": { "line": 699, "column": 32 }, "end": { "line": 699, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23058, "end": 23059, "loc": { "start": { "line": 699, "column": 39 }, "end": { "line": 699, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 23059, "end": 23069, "loc": { "start": { "line": 699, "column": 40 }, "end": { "line": 699, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23069, "end": 23070, "loc": { "start": { "line": 699, "column": 50 }, "end": { "line": 699, "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": 23070, "end": 23072, "loc": { "start": { "line": 699, "column": 51 }, "end": { "line": 699, "column": 53 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23072, "end": 23074, "loc": { "start": { "line": 699, "column": 53 }, "end": { "line": 699, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rIndex", "start": 23074, "end": 23080, "loc": { "start": { "line": 699, "column": 55 }, "end": { "line": 699, "column": 61 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23080, "end": 23081, "loc": { "start": { "line": 699, "column": 61 }, "end": { "line": 699, "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": 23081, "end": 23082, "loc": { "start": { "line": 699, "column": 62 }, "end": { "line": 699, "column": 63 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23082, "end": 23084, "loc": { "start": { "line": 699, "column": 63 }, "end": { "line": 699, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bIndex", "start": 23084, "end": 23090, "loc": { "start": { "line": 699, "column": 65 }, "end": { "line": 699, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23090, "end": 23091, "loc": { "start": { "line": 699, "column": 71 }, "end": { "line": 699, "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": 23091, "end": 23091, "loc": { "start": { "line": 699, "column": 72 }, "end": { "line": 699, "column": 72 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23091, "end": 23092, "loc": { "start": { "line": 699, "column": 72 }, "end": { "line": 699, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23092, "end": 23093, "loc": { "start": { "line": 699, "column": 73 }, "end": { "line": 699, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 23103, "end": 23112, "loc": { "start": { "line": 700, "column": 8 }, "end": { "line": 700, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23112, "end": 23113, "loc": { "start": { "line": 700, "column": 17 }, "end": { "line": 700, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 23113, "end": 23125, "loc": { "start": { "line": 700, "column": 18 }, "end": { "line": 700, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23125, "end": 23126, "loc": { "start": { "line": 700, "column": 30 }, "end": { "line": 700, "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": 23126, "end": 23141, "loc": { "start": { "line": 700, "column": 31 }, "end": { "line": 700, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23141, "end": 23142, "loc": { "start": { "line": 700, "column": 46 }, "end": { "line": 700, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonUID", "start": 23143, "end": 23152, "loc": { "start": { "line": 700, "column": 48 }, "end": { "line": 700, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23152, "end": 23153, "loc": { "start": { "line": 700, "column": 57 }, "end": { "line": 700, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23153, "end": 23154, "loc": { "start": { "line": 700, "column": 58 }, "end": { "line": 700, "column": 59 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 23166, "end": 23215, "loc": { "start": { "line": 702, "column": 8 }, "end": { "line": 704, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 23225, "end": 23234, "loc": { "start": { "line": 705, "column": 8 }, "end": { "line": 705, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23234, "end": 23235, "loc": { "start": { "line": 705, "column": 17 }, "end": { "line": 705, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 23235, "end": 23247, "loc": { "start": { "line": 705, "column": 18 }, "end": { "line": 705, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23247, "end": 23248, "loc": { "start": { "line": 705, "column": 30 }, "end": { "line": 705, "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": 23248, "end": 23267, "loc": { "start": { "line": 705, "column": 31 }, "end": { "line": 705, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23267, "end": 23268, "loc": { "start": { "line": 705, "column": 50 }, "end": { "line": 705, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDisplayName", "start": 23269, "end": 23286, "loc": { "start": { "line": 705, "column": 52 }, "end": { "line": 705, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23286, "end": 23287, "loc": { "start": { "line": 705, "column": 69 }, "end": { "line": 705, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23287, "end": 23288, "loc": { "start": { "line": 705, "column": 70 }, "end": { "line": 705, "column": 71 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 23300, "end": 23358, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 709, "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": 23368, "end": 23371, "loc": { "start": { "line": 710, "column": 8 }, "end": { "line": 710, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSpanDOM", "start": 23372, "end": 23385, "loc": { "start": { "line": 710, "column": 12 }, "end": { "line": 710, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23386, "end": 23387, "loc": { "start": { "line": 710, "column": 26 }, "end": { "line": 710, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 23388, "end": 23396, "loc": { "start": { "line": 710, "column": 28 }, "end": { "line": 710, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23396, "end": 23397, "loc": { "start": { "line": 710, "column": 36 }, "end": { "line": 710, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 23397, "end": 23410, "loc": { "start": { "line": 710, "column": 37 }, "end": { "line": 710, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23410, "end": 23411, "loc": { "start": { "line": 710, "column": 50 }, "end": { "line": 710, "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": 23411, "end": 23417, "loc": { "start": { "line": 710, "column": 51 }, "end": { "line": 710, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23417, "end": 23418, "loc": { "start": { "line": 710, "column": 57 }, "end": { "line": 710, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23418, "end": 23419, "loc": { "start": { "line": 710, "column": 58 }, "end": { "line": 710, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSpanDOM", "start": 23429, "end": 23442, "loc": { "start": { "line": 711, "column": 8 }, "end": { "line": 711, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23442, "end": 23443, "loc": { "start": { "line": 711, "column": 21 }, "end": { "line": 711, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 23443, "end": 23452, "loc": { "start": { "line": 711, "column": 22 }, "end": { "line": 711, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23453, "end": 23454, "loc": { "start": { "line": 711, "column": 32 }, "end": { "line": 711, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDisplayName", "start": 23455, "end": 23472, "loc": { "start": { "line": 711, "column": 34 }, "end": { "line": 711, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23472, "end": 23473, "loc": { "start": { "line": 711, "column": 51 }, "end": { "line": 711, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 23483, "end": 23492, "loc": { "start": { "line": 712, "column": 8 }, "end": { "line": 712, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23492, "end": 23493, "loc": { "start": { "line": 712, "column": 17 }, "end": { "line": 712, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 23493, "end": 23504, "loc": { "start": { "line": 712, "column": 18 }, "end": { "line": 712, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23504, "end": 23505, "loc": { "start": { "line": 712, "column": 29 }, "end": { "line": 712, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSpanDOM", "start": 23505, "end": 23518, "loc": { "start": { "line": 712, "column": 30 }, "end": { "line": 712, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23518, "end": 23519, "loc": { "start": { "line": 712, "column": 43 }, "end": { "line": 712, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23519, "end": 23520, "loc": { "start": { "line": 712, "column": 44 }, "end": { "line": 712, "column": 45 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 23532, "end": 23585, "loc": { "start": { "line": 714, "column": 8 }, "end": { "line": 716, "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": 23595, "end": 23597, "loc": { "start": { "line": 717, "column": 8 }, "end": { "line": 717, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23597, "end": 23598, "loc": { "start": { "line": 717, "column": 10 }, "end": { "line": 717, "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": 23598, "end": 23599, "loc": { "start": { "line": 717, "column": 11 }, "end": { "line": 717, "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": 23599, "end": 23603, "loc": { "start": { "line": 717, "column": 12 }, "end": { "line": 717, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23603, "end": 23604, "loc": { "start": { "line": 717, "column": 16 }, "end": { "line": 717, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 23604, "end": 23618, "loc": { "start": { "line": 717, "column": 17 }, "end": { "line": 717, "column": 31 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23618, "end": 23619, "loc": { "start": { "line": 717, "column": 31 }, "end": { "line": 717, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 23619, "end": 23625, "loc": { "start": { "line": 717, "column": 32 }, "end": { "line": 717, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23625, "end": 23626, "loc": { "start": { "line": 717, "column": 38 }, "end": { "line": 717, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23626, "end": 23627, "loc": { "start": { "line": 717, "column": 39 }, "end": { "line": 717, "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": 23639, "end": 23643, "loc": { "start": { "line": 718, "column": 10 }, "end": { "line": 718, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23643, "end": 23644, "loc": { "start": { "line": 718, "column": 14 }, "end": { "line": 718, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 23644, "end": 23658, "loc": { "start": { "line": 718, "column": 15 }, "end": { "line": 718, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23658, "end": 23659, "loc": { "start": { "line": 718, "column": 29 }, "end": { "line": 718, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 23659, "end": 23665, "loc": { "start": { "line": 718, "column": 30 }, "end": { "line": 718, "column": 36 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23665, "end": 23666, "loc": { "start": { "line": 718, "column": 36 }, "end": { "line": 718, "column": 37 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23667, "end": 23668, "loc": { "start": { "line": 718, "column": 38 }, "end": { "line": 718, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23669, "end": 23670, "loc": { "start": { "line": 718, "column": 40 }, "end": { "line": 718, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23670, "end": 23671, "loc": { "start": { "line": 718, "column": 41 }, "end": { "line": 718, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23671, "end": 23672, "loc": { "start": { "line": 718, "column": 42 }, "end": { "line": 718, "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": 23684, "end": 23688, "loc": { "start": { "line": 720, "column": 8 }, "end": { "line": 720, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23688, "end": 23689, "loc": { "start": { "line": 720, "column": 12 }, "end": { "line": 720, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 23689, "end": 23703, "loc": { "start": { "line": 720, "column": 13 }, "end": { "line": 720, "column": 27 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23703, "end": 23704, "loc": { "start": { "line": 720, "column": 27 }, "end": { "line": 720, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 23704, "end": 23710, "loc": { "start": { "line": 720, "column": 28 }, "end": { "line": 720, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23710, "end": 23711, "loc": { "start": { "line": 720, "column": 34 }, "end": { "line": 720, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23711, "end": 23712, "loc": { "start": { "line": 720, "column": 35 }, "end": { "line": 720, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 23712, "end": 23716, "loc": { "start": { "line": 720, "column": 36 }, "end": { "line": 720, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23716, "end": 23717, "loc": { "start": { "line": 720, "column": 40 }, "end": { "line": 720, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 23717, "end": 23726, "loc": { "start": { "line": 720, "column": 41 }, "end": { "line": 720, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23726, "end": 23727, "loc": { "start": { "line": 720, "column": 50 }, "end": { "line": 720, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23727, "end": 23728, "loc": { "start": { "line": 720, "column": 51 }, "end": { "line": 720, "column": 52 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 23740, "end": 23792, "loc": { "start": { "line": 722, "column": 8 }, "end": { "line": 724, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 23802, "end": 23808, "loc": { "start": { "line": 725, "column": 8 }, "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": 23808, "end": 23809, "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": "appendChild", "start": 23809, "end": 23820, "loc": { "start": { "line": 725, "column": 15 }, "end": { "line": 725, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23820, "end": 23821, "loc": { "start": { "line": 725, "column": 26 }, "end": { "line": 725, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 23821, "end": 23830, "loc": { "start": { "line": 725, "column": 27 }, "end": { "line": 725, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23830, "end": 23831, "loc": { "start": { "line": 725, "column": 36 }, "end": { "line": 725, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23831, "end": 23832, "loc": { "start": { "line": 725, "column": 37 }, "end": { "line": 725, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23842, "end": 23843, "loc": { "start": { "line": 727, "column": 6 }, "end": { "line": 727, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23843, "end": 23844, "loc": { "start": { "line": 727, "column": 7 }, "end": { "line": 727, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23844, "end": 23845, "loc": { "start": { "line": 727, "column": 8 }, "end": { "line": 727, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 23855, "end": 23905, "loc": { "start": { "line": 729, "column": 6 }, "end": { "line": 731, "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": 23913, "end": 23917, "loc": { "start": { "line": 732, "column": 6 }, "end": { "line": 732, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23917, "end": 23918, "loc": { "start": { "line": 732, "column": 10 }, "end": { "line": 732, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 23918, "end": 23929, "loc": { "start": { "line": 732, "column": 11 }, "end": { "line": 732, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23929, "end": 23930, "loc": { "start": { "line": 732, "column": 22 }, "end": { "line": 732, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 23930, "end": 23941, "loc": { "start": { "line": 732, "column": 23 }, "end": { "line": 732, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23941, "end": 23942, "loc": { "start": { "line": 732, "column": 34 }, "end": { "line": 732, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 23942, "end": 23948, "loc": { "start": { "line": 732, "column": 35 }, "end": { "line": 732, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23948, "end": 23949, "loc": { "start": { "line": 732, "column": 41 }, "end": { "line": 732, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23949, "end": 23950, "loc": { "start": { "line": 732, "column": 42 }, "end": { "line": 732, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23956, "end": 23957, "loc": { "start": { "line": 733, "column": 4 }, "end": { "line": 733, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23957, "end": 23958, "loc": { "start": { "line": 733, "column": 5 }, "end": { "line": 733, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23958, "end": 23959, "loc": { "start": { "line": 733, "column": 6 }, "end": { "line": 733, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 23967, "end": 24004, "loc": { "start": { "line": 735, "column": 4 }, "end": { "line": 737, "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": 24010, "end": 24014, "loc": { "start": { "line": 738, "column": 4 }, "end": { "line": 738, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24014, "end": 24015, "loc": { "start": { "line": 738, "column": 8 }, "end": { "line": 738, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 24015, "end": 24023, "loc": { "start": { "line": 738, "column": 9 }, "end": { "line": 738, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24023, "end": 24024, "loc": { "start": { "line": 738, "column": 17 }, "end": { "line": 738, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24024, "end": 24025, "loc": { "start": { "line": 738, "column": 18 }, "end": { "line": 738, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24025, "end": 24026, "loc": { "start": { "line": 738, "column": 19 }, "end": { "line": 738, "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": 24034, "end": 24036, "loc": { "start": { "line": 740, "column": 4 }, "end": { "line": 740, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24036, "end": 24037, "loc": { "start": { "line": 740, "column": 6 }, "end": { "line": 740, "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": 24037, "end": 24038, "loc": { "start": { "line": 740, "column": 7 }, "end": { "line": 740, "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": 24038, "end": 24042, "loc": { "start": { "line": 740, "column": 8 }, "end": { "line": 740, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24042, "end": 24043, "loc": { "start": { "line": 740, "column": 12 }, "end": { "line": 740, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialized", "start": 24043, "end": 24054, "loc": { "start": { "line": 740, "column": 13 }, "end": { "line": 740, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24054, "end": 24055, "loc": { "start": { "line": 740, "column": 24 }, "end": { "line": 740, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24055, "end": 24056, "loc": { "start": { "line": 740, "column": 25 }, "end": { "line": 740, "column": 26 } } }, { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 24064, "end": 24146, "loc": { "start": { "line": 741, "column": 6 }, "end": { "line": 743, "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": 24154, "end": 24158, "loc": { "start": { "line": 744, "column": 6 }, "end": { "line": 744, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24158, "end": 24159, "loc": { "start": { "line": 744, "column": 10 }, "end": { "line": 744, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialized", "start": 24159, "end": 24170, "loc": { "start": { "line": 744, "column": 11 }, "end": { "line": 744, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24171, "end": 24172, "loc": { "start": { "line": 744, "column": 23 }, "end": { "line": 744, "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": 24173, "end": 24177, "loc": { "start": { "line": 744, "column": 25 }, "end": { "line": 744, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24177, "end": 24178, "loc": { "start": { "line": 744, "column": 29 }, "end": { "line": 744, "column": 30 } } }, { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 24188, "end": 24229, "loc": { "start": { "line": 746, "column": 6 }, "end": { "line": 748, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 24237, "end": 24245, "loc": { "start": { "line": 749, "column": 6 }, "end": { "line": 749, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24245, "end": 24246, "loc": { "start": { "line": 749, "column": 14 }, "end": { "line": 749, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onmouseup", "start": 24246, "end": 24255, "loc": { "start": { "line": 749, "column": 15 }, "end": { "line": 749, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24256, "end": 24257, "loc": { "start": { "line": 749, "column": 25 }, "end": { "line": 749, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24258, "end": 24259, "loc": { "start": { "line": 749, "column": 27 }, "end": { "line": 749, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24259, "end": 24260, "loc": { "start": { "line": 749, "column": 28 }, "end": { "line": 749, "column": 29 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24261, "end": 24263, "loc": { "start": { "line": 749, "column": 30 }, "end": { "line": 749, "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": 24264, "end": 24268, "loc": { "start": { "line": 749, "column": 33 }, "end": { "line": 749, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24268, "end": 24269, "loc": { "start": { "line": 749, "column": 37 }, "end": { "line": 749, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseUp", "start": 24269, "end": 24288, "loc": { "start": { "line": 749, "column": 38 }, "end": { "line": 749, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24288, "end": 24289, "loc": { "start": { "line": 749, "column": 57 }, "end": { "line": 749, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24289, "end": 24290, "loc": { "start": { "line": 749, "column": 58 }, "end": { "line": 749, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24290, "end": 24291, "loc": { "start": { "line": 749, "column": 59 }, "end": { "line": 749, "column": 60 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 24301, "end": 24340, "loc": { "start": { "line": 751, "column": 6 }, "end": { "line": 753, "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": 24348, "end": 24352, "loc": { "start": { "line": 754, "column": 6 }, "end": { "line": 754, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24352, "end": 24353, "loc": { "start": { "line": 754, "column": 10 }, "end": { "line": 754, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 24353, "end": 24359, "loc": { "start": { "line": 754, "column": 11 }, "end": { "line": 754, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24359, "end": 24360, "loc": { "start": { "line": 754, "column": 17 }, "end": { "line": 754, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24360, "end": 24361, "loc": { "start": { "line": 754, "column": 18 }, "end": { "line": 754, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24361, "end": 24362, "loc": { "start": { "line": 754, "column": 19 }, "end": { "line": 754, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24368, "end": 24369, "loc": { "start": { "line": 755, "column": 4 }, "end": { "line": 755, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24373, "end": 24374, "loc": { "start": { "line": 756, "column": 2 }, "end": { "line": 756, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24376, "end": 24377, "loc": { "start": { "line": 757, "column": 0 }, "end": { "line": 757, "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": 24381, "end": 24387, "loc": { "start": { "line": 759, "column": 0 }, "end": { "line": 759, "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": 24388, "end": 24395, "loc": { "start": { "line": 759, "column": 7 }, "end": { "line": 759, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SimpleKeyboard", "start": 24396, "end": 24410, "loc": { "start": { "line": 759, "column": 15 }, "end": { "line": 759, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24410, "end": 24411, "loc": { "start": { "line": 759, "column": 29 }, "end": { "line": 759, "column": 30 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24413, "end": 24413, "loc": { "start": { "line": 760, "column": 0 }, "end": { "line": 760, "column": 0 } } } ] }